POWERSTATS
POWERSTATS, also known as Powermud, is a PowerShell-based backdoor associated with the Iran-linked MuddyWater threat group, also tracked as Seedworm, TEMP.Zagros, Earth Vetala, MERCURY, and Static Kitten. Reporting describes it as a first-stage backdoor used to maintain persistent access on victim systems and as a slowly evolving component of MuddyWater operations. It has been delivered through spear-phishing and malicious macro-enabled documents, including campaigns in which successful execution of weaponized documents installed POWERSTATS. MuddyWater has also used JavaScript and VBScript files to execute the POWERSTATS payload, and public reporting noted use of GitHub to host the backdoor in some attacks.
Documented capabilities include identifying the username on the compromised host, using WMI queries to retrieve data from infected systems, connecting to command-and-control infrastructure through proxies, encoding C2 traffic with Base64, encrypting C2 traffic with RSA, and using PowerShell for obfuscation and execution. The malware can also use JavaScript code for execution and can disable Microsoft Office Protected View by modifying Registry keys. Persistence has been established via a scheduled task created with schtasks.exe.
POWERSTATS has been linked to MuddyWater campaigns targeting government and private-sector organizations across the Middle East and beyond. Reported victim geographies include Saudi Arabia, Iraq, Israel, the United Arab Emirates, Georgia, India, Pakistan, Turkey, the United States, and broader targeting in Asia and the Middle East. Reported targeted sectors include government, defense, telecommunications, local government, and oil and natural gas. Multiple sources indicate POWERSTATS activity may have later been superseded in some Seedworm intrusions by DLL side-loading of PowGoop, though reporting states there is insufficient evidence to confirm PowGoop as a direct evolution of POWERSTATS. High-confidence network-related details directly mentioned in the content include use of proxy-based C2, Base64-encoded traffic, RSA-encrypted traffic, and one advisory reference to a MuddyWater PowerShell backdoor communicating over HTTP with 95.181.161.49 using XOR key 0x02.
Hunt this family in your stack
Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.
Groups observed using it
1 distinct threat actor attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.
Beyond using RMM software, "the attackers possess a vast arsenal of other malicious programs, including DarkBeatC2, PhonyC2, MuddyC2Go, PowerStats and MoriAgent," 360 said at the time.
Techniques & procedures
30 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
Initial Access
1 technique
Initial Access
With that in mind, past experience implies that this might be a two-stage spear-phishing campaign. In the first stage of the operation the attackers deliver a macro-embedded document. Depending on each sample, the content of document is either a fake resume application, or a letter from the Ministry of Justice in Lebanon or Saudi Arabia.
Execution
7 techniques
Execution
Within the above-mentioned three-steps POWERSTATS execution mechanism, the second step consists of running the obfuscated base64 encoded JavaScript. This code snippet leverages the Winmgmt WMI service classes Win32_Process and Win32_ProcessStartup.
It makes use of a scheduled task named “MicrosoftEdge” (Scheduled task name may differ from one sample to another) running daily at 12:00 o’clock, which starts the three-steps backdoor’s execution mechanism using the following command: "C:\Windows\system32\schtasks.exe" /Create /F /SC DAILY /ST 12:00 /TN MicrosoftEdge /TR "c:\windows\system32\wscript.exe C:\Windows\temp\Windows.vbe"
We observed attackers leveraging the latest code execution and persistence techniques to distribute malicious macro-based documents...
Malicious macro-embedded document used to launch an Excel process and a PowerShell command as first stage... Looking at the additional PowerShell code that is downloaded from the compromised domains, we identified few variables and commands... PowerShell command de-obfuscates and executes POWERSTATS backdoor.
According to the highlighted output of the tool, we deduce that the macro code is intended to run when the document is opened, which in turn leads to the creation of an Excel process. This Excel process is immediately used as a parent process for running a PowerShell command. | The base64 encoded VBScript code is saved to a PowerShell variable called $vbs, then it is decoded and stored in another variable named $Content... The decoded VBScript code is responsible for running the obfuscated JavaScript code stored in another file masquerading an image file “temp.jpg”. The VBE code is executed using WScript.exe.
Initialization of three-steps backdoor execution mechanism: 1) WScript.exe executes VBE code. 2) CScript.exe executes obfuscated JavaScript code. 3) PowerShell command de-obfuscates and executes POWERSTATS backdoor.
In each document you may find a deceptive text and message boxes such as “the document has been made in an old version of Microsoft”. This lure method is common and has been in use systematically by MuddyWater, with the purpose of deceiving unsuspecting victims or getting them to click on either “Enable Editing” or “Enable Content” buttons to execute malicious macro.
Persistence
3 techniques
Persistence
It makes use of a scheduled task named “MicrosoftEdge” (Scheduled task name may differ from one sample to another) running daily at 12:00 o’clock, which starts the three-steps backdoor’s execution mechanism using the following command: "C:\Windows\system32\schtasks.exe" /Create /F /SC DAILY /ST 12:00 /TN MicrosoftEdge /TR "c:\windows\system32\wscript.exe C:\Windows\temp\Windows.vbe"
Sandworm Team modified in-registry internet settings to lower internet security... Ember Bear disables Windows Defender via registry key changes... JPIN can lower security settings by changing Registry keys... POWERSTATS can disable Microsoft Office Protected View by changing Registry keys.
This mechanism involves creating a registry key called “MicrosoftEdge”, with a value corresponds to the command that is responsible to initialize the above-mentioned three-steps backdoor’s execution mechanism: ... "HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -k 'MicrosoftEdge' -v 'c:\windows\system32\wscript.exe C:\Windows\temp\Windows.vbe'
Privilege Escalation
3 techniques
Privilege Escalation
It makes use of a scheduled task named “MicrosoftEdge” (Scheduled task name may differ from one sample to another) running daily at 12:00 o’clock, which starts the three-steps backdoor’s execution mechanism using the following command: "C:\Windows\system32\schtasks.exe" /Create /F /SC DAILY /ST 12:00 /TN MicrosoftEdge /TR "c:\windows\system32\wscript.exe C:\Windows\temp\Windows.vbe"
This mechanism involves creating a registry key called “MicrosoftEdge”, with a value corresponds to the command that is responsible to initialize the above-mentioned three-steps backdoor’s execution mechanism: ... "HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Run" -k 'MicrosoftEdge' -v 'c:\windows\system32\wscript.exe C:\Windows\temp\Windows.vbe'
Stealth
7 techniques
Stealth
Obfuscated source code hosted on compromised domains is retrieved and executed as second stage for POWERSTATS Backdoor propagation. Main source code consists of PowerShell commands and variables. These variables are then divided into multiple layers of obfuscated intertwined encoded VBScript (VBE), JavaScript and PowerShell code.
Figure 6: 3cbc[.]net open-directory hosting second-stage PowerShell code masquerading as an icon.icon file ... Figure 7: Israeli domain pazazta[.]com open-directory: second-stage PowerShell code masquerading as an icon.png photo ... The decoded VBScript code is responsible for running the obfuscated JavaScript code stored in another file masquerading an image file “temp.jpg”.
The content repeatedly describes threat actors and malware deleting files, tools, scripts, logs, droppers, staged data, and artifacts from compromised systems to cover tracks, remove evidence, or self-delete.
The content repeatedly describes malware and threat actors decoding, decrypting, deobfuscating, or unpacking payloads, strings, configuration data, commands, and C2 responses prior to execution or use.
Starting from Feb. 27, 2018, hackers used a new variant of the macro that does not use VBS for PowerShell code execution. The new variant uses a new code execution techniques leveraging INF and SCT files.
Defense Impairment
1 technique
Defense Impairment
Sandworm Team modified in-registry internet settings to lower internet security... Ember Bear disables Windows Defender via registry key changes... JPIN can lower security settings by changing Registry keys... POWERSTATS can disable Microsoft Office Protected View by changing Registry keys.
Discovery
4 techniques
Discovery
The content repeatedly describes malware and threat actors using commands and APIs such as ipconfig /all, ifconfig, arp -a, route print, nbtstat, netsh, GetAdaptersInfo, and GetIpNetTable to gather IP addresses, MAC addresses, DNS, DHCP, gateways, routing tables, ARP cache, proxy settings, domains, and network adapter/interface details.
The content repeatedly describes malware and threat actors collecting usernames, identifying logged-in users, running whoami/query user/quser, checking whether the current user is an administrator, enumerating user sessions, and gathering account details from compromised hosts.
The content repeatedly describes malware and threat actors obtaining lists of running processes, using utilities such as tasklist, ps, WMI, Get-Process, CreateToolhelp32Snapshot, EnumProcesses, and similar APIs/commands to enumerate active processes on victim systems.
The content repeatedly describes malware and threat actors collecting host details such as OS version, hostname, architecture, CPU, memory, BIOS, domain, language, and other configuration data; e.g., "APT41 uses multiple built-in commands such as systeminfo and net config Workstation to enumerate victim system basic configuration information."
Lateral Movement
1 technique
Lateral Movement
Command and Control
4 techniques
Command and Control
APT28 used other victims as proxies to relay command traffic, for instance using a compromised Georgian military email server as a hop point to NATO victims.
As can be seen in the process tree... the PowerShell command leads to downloading and executing additional PowerShell code derived from certain compromised domains... several samples downloading the same payload, while few samples downloaded a base64 encoded of the same payload.
Exfiltration
1 technique
Exfiltration
IOCs tracked for this family
44 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.
IPs, domains, and DNS infrastructure linked to this family.
File hashes (MD5, SHA-1, SHA-256) from samples and reports.
Other indicator types observed in public reporting.
Recent activity
65 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A backdoor/tool used in early MuddyWater-attributed operations against Middle East organizations.
Malware/backdoor used in spear-phishing campaigns; associated with PowerShell-based backdoor activity.
A malware family referenced through its command-and-control traffic profile, using outbound HTTPS to cloud-hosted IPs without associated domain names.
A custom backdoor used by MuddyWater in targeted attacks against the Middle East in 2017.
The version that knows your environment.
Match every observed IP, domain, and hash against your live telemetry.
Named campaigns wielding this family, with evidence pinned to each claim.
CVEs this family uses for access and lateral movement.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Every documented technique, ranked by evidence weight.
Reddit, Mastodon, and CTI community discussion around this family.