POWERSTATS
POWERSTATS 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, and publicly attributed by U.S. and U.K. authorities to Iran’s MOIS. It has been described as MuddyWater’s main or first-stage backdoor and was observed in campaigns from at least 2017 onward targeting government and private-sector organizations across the Middle East and other regions, including telecommunications, defense, local government, and oil and natural gas. Reported victim geographies include Saudi Arabia, Iraq, Israel, the UAE, Georgia, India, Pakistan, Turkey, the United States, and broader activity across Asia, Africa, Europe, and North America.
POWERSTATS is typically delivered through spear-phishing and malicious macro-enabled documents; reporting also notes JavaScript and VBScript-based execution chains, weaponized Office files, ZIP attachments, and use of GitHub-hosted payloads. FireEye reported malicious documents that dropped VBS and INI files containing Base64-encoded PowerShell commands, later shifting to INF and SCT-based execution. The malware uses PowerShell for execution and obfuscation, can use JavaScript code for execution, and runs PowerShell scripts to maintain persistent access. Observed persistence includes scheduled task creation via schtasks.exe. Reported host capabilities include retrieving usernames, using WMI queries to collect data from compromised hosts, and disabling Microsoft Office Protected View through Registry modification.
For command and control, POWERSTATS has encoded traffic with Base64, encrypted traffic with RSA, and connected to C2 servers through proxies; defenders have also been advised to inspect outbound HTTPS to cloud-hosted IPs with no associated domain name for POWERSTATS-related traffic. A U.S. government advisory described a MuddyWater PowerShell backdoor using XOR key 0x02 and communicating over HTTP with 95.181.161.49, and listed associated MuddyWater infrastructure including 88.119.170.124, 95.181.161.49, 95.181.161.50, 164.132.237.65, and 192.210.226.128.
Aliases include Powermud. Symantec reported that Seedworm activity involving Powerstats/Powermud appeared to have been superseded in some later intrusions by DLL side-loading of PowGoop, though it also noted similarities between PowGoop and Powerstats and stated there was insufficient evidence to confirm PowGoop as a direct evolution of POWERSTATS.
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
29 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 techniqueThe experts observed compromised accounts at third party organizations sending the MuddyWater malware
Initial Access
1 techniqueWith 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 techniquesWithin 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 techniquesIt 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 techniquesIt 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'
Hackers re-used the AppLocker bypass and lateral movement techniques for the purpose of indirect code execution.
Stealth
7 techniquesObfuscated 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, or deobfuscating payloads, strings, configuration data, commands, and C2 traffic prior to execution or use, e.g., 'APT28 macro uses the command certutil -decode to decode contents of a .txt file storing the base64 encoded payload' and 'Action RAT can use Base64 to decode actor-controlled C2 server communications.'
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.
T1218.003 MuddyWater has used CMSTP.exe and a malicious .INF file to execute its POWERSTATS payload.
T1218.005 MuddyWater has used mshta.exe to execute its POWERSTATS payload and to pass a PowerShell one-liner for execution.
Defense Impairment
1 techniqueSandworm 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
2 techniquesThe 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 techniqueAccording to FireEye report, TEMP.Zagros attackers are adopting a new backdoor dubbed POWERSTATS for backdoors and the reuse of a known technique for lateral movements.
Command and Control
5 techniquesT1090.002 MuddyWater has controlled POWERSTATS from behind a proxy network to obfuscate the C2 location.
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.
C2 traffic from ADVSTORESHELL is encrypted, then encoded with Base64 encoding... APT19 HTTP malware variant used Base64 to encode communications to the C2 server... APT33 has used base64 to encode command and control traffic.
The content repeatedly describes malware and threat actors using SSL, TLS, HTTPS, RSA, AES, Blowfish, RC4, ECIES, Diffie-Hellman, OpenSSL, WolfSSL, and mutual TLS to protect command and control traffic.
Exfiltration
1 techniqueMany entries state malware or actors can upload, transfer, send, or exfiltrate files from compromised hosts to command-and-control servers or attacker infrastructure.
Other
1 techniqueIOCs 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
64 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.