PowerExchange
- Type
- Backdoor
- Capabilities
- ExfiltrationDefense evasion
- Platforms
- Windows
PowerExchange is a PowerShell backdoor associated with OilRig, also known as APT34, an Iranian-linked cyberespionage group. It was deployed in 2023 intrusions targeting government organizations in the Middle East. Operating in Windows environments, PowerExchange uses the victim organization's Microsoft Exchange infrastructure for email-based command and control. It monitors incoming email for operator commands, executes those commands, and returns their results through email. It can also exfiltrate files over the same channel, using the compromised organization's Exchange server to send messages to an attacker-controlled email account. This abuse of existing enterprise email infrastructure provides a covert communications channel for remote command execution and information theft.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Techniques & procedures
9 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
“Exploitation of Exchange vulnerabilities to execute arbitrary code (deploy web shells) on the server”
Execution
1 technique
Execution
[PowerExchange](https://attack.mitre.org/software/S1173) can use PowerShell to execute commands received from C2.(Citation: Symantec Crambus OCT 2023)
Stealth
1 technique
Stealth
[PowerExchange](https://attack.mitre.org/software/S1173) can decode and decrypt C2 commands received via email.(Citation: Symantec Crambus OCT 2023)
Command and Control
4 techniques
Command and Control
[PowerExchange](https://attack.mitre.org/software/S1173) can receive and send back the results of executed C2 commands through email.(Citation: Symantec Crambus OCT 2023)
By using well-known cloud service providers for command-and-control communication, the goal is to blend with authentic network traffic and cover up the group's attack infrastructure.
[PowerExchange](https://attack.mitre.org/software/S1173) can decode Base64-encoded files and call `WriteAllBytes` to write the files to compromised hosts.(Citation: Symantec Crambus OCT 2023)
Cobalt Group has used the Plink utility to create SSH tunnels. FIN6 used the Plink command-line utility to create SSH tunnels to C2 servers. OilRig used the PowerExchange utility and other tools to create tunnels to C2 servers.
Exfiltration
2 techniques
Exfiltration
[PowerExchange](https://attack.mitre.org/software/S1173) can exfiltrate files via its email C2 channel.(Citation: Symantec Crambus OCT 2023)
Cannon exfiltrates collected data over email via SMTP/S and POP3/S C2 channels... CURIUM has used IMAP and SMTPS for exfiltration via tools such as IMAPLoader... Kevin can send data from the victim host through a DNS C2 channel... NightClub can use SMTP and DNS for file exfiltration and C2.
Observables
3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.