APT34
ActiveIranian state-sponsored espionage group active since at least 2014, named OilRig by Palo Alto Unit 42 in 2016. Known for DNS-tunnelling backdoors (Helminth, BONDUPDATER, Saitama) and for abusing on-premises Exchange for C2 and credential theft (PowerExchange, StealHook) against government, energy and telecom targets in the Middle East.
Profile
APT34, publicly named OilRig by Palo Alto Networks Unit 42 in May 2016 and tracked by MITRE as G0049, is an Iranian state-sponsored cyber-espionage cluster active since at least 2014. MITRE's canonical alias list is one of the longest in the framework: OilRig, COBALT GYPSY, APT34, Helix Kitten, Evasive Serpens, Hazel Sandstorm, EUROPIUM, ITG13, Earth Simnavaz, Crambus, TA452 and IRN2. In practice these names cover a decade of iterative campaigns against Iraqi, Saudi, UAE, Jordanian, Israeli, Lebanese and Turkish government, telecom, energy and financial targets, plus long-tail supply-chain intrusions used to pivot into those primary victims.
Attribution is centred on Iran's Ministry of Intelligence and Security (MOIS). Mandiant, Microsoft and Palo Alto Unit 42 have separately assessed the group as MOIS-tasked based on target selection, operator time-zone analysis and the 2019 'Lab Dookhtegan' leak of internal OilRig tooling and victim data, which linked several operators to Iranian government-linked infrastructure. Some overlap with IRGC-adjacent activity has been noted around Iraq-focused campaigns, but the dominant public attribution remains MOIS. Under Microsoft's 2023 naming scheme the same cluster is Hazel Sandstorm; Symantec calls it Crambus; Trend Micro tracks a subset as Earth Simnavaz.
OilRig's signature tradecraft is DNS-tunnelling backdoors and heavy reliance on legitimate-looking Excel/Word spearphish with malicious macros. The Unit 42 catalogue is unusually deep: Helminth (2016), ISMDoor and BONDUPDATER/POWRUNER (2017), OopsIE, RGDoor and QUADAGENT (2018), ALMA Communicator (2017-2018), DNSpionage and Karkoff (2018-2019 in Cisco Talos reporting). Later campaigns kept DNS as an evasion channel; Fortinet's Saitama (2022) used DNS finite-state-machine C2 against Jordan's foreign ministry. They also layered in abuse of reputable cloud services (Microsoft Exchange, OneDrive, Office 365 accounts) for downloader and C2 traffic that blends into normal enterprise flows (ESET's OilBooster/OilCheck/ODAgent, Trend Micro's Menorah).
Since the 2019 Lab Dookhtegan leak the group has rebuilt and expanded, not retreated. Symantec's October 2023 Crambus write-up documented an eight-month intrusion in a Middle Eastern government where PowerExchange watched an Exchange mailbox and executed operator commands sent as email; Check Point's September 2024 report catalogued Veaty and Spearal, two custom families used against Iraqi ministry networks; Trend Micro's October 2024 Earth Simnavaz report showed the group chaining Windows kernel CVE-2024-30088 with password-filter DLLs and the StealHook Exchange backdoor to exfiltrate credentials from Gulf-state government tenants. The trajectory is a decade of steady iteration on the same DNS-plus-Exchange playbook rather than any pivot away from it.
Iranian state-sponsored. MITRE ATT&CK and Mandiant assess that the group works on behalf of the Iranian government, based on infrastructure details that contain references to Iran, use of Iranian infrastructure, and targeting that aligns with nation-state interests. Microsoft tracks the cluster as Hazel Sandstorm, an Iran-origin actor. Check Point Research describes APT34 as an Iranian MOIS-affiliated group.
First observed activity clusters place OilRig back to at least 2014. Palo Alto Unit 42 named the group publicly in May 2016 while investigating spearphish waves against Saudi financial institutions delivering the Helminth backdoor; FireEye/Mandiant independently began tracking the same cluster as APT34 by December 2017.
Espionage against Middle Eastern governments and infrastructure. Symantec lists Crambus targets in Saudi Arabia, Israel, the UAE, Iraq, Jordan, Lebanon, Kuwait, Qatar, Albania, the US and Turkey; Trend Micro says the group primarily targets the energy sector, particularly oil and gas; Check Point documented a 2024 campaign against the Iraqi government.
Notable Operations
Helminth / Saudi financial-sector campaign (Clayslide)
2015-2016First OilRig cluster named publicly by Unit 42: spearphish with 'Clayslide' Excel macro documents delivered the Helminth VBScript/PowerShell backdoor to Saudi banking, technology and defence targets between May 4-12 2016; later expanded to Qatar, Turkey, Israel and US entities.
CVE-2017-11882 / POWRUNER / BONDUPDATER
2017-2018Within a week of Microsoft's November 2017 patch, APT34 weaponised the Equation Editor RCE (CVE-2017-11882) to drop POWRUNER and the BONDUPDATER DGA-based PowerShell downloader against a Middle Eastern government. In August 2018 Unit 42 reported an updated BONDUPDATER that added DNS TXT records to its DNS-tunnelling C2, again against a Middle Eastern government.
OopsIE, RGDoor and QUADAGENT
2018Trio of custom implants: OopsIE (a trojan sent as an email attachment, updated with anti-VM and sandbox checks), RGDoor (a native C++ IIS module used as a secondary backdoor to regain access to compromised web servers) and QUADAGENT (a PowerShell backdoor with HTTPS, HTTP and DNS-tunnelling fallback C2, sent from compromised government email accounts to a technology-services provider and a government entity).
DNSpionage / Karkoff DNS-hijacking wave
2018-2019Cisco Talos exposed DNSpionage, a campaign against Lebanese and UAE .gov domains and a private Lebanese airline that used fake job-posting sites with macro documents and redirected the DNS of hostnames under compromised Lebanese and UAE nameservers, likely to harvest email and VPN credentials; a 2019 wave deployed the Karkoff .NET backdoor. Talos described only a weak link to OilRig, based on a similar C2 panel URL path seen in the alleged OilRig leak of April 2019.
Hard Pass: LinkedIn spearphish
2019Mandiant documented APT34 operators posing as a University of Cambridge research staff member on LinkedIn, soliciting CVs for job opportunities and sending a link to a malicious spreadsheet (ERFT-Details.xls) that dropped the new TONEDEAF backdoor. Two further new families, VALUEVAULT (a Golang Windows Vault credential stealer) and the LONGWATCH keylogger, were found hosted on the same C2 domain.
Saitama: Jordan Foreign Ministry
2022Excel-macro spearphish to a Jordanian foreign-ministry official (April 26 2022) delivered Saitama, a .NET backdoor whose entire C2 stack rides on DNS queries, implemented as a finite-state machine. Fortinet and Malwarebytes published parallel analyses.
Menorah: Saudi-themed license phishing
2023Trend Micro identified a Word-macro lure disguised as a Seychelles Licensing Authority registration form (with pricing in Saudi Riyals) that dropped Menorah.exe, a .NET malware run from %ALLUSERSPROFILE%\Office356 via a scheduled task named OneDriveStandaloneUpdater. Capabilities: host fingerprinting, file exfiltration and second-stage download.
Crambus: 8-month Middle East gov intrusion (PowerExchange)
2023Symantec disclosed an eight-month Crambus (OilRig) intrusion against a Middle Eastern government (Feb-Sep 2023). Activity spanned at least 12 hosts; the operators deployed PowerExchange (a PowerShell backdoor that monitored an Exchange mailbox and executed commands received as email) plus keyloggers and Plink-based RDP tunnelling.
Iraq: Veaty & Spearal
2024Check Point Research documented a months-long campaign against the Iraqi government using two new .NET backdoors: Veaty (C2 through compromised government email accounts) and Spearal (custom DNS-tunnelling C2), plus a passive IIS module backdoor (CacheHttp.dll) that is a newer iteration of malware ESET attributed to IIS Group 2. CPR found overlaps with Karkoff, Saitama and IIS Group 2 and assessed possible connections to APT34.
Earth Simnavaz: UAE / Gulf Exchange abuse (StealHook)
2024Trend Micro reported Earth Simnavaz (OilRig) entering through a web shell on a vulnerable web server, then using RunPE-In-Memory with the Windows Kernel LPE CVE-2024-30088 and registering a malicious password-filter DLL to capture plaintext credentials. The STEALHOOK tool sent the stolen credentials as email attachments through the victim's on-premises Microsoft Exchange server. Trend Micro described rising attacks on infrastructure in the Middle East.
Tactics, Techniques & Procedures
Primary access vector across a decade: macro-enabled Excel (Clayslide) and Word documents themed as job offers, government forms, HR paperwork or license registrations. Used in Helminth, POWRUNER/BONDUPDATER, OopsIE, Saitama and Menorah campaigns.
Fake VPN portals and lookalike login pages harvested Israeli, Turkish, Qatari and Saudi credentials; the technique reappeared during the Fox Kitten campaign for persistent VPN/Citrix access.
LinkedIn 'Hard Pass' campaign (2019): operators posing as a Cambridge University researcher sent a LinkedIn message leading to a malicious spreadsheet that dropped TONEDEAF.
Documented use of compromised organisations as launch points: in 2018 OilRig sent QUADAGENT from compromised email accounts at a Middle Eastern government agency to a technology-services provider and another government entity, and MITRE notes supply chain attacks on government entities through compromised organisations.
PowerShell is the group's staple execution surface: Helminth's dns.ps1, BONDUPDATER, QUADAGENT, PowerExchange and joper.ps1 (2023 Crambus) are all PowerShell-first payloads.
VBScript macros embedded in Excel/Word lures (Helminth's update.vbs, OopsIE, Saitama's dropper) trigger the second-stage PowerShell or .NET payload.
Victims are prompted to enable macros in Excel/Word decoys crafted to match the target's ministry, employer or licensing authority; identical tradecraft from 2016 Helminth to 2023 Menorah.
Weaponised CVE-2017-11882 (Office Equation Editor) within days of the November 2017 patch to drop POWRUNER / BONDUPDATER on Middle Eastern government targets.
Persistence via scheduled tasks running VBScript or .NET payloads. Menorah installs a scheduled task named 'OneDriveStandaloneUpdater' pointing at %ALLUSERSPROFILE%\Office356\Menorah.exe.
TwoFace web shells, the RGDoor native IIS module and, in 2024 Iraq activity, the CacheHttp.dll passive IIS module give redundant access to internet-facing web servers even after other backdoors are burned.
Abuses the Outlook Home Page feature for persistence, including use of CVE-2017-11774 to roll back the initial patch against Home Page abuse.
In 2024 Earth Simnavaz campaigns, OilRig chained the Windows Kernel LPE CVE-2024-30088 with an in-memory PE loader (RunPE-In-Memory) to register a malicious password-filter DLL.
A CHM (compiled HTML help) payload has been used to load and execute another malicious file once delivered to a victim.
Fox Kitten and later campaigns leverage stolen VPN, Citrix and OWA credentials for stealthy long-term access. STEALHOOK (2024) retrieves valid domain credentials and uses them to access the Exchange server for exfiltration.
In Earth Simnavaz, a password-filter DLL was registered on domain controllers to capture cleartext credentials at password-change events, then exfiltrated via Exchange (StealHook).
Mimikatz-based LSASS dumping is repeatedly documented for lateral movement inside government and telecom victims.
OilRig has run hostname and systeminfo on victims; Helminth's batch reconnaissance script runs whoami, hostname, ipconfig /all and systeminfo, among other commands.
Signature OilRig tradecraft: DNS-tunnel C2 across Helminth, ISMAgent, ALMA Communicator, BONDUPDATER (TXT records), QUADAGENT (AAAA queries) and Saitama (finite-state DNS machine).
HTTP is used for C2 alongside DNS (Helminth's update.vbs beacons over HTTP); ISMAgent falls back to DNS tunnelling if it cannot reach its C2 over HTTP.
Abuse of Microsoft cloud services for C2: the SampleCheck5000, OilCheck, ODAgent and OilBooster downloaders talk to attacker-controlled Exchange (EWS), Outlook and OneDrive accounts through Microsoft APIs, and PowerExchange used an Exchange mailbox as C2.
After initial access OilRig pulls further payloads from its C&C servers; in the 2021-2022 Outer Space and Juicy Mix campaigns the Solar and Mango backdoors could download additional files, and the operators deployed browser-data and credential dumpers (MKG, CDumper, EDumper, IDumper).
Plink is repeatedly used to open reverse SSH tunnels from compromised hosts, then RDP inbound through the tunnel, a pattern visible in Fox Kitten and Crambus campaigns.
OilRig has exfiltrated data via Microsoft Exchange and over FTP, separately from its primary DNS C2 channel; in 2024 STEALHOOK sent stolen credentials as email attachments through the victim's Exchange server.
Reports & Advisories
Canonical ATT&CK group page. Full alias set, associated software (Helminth, BONDUPDATER, POWRUNER, QUADAGENT, RGDoor, OopsIE, ISMInjector, SideTwist, PowerExchange, Solar, Mango, ODAgent, OilCheck, OilBooster…), and 70+ technique mappings with citations.
Short Group-IB actor profile: finance, energy, telecom, chemical and government targets, mostly in the Middle East, with initial access through spearphishing disguised as job applications or business documents.
Show 30 older reports
STEALHOOK Exchange exfiltration tool + password-filter DLL + CVE-2024-30088 LPE chain used against Middle Eastern targets.
FortiGuard actor page: aliases, targeted industries and a link to the MITRE ATT&CK G0049 entry.
New Veaty (email C2 via compromised accounts) and Spearal (DNS-tunnel) .NET backdoors, plus the CacheHttp.dll passive IIS backdoor, used against the Iraqi government; overlaps with Karkoff / Saitama / IIS Group 2.
CFR Cyber Operations Tracker entry: espionage against finance, energy, government, chemical and telecom organisations, Iran as suspected state sponsor, citing FireEye's December 2017 report.
Unit 42 ATOM (adversary playbook) page for Evasive Serpens, Palo Alto's name for OilRig / APT34. The live URL now redirects to the Unit 42 homepage; an archived copy is linked.
SampleCheck5000, ODAgent, OilCheck and OilBooster: a family of Israel-focused downloaders that piggyback on Microsoft cloud services and Exchange for C2.
Eight-month intrusion (Feb-Sep 2023) with PowerExchange backdoor abusing Exchange mailboxes as C2, plus Plink-based RDP tunnels. Symantec's Crambus alias mapped to OilRig.
First public analysis of Menorah, a .NET recon/exfil trojan launched via a Seychelles-licence-registration-themed Word document with Saudi-Riyal pricing artefacts.
Deep-dive on the Outer Space (2021) and Juicy Mix (2022) campaigns against Israeli organisations, plus the previously undocumented Solar and Mango first-stage backdoors.
Analysis of a spearphish against a Jordanian diplomat: an Excel VBA macro drops a .NET backdoor that uses DNS tunnelling and stateful programming for C2; FortiGuard attributes the campaign to APT34.
Independent Saitama analysis with lure screenshots, macro decoding and Jordanian MFA phishing attribution.
Post-leak retooling: SideTwist backdoor against a Lebanese target, complete IOCs and C2 protocol analysis.
RDAT backdoor found at a Middle Eastern telecommunications organisation in April 2020, using DNS tunnelling (TXT queries) for C2; a 2018 RDAT variant used Exchange Web Services to swap emails carrying steganographic BMP attachments as a C2 channel.
ClearSky whitepaper linking a three-year infrastructure-persistence campaign to APT34 (medium-high confidence) and APT33 (medium), targeting IT, telecom, oil-and-gas, aviation and government sectors in Israel and worldwide.
LinkedIn spearphish impersonating a Cambridge University researcher delivered the TONEDEAF backdoor; the new VALUEVAULT credential stealer and LONGWATCH keylogger were found on the same C2 infrastructure.
Unit 42 analysis of the OilRig data dump leaked in mid-March 2019 (later pushed to a Telegram channel by the @dookhtegan accounts): about 13,000 stolen credentials, webshells (HyperShell, HighShell, Minion), the Glimpse and Poison Frog BONDUPDATER variants and the webmask DNS-hijacking toolkit.
Follow-up documenting the Karkoff .NET backdoor and a weak OilRig link based on a similar C2 panel URL path in the alleged OilRig leak of April 2019.
Cross-family comparison of OilRig DNS-tunnelling implementations (Helminth, ISMAgent, ALMA Communicator, BONDUPDATER, QUADAGENT), useful as a reference for detection engineering.
The Talos report that named DNSpionage: fake job sites with macro documents dropping custom malware, plus DNS redirection of Lebanese and UAE .gov and private hostnames.
Updated BONDUPDATER, spearphished to a Middle Eastern government in August 2018, adds DNS TXT records to its DNS-tunnelling C2.
OopsIE trojan variant with added anti-VM and sandbox checks, sent as an email attachment from compromised accounts to a Middle Eastern government agency.
PowerShell backdoor QUADAGENT (HTTPS, HTTP and DNS-tunnelling fallback C2) delivered from a compromised government email account; attribution corroborated by FireEye and ClearSky.
Reverse engineering of RGDoor, a native C++ IIS module used as a redundant backdoor on Microsoft IIS servers when TwoFace web shells are burned.
The FireEye/Mandiant post that first branded the cluster APT34. Weaponisation of CVE-2017-11882 (Office Equation Editor) within a week of patch, dropping POWRUNER and BONDUPDATER.
First deep-dive on ALMA Communicator, an OilRig Trojan that uses DNS tunnelling exclusively for C2 and exfiltration; commands come back as IPv4 addresses in DNS A-record responses.
Analysis of ISMAgent, an ISMDoor variant OilRig delivered through Clayslide Excel documents; Unit 42 notes a possible link to Greenbug, which Symantec had reported using ISMDoor.
Early ClearSky documentation of OilRig's fake-VPN-portal tradecraft against Israeli IT vendors, financial institutions and the Israeli Post Office, plus targets in Turkey, Qatar, Kuwait, UAE, Saudi Arabia and Lebanon.
Follow-up documenting expansion to Qatar, Turkey, Israel and US targets; new decoy documents and Helminth variants.
Foundational report and the first public naming of OilRig. Clayslide Excel macros dropping Helminth VBScript/PowerShell backdoor against Saudi banks and tech firms.
Malpedia actor page: associated malware families (Helminth, BONDUPDATER, POWRUNER, QUADAGENT, OopsIE, Karkoff, Saitama, StealHook…), alias set and reference list.