Skip to content Ventura Systems Intelligence

APT group profile

OilRig

Suspected Iranian cyberespionage group active since at least 2014 against government, financial, energy, chemical and telecommunications targets in the Middle East, known for DNS tunneling, Exchange-based backdoors and abuse of cloud services for C2.

MITRE G0049 Threat group State-sponsored Espionage Updated

Overview

OilRig (also APT34, Helix Kitten, Crambus, Earth Simnavaz and Hazel Sandstorm) is a suspected Iranian state cyberespionage group. MITRE ATT&CK® dates its activity to at least 2014 and lists government, financial, energy, chemical and telecommunications victims in the Middle East and elsewhere; it adds that the group has carried out supply chain attacks that exploit trust between organizations. MITRE also notes that OilRig and APT34 were once tracked as two groups and were merged because of overlapping activity. Unit 42 named OilRig in 2016, and Mandiant assesses that APT34 works on behalf of the Iranian government, adding that APT34 “loosely aligns” with public reporting on OilRig.

The group relies on carefully prepared spearphishing, PowerShell and .NET backdoors, and covert command channels: DNS tunneling in its early tools, and later email accounts on compromised Exchange servers and Microsoft cloud APIs. CrowdStrike adds aerospace and hospitality to the sectors targeted by Helix Kitten.

Scope: HEXANE/Lyceum. This profile follows MITRE, which tracks HEXANE (also Lyceum) as a separate group whose techniques resemble those of OilRig and APT33; see the HEXANE profile. ESET takes a different view: since June 2025 it tracks OilRig as a parent group with several subgroups, one of them Lyceum, and has reassigned its 2021–2022 Israeli campaigns to Lyceum (ESET). Those campaigns appear below with both views.

Relationship to MuddyWater. ESET reports that MuddyWater “conducted a joint sub-campaign with OilRig in January and February 2025”. MuddyWater obtained the initial access, and ESET assesses that the harvested credentials were probably used by Lyceum, which it describes as an OilRig subgroup. ESET treats this as cooperation between groups and suggests that MuddyWater may act as an initial access broker for other Iran-aligned groups.

The COBALT GYPSY name. Sources disagree on this alias. MITRE and Microsoft’s naming list place it under OilRig and Hazel Sandstorm, while a 2020 Unit 42 brief lists it as an alias of Magic Hound. This portal does not assign it to either profile; see also Magic Hound.

Notable campaigns

  • 2016 — Saudi Arabia: spearphishing with macro-enabled Excel files delivered the Helminth backdoor, which used DNS queries for command and control, to financial and technology organizations in Saudi Arabia (Unit 42).
  • 2017 — Office exploit against a government: shortly after Microsoft patched CVE-2017-11882 in November 2017, APT34 used it against a Middle East government organization to install the POWRUNER backdoor and the BONDUPDATER downloader, which generates domains for DNS-based communication (Mandiant).
  • 2021–2022 — Israeli organizations: the Solar and Mango backdoors and the SampleCheck5000, ODAgent, OilCheck and OilBooster downloaders, which use Microsoft Graph and Exchange Web Services APIs for C2, against Israeli healthcare, manufacturing, local government and other organizations (ESET, ESET). MITRE lists these tools under OilRig; ESET now attributes these campaigns to its Lyceum subgroup.
  • February–September 2023 — Middle East government: an eight-month intrusion in which Crambus deployed the PowerExchange backdoor, which receives commands through emails on the victim’s Exchange server, changed Windows firewall rules and used Plink to open RDP access (Symantec).
  • 2024 — Middle East energy and infrastructure: against energy organizations, particularly oil and gas, Earth Simnavaz used web shells, ngrok tunnels, a Windows kernel privilege-escalation exploit (CVE-2024-30088), a malicious password filter DLL and the StealHook backdoor, which sends stolen credentials through Exchange email (Trend Micro).
  • Reported June 2025 — BladedFeline in Iraq: ESET assesses with medium confidence that BladedFeline, an Iran-aligned cyberespionage group active since at least 2017, is an OilRig subgroup. It compromised officials of the Kurdistan Regional Government and high-ranking officials of the government of Iraq, as well as a regional telecommunications provider in Uzbekistan. Its tools include Whisper, a backdoor that receives commands as email attachments through a compromised webmail account on a Microsoft Exchange server, and PrimeCache, a malicious native IIS module (ESET). In the same report ESET calls Lyceum, also known as HEXANE, “another OilRig subgroup”.

Key TTPs

Initial access. OilRig sends spearphishing with attachments (T1566.001), links (T1566.002) and messages through social media (T1566.003), and relies on the victim clicking or opening them (T1204.001, T1204.002). It exploits Office vulnerabilities (T1203), uses VPNs and other external remote services (T1133) and stolen valid accounts (T1078), and has compromised suppliers to reach their customers (T1195).

Execution and persistence. It runs PowerShell, cmd and VBScript (T1059.001, T1059.003, T1059.005), creates scheduled tasks (T1053.005), installs web shells and IIS backdoors (T1505.003) and abuses Outlook home page settings (T1137.004). It registers malicious password filters to capture new passwords (T1556.002).

Privilege escalation and credentials. It exploits kernel vulnerabilities (T1068), dumps LSASS and LSA secrets (T1003.001, T1003.004), steals browser credentials (T1555.003) and logs keystrokes (T1056.001) and screenshots (T1113).

Evasion and lateral movement. It changes Windows firewall rules (T1686.003), checks for sandboxes (T1497.001), moves over RDP (T1021.001) and tunnels traffic with Plink and ngrok (T1572).

C2 and exfiltration. It uses HTTP and DNS for C2 (T1071.001, T1071.004), with fallback channels (T1008) and encryption (T1573.002), and exfiltrates over unencrypted alternative protocols such as FTP (T1048.003).

Detection and mitigation

  • DNS. Alert on hosts that make long or high-volume queries to rare domains or generated subdomains, a sign of DNS tunneling (M1031, M1037).
  • Exchange and cloud APIs. Monitor mailboxes that receive emails with unusual command-like subject markers, mail flow rules created by service accounts and Microsoft Graph or EWS access by unusual applications (Symantec, ESET).
  • Domain controllers. Audit the Notification Packages registry value under the LSA key for new password filter DLLs, which Trend Micro observed, and alert on LSASS access (M1043).
  • Web servers. Scan IIS and other web servers for web shells and unknown modules, and alert on w3wp.exe spawning PowerShell or cmd.exe.
  • Tunnels. Block or alert on ngrok and Plink, and on new firewall rules that open RDP (M1038).
  • Identity. Require MFA on VPN and email, and review access granted to suppliers and IT service providers (M1032, M1030).
  • Regional relevance. None of the cited sources names a Latin American victim. Energy and telecommunications companies in the region with operations in the Gulf should still apply these controls.

MITRE ATT&CK® techniques

Techniques attributed to the group in public sources, grouped by tactic. Each ID links to attack.mitre.org.

Initial Access

  • T1078 Valid Accounts
  • T1133 External Remote Services
  • T1195 Supply Chain Compromise
  • T1566.001 Phishing: Spearphishing Attachment
  • T1566.002 Phishing: Spearphishing Link
  • T1566.003 Phishing: Spearphishing via Service

Execution

  • T1053.005 Scheduled Task/Job: Scheduled Task
  • T1059.001 Command and Scripting Interpreter: PowerShell
  • T1059.003 Command and Scripting Interpreter: Windows Command Shell
  • T1059.005 Command and Scripting Interpreter: Visual Basic
  • T1203 Exploitation for Client Execution
  • T1204.001 User Execution: Malicious Link
  • T1204.002 User Execution: Malicious File

Persistence

  • T1137.004 Office Application Startup: Outlook Home Page
  • T1505.003 Server Software Component: Web Shell
  • T1556.002 Modify Authentication Process: Password Filter DLL

Privilege Escalation

  • T1068 Exploitation for Privilege Escalation

Stealth

  • T1497.001 Virtualization/Sandbox Evasion: System Checks

Defense Impairment

  • T1686.003 Disable or Modify System Firewall: Windows Host Firewall

Credential Access

  • T1003.001 OS Credential Dumping: LSASS Memory
  • T1003.004 OS Credential Dumping: LSA Secrets
  • T1056.001 Input Capture: Keylogging
  • T1555.003 Credentials from Password Stores: Credentials from Web Browsers

Lateral Movement

  • T1021.001 Remote Services: Remote Desktop Protocol

Collection

Command and Control

  • T1008 Fallback Channels
  • T1071.001 Application Layer Protocol: Web Protocols
  • T1071.004 Application Layer Protocol: DNS
  • T1572 Protocol Tunneling
  • T1573.002 Encrypted Channel: Asymmetric Cryptography

Exfiltration

  • T1048.003 Exfiltration Over Alternative Protocol: Exfiltration Over Unencrypted Non-C2 Protocol

Malware and tools

References

Public sources this profile is based on.

  1. [1] OilRig, Group G0049 · MITRE ATT&CK
  2. [2] HEXANE, Group G1001 · MITRE ATT&CK
  3. [3] The OilRig Campaign: Attacks on Saudi Arabian Organizations Deliver Helminth Backdoor · Palo Alto Networks Unit 42, May 2016
  4. [4] New Targeted Attack in the Middle East by APT34, a Suspected Iranian Threat Group, Using CVE-2017-11882 Exploit · Mandiant (Google), Dec 2017
  5. [5] Meet CrowdStrike's Adversary of the Month for November: HELIX KITTEN · CrowdStrike, Nov 2018
  6. [6] Threat Brief: Iranian-Linked Cyber Operations · Palo Alto Networks Unit 42, Jan 2020
  7. [7] OilRig's Outer Space and Juicy Mix: Same ol' rig, new drill pipes · ESET Research, Sep 2023
  8. [8] Crambus: New Campaign Targets Middle Eastern Government · Symantec, Oct 2023
  9. [9] OilRig's persistent attacks using cloud service-powered downloaders · ESET Research, Dec 2023
  10. [10] Earth Simnavaz (aka APT34) Levies Advanced Cyberattacks Against Middle East · Trend Micro, Oct 2024
  11. [11] MuddyWater: Snakes by the riverbank · ESET Research, Dec 2025
  12. [12] BladedFeline: Whispering in the dark · ESET Research, Jun 2025
  13. [13] How Microsoft names threat actors · Microsoft

Profile last updated:

Profiles that this one links to or that link here, for overlapping or connected groups.

Concerned about this group?

The Ventura Systems MDR service monitors the techniques of this and other actors 24/7, with ATT&CK-based threat hunting.