apt34-oilrig
What it does
This profile covers APT34, a long-running espionage group that targets Middle Eastern and international organizations. It is for security teams who want to understand its slow, trust-based approach.
When to use it
- βWhen a team wants to test defenses against long-term, low-noise espionage campaigns.
- βWhen you are reviewing risks from trusted suppliers and partner relationships.
- βWhen a team needs to watch for unusual use of mail servers or DNS traffic.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/shared/adversary-emulation/apt34-oilrig/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βCan you help me plan a test to see if we would catch APT34-style trust abuse in our supplier connections?β
5 new skills a week. 1 minute to read.
How it works
The agent uses the group's documented methods to suggest what defenders should look for, such as unusual DNS traffic or misuse of mail servers.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
APT34 (OilRig, Helix Kitten, Hazel Sandstorm) β Adversary Emulation Profile
APT34 β tracked as OilRig, Helix Kitten, Hazel Sandstorm, Earth Simnavaz, Crambus, Cobalt Gypsy / COBALT GYPSY, IRN2, Evasive Serpens, EUROPIUM, ITG13, and TA452 (MITRE ATT&CK G0049) β is a suspected Iranian state-sponsored cyber-espionage group operational since at least 2014. It conducts long-running, reconnaissance-heavy intrusions against Middle Eastern and international organizations, favoring spearphishing for initial access, heavy use of PowerShell/VBScript backdoors, custom DNS-tunneling C2, supply-chain and trust-relationship abuse, and patient credential harvesting. The group continually re-tools (BONDUPDATER β SideTwist β cloud/Exchange-based C2) and is notable for living-off-the-land tradecraft, password-filter-DLL credential capture, and exfiltrating data through victim-owned Microsoft Exchange servers to blend with legitimate mail flow.
Attribution & motivation
- Suspected sponsor: Iran. FireEye/Mandiant assesses APT34 "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." Multiple vendors (Trend Micro, Microsoft, CrowdStrike) link the cluster to Iranian intelligence services.
- Motivation: Strategic cyber espionage β long-term reconnaissance and credential/data theft to advance Iranian geopolitical interests in the region. Primary intent is intelligence collection, not financial gain. (A separate but related Iranian destructive operation, ZeroCleare wiper (S1151), is associated with the same cluster, indicating latent destructive capability.)
- Confidence: High that the activity is Iranian state-aligned espionage; the precise sponsoring agency varies by vendor naming. Attribution of any single intrusion should be treated as suspected unless backed by collected infrastructure/tooling overlap.
Targeting
- Sectors: Financial/banking, government, energy/oil & gas, chemical, telecommunications, critical infrastructure, and aviation/transport.
- Regions: Primarily the Middle East β Gulf Cooperation Council states (UAE, Saudi Arabia, Kuwait, Qatar, Bahrain), plus Israel; with international reach into the U.S. and other regions via supply-chain and trust-relationship pivots.
- Victim profile: Government ministries and state-aligned enterprises in strategic sectors; the group frequently compromises one organization (e.g., HR/job portals, telecoms) and abuses that trust to reach higher-value government targets.
Notable campaigns
- 2014β2016 β Emergence (Helminth): Social-engineering attacks delivering the Helminth backdoor (S0170) via macro-enabled Excel spreadsheets against Middle Eastern banks; FireEye began tracking the cluster as APT34. (Source: MITRE G0049; LevelBlue/Trustwave APT34 profile.)
- December 2017 β CVE-2017-11882 government campaign: Within a week of Microsoft's Nov-2017 patch, APT34 spearphished a Middle East government org with a malicious .rtf exploiting CVE-2017-11882 (Equation Editor) to deploy POWRUNER (S0184) and BONDUPDATER (S0360), the latter using a custom DGA for DNS-based C2. (Source: FireEye/Mandiant, 2017-12-07.)
- Mid-2018 onward β Outlook Home Page persistence (CVE-2017-11774): APT34 (alongside APT33) abused the Outlook Home Page feature for code execution and persistence after obtaining valid credentials. (Source: FireEye/Mandiant; U.S. Cyber Command advisory; Dark Reading.)
- April 2019 β Tool/source leak: A leak via the "Lab Dookhtegan" Telegram channel exposed OilRig webshells, DNS-tunneling tooling, and victim data, confirming TTPs and infrastructure. (Source: BankInfoSecurity.)
- October 2024 β Earth Simnavaz Gulf campaign: Trend Micro reported APT34/Earth Simnavaz targeting UAE/Gulf government and critical-infrastructure orgs: initial access via a webshell on a vulnerable web server, privilege escalation with CVE-2024-30088 (Windows Kernel), a registered password filter DLL to capture plaintext credentials, the STEALHOOK backdoor exfiltrating data as attachments through the victim's own Microsoft Exchange server, and ngrok for tunneling/lateral movement to the Domain Controller. (Source: Trend Micro; Industrial Cyber; Dark Reading.)
TTPs by ATT&CK tactic
(Every technique below is grounded in the MITRE ATT&CK G0049 entry unless otherwise noted.)
Initial Acce
FAQ
How long do its campaigns run?
The profile describes long-running, reconnaissance-heavy campaigns that can last for years.
Does it use common tools?
It describes heavy use of scripting tools and living-off-the-land methods that blend into normal activity.
Who is it linked to?
Several vendors link it to Iranian intelligence services, according to the profile.
Details
Original description by the author
Adversary-emulation profile for APT34 / OilRig (G0049), an Iranian state-sponsored espionage group, mapping its ATT&CK TTPs to Decepticon tooling for authorized red-team emulation.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #13911
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- β¦
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.