OilRig Group Unleashes Coordinated Cyber Campaigns on Saudi Arabian Industries
- Actor Motivations: Espionage,Exfiltration
- Attack Vectors: Backdoor,Keylogger,Spear Phishing
- Attack Complexity: Medium
- Threat Risk: High Impact/Low Probability
Threat Overview
Palo Alto Unit42 introduces the OilRig campaign — naming both the threat group and the Helminth backdoor based on the Persian word "Nafti" (نفتی, meaning "oily") found hardcoded alongside philosopher names (Plato, Arasto, ALAfghani) in malware samples. The report documents two waves of targeted attacks on Saudi Arabian organizations across the financial, technology, defense, and telecommunications sectors: an August 2015 wave using fake job offers to deliver the Helminth executable variant, and a May 2016 wave using a service-provider social engineering theme to deliver the Helminth script variant via Clayslide Excel macro documents. The Clayslide delivery documents display a fake "Incompatible" worksheet instructing the user to enable macros, after which they show legitimate-looking decoy content (internal IP status tables) while installing Helminth's two-component script variant: update.vbs (HTTP C2 for batch script download and output upload) and dns.ps1 (DNS-based C2 using IP address octets as data transport, with 33.33.x.x as a start marker and 35.35.x.x as a stop marker). Both scripts create a fully functional remote shell. The executable variant, delivered via the HerHer dropper Trojan, adds a keylogger module (wintrust.hlm DLL) that monitors keystrokes and clipboard contents. Both variants beacon hardcoded per-sample "Group" (targeted organization name) and "Name" (philosopher/Persian word) values in C2 traffic, confirming deliberate pre-operational targeting. WHOIS registrant data for C2 domains included Iranian email addresses (chmail.ir provider, Tehran geolocation), consistent with Iranian-based operators. The scheduled task "GoogleUpdateTaskMachineUI" ran update.vbs every three minutes.
Detected Targets
| Type | Description | Confidence |
|---|---|---|
| Sector | Defense | Verified |
| Sector | Financial | Verified |
| Sector | Information Technology | Verified |
| Sector | Telecommunication | Verified |
| Region | Saudi Arabia | Verified |
Extracted IOCs
- checkgoogle[.]org
- doosan[.]com
- go0gie[.]com
- kernel[.]ws
- mydomain1110[.]com
- mydomain1607[.]com
- mydomain1609[.]com
- minfosecu.doosan[.]com
- andre.serkisian@chmail[.]ir
- andre_serkisian@yahoo[.]com
- edmundj@chmail[.]ir
- fb424443ad3e27ef535574cf7e67fbf9054949c48ec19be0b9ddfbfc733f9b07
- 35[.]35.35.35
- 5[.]39.112.87
- hxxp://doosan[.]com
- hxxp://go0gie[.]com
- hxxp://minfosecu.doosan[.]com/data/joboffer.zip
Tip: 17 related IOCs (2 IP, 8 domain, 3 URL, 3 email, 1 file hash) to this threat have been found.
Overlaps
Source: Palo Alto Network - April 2019
Detection (one case): go0gie[.]com
Source: ClearSky - January 2017
Detection (one case): kernel[.]ws
Source: Palo Alto Networks - October 2016
Detection (one case): go0gie[.]com
Source: Mandiant - May 2016
Detection (three cases): 35[.]35.35.35, hxxp://go0gie[.]com, go0gie[.]com
Hint: Overlaps are extracted automatically by examining the IOCs associated with all indexed threats and actors.
FAQs
Frequently Asked Questions: OilRig Campaign — Helminth Backdoor Targeting Saudi Arabian Organizations
Palo Alto Unit42 documented a two-wave targeted attack campaign against Saudi Arabian organizations — naming both the threat group (OilRig) and the backdoor (Helminth) for the first time. The group ran an August 2015 wave using fake job offer lures and a May 2016 wave using a service-provider social engineering theme. Both waves delivered the Helminth backdoor, giving attackers persistent remote access to compromised Saudi financial, technology, defense, and telecommunications organizations.
The campaign is attributed to OilRig — a threat group Unit42 named in this report. The name "OilRig" comes from "Nafti" (نفتی), a Persian word meaning "oily," hardcoded into malware samples alongside philosopher names like Plato, Arasto (Persian for Aristotle), and ALAfghani (an Islamic philosopher). WHOIS registrant data for C2 domains included Iranian email addresses on the chmail.ir provider and Tehran as the geolocation — consistent with Iranian-based operators, though Unit42 acknowledges WHOIS data can be falsified. OilRig is now assessed to be an Iranian state-linked cyberespionage group, also known as APT34.
The goal was espionage. Helminth provides attackers with a fully functional remote shell — operators can run arbitrary commands, collect system information, upload and download files, and exfiltrate data over both HTTP and DNS channels. The executable variant adds keylogging and clipboard capture. The hardcoded Group and Name values per sample confirm the attackers researched their targets beforehand and tailored each deployment to a specific organization.
The campaign targeted Saudi Arabian organizations across financial institutions, technology companies, the defense industry, and telecommunications firms. The attack waves ran from at least August 2015 through May 2016. Group names hardcoded in the executable variant's beacons included confirmed Saudi defense and telecom organization names, verifying deliberate sector-specific targeting rather than opportunistic infection.
Confirmed targeted sectors were financial institutions, technology organizations, the defense industry, and telecommunications companies — all within Saudi Arabia. The two-year campaign focused exclusively on Saudi targets, consistent with Iranian state interest in monitoring and disrupting Saudi economic, military, and communications infrastructure.
The 2016 wave used Clayslide — a malicious Excel spreadsheet that displayed a fake "Incompatible" worksheet telling the user to enable macros. Once enabled, the macro hid that worksheet, displayed a legitimate-looking decoy (a table of internal IP addresses), and silently installed two scripts: update.vbs communicated with the C2 server over HTTP to download and run batch commands, while dns.ps1 used DNS queries to send data back — encoding command output in the subdomains of DNS queries. A scheduled task named "GoogleUpdateTaskMachineUI" ran update.vbs every three minutes for persistence. The 2015 wave used a job offer ZIP file with a dropper (HerHer Trojan) that installed the standalone Helminth executable plus a keylogger DLL, persisting via a startup folder shortcut.
Saudi Arabia's financial, defense, and telecommunications sectors represent high-value intelligence targets for Iranian state-aligned actors. Saudi Aramco and the broader Saudi energy and defense complex are strategic rivals to Iranian interests in the region. Access to Saudi defense networks in particular provides intelligence on military capabilities and procurement — exactly the kind of information that would be valuable to Iran's defense planning. The consistent, sustained targeting over years demonstrates a standing intelligence-collection mandate against these Saudi sectors.
Block the known C2 domains and alert on DNS responses containing 35.35.35.35 or 33.33.x.x IP addresses — these are Helminth's protocol magic markers and are unlikely to appear in legitimate traffic. Monitor for scheduled tasks named "GoogleUpdateTaskMachineUI" and for Excel macros writing .vbs and .ps1 files to %PUBLIC%\Libraries\. Hunt for wintrust.hlm in %PUBLIC%\Libraries\~Windows\ and for adbmanager.exe or adbtray.exe in %APPDATA%\Microsoft Temperary\ — the misspelling of "Temporary" is a specific, unique artifact left by the malware author. Enable DNS logging and PowerShell script block logging to detect Helminth's C2 channels at the network and host levels.