OilRig: Never-seen C#/.NET Backdoor to Attack Wide Range of Industries

OilRig (APT34) is an Iranian cyberespionage group active since 2014, targeting Middle Eastern governments and various industries like:-

  • Chemical
  • Energy
  • Finance
  • Telecom

OilRig launched DNSpionage in 2018-2019 against Lebanon and the UAE, followed by the 2019-2020 HardPass campaign using LinkedIn for energy and government sector targets.

Recently, the cybersecurity researchers at ESET have identified and analyzed two OilRig APT group’s campaigns:- 

  • Outer Space (2021)
  • Juicy Mix (2022)

These cyberespionage campaigns exclusively targeted Israeli organizations, following their Middle East focus. They infiltrated via legitimate websites, employing VBS droppers for C#/.NET backdoors and post-compromise data tools.

Campaign Overview

  • Outer Space: It’s an OilRig campaign from 2021 that used an Israeli HR site as a C&C server for the Solar backdoor. Here, with basic functions, the Solar led to SC5k downloader, while MKG was used for browser data exfiltration.
OilRig’s Outer Space compromise chain (Source – ESET)
  • Juicy Mix: In 2022, OilRig launched a fresh campaign, Juicy Mix, targeting Israeli groups with upgraded tools, compromising a job portal for C&C, then hitting an Israeli healthcare org with Mango backdoor, two secret browser-data dumpers, and a Credential Manager stealer.
Components used in OilRig’s Juicy Mix campaign (Source – ESET)

Technical Analysis

Both campaigns used VBS droppers, likely delivered via spearphishing emails to establish system access. 

These droppers delivered Mango, ensured persistence, and connected to the C&C server. At the same time, the embedded backdoor used base64 encoding and simple string deobfuscation for concealment.

After embedding the backdoor, the dropper schedules Mango (or Solar) to run every 14 minutes and sends the compromised computer’s name via a base64-encoded POST request to the C&C server.

OilRig’s Outer Space campaign deploys Solar, a simple yet versatile backdoor capable of downloading, executing files, and autonomously exfiltrating staged data.

Initial execution flow of Solar (Source – ESET)

OilRig replaced Solar with Mango in Juicy Mix, sharing a familiar workflow and capabilities but featuring significant distinctions.

Mango initiates an in-memory task running every 32 seconds like Solar, communicates with the C&C server, and executes commands. However, Mango differs by replacing Solar’s Venus task with a new exfiltration command.

Post-compromise tools

Here below, we have mentioned all the post-compromise tools:-

  • SampleCheck5000 (SC5k) downloader
  • Browser-data dumpers
  • Windows Credential Manager stealer

With backdoor-like implants, OilRig advances from Solar to Mango. They still utilize conventional techniques to obtain user data while using specialized technologies for data collection.

Tushar Subhra

Tushar is a Cyber security content editor with a passion for creating captivating and informative content. With years of experience under his belt in Cyber Security, he is covering Cyber Security News, technology and other news.

Recent Posts

LightSpy iOS Malware Enhanced with 28 New Destructive Plugins

The LightSpy threat actor exploited publicly available vulnerabilities and jailbreak kits to compromise iOS devices.…

1 day ago

ATPC Cyber Forum to Focus on Next Generation Cybersecurity and Artificial Intelligence Issues

White House National Cyber Director, CEOs, Key Financial Services Companies, Congressional and Executive Branch Experts…

3 days ago

New PySilon RAT Abusing Discord Platform to Maintain Persistence

Cybersecurity experts have identified a new Remote Access Trojan (RAT) named PySilon. This Trojan exploits…

3 days ago

Konni APT Hackers Attacking Organizations with New Spear-Phishing Tactics

The notorious Konni Advanced Persistent Threat (APT) group has intensified its cyber assault on organizations…

4 days ago

Google Chrome Security, Critical Vulnerabilities Patched

Google has updated its Chrome browser, addressing critical vulnerabilities that posed potential risks to millions…

4 days ago

Notorious WrnRAT Delivered Mimic As Gambling Games

WrnRAT is a new malware attack that cybercriminals have deployed by using popular gambling games…

4 days ago