Skip to main content
Mallory
Malware1 associated actor

QUADAGENT

Tracked since Dec 5, 2025 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors1Associated
ATT&CK32Techniques
IOCs33Tracked
Type
Backdoor
Capabilities
PersistenceReconnaissanceDefense evasion
Delivery
Spearphishing
Platforms
Windows

QUADAGENT is a PowerShell-based backdoor associated with the Iranian state-aligned threat group OilRig, also tracked as APT34. It has been used in espionage operations targeting organizations including government entities and technology service providers, with reporting also linking it to campaigns against healthcare organizations in the Middle East. The malware is executed through PowerShell and also uses VBScript components as part of its operation. Reported delivery includes spearphishing campaigns in which QUADAGENT was distributed alongside other OilRig tooling.

On an infected Windows host, QUADAGENT establishes persistence by creating a scheduled task and stores operational state in the current user Registry hive, including a unique session identifier for the compromised system and a pre-shared key used to protect command-and-control traffic. It checks for the presence of Registry values associated with its scheduled-task-based persistence and includes cleanup functionality to remove its Registry artifacts and scheduled task.

QUADAGENT performs basic host reconnaissance, including collecting the current username and the domain to which the system belongs. Its command-and-control design emphasizes resilience and obfuscation: communications are encoded with Base64, strings and scripts are protected with AES using a pre-shared key, and the malware can fall back across multiple C2 protocols, including HTTPS, HTTP, and DNS, if one channel is unavailable. These characteristics align with OilRig tradecraft focused on stealthy, script-driven persistence and flexible communications on compromised Windows systems.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
OilRig

(Citation: Unit 42 QUADAGENT July 2018)

via mitre attack structuredgithub.com
MITRE ATT&CK

Techniques & procedures

32 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

3 techniques
T1189Drive-by CompromiseEvidence1

In July 2018, they launched multiple attacks using spearphishing email ... Their initial infection paths were based on watering hole attacks using compromised web servers.

T1566PhishingEvidence1

Multiple Iran-nexus APT groups are described as using spear-phishing: e.g., Charming Kitten uses “spear-phishing with fake personas and compromised emails… phishing via benign PDFs for credential harvesting”; several others use “spear-phishing with malicious documents/attachments/links.”

T1566.001Spearphishing AttachmentEvidence1

They use phishing emails to deliver weaponized Microsoft Excel documents... Between 2014 to 2016, the group's attack campaigns targeted banks and technology organizations in Saudi Arabia with phishing emails that included weaponized Microsoft Excel attachments.

Execution

6 techniques
T1053Scheduled Task/JobEvidence1

“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”

T1053.005Scheduled TaskEvidence7

[QUADAGENT](https://attack.mitre.org/software/S0269) creates a scheduled task to maintain persistence on the victim’s machine.(Citation: Unit 42 QUADAGENT July 2018)

T1059Command and Scripting InterpreterEvidence1

most of their malware infect the target system with VisualBasic and PowerShell (.ps1) scripts.

T1059.001PowerShellEvidence11

[QUADAGENT](https://attack.mitre.org/software/S0269) uses PowerShell scripts for execution.(Citation: Unit 42 QUADAGENT July 2018)

T1059.003Windows Command ShellEvidence6

[QUADAGENT](https://attack.mitre.org/software/S0269) uses cmd.exe to execute scripts and commands on the victim’s machine.(Citation: Unit 42 QUADAGENT July 2018)

T1059.005Visual BasicEvidence5

[QUADAGENT](https://attack.mitre.org/software/S0269) uses VBScripts.(Citation: Unit 42 QUADAGENT July 2018)

Persistence

3 techniques
T1053Scheduled Task/JobEvidence1

“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”

T1053.005Scheduled TaskEvidence7

[QUADAGENT](https://attack.mitre.org/software/S0269) creates a scheduled task to maintain persistence on the victim’s machine.(Citation: Unit 42 QUADAGENT July 2018)

T1112Modify RegistryEvidence11

[QUADAGENT](https://attack.mitre.org/software/S0269) modifies an HKCU Registry key to store a session identifier unique to the compromised system as well as a pre-shared key used for encrypting and decrypting C2 communications.(Citation: Unit 42 QUADAGENT July 2018)

Privilege Escalation

2 techniques
T1053Scheduled Task/JobEvidence1

“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”

T1053.005Scheduled TaskEvidence7

[QUADAGENT](https://attack.mitre.org/software/S0269) creates a scheduled task to maintain persistence on the victim’s machine.(Citation: Unit 42 QUADAGENT July 2018)

Stealth

10 techniques
T1027Obfuscated Files or InformationEvidence2

"The two encoding methods used by these tools... base16 and base64"; "...custom base64 encoder to strip out non-alphanumeric characters"; "...encoding mechanism... splits each hexadecimal byte into two nibbles..."

T1027.010Command ObfuscationEvidence3

[QUADAGENT](https://attack.mitre.org/software/S0269) was likely obfuscated using `Invoke-Obfuscation`.(Citation: Unit 42 QUADAGENT July 2018)(Citation: GitHub Invoke-Obfuscation)

T1027.011Fileless StorageEvidence4

[QUADAGENT](https://attack.mitre.org/software/S0269) stores a session identifier unique to the compromised system as well as a pre-shared key used for encrypting and decrypting C2 communications within a Registry key (such as `HKCU\Office365DCOMCheck`) in the `HKCU` hive.(Citation: Unit 42 QUADAGENT July 2018)

T1036MasqueradingEvidence3

actors used the following command to rename one of their tools to a benign file name: ren "%temp%\upload" audiodg.exe ... APT1 ... used ... AcroRD32.exe ... as a name for malware ... APT28 ... changed extensions on files containing exfiltrated data to make them appear benign ... APT32 has renamed a NetCat binary to kb-10233.exe to masquerade as a Windows update.

T1036.005Match Legitimate Resource Name or LocationEvidence4

[QUADAGENT](https://attack.mitre.org/software/S0269) used the PowerShell filenames <code>Office365DCOMCheck.ps1</code> and <code>SystemDiskClean.ps1</code>.(Citation: Unit 42 QUADAGENT July 2018)

T1070Indicator RemovalEvidence1

Many examples describe post-intrusion cleanup, anti-forensics, and removal of artifacts such as logs, scripts, malware components, scheduled tasks, registry keys, and temporary files.

T1070.004File DeletionEvidence10

[QUADAGENT](https://attack.mitre.org/software/S0269) has a command to delete its Registry key and scheduled task.(Citation: Unit 42 QUADAGENT July 2018)

T1070.005Network Share Connection RemovalEvidence1

QUADAGENT has a command to delete its Registry key and scheduled task. Silence has deleted artifacts, including scheduled tasks.

T1070.009Clear PersistenceEvidence1

Cherry Picker delete files and registry keys created by the malware. GoldenSpy's uninstaller can delete registry entries, files and folders, and finally itself once these tasks have been completed. QUADAGENT has a command to delete its Registry key.

T1140Deobfuscate/Decode Files or InformationEvidence11

[QUADAGENT](https://attack.mitre.org/software/S0269) uses AES and a preshared key to decrypt the custom Base64 routine used to encode strings and scripts.(Citation: Unit 42 QUADAGENT July 2018)

Defense Impairment

1 technique
T1112Modify RegistryEvidence11

[QUADAGENT](https://attack.mitre.org/software/S0269) modifies an HKCU Registry key to store a session identifier unique to the compromised system as well as a pre-shared key used for encrypting and decrypting C2 communications.(Citation: Unit 42 QUADAGENT July 2018)

Discovery

4 techniques
T1012Query RegistryEvidence7

[QUADAGENT](https://attack.mitre.org/software/S0269) checks if a value exists within a Registry key in the HKCU hive whose name is the same as the scheduled task it has created.(Citation: Unit 42 QUADAGENT July 2018)

T1016System Network Configuration DiscoveryEvidence8

[QUADAGENT](https://attack.mitre.org/software/S0269) gathers the current domain the victim system belongs to.(Citation: Unit 42 QUADAGENT July 2018)

T1033System Owner/User DiscoveryEvidence9

[QUADAGENT](https://attack.mitre.org/software/S0269) gathers the victim username.(Citation: Unit 42 QUADAGENT July 2018)

T1082System Information DiscoveryEvidence2

"ALMA... gathering the user name and windows product key"; "...dot variant also gathers the computer name and the serial number of '\\.\PhysicalDrive'"; "...send system specific data... <domain>\<username>:pass"

Command and Control

6 techniques
T1008Fallback ChannelsEvidence4

[QUADAGENT](https://attack.mitre.org/software/S0269) uses multiple protocols (HTTPS, HTTP, DNS) for its C2 server as fallback channels if communication with one is unsuccessful.(Citation: Unit 42 QUADAGENT July 2018)

T1071.001Web ProtocolsEvidence8

[QUADAGENT](https://attack.mitre.org/software/S0269) uses HTTPS and HTTP for C2 communications.(Citation: Unit 42 QUADAGENT July 2018)

T1071.004DNSEvidence6

[QUADAGENT](https://attack.mitre.org/software/S0269) uses DNS for C2 communications.(Citation: Unit 42 QUADAGENT July 2018)

T1105Ingress Tool TransferEvidence1

"...downloaded data to save to the batch script"; "...download files provided by the C2 server"; "...download a new PowerShell and/or VBScript script from the C2"; "...download a PowerShell script that it will replace itself with"

T1132Data EncodingEvidence3

ADVSTORESHELL C2 traffic is encrypted, then encoded with Base64 encoding. APT19 HTTP malware variant used Base64 to encode communications to the C2 server. APT33 has used base64 to encode command and control traffic.

T1132.001Standard EncodingEvidence3

[QUADAGENT](https://attack.mitre.org/software/S0269) encodes C2 communications with base64.(Citation: Unit 42 QUADAGENT July 2018)

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

"...upload the results to the C2 via the DNS tunnel"; "...exfiltrate the contents of each file in this folder"; "...upload its contents to the C2 server"; "...transmitting data to the C2 in the queried subdomains"

Impact

1 technique
T1565Data ManipulationEvidence1

ComRAT has modified Registry values to store encrypted orchestrator code and payloads ... QakBot can modify the Registry to store its configuration information ... Volgmer modifies the Registry to store an encoded configuration file ...

Indicators of compromise

Observables

33 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching33Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors1Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping32Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.