Skip to main content
Mallory
MalwareUsed by 3 actors

ComRAT

Also known asAgent.btz

ComRAT is a Turla-associated backdoor malware family and the successor to Agent.BTZ. Public reporting in the provided content describes ComRAT as being used by Turla in espionage and data theft operations targeting governmental institutions, including two Ministries of Foreign Affairs and a national parliament. A newer version observed by ESET in 2020 was controlled through the Gmail web interface, which ComRAT used to receive commands and exfiltrate information. For command and control, ComRAT has supported both HTTP-based channels protected with SSL/TLS and a Gmail-based channel using RSA and AES-encrypted email attachments. Reported host capabilities and behaviors include persistence via a PowerShell loader executed at user logon, including through a scheduled task; execution of PowerShell scripts from memory or disk; querying HKCR\http\shell\open\command to determine the default browser; and use of an embedded XOR-encrypted communications module inside an orchestrator component. The content also states that ComRAT has stored encrypted orchestrator code and payloads in the Windows Registry and used encryption and Base64 to obfuscate orchestrator code in the Registry and PowerShell commands. Known lineage in the content links ComRAT to Agent.BTZ, the removable-media worm that spread via USB drives, propagated between computers and thumb drives, and was discovered in U.S. military networks in 2008; multiple cited sources state Turla is widely believed to be behind Agent.BTZ as well.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

THREAT ACTORS

Groups observed using it

3 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
Turla

Researchers at ESET detailed updates to Turla’s ComRAT malware, the heir to the infamous Agent.BTZ malware... Another notable campaign took place in 2008, when Agent.BTZ malware infected U.S. government classified networks via infected removable media. | Researchers at ESET detailed updates to Turla’s ComRAT malware, the heir to the infamous Agent.BTZ malware, which was used to target two Ministries of Foreign Affairs and a national parliament.

via ironnet blogironnet.com
APT29

ComRAT has used PowerShell to load itself every time a user logs in to the system. ComRAT can execute PowerShell scripts loaded into memory or from the file system.

via mitre attack websiteattack.mitre.org
Russia

Security experts say stealthy Turla belongs to the same family as... Agent.BTZ. It was used in a massive cyber espionage operation on U.S. Central Command that surfaced in 2008...

via reutersreuters.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

4 techniques
T1091Replication Through Removable MediaEvidence5

The malicious software, or malware, caught a ride on an everyday thumb drive that allowed it to enter the secret system and begin looking for documents to steal. Then it spread by copying itself onto other thumb drives. | Such networks are typically “air-gapped” — physically separated from the free-for-all of the Internet... Officials had long been concerned with the unauthorized removal of classified material from secure networks; now malware had gotten in and was attempting to communicate to the broader Internet. | Once a computer became infected, any thumb drive used on the machine acquired a copy of Agent.btz, ready for propagation to other computers, like bees carrying pollen from flower to flower.

T1189Drive-by CompromiseEvidence1

"IRON HUNTER tactics include strategic web compromises..."

T1195.002Compromise Software Supply ChainEvidence1

"IRON HUNTER tactics include... fake software update files..."

T1566PhishingEvidence1

"IRON HUNTER tactics include... themed spearphishing lures..."

Execution

3 techniques
T1053.005Scheduled TaskEvidence2

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1059.001PowerShellEvidence3
TacticExecution

The content repeatedly describes threat actors and malware using PowerShell scripts/commands for execution, download, staging, reconnaissance, persistence, credential access, lateral movement, and defense evasion; e.g., "Sandworm Team used PowerShell scripts to run a credential harvesting tool in memory to evade defenses."

T1059.003Windows Command ShellEvidence2
TacticExecution

During the 2016 Ukraine Electric Power Attack, Sandworm Team used the xp_cmdshell command in MS-SQL. During the 2025 Poland Wiper Attacks, the adversaries leveraged PsExec to run cmd.exe commands on multiple victim machines. Numerous malware families and groups are described as using cmd.exe, cmd /c, Windows command shell, or command-line interfaces to execute commands, payloads, reconnaissance, persistence, cleanup, and ransomware actions.

Persistence

3 techniques
T1053.005Scheduled TaskEvidence2

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1112Modify RegistryEvidence2

The content repeatedly describes threat actors and malware modifying, creating, deleting, or storing data in Windows Registry keys and values for persistence, configuration storage, defense evasion, credential access, privilege escalation, and execution. | Many malware families store configuration, payloads, encryption keys, C2 addresses, or other operational data in Registry keys, such as QakBot storing configuration in a randomly named subkey under HKCU\Software\Microsoft and PolyglotDuke writing encrypted JSON configuration files to the Registry.

T1547.001Registry Run Keys / Startup FolderEvidence1

"To be started during the boot process of the infected machine, the malware creates the following registry key: HKCU\Software\Classes\CLSID\{...}\InprocServer32 = ..."

T1053.005Scheduled TaskEvidence2

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1547.001Registry Run Keys / Startup FolderEvidence1

"To be started during the boot process of the infected machine, the malware creates the following registry key: HKCU\Software\Classes\CLSID\{...}\InprocServer32 = ..."

Stealth

2 techniques
T1027Obfuscated Files or InformationEvidence2
TacticStealth

The content repeatedly describes malware and threat actors using obfuscated code, encrypted strings, Base64/XOR/RC4/AES encoding, VMProtect/ConfuserEx/SmartAssembly, stack strings, control-flow flattening, opaque predicates, and hidden payloads to evade analysis and detection.

T1140Deobfuscate/Decode Files or InformationEvidence4
TacticStealth

The content repeatedly describes malware and threat actors decoding, decrypting, or deobfuscating payloads, strings, configuration data, commands, and C2 traffic prior to execution or use, e.g., 'APT28 macro uses the command certutil -decode to decode contents of a .txt file storing the base64 encoded payload' and 'Action RAT can use Base64 to decode actor-controlled C2 server communications.'

T1112Modify RegistryEvidence2

The content repeatedly describes threat actors and malware modifying, creating, deleting, or storing data in Windows Registry keys and values for persistence, configuration storage, defense evasion, credential access, privilege escalation, and execution. | Many malware families store configuration, payloads, encryption keys, C2 addresses, or other operational data in Registry keys, such as QakBot storing configuration in a randomly named subkey under HKCU\Software\Microsoft and PolyglotDuke writing encrypted JSON configuration files to the Registry.

Discovery

7 techniques
T1012Query RegistryEvidence1
TacticDiscovery

The content repeatedly describes malware and threat actors querying, enumerating, searching, reading, or checking Windows Registry keys and values, e.g., "ADVSTORESHELL can enumerate registry keys," "APT41 queried registry values to determine items such as configured RDP ports and network configurations," and "Reg may be used to gather details from the Windows Registry of a local or remote system at the command-line interface."

T1016System Network Configuration DiscoveryEvidence1
TacticDiscovery

The content repeatedly describes actors and malware using commands and APIs such as ipconfig /all, ifconfig, arp -a, route print, netsh interface show, GetAdaptersInfo, and GetIpNetTable to gather IP addresses, MAC addresses, DNS, DHCP, gateways, routing tables, ARP cache, proxy settings, and network adapter/interface details.

T1033System Owner/User DiscoveryEvidence1
TacticDiscovery

The content repeatedly describes malware and threat actors collecting usernames, identifying logged-in users, running whoami/query user/quser, checking admin status, and enumerating user sessions.

T1082System Information DiscoveryEvidence1
TacticDiscovery

Multiple malware families and threat groups are described as collecting the victim username or enumerating logged-on users (e.g., “can collect the username from the victim’s machine”, “enumerates the current user during the initial infection”, “enumerates logged-on users”).

T1083File and Directory DiscoveryEvidence1
TacticDiscovery

The Territorial Dispute scripts use digital signatures to hunt APT actors. Such signatures act like fingerprints for hacking groups — they can include file names or snippets of code from known malware that the advanced threat actors use repeatedly...

T1124System Time DiscoveryEvidence1
TacticDiscovery

Multiple malware and threat groups are described as collecting/deriving local system time, date, timestamp, tick count, or time zone (e.g., "used time /t and net time \ip/hostname for system time discovery"; "collects the timestamp from the victim’s machine"; "can collect the time zone information from the system").

T1518Software DiscoveryEvidence1
TacticDiscovery

"Bazar can query the Registry for installed applications." / "BRONZE BUTLER has used tools to enumerate software installed on an infected host." / "LightSpy ... enumerate the Applications folder to collect the bundle name, bundle identifier, and version information..." / "Volt Typhoon has queried the Registry on compromised systems for information on installed software."

Lateral Movement

1 technique
T1091Replication Through Removable MediaEvidence5

The malicious software, or malware, caught a ride on an everyday thumb drive that allowed it to enter the secret system and begin looking for documents to steal. Then it spread by copying itself onto other thumb drives. | Such networks are typically “air-gapped” — physically separated from the free-for-all of the Internet... Officials had long been concerned with the unauthorized removal of classified material from secure networks; now malware had gotten in and was attempting to communicate to the broader Internet. | Once a computer became infected, any thumb drive used on the machine acquired a copy of Agent.btz, ready for propagation to other computers, like bees carrying pollen from flower to flower.

Collection

2 techniques
T1114Email CollectionEvidence1

ComRAT has the ability to use the Gmail web UI to receive commands and exfiltrate information. OilCheck can use a REST-based Microsoft Graph API to access draft messages in a shared Microsoft Office 365 Outlook email account used for C2 communication. SampleCheck5000 can use the Microsoft Office Exchange Web Services API to access an actor-controlled account and retrieve C2 commands and payloads placed in Draft messages.

T1119Automated CollectionEvidence1

The malicious software, or malware, caught a ride on an everyday thumb drive that allowed it to enter the secret system and begin looking for documents to steal.

T1071Application Layer ProtocolEvidence2

Like a human spy, a piece of covert software in the supposedly secure system was “beaconing” — trying to send coded messages back to its creator. | But to steal content, the malware had to communicate with a master computer for instructions on what files to remove and how to transmit them. These signals, or beacons, were first spotted by a young analyst...

T1071.001Web ProtocolsEvidence3

APT41 DUST used HTTPS for command and control. APT42 has used tools such as NICECURL with command and control communication taking place over HTTPS. Lumma Stealer has used HTTPS for command and control purposes.

T1071.003Mail ProtocolsEvidence1

ComRAT has used public key cryptography with RSA and AES encrypted email attachments for its Gmail C2 channel.

T1102Web ServiceEvidence1

The adversaries had communicated to both Dropbox and Pastebin. APT28 has used Google Drive for C2. APT37 leverages social networking sites and cloud platforms (AOL, Twitter, Yandex, Mediafire, pCloud, Dropbox, and Box) for C2.

T1105Ingress Tool TransferEvidence1

2021-02-19 ⋅ Palo Alto Networks Unit 42 ⋅ IronNetInjector: Turla’s New Malware Loading Tool

T1219Remote Access ToolsEvidence1

the attackers used a combination of recently updated remote administration trojans (RATs) and remote procedure call (RPC)-based backdoors

T1573Encrypted ChannelEvidence1

The content repeatedly describes malware and threat actors using SSL, TLS, HTTPS, RSA, AES, Blowfish, RC4, ECIES, Diffie-Hellman, OpenSSL, WolfSSL, and mutual TLS to protect command and control traffic.

T1573.002Asymmetric CryptographyEvidence1

Examples include: "encrypts some C2 with RSA", "RSA encryption for C2 communications", "hard-coded RSA public key", "RSA-2048", "RSA-4096", and "REvil has encrypted C2 communications with the ECIES algorithm". | Multiple malware families and intrusion sets are described as encrypting C2 traffic using SSL/TLS/HTTPS (e.g., "used HTTPS for command and control", "encrypts C2 communications with TLS", "uses SSL for encrypting C2 communications", "TLS-encrypted WebSocket Protocol (WSS) for C2").

Exfiltration

3 techniques
T1041Exfiltration Over C2 ChannelEvidence3

ComRAT has the ability to use the Gmail web UI to receive commands and exfiltrate information. Crutch can use Dropbox to receive commands and upload stolen data. RIFLESPINE can retrieve C2 commands from an encrypted file on Google Drive then upload the results of command execution back to Google Drive.

T1048Exfiltration Over Alternative ProtocolEvidence2

Turla is a prolific Russian-speaking group known for its covert exfiltration tactics such as the use of hijacked satellite connections ... covert channel backdoors ...

T1567Exfiltration Over Web ServiceEvidence1

ESET spotted a new version of the ComRAT backdoor controlled by Turla using the Gmail web interface in data theft attacks that targeted governmental institutions.

INDICATORS OF COMPROMISE

IOCs tracked for this family

15 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
5 tracked

IPs, domains, and DNS infrastructure linked to this family.

Hashes
10 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

TypeValueLatest sighting
domain●●●●●●●●●●●●View more in app9 years ago
domain●●●●●●●●●●●●View more in app9 years ago
domain●●●●●●●●●●●●View more in app9 years ago
domain●●●●●●●●●●●●View more in app9 years ago
hash.md5●●●●●●●●●●●●View more in app9 years ago
hash.md5●●●●●●●●●●●●View more in app9 years ago
What this page doesn’t show

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 matching15

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution3

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping31

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.