Skip to main content
Mallory
Malware3 associated actors

GrimAgent

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
Actors3Associated
ATT&CK32Techniques
IOCs8Tracked
Type
Backdoor
Capabilities
ReconnaissancePersistenceExfiltrationDefense evasion
Platforms
Windows

GrimAgent is a Windows malware family associated with FIN12, a financially motivated ransomware deployment group known primarily for rapid post-compromise operations leading to Ryuk and, in at least one case, Conti deployment. It appears to function as a backdoor used during intrusions after initial access has already been obtained, rather than as a primary access vector. Reporting has suggested GrimAgent may be exclusive to FIN12 activity.

GrimAgent supports encrypted command-and-control communications using AES and protects its initial outbound request with a hardcoded RSA public key; it also Base64-encodes command-and-control replies and uses string decryption routines based on rotate-left and rotate-right operations. The malware leverages native Windows APIs, including dynamic function resolution and execution-related calls, consistent with flexible in-memory or modular execution patterns.

On compromised hosts, GrimAgent performs host profiling and reconnaissance by identifying the current user, collecting the system IP address and domain information, determining country code, and using Accept-Language values to distinguish systems in selected Western countries including the United Kingdom, United States, France, and Spain. It can collect files and other host data and transmit that information over its command-and-control channel.

For persistence, GrimAgent can create scheduled tasks and Registry Run key entries. It also includes cleanup behavior, including deletion of older binaries from infected systems. The observed tradecraft aligns with FIN12’s broader emphasis on fast, efficient post-exploitation in large enterprise environments, including healthcare and other high-revenue organizations.

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

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

View more details →
WIZARD SPIDER

(Citation: Group IB GrimAgent July 2021)

via mitre attack structuredgithub.com
FIN6

(Citation: Group IB GrimAgent July 2021)

via mitre attack structuredgithub.com
fin12

While most of the tools that FIN12 uses in their intrusions are publicly sourced or acquired through their relationships with other threat actors, we believe that GRIMAGENT may be exclusive to the group.

via web archiveweb.archive.org
MITRE ATT&CK

Techniques & procedures

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

Reconnaissance

1 technique
T1592Gather Victim Host InformationEvidence1

Volt Typhoon has obtained the victim's system current location.

Resource Development

2 techniques
T1583.001DomainsEvidence1

BEACON C&C domains used by FIN12 have most commonly been registered via NameCheap or Hosting Concepts B.V. d/b/a Openprovider

T1583.003Virtual Private ServerEvidence1

the group has continued to host a significant proportion of the C&C infrastructure in the networks of Choopa, a U.S.-based VPS hosting provider

Execution

4 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

[GrimAgent](https://attack.mitre.org/software/S0632) has the ability to set persistence using the Task Scheduler.(Citation: Group IB GrimAgent July 2021)

T1059.003Windows Command ShellEvidence6

[GrimAgent](https://attack.mitre.org/software/S0632) can use the Windows Command Shell to execute commands, including its own removal.(Citation: Group IB GrimAgent July 2021)

T1106Native APIEvidence4

[GrimAgent](https://attack.mitre.org/software/S0632) can use Native API including <code>GetProcAddress</code> and <code>ShellExecuteW</code>.(Citation: Group IB GrimAgent July 2021)

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

[GrimAgent](https://attack.mitre.org/software/S0632) has the ability to set persistence using the Task Scheduler.(Citation: Group IB GrimAgent July 2021)

T1547.001Registry Run Keys / Startup FolderEvidence8

[GrimAgent](https://attack.mitre.org/software/S0632) can set persistence with a Registry run key.(Citation: Group IB GrimAgent July 2021)

Privilege Escalation

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

[GrimAgent](https://attack.mitre.org/software/S0632) has the ability to set persistence using the Task Scheduler.(Citation: Group IB GrimAgent July 2021)

T1547.001Registry Run Keys / Startup FolderEvidence8

[GrimAgent](https://attack.mitre.org/software/S0632) can set persistence with a Registry run key.(Citation: Group IB GrimAgent July 2021)

Stealth

8 techniques
T1027Obfuscated Files or InformationEvidence7

[GrimAgent](https://attack.mitre.org/software/S0632) has used Rotate on Right (RoR) and Rotate on Left (RoL) functionality to encrypt strings.(Citation: Group IB GrimAgent July 2021)

T1027.001Binary PaddingEvidence3

[GrimAgent](https://attack.mitre.org/software/S0632) has the ability to add bytes to change the file hash.(Citation: Group IB GrimAgent July 2021)

T1070.004File DeletionEvidence10

[GrimAgent](https://attack.mitre.org/software/S0632) can delete old binaries on a compromised host.(Citation: Group IB GrimAgent July 2021)

T1070.009Clear PersistenceEvidence3

[GrimAgent](https://attack.mitre.org/software/S0632) can delete previously created tasks on a compromised host.(Citation: Group IB GrimAgent July 2021)

T1140Deobfuscate/Decode Files or InformationEvidence8

[GrimAgent](https://attack.mitre.org/software/S0632) can use a decryption algorithm for strings based on Rotate on Right (RoR) and Rotate on Left (RoL) functionality.(Citation: Group IB GrimAgent July 2021)

T1480.002Mutual ExclusionEvidence3

[GrimAgent](https://attack.mitre.org/software/S0632) uses the last 64 bytes of the binary to compute a mutex name. If the generated name is invalid, it will default to the generic `mymutex`.(Citation: Group IB GrimAgent July 2021)

T1497.001System ChecksEvidence1

DarkGate queries system locale information during execution. Later versions of DarkGate query GetSystemDefaultLCID for locale information to determine if the malware is executing in Russian-speaking countries.

T1497.003Time Based ChecksEvidence3

[GrimAgent](https://attack.mitre.org/software/S0632) can sleep for 195 - 205 seconds after payload execution and before deleting its task.(Citation: Group IB GrimAgent July 2021)

Discovery

8 techniques
T1016System Network Configuration DiscoveryEvidence8

[GrimAgent](https://attack.mitre.org/software/S0632) can enumerate the IP and domain of a target system.(Citation: Group IB GrimAgent July 2021)

T1033System Owner/User DiscoveryEvidence8

[GrimAgent](https://attack.mitre.org/software/S0632) can identify the user id on a target machine.(Citation: Group IB GrimAgent July 2021)

T1082System Information DiscoveryEvidence10

[GrimAgent](https://attack.mitre.org/software/S0632) can collect the OS, and build version on a compromised host.(Citation: Group IB GrimAgent July 2021)

T1083File and Directory DiscoveryEvidence7

[GrimAgent](https://attack.mitre.org/software/S0632) has the ability to enumerate files and directories on a compromised host.(Citation: Group IB GrimAgent July 2021)

T1497.001System ChecksEvidence1

DarkGate queries system locale information during execution. Later versions of DarkGate query GetSystemDefaultLCID for locale information to determine if the malware is executing in Russian-speaking countries.

T1497.003Time Based ChecksEvidence3

[GrimAgent](https://attack.mitre.org/software/S0632) can sleep for 195 - 205 seconds after payload execution and before deleting its task.(Citation: Group IB GrimAgent July 2021)

T1614System Location DiscoveryEvidence4

[GrimAgent](https://attack.mitre.org/software/S0632) can identify the country code on a compromised host.(Citation: Group IB GrimAgent July 2021)

T1614.001System Language DiscoveryEvidence6

[GrimAgent](https://attack.mitre.org/software/S0632) has used <code>Accept-Language</code> to identify hosts in the United Kingdom, United States, France, and Spain.(Citation: Group IB GrimAgent July 2021)

Collection

1 technique
T1005Data from Local SystemEvidence6

[GrimAgent](https://attack.mitre.org/software/S0632) can collect data and files from a compromised host.(Citation: Group IB GrimAgent July 2021)

Command and Control

8 techniques
T1001.001Junk DataEvidence3

[GrimAgent](https://attack.mitre.org/software/S0632) can pad C2 messages with random generated values.(Citation: Group IB GrimAgent July 2021)

T1071.001Web ProtocolsEvidence7

[GrimAgent](https://attack.mitre.org/software/S0632) has the ability to use HTTP for C2 communications.(Citation: Group IB GrimAgent July 2021)

T1105Ingress Tool TransferEvidence4

[GrimAgent](https://attack.mitre.org/software/S0632) has the ability to download and execute additional payloads.(Citation: Group IB GrimAgent July 2021)

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

[GrimAgent](https://attack.mitre.org/software/S0632) can base64 encode C2 replies.(Citation: Group IB GrimAgent July 2021)

T1573Encrypted ChannelEvidence2

The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.

T1573.001Symmetric CryptographyEvidence3

[GrimAgent](https://attack.mitre.org/software/S0632) can use an AES key to encrypt C2 communications.(Citation: Group IB GrimAgent July 2021)

T1573.002Asymmetric CryptographyEvidence4

[GrimAgent](https://attack.mitre.org/software/S0632) can use a hardcoded server public RSA key to encrypt the first request to C2.(Citation: Group IB GrimAgent July 2021)

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence6

[GrimAgent](https://attack.mitre.org/software/S0632) has sent data related to a compromise host over its C2 channel.(Citation: Group IB GrimAgent July 2021)

Indicators of compromise

Observables

8 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 matching8Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors3Groups 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.