Skip to main content
Mallory
MalwareRansomwareUsed by 3 actors

HeartCrypt

HeartCrypt is a packer-as-a-service (PaaS) obfuscation tool and loader used by multiple threat actors to hinder analysis and deliver additional malware. Reporting cited in the content states that Unit 42 named the loader HeartCrypt in 2024, and Sophos linked numerous campaigns to a shared HeartCrypt service rather than a single actor. HeartCrypt modifies legitimate PE executables and DLLs by injecting position-independent loader code near entry points, overwriting original code, and storing encrypted malicious payloads in added PE resources disguised as bitmap files. The loader is heavily obfuscated, uses anti-emulation checks such as attempting to load nonexistent DLLs and checking emulator-only exports, and commonly protects payloads with XOR encryption using a static ASCII key. Observed APIs used for execution include CreateProcessW, VirtualAlloc, GetThreadContext, NtCreateThreadEx, and CreateRemoteThread.

Across the cited investigations, HeartCrypt was distributed through multiple infection chains, including phishing emails, password-protected ZIP archives hosted on Google Drive or Dropbox, DLL sideloading, and LNK/PowerShell downloaders. Sophos reported thousands of related samples, nearly 1,000 associated C2 servers, and impersonation of more than 200 software vendors, with targeting observed globally and Colombia noted as heavily affected in one dataset. Payloads delivered by HeartCrypt were commonly commodity RATs and stealers, including Lumma Stealer, AsyncRAT, and Rhadamanthys. Sophos also observed HeartCrypt-packed AVKiller payloads in ransomware incidents involving RansomHub and MedusaLocker, including a VMProtect-packed AV killer targeting ESET, HitmanPro, Kaspersky, Sophos, and Symantec products.

The content also links HeartCrypt to several actor ecosystems. It is described as a crypter/packer used by TAG-144 / Blind Eagle alongside PureCrypter and other crypters. A joint advisory cited in the content notes HeartCrypt as an obfuscation tool used by Akira threat actors. Sophos further reported that all observed variants of a new EDR-killer tool used by ransomware gangs including RansomHub, Blacksuit, Medusa, Qilin, Dragonforce, Crytox, Lynx, and INC were packed with HeartCrypt.

In a 2025 phishing campaign tracked by Sophos as STAC6405, a HeartCrypt-packed ZIP archive contained HideMouse.exe and 8776_6713.exe. HideMouse.exe replaced the system cursor with a transparent cursor to conceal attacker activity, while the HeartCrypt-packed infostealer delayed execution, injected into csc.exe, contacted 45[.]56.162.138, decrypted an encrypted payload at runtime using a TripleDES helper, and stole browser credentials, session artifacts, cryptocurrency wallet data, host information, security product information via WMI, and imaging/camera device details. Other HeartCrypt infection examples in the content include persistence via copying oversized files to user directories and establishing Windows Run key or rundll32-based startup execution.

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
Blind Spider

We ultimately concluded that these cases were all connected to what has come to be known as the HeartCrypt packer-as-a-service (PaaS) operation.

via sophos threat researchsophos.com
APT-C-36

Its tooling also involves crypters such as HeartCrypt, PureCrypter, and those developed by threat actors like “Roda” and “pjoao1578”...

via recorded future blogrecordedfuture.com
TAG-144

Its tooling also involves crypters such as HeartCrypt, PureCrypter, and those developed by threat actors like “Roda” and “pjoao1578”...

via recorded future blogrecordedfuture.com
MITRE ATT&CK

Techniques & procedures

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

Initial Access

3 techniques
T1566PhishingEvidence1

This infection chain starts with a phishing email... The email claims to be from an Italian lawyer contacting the recipient about alleged copyright infringement...

T1566.001Spearphishing AttachmentEvidence1

The malicious content was hosted on a Google Drive in a password-protected ZIP archive; the password was included in the phishing email.

T1566.002Spearphishing LinkEvidence1

When clicked on the link to the PDF document, the following shortened URL is opened... This redirects to the following Dropbox download...

Execution

4 techniques
T1059.001PowerShellEvidence1
TacticExecution

This PowerShell command downloads and executes another PowerShell script...

T1059.003Windows Command ShellEvidence2
TacticExecution

cmd.exe /C command.cmd

T1059.005Visual BasicEvidence1
TacticExecution

The identified cases of these campaigns... feature a LNK shortcut file, PowerShell, and batch scripts in the infection chain... The second is a downloader batch file...

T1574Hijack Execution FlowEvidence1

The HeartCrypt packer takes legitimate executables and modifies them by injecting malicious code in the .text section. It also inserts a few additional Portable Executable (PE) resources.

Persistence

3 techniques
T1112Modify RegistryEvidence1

DarkTortilla can use cmd.exe to add registry keys for persistence. HeartCrypt can use the reg add command via cmd.exe for Registry modification. Ryuk has used cmd.exe to create a Registry entry to establish persistence.

T1547.001Registry Run Keys / Startup FolderEvidence2

It then proceeds to create a run key in the \SOFTWARE\Microsoft\Windows\CurrentVersion\Run registry location... This copy is registered to run automatically at each system startup...

T1547.009Shortcut ModificationEvidence1

The content of the archive is a large junk data file and an LNK shortcut file... The shortcut file has the icon of a PDF file, but it really executes a PowerShell command.

T1055Process InjectionEvidence1

In this case the code uses API functions such as CreateProcessW, VirtualAlloc, GetThreadContext, NtCreateThreadEx, and CreateRemoteThread to load and execute the final payload.

T1547.001Registry Run Keys / Startup FolderEvidence2

It then proceeds to create a run key in the \SOFTWARE\Microsoft\Windows\CurrentVersion\Run registry location... This copy is registered to run automatically at each system startup...

T1547.009Shortcut ModificationEvidence1

The content of the archive is a large junk data file and an LNK shortcut file... The shortcut file has the icon of a PDF file, but it really executes a PowerShell command.

Stealth

8 techniques
T1027Obfuscated Files or InformationEvidence5
TacticStealth

Code is highly obfuscated by hundreds of direct jumps and short calls... Junk bytes fill in the gap... The payload is encrypted by a XOR algorithm that uses a key consisting of ASCII characters.

T1027.002Software PackingEvidence1
TacticStealth

Another, CardSpaceKiller, consistently appears across Akira, Medusa, and MedusaLocker attacks, packed using the VX Crypt packer-as-a-service.

T1036MasqueradingEvidence1
TacticStealth

Malware impersonating, subverting, and embedding itself in legitimate software applications... The executable was originally a CCleaner component... The impersonated carrier this time is a standalone Windows executable.

T1055Process InjectionEvidence1

In this case the code uses API functions such as CreateProcessW, VirtualAlloc, GetThreadContext, NtCreateThreadEx, and CreateRemoteThread to load and execute the final payload.

T1218.011Rundll32Evidence1
TacticStealth

registered for startup with the following command line: rundll32.exe C:\Users\{user}\OneDrive\Documents\AvivaUpdate_0001.dll,EntryPoint

T1497Virtualization/Sandbox EvasionEvidence2

it performs various anti-emulator checks by trying to load nonexistent dynamic link libraries... This sample then uses the anti-emulation technique... retrieving the address of a function exported by kernel32 that only exists in emulators... If either... are successfully resolved, the loader concludes that it is running in an emulated environment and will not perform malicious activities.

T1574Hijack Execution FlowEvidence1

The HeartCrypt packer takes legitimate executables and modifies them by injecting malicious code in the .text section. It also inserts a few additional Portable Executable (PE) resources.

T1678Delay ExecutionEvidence1
TacticStealth

Once executed, 8776_6713.exe sits idle for an extended period of time, typically around four to nine minutes, which is a common tactic employed by malware to evade automated sandboxing and heuristic-based detection mechanisms.

T1112Modify RegistryEvidence1

DarkTortilla can use cmd.exe to add registry keys for persistence. HeartCrypt can use the reg add command via cmd.exe for Registry modification. Ryuk has used cmd.exe to create a Registry entry to establish persistence.

Discovery

1 technique
T1497Virtualization/Sandbox EvasionEvidence2

it performs various anti-emulator checks by trying to load nonexistent dynamic link libraries... This sample then uses the anti-emulation technique... retrieving the address of a function exported by kernel32 that only exists in emulators... If either... are successfully resolved, the loader concludes that it is running in an emulated environment and will not perform malicious activities.

T1105Ingress Tool TransferEvidence2

This PowerShell command downloads and executes another PowerShell script... This script downloads two further files... The downloader batch file... also downloads and executes the final payload...

T1219Remote Access ToolsEvidence1

The process trace indicates that the initial infection could be related to the zero-day RCE exploits... which affected ConnectWise and BeyondTrust products.

Other

1 technique
T1562Impair DefensesEvidence1

We have seen one payload of particular concern — an AV killer tool among the payloads. In multiple cases, this tool was detected during an ongoing ransomware attack.

INDICATORS OF COMPROMISE

IOCs tracked for this family

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

View more in app
Network
3 tracked

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

Hashes
16 tracked

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

Other
8 tracked

Other indicator types observed in public reporting.

TypeValueLatest sighting
domain●●●●●●●●●●●●View more in app1 year ago
domain●●●●●●●●●●●●View more in app1 year ago
hash.sha256●●●●●●●●●●●●View more in app1 year ago
hash.sha256●●●●●●●●●●●●View more in app1 year ago
hash.sha256●●●●●●●●●●●●View more in app1 year ago
uri●●●●●●●●●●●●View more in app1 year 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 matching27

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 mapping20

Every documented technique, ranked by evidence weight.

Researcher chatter

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