WithSecure’s STINGR Group has unveiled the technical details of a new Windows malware packer called TangleCrypt, recently found in a ransomware attack.
This previously undocumented packer enables attackers to deploy EDR-killing payloads, including the sophisticated STONESTOP malware stealthily.
It leverages the malicious ABYSSWORKER driver to turn off security solutions before file encryption and data theft.
Multi-layer Obfuscation and Loader Design
TangleCrypt’s primary goal is to hide malicious payloads within Windows executable resource sections.
The packer stores the payload using several obfuscation layers: first, the malware is base64-encoded, then compressed with LZ78, and finally encrypted using a simple XOR algorithm.
This makes static extraction and reverse engineering more time-consuming for defenders. One of TangleCrypt’s notable features is its flexible payload execution.
It can either launch the payload within the same process or within a newly spawned child process. The method is controlled by a configuration string embedded in the malware.
Both analyzed samples, ‘4cBh.exe’ and ‘b1.exe’, shared identical loader code but exhibited different behaviors thanks to this configuration.
In ‘4cBh.exe’, the payload is injected into the loader’s own memory; in ‘b1.exe’, a child process is created and injected with the malicious code.
To further evade analysis, TangleCrypt employs several tricks, including string encryption, dynamic resolution of Windows API calls, and basic anti-debugging techniques.
For example, the loader intentionally triggers harmless access violations to confuse some automated analysis tools.
Downstream Impact: EDR Killing and Loader Flaws
The payloads delivered by TangleCrypt are no ordinary threats; they’re primarily STONESTOP binaries designed to terminate endpoint security processes via the ABYSSWORKER kernel driver, a malicious file previously known as POORTRY and BURNTCIGAR.
This driver enables attackers to forcibly halt popular EDR products such as Microsoft Defender, making ransomware deployment easier.
However, WithSecure’s examination found several flaws in TangleCrypt, including errors with how it handles the C runtime environment and discards Thread Local Storage information.
These mistakes can cause payloads to crash or behave unpredictably, especially if run without administrator rights.
Despite its innovative approach to payload concealment and flexible launch methods, TangleCrypt’s loader design issues may be limiting its visibility in the wild. Security experts believe this highlights the hasty development and rapid experimentation common among threat actors.
WithSecure products detect TangleCrypt-packed threats as “Trojan:W32/TangleCrypt.A.” As EDR-killer development continues, defenders should expect a mix of clever and flawed tools to enter the threat landscape.
Find this Story Interesting! Follow us on Google News , LinkedIn and X to Get More Instant Updates