The AhnLab Security Intelligence Center (ASEC) has raised fresh concerns over the reemergence of XwormRAT, a notorious Remote Access Trojan, now being delivered through highly obfuscated phishing emails utilizing steganographyβa technique of hiding malicious code within seemingly benign image files.
βRecently, XwormRAT has been confirmed to be distributed using steganography,β ASEC stated in its latest update.
The attack begins with VBScript or JavaScript attached to phishing emails. These scripts embed PowerShell code that initiates the final stage: the download and execution of the actual malware.
βThe script (VBScript or JavaScript) executed for the first time adds an embedded PowerShell script to call and download the final malware,β the report explains.

The PowerShell payload contains Base64-encoded data interspersed with dummy characters to confuse static scanners. It dynamically cleans and decodes itself using the Replace() function during runtime., which is part of their ongoing Phishing Email Trend Report.
The final payload is disguised within a JPG image fileβa new and evolving technique. While the image appears innocent to the user, it harbors a .NET-based loader that extracts and launches the embedded XwormRAT.
βThe downloaded JPG image fileβ¦ displays the screen shownβ¦ Users may simply think that the image has been opened. However, the .NET loader is secretly extracted and executed from this image file,β the ASEC team warns.
ASECβs analysis revealed two variants of this steganographic approach:
- Old variant: Extracts Base64 strings between <<BASE64_START>> and <<BASE64_END>> at the end of a JPG.
- New variant: Searches for bitmap headers (0x42, 0x4D, 0x46, 0xC0β¦) and extracts RGB values directly from pixel data to reconstruct the payload.
Once executed, the malware configuration launches XwormRAT, which grants the attacker full remote access to the victim system. XwormRAT is known for:
- Keylogging
- File exfiltration
- Command execution
- System surveillance
βThe steganography techniqueβ¦ can be used to distribute various malware, not just XwormRAT,β ASEC cautioned. βA modified version of the technique has been continuously distributed recently.β
Related Posts:
- JavaScript-Based Malware Exploits Steganography for Covert Data Theft
- Beware the Invisible Threat: Phishing Expands with QR Codes, CAPTCHAs, and Steganography
- DCRat: Sophisticated RAT Delivered via Phishing Campaign Impersonating Government Entity
- Katz Stealer: New Stealthy MaaS Steals Everything, Hides in Images, and Hijacks Discord
Support Our Threat Intelligence
If you find our CVE report and cybersecurity news helpful, consider supporting our work.