SnakeKeylogger's quote lure ends inside an ASP.NET compiler process

A quote archive conceals JavaScript, layered PowerShell and a loader that injects SnakeKeylogger into a compiler process. AhnLab's report gives defenders a chain to investigate.

Share
Illustration of a cobalt glass housing with a silver insert. A separate core occupies its open centre.

SnakeKeylogger's quote-request lure ends inside a compiler process that would usually belong to an ordinary web-application build. In a report dated 12 November 2026, AhnLab traces an attached archive through several script stages to a loader that injects the infostealer into aspnet_compiler.exe. For defenders, the useful lead is the execution chain surrounding that process.

The same MD5 listed in AhnLab's report already appears in an independent analysis dated 12 October 2026. The sample therefore predates the latest publication. AhnLab says the quote-request emails are circulating, but supplies no victim count, campaign scale or dates for individual infections.

Inside the quote archive

The email poses as a purchasing request asking its recipient to review a quote. Its compressed attachment contains JavaScript. AhnLab says that script decrypts and executes an embedded, obfuscated PowerShell script. Finding a script inside the archive is the relevant change of context: the recipient has been offered executable content as part of a routine business exchange.

The report does not establish that extracting the archive automatically runs the script. Keep that distinction in an investigation. An archive appearing on disk, a script being extracted and code actually executing are different events, each requiring its own evidence.

The first PowerShell stage uses AES-256-CBC to decrypt another PowerShell script and execute it in memory. That next stage uses XOR to decrypt an internal payload, then executes it in memory. It passes the compiler path and the final malware payload as arguments. Here, the encryption is concealing stages of the delivery chain.

Script stages panel. A quote archive leads through JavaScript and encrypted PowerShell to an in-memory loader.
A quote archive yields JavaScript, which starts the PowerShell stages. AhnLab describes AES-256-CBC and XOR decryption before the loader runs.

The process name is a pivot

The loader starts aspnet_compiler.exe and uses process hollowing to inject the final payload. AhnLab identifies that payload as SnakeKeylogger. Microsoft's AspNetCompiler documentation describes the executable as a utility for precompiling ASP.NET applications. Its ordinary purpose provides useful context when assessing an unexpected launch.

A familiar executable name cannot explain the code running inside the process. Review related script activity, the circumstances in which the compiler started and the machine's expected role. A development or build host needs different context from an employee endpoint receiving quote attachments. These are investigation pivots from the documented chain, rather than a tested detection rule or a reason to block every compiler launch.

AhnLab describes SnakeKeylogger collecting browser data, system information and keystrokes, with SMTP or Telegram available for sending information out. The case's listed configuration contains SMTP settings. The public evidence does not demonstrate Telegram exfiltration in this case or establish what was successfully stolen.

Compiler and payload panel. SnakeKeylogger runs inside a compiler process, while listed SMTP settings describe its outbound configuration.
The loader starts aspnet_compiler.exe and injects SnakeKeylogger through process hollowing. The report lists SMTP settings; Telegram is a described capability.

Follow the compiler backwards

Start with the attachment, script and process evidence together. Check whether a quote archive produced JavaScript, whether the related execution included the described command-shell stages, and whether a compiler process appeared in that sequence. Preserve the relevant evidence while establishing which activity actually ran.

The named hash can help identify the reported file, but its earlier public appearance is a reminder to investigate behaviour as well as known samples. The report gives defenders a concrete route to examine: an apparently routine request, executable script content and a compiler process carrying an infostealer. The process name is the start of that enquiry.