OXLOADER: New Windows Loader Drops CASTLESTEALER via Google Ads

Published
Written by:
Lore Apostol
Lore Apostol
Cybersecurity Writer
Key Takeaways
  • New Loader: Elastic Security Labs uncovered OXLOADER, a previously undocumented Windows loader delivering the CASTLESTEALER infostealer.
  • Malvertising Vector: OXLOADER spreads via malicious Google Ads impersonating Node.js, with low detection across static engines and sandboxes.
  • Likely Operator: CIS-region and Russian-language exclusions point to a financially motivated, Russian-speaking threat actor.

OXLOADER, a previously undocumented Windows loader, is delivering the CASTLESTEALER infostealer via Google Ads, evading static detection via the Windows .reloc section abuse, five anti-VM/language checks, and MBA obfuscation. Researchers say CIS-region exclusions point to a financially motivated, Russian-speaking threat actor.

How OXLOADER Delivers CASTLESTEALER

OXLOADER reaches victims through malvertising via Google Ads. The same malware was delivered by masquerading as a Node.js installer and an API Monitor. Elastic Security Labs researchers are tracking the activity as REF8372.

For instance, targets searching for an LTS version of Node.js clicked a sponsored result leading to a fake landing page, then a Storj-hosted batch script that downloaded and launched the loader with a UAC elevation prompt.

Advertiser’s profile on Google Ads Transparency Center | Source: Elastic Security Labs
Advertiser’s profile on Google Ads Transparency Center | Source: Elastic Security Labs

The loader leans on heavy obfuscation to evade static detection, including control-flow flattening (CFF), mixed Boolean-Arithmetic (MBA), and opaque predicates. It runs five environment checks before proceeding: 

Infection chain  | Source: Elastic Security Labs
Infection chain  | Source: Elastic Security Labs

Staging Techniques and Detection

For staging, OXLOADER abuses the Windows .reloc section to host shellcode and copies the DLL to a randomly named .ocx file. The next stage is built with DonutLoader, which wraps the CASTLESTEALER infostealer (which Huntress recently discovered) as position-independent code (PIC) for in-memory execution.

Last week, malicious Steam Workshop wallpapers were seen hijacking accounts via Wallpaper Engine to distribute DarkKomet, Lumma, Vidar, and RenEngine

Early this month, an RAlord affiliate was reportedly banned for breaking CIS ransomware rules after infecting Eriell Group. May reports outlined that threat actors leveraged Google Ads and Claude.ai shared chats to distribute Mac malware. 


For a better user experience we recommend using a more modern browser. We support the latest version of the following browsers: For a better user experience we recommend using the latest version of the following browsers: