Elastic Details OXLOADER Loader Delivering CASTLESTEALER Through Malicious Ads

· Original article ↗

Summary

Elastic Security Labs details OXLOADER, a Windows loader delivered through malicious Google Ads and Storj-hosted files to deploy CASTLESTEALER. Analysis describes its obfuscation, environment checks, .reloc shellcode staging, and in-memory payload execution.

Key points

  • Malicious Google Ads impersonating Node.js downloads redirected users to Storj-hosted scripts and executables that delivered OXLOADER.
  • OXLOADER uses layered obfuscation, runtime decryption, and self-modifying code to hinder static analysis.
  • The loader checks system resources, display settings, geography, language, and a network error result to avoid analysis environments; it excludes CIS regions and Russian-language systems.
  • It places shellcode in a DLL’s .reloc section, then copies it to an executable section in a temporary .ocx-named file.
  • The next stage uses DonutLoader, Chaskey-LTS decryption, and aPLib decompression to execute CASTLESTEALER in memory.
  • Elastic observed the campaign targeting a customer and detected malicious behavior; the reported detection policy was set to detect only.
  • CIS-region and Russian-language exclusions led Elastic to assess the activity as possibly financially motivated and Russian-speaking; the advertiser’s identity as the actual operator remains unclear.

Article Details

Attack Vectors
  • Malicious Google Ads impersonated Node.js downloads and directed users to a landing page and redirector.
  • The redirector sent victims to Storj-hosted batch scripts and executables that downloaded and launched OXLOADER.
  • OXLOADER staged shellcode through a modified .reloc section and delivered CASTLESTEALER for in-memory execution.
Defensive Notes
  • Elastic Defend detected malicious behavior in the observed customer environment; the article states the policy was set to detect only.
  • Elastic Security created YARA rules to identify the activity.

Indicators of compromise

TypeIndicatorContext
DOMAINapp[.]miloyannopoulos[.]comMalvertising redirector that sent users to payload delivery URLs.
DOMAINnode-js[.]prentiva99[.]infoMalicious landing page impersonating a Node.js download site.
IPV489[.]124[.]115[.]82CASTLESTEALER command-and-control server.
IPV489[.]124[.]95[.]161CASTLESTEALER command-and-control server.
SHA25639019279686c820c3af5684012a0085a7e2109f612c9fab886dd0577ace5b5c6SHA-256 associated with CASTLESTEALER.
SHA2564ec9d9d4d10ad78fc6d7bda7cb17d52984878ccd2dd4302fd1cef152313b9741SHA-256 associated with CASTLESTEALER.
SHA2569a9939dff297997732aaade9b243d695632cbd64033c5fbcb9de3d09b7e6c28dSHA-256 of apimonitor-x64.exe, identified as OXLOADER.
SHA256c85f2765a6c3c3f3907c17e57df12f8f68826f74bff3bbfd272af50666d065feSHA-256 of node-v24.15.0-x64-86.exe, identified as OXLOADER.
SHA256de4f51649ec1a33071854aefe93ffb3fc225e19f802d8dd914676dd5dfef2615SHA-256 of BATPackageBulderSetup.bat, identified as an OXLOADER downloader and launcher.
SHA256fdfc7831e5c24cfa80152860dfe8c056ba079f7df1393bf6bb7b18ed974eda37SHA-256 of BATPackageBuilderSetup.bat, identified as an OXLOADER downloader and launcher.
URLhxxps[:]//link[.]storjshare[.]io/raw/jv5uebuqwzfpmtahj34q753ptykq/node/BATPackageBulderSetup.batSpecific Storj-hosted batch-script URL used in the OXLOADER delivery chain.
URLhxxps[:]//link[.]storjshare[.]io/raw/jvsmdybqmvwep2oawbobp6ub7aza/node/node-v24.15.0-x64-86.exeSpecific Storj-hosted executable URL used to deliver an OXLOADER variant.

MITRE ATT&CK

Malware

Vendors

Products

Tools

Countries

Related Articles