OXLOADER Malvertising Campaign Uses Malicious Google Ads to Deliver CastleStealer

New 'OXLOADER' Malware Uses Malicious Google Ads to Distribute CastleStealer Infostealer

HIGH
June 22, 2026
5m read
MalwarePhishingThreat Actor

Related Entities

Threat Actors

GrayBravo

Organizations

Elastic Security LabsGoogle

Other

OXLOADERCastleStealerStorj

Full Report

Executive Summary

Elastic Security Labs has identified a new malvertising campaign, REF8372, that utilizes malicious Google Ads to distribute a previously unseen malware loader called OXLOADER. This loader is engineered with sophisticated evasion techniques and serves as a delivery vehicle for CastleStealer, a .NET-based infostealer. The attack chain begins with a user searching for legitimate software, clicking a malicious ad, and being led to a fraudulent site that initiates the infection. The malware notably includes checks to avoid infecting systems in the Commonwealth of Independent States (CIS), strongly suggesting Russian-speaking, financially motivated threat actors are behind the campaign.


Threat Overview

The REF8372 campaign is a classic malvertising operation with a modern twist. The attackers target users searching for popular developer tools, in this case, "lts version of node.js". A malicious Google Ad, published under a verified but likely fraudulent name, directs the user to a convincing but fake website (node-js[.]prentiva99[.]info).

Instead of a direct executable download, the site prompts the user to download a batch script hosted on Storj, a decentralized cloud storage platform. Using decentralized storage helps the attackers evade domain-based reputation filters and takedowns. This script initiates a multi-stage infection process, ultimately leading to the execution of the OXLOADER payload with elevated privileges, which then deploys the final CastleStealer payload.


Technical Analysis

The infection chain is designed for stealth and evasion:

  1. Initial Vector - Malvertising: The user clicks a malicious Google Ad (T1566.002 - Phishing: Spearphishing Link).
  2. Staging and Delivery: The user downloads a batch script from a decentralized storage provider (Storj). The script displays a fake installation wizard to the user while covertly downloading the next stage.
  3. Privilege Escalation: The script triggers a User Account Control (UAC) prompt to execute the main OXLOADER payload with elevated privileges (T1548.002 - Abuse Elevation Control Mechanism: Bypass User Account Control).
  4. Loader Execution (OXLOADER): This is the core of the operation. OXLOADER is heavily obfuscated and employs several advanced evasion techniques:
    • Self-modifying decryption: The loader modifies its own code in memory to decrypt the next stage, making static analysis difficult.
    • .reloc section abuse: It abuses the Windows PE file .reloc section to stage shellcode, a non-standard technique to evade detection.
    • Geofencing: It performs checks to determine the system's location and terminates if it is within the CIS region (T1480.001 - Execution Guardrails: Environmental Keying).
  5. Final Payload (CastleStealer): Once all checks are passed, OXLOADER deploys CastleStealer, a .NET infostealer. This malware is designed to steal credentials from browsers, email clients, and cryptocurrency wallets, along with other sensitive information from the victim's machine (T1555 - Credentials from Password Stores).

Impact Assessment

A successful infection by CastleStealer can lead to significant personal and corporate data loss. The impact includes:

  • Credential Theft: Loss of passwords for web services, corporate applications, and VPNs.
  • Financial Loss: Theft of cryptocurrency wallet keys and banking credentials.
  • Further Compromise: Stolen credentials can be used to gain access to corporate networks, leading to a more severe breach or ransomware attack.
  • Data Breach: Collection of sensitive documents and information from the compromised system.

The targeting of developers is particularly concerning, as their machines often contain high-value credentials like API keys and access tokens for cloud environments.


IOCs — Directly from Articles

Type
domain
Value
node-js[.]prentiva99[.]info
Description
The malicious domain used in the campaign.
Type
malware
Value
OXLOADER
Description
Name of the new malware loader.
Type
malware
Value
CastleStealer
Description
Name of the final infostealer payload.

Cyber Observables — Hunting Hints

Security teams may want to hunt for the following patterns to detect related activity:

Type
command_line_pattern
Value
powershell.exe -ExecutionPolicy Bypass -File
Description
Look for PowerShell commands that download and execute scripts from untrusted sources like Storj URLs.
Type
log_source
Value
DNS Query Logs
Description
Monitor for DNS requests to decentralized storage gateway domains or the malicious domain node-js[.]prentiva99[.]info.
Type
process_name
Value
Unsigned executables running from %TEMP% or %APPDATA%
Description
The loader and payload are often dropped and executed from temporary user directories.
Type
registry_key
Value
HKCU\Software\Microsoft\Windows\CurrentVersion\Run
Description
Check for new, suspicious entries in autorun keys used for persistence.

Detection & Response

  1. Endpoint Detection: A modern EDR solution is crucial for detecting the sophisticated techniques used by OXLOADER, such as UAC bypass and in-memory execution. Behavioral detection rules are more effective than signatures here.
  2. Web Filtering: Use web filtering and DNS security to block access to known malicious domains and newly registered domains (NRDs) that are often used in these campaigns.
  3. User Training: Educate users to be skeptical of search engine ads and to verify the URL of a website before downloading software. They should always navigate directly to the official source (e.g., nodejs.org).

D3FEND Techniques:

  • URL Analysis (D3-UA): Analyzing URLs from search ads to identify suspicious patterns or domains before a user clicks.
  • Dynamic Analysis (D3-DA): Executing downloaded files in a sandbox to observe their behavior (like UAC bypass attempts or C2 communication) before allowing them on a live endpoint.

Mitigation

  1. Restrict User Permissions: Do not allow standard users to have administrative privileges. This would prevent the UAC bypass from immediately granting system-level access.
  2. Application Allowlisting: In high-security environments, use application allowlisting (e.g., AppLocker) to prevent the execution of unauthorized scripts and executables.
  3. Ad Blockers: Deploying ad blockers at the network or browser level can prevent users from seeing or interacting with the initial malicious ad.
  4. Decentralized Storage Monitoring: While difficult, organizations can attempt to monitor or block traffic to known gateways of decentralized storage networks if they have no legitimate business use for them.

D3FEND Techniques:

Timeline of Events

1
May 14, 2026
Google removes the malicious advertiser account and associated ad campaigns.
2
June 22, 2026
This article was published

MITRE ATT&CK Mitigations

Using web filters to block malicious ads and known malicious domains.

Mapped D3FEND Techniques:

Training users to identify malicious search results and to download software only from official sources.

Using application control to prevent the execution of unauthorized scripts and binaries from user download folders.

Mapped D3FEND Techniques:

Timeline of Events

1
May 14, 2026

Google removes the malicious advertiser account and associated ad campaigns.

Sources & References

New OXLOADER Loader Uses Malicious Google Ads to Deliver CastleStealer
The Hacker News (thehackernews.com) June 22, 2026

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Tags

OXLOADERCastleStealerMalvertisingGoogle AdsInfostealerMalware

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.

Sigma Generator

Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.