# Lost in relocation: analysis of a new loader distributing CASTLESTEALER

DevFeed: [Lost in relocation: analysis of a new loader distributing CASTLESTEALER](<https://devfeed.tech/articles/lost-in-relocation-analysis-of-a-new-loader-distributing-castlestealer-49092.md>)

Original publisher: [Read original article](<https://www.elastic.co/security-labs/threat-command/oxloader-malware-loader-infostealer>)

Author: Daniel Stepanic,Jia Yu Chan

Published: 2026-06-19T00:00:00Z

Content type: article

Language: en

Sources: [Elastic Security Labs](<https://devfeed.tech/sources/elastic-security-labs.md>)

Topics: [Malware](<https://devfeed.tech/topics/malware.md>), [obfuscation](<https://devfeed.tech/topics/obfuscation.md>), [Security](<https://devfeed.tech/topics/security.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [ads](<https://devfeed.tech/tags/ads.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [batch](<https://devfeed.tech/tags/batch.md>), [detection](<https://devfeed.tech/tags/detection.md>), [google](<https://devfeed.tech/tags/google.md>), [language](<https://devfeed.tech/tags/language.md>), [loader](<https://devfeed.tech/tags/loader.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-analysis](<https://devfeed.tech/tags/malware-analysis.md>), [obfuscation](<https://devfeed.tech/tags/obfuscation.md>), [payload](<https://devfeed.tech/tags/payload.md>), [script](<https://devfeed.tech/tags/script.md>), [security](<https://devfeed.tech/tags/security.md>), [static](<https://devfeed.tech/tags/static.md>), [vm](<https://devfeed.tech/tags/vm.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

Elastic Security Labs analyzes OXLOADER, a previously undocumented Windows malware loader that delivers the CASTLESTEALER infostealer through malicious Google Ads. The loader uses relocation-section abuse, anti-virtualization and language checks, and multiple obfuscation techniques to evade static analysis and sandbox detection.

## Source excerpt

Find out how a new obfuscated loader evades static detection using .reloc section abuse, five anti-VM/language checks and MBA obfuscation to deliver infostealer malware via Google Ads.