1. Executive Summary
Phantom Stealer is a commodity Windows info-stealer designed for rapid credential and session theft, followed by immediate exfiltration and minimal post-execution footprint. It prioritizes browser artifacts, session cookies, crypto wallets, and system telemetry, enabling account takeover (ATO) and MFA bypass via stolen session tokens.
Operationally, Phantom Stealer favors:
- Short dwell time
- Low persistence
- High polymorphism
- Fast-rotating infrastructure
2. Malware Classification & Ecosystem Placement
- Category: Credential Stealer / Infostealer
- Target OS: Windows (userland)
- Persistence: Optional / minimal
- Delivery: Loader-based
- Economics: Malware-as-a-Service (MaaS)
It shares architectural and behavioral traits with other commodity stealers (e.g., RedLine/Vidar-style families), but infrastructure, packers, and loaders rotate aggressively.
3. Initial Access & Execution Chain
3.1 Delivery Vectors
- Phishing attachments (HTML smuggling)
- ISO / ZIP containers with LNK → LOLBIN execution
- Trojanized installers (fake updates, cracked software)
- Malicious browser extensions
3.2 Execution Stages
Stage 0 – Loader
- Written in C++, C#, or Delphi
- Payload encrypted (XOR / AES)
- Decrypted in memory or dropped to
%Temp%/%AppData%
Stage 1 – Stealer Core
- Executed via
rundll32.exe,mshta.exe, or direct execution - Masquerades as benign application
- Performs harvesting and exits
4. Anti-Analysis & Evasion
Static Evasion
- Encrypted strings
- Runtime API resolution
- Control-flow flattening
- Junk code insertion
Dynamic / Sandbox Evasion
- CPUID vendor checks
- MAC OUI inspection
- Low-interaction sandbox detection
- Execution delay & entropy checks
5. Credential Harvesting Internals
5.1 Browser Data Theft
Targets Chromium- and Gecko-based browsers.
| Artifact | Typical Path | Technique |
|---|---|---|
| Login Data | ...\User Data\Default\Login Data | SQLite query |
| Cookies | ...\Cookies | SQLite + DPAPI |
| Autofill | Web Data | SQLite |
| Master Key | Local State | DPAPI extraction |
Decryption Flow
- Extract encrypted AES key from
Local State - Decrypt via
CryptUnprotectData - Decrypt credentials using AES-GCM
5.2 Session Hijacking
- Cookies + tokens harvested
- Enables passwordless login
- Effective MFA bypass
- High-value SaaS and cloud targets prioritized
6. Crypto Wallet & Application Targeting
Targets include:
- Browser wallets (MetaMask-like extensions)
- Desktop wallets
- Cached wallet configuration files
Extraction methods:
- File system scraping
- Extension directory harvesting
- Opportunistic memory access
7. Host Reconnaissance & Victim Profiling
Collected telemetry:
- OS version, build, SID
- Username and hostname
- Installed AV / EDR
- Locale and keyboard layout
- External IP and region
Purpose:
- Victim valuation
- Duplicate suppression
- Data resale optimization
8. Command-and-Control (C2)
Transport
- HTTPS POST
- Occasionally Telegram bots / webhooks
- Bulletproof hosting & fast-flux DNS
Exfiltration Package
[Victim ID]
[System Metadata]
[Credential Archive]
[Cookie Archive]
[Wallet Data]
- ZIP / LZMA compressed
- AES encrypted
- Base64 wrapped
Execution model: exfiltrate once → terminate
9. Persistence
Often omitted intentionally. When enabled:
- Registry
Runkeys - Scheduled tasks
- Startup folder shortcuts
Persistence increases detection risk and is therefore uncommon.
10. Real-World Indicators of Compromise (IOCs)
Host Artifacts
Suspicious Access
...\Chrome\User Data\*\Login Data
...\Chrome\User Data\*\Cookies
...\Firefox\Profiles\*\logins.json
Process Chains
mshta.exe → unsigned binary
wscript.exe → payload.exe
explorer.exe → %Temp%\random.exe
11. Detection & Threat Hunting
Endpoint
- Non-browser processes opening browser SQLite DBs
- DPAPI usage outside browser context
- Unsigned executables from user-writable paths
Network
- New domains (<30 days) receiving POST uploads
- TLS to low-reputation TLDs
- Fire-and-forget HTTPS behavior
Memory
- AES routines + SQLite strings
- API hashing
- Absence of GUI resources
12. Impact Assessment
Primary:
- Account takeover
- MFA bypass
- Financial theft
Secondary:
- Cloud abuse
- Identity compromise
- Lateral movement via credential reuse
13. Defensive Countermeasures
- Behavior-based EDR detections
- DPAPI abuse monitoring
- Disable browser credential storage
- Enforce session revalidation
- Credential & token rotation after exposure
- ASN-level network monitoring
14. Key Takeaway
Phantom Stealer is not sophisticated, but it is operationally efficient.
Defense success depends on behavioral detection, credential hygiene, and rapid incident response, not static indicators.
