AtlasRAT Loader Chain Reveals a Multi-Stage Infection Process
Detection stack
- AIDR
- Alert
- ETL
- Query
Summary
AtlasRAT is a modular Windows-based remote access trojan that uses a sophisticated four-stage in-memory loader chain. The malware communicates over TLS using ChaCha20 encryption and supports modular plugins for capabilities such as keylogging and DLL injection. Its builder-driven development model enables operators to produce and update new variants rapidly.
Investigation
The investigation included a 180-day retrohunt across the VirusTotal corpus, which uncovered 146 unique samples and several PDB build variants. Analysts identified a loader chain beginning with a Delphi executable disguised as Adobe Flash Player and traced execution through manual mapping to the final DLL payload. Researchers also discovered distinctive handshake strings and configuration markers associated with AtlasRAT.
Mitigation
Although the report does not provide specific defensive guidance, organizations can use the observed IOCs and C2 infrastructure to improve detection. Defenders should monitor for suspicious DLL injection into common processes such as WeChat.exe and unauthorized registry modifications linked to persistence. Detecting self-signed certificates that impersonate Microsoft identities is also recommended.
Response
If AtlasRAT activity is detected, affected hosts should be isolated immediately to limit lateral movement and additional DLL injection. Responders should perform memory forensics to recover the in-memory loader stages and determine which modular plugins are active. A broader hunt should also examine the BITS database and NTUSER.MAN registry hive for persistence artifacts.
Attack Flow
Detections
Possible Persistence Points [ASEPs – Software/NTUSER Hive] (via registry_event)
View
Suspicious Image Loads from Public User Profile (via image_load)
View
Suspicious Files in Public User Profile (via file_event)
View
IOCs (HashSha256) to detect: Not Every Fox is Silver: Inside an AtlasRAT loader chain
View
IOCs (SourceIP) to detect: Not Every Fox is Silver: Inside an AtlasRAT loader chain
View
IOCs (DestinationIP) to detect: Not Every Fox is Silver: Inside an AtlasRAT loader chain
View
Network Communication Detection for AtlasRAT using Port 443 and Bifa668.Com [Windows Network Connection]
View
AtlasRAT In-Memory PE Loader and Keylogging Detection [Windows Process Creation]
View
Simulation Execution
Prerequisite: The Telemetry & Baseline Pre-flight Check must have passed.
Rationale: This section details the precise execution of the adversary technique (TTP) designed to trigger the detection rule. The commands and narrative MUST directly reflect the TTPs identified and aim to generate the exact telemetry expected by the detection logic. Abstract or unrelated examples will lead to misdiagnosis.
-
Attack Narrative & Commands: The adversary aims to deploy AtlasRAT to establish a foothold and begin credential harvesting via keylogging. To evade standard signature-based antivirus, the attacker uses a custom in-memory PE loader named
FlashPlay.exe. They execute this loader via the command line using theServiceRunexport to trigger the loading of the malicious payload into memory. This specific combination of filename and command-line argument is the trigger for the detection rule. -
Regression Test Script:
# Simulation Script for AtlasRAT Detection Validation # Note: This script creates a dummy file to simulate the executable for testing purposes. $workDir = "$env:TEMPAtlasRAT_Sim" if (!(Test-Path $workDir)) { New-Item -ItemType Directory -Path $workDir } $exePath = "$workDirFlashPlay.exe" # Create a dummy executable file "This is a simulated malicious binary" | Out-File -FilePath $exePath Write-Host "[+] Simulating AtlasRAT execution..." -ForegroundColor Cyan # Execute the simulated malicious process with the specific trigger argument # This targets the 'selection_image' and 'selection_command' logic in the Sigma rule. Start-Process -FilePath $exePath -ArgumentList "ServiceRun" -Wait Write-Host "[+] Simulation command executed. Check SIEM for alert." -ForegroundColor Green -
Cleanup Commands:
# Cleanup script to remove simulated artifacts $workDir = "$env:TEMPAtlasRAT_Sim" if (Test-Path $workDir) { Remove-Item -Recurse -Force $workDir Write-Host "[+] Cleanup complete. Simulated files removed." -ForegroundColor Yellow }