AutoIt Compiled Script Dropper
Malware delivered as a compiled AutoIt3 script (.a3x or .exe output from AutoIt compiler). The script is executed by the AutoIt3 interpreter, providing a Turing-complete scripting environment with direct Win32 API access while evading traditional static analysis.
Pattern Definition
- Interpreter:
AutoIt3.exe(legitimate, signed by AutoIt Consulting Ltd). - Script:
.a3xfile — a compiled AutoIt script, not plain text. - Execution:
AutoIt3.exe script.a3x - Obfuscation: The
.a3xformat is binary and does not yield readable strings with standard tools. Decompilation requiresExe2Aut,MyAut2Exe, or similar tools.
Variants
- Single-file dropper: SFX bundles
AutoIt3.exe+.a3x. Seen in asgardprotector. - Standalone compiled
.exe: AutoIt script compiled to a single PE with the interpreter embedded. This variant does not need an externalAutoIt3.exe.
Defensive Detection
AutoIt3.exespawning from unusual parent paths (%TEMP%,Downloads)..a3xfiles written to disk followed byAutoIt3.exeexecution.- AutoIt scripts performing suspicious API calls (file write to startup, registry Run key, network connect).
Cross-References
- asgardprotector — family using this pattern
- iexpress-sfx-dropper — common delivery mechanism for AutoIt payloads