AHKBOT
- Type
- Downloader
- Capabilities
- Credential theftKeyloggingExfiltrationPost exploitationReconnaissance
- Delivery
- PhishingSpearphishing
- Platforms
- Windows
AHKBOT is an AutoHotkey-based modular downloader and surveillance malware family used to execute additional AutoHotkey scripts on compromised Windows systems. It has been observed as a lightweight looper or bot component that receives follow-on scripts and plugins from command-and-control infrastructure, enabling operators to extend functionality after initial compromise. Documented modules include screenshot capture, and broader reporting links the family to plugin-based spying capabilities such as keylogging, browser credential theft, process and window enumeration, domain and Active Directory discovery, hVNC deployment, and retrieval and execution of additional payloads including commercial remote access tooling and Cobalt Strike.
AHKBOT has been associated with the threat cluster Asylum Ambuscade, which has used it in both crimeware and espionage operations since at least 2020. In those operations, AHKBOT commonly follows an initial downloader stage such as SunSeed and serves as a second-stage framework for victim surveillance and payload delivery. The group has targeted bank customers, cryptocurrency traders, small and medium businesses, and government entities in Europe and Central Asia, including officials and staff connected to refugee support and state institutions. The malware’s scripting-language implementation and plugin architecture support rapid adaptation and low-friction deployment of new capabilities.
AHKBOT has also been observed in tax-themed phishing campaigns targeting primarily U.S. victims. In one such chain, a malicious macro-enabled Excel lure downloaded an MSI package containing a legitimate AutoHotkey interpreter together with an AHKBOT script. If macros were enabled, the malware was installed and then fetched a screenshotting module for victim monitoring. This delivery pattern shows AHKBOT functioning as a downloader that relies on social engineering and user-enabled document macros for execution.
The malware is best characterized as a modular downloader with post-compromise surveillance functions. Its core behavior centers on fetching and running additional scripts, but its plugin ecosystem enables credential theft, reconnaissance, exfiltration, and broader post-exploitation activity depending on operator objectives.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Earlier this April, the Redmond-based company warned of several phishing campaigns leveraging tax-related themes to deploy malware such as Latrodectus, AHKBot, GuLoader, and BruteRatel C4 (BRc4). The phishing pages, it added, were delivered via RaccoonO365, with one such campaign attributed to an initial access broker called Storm-0249.
Techniques & procedures
11 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
“abuse legitimate services like file-hosting services and business profile pages…”, “downloaded a ZIP file… from Dropbox”, “received a JavaScript file from Firebase”
Initial Access
4 techniques
Initial Access
Microsoft has observed several phishing campaigns using tax-related themes for social engineering to steal credentials and deploy malware.
The campaign used tax-themed emails that attempted to deliver the red-teaming tool BRc4 and Latrodectus malware... The emails contained a PDF attachment...
The email contained a hyperlink that directed users to download a malicious Excel file.
These campaigns notably use redirection methods such as URL shorteners and QR codes contained in malicious attachments and abuse legitimate services like file-hosting services and business profile pages to avoid detection.
Execution
3 techniques
Execution
If the user opened the Excel file, they were prompted to enable macros, and if the user enabled macros, a malicious MSI file was downloaded and run.
“If executed, this JavaScript file downloaded…”, “If the user opened the Excel file… enable macros…”, “If launched by the user, the .lnk file uses PowerShell…”
If executed, this JavaScript file downloaded a Microsoft Software Installer (MSI) containing BRc4 malware... If the user opened the Excel file, they were prompted to enable macros... If launched by the user, the .lnk file uses PowerShell...
Collection
1 technique
Collection
The AHKBot Looper was in turn observed downloading the Screenshotter module, which includes code to capture screenshots from the compromised device.
Command and Control
2 techniques
Command and Control
“Latrodectus… features dynamic command-and-control (C2) configurations…”, “Both Looper and Screenshotter used the C2 IP address 181.49.105[.]59”
The .bat file in turn downloaded the GuLoader executable, which then installed Remcos.
Observables
10 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.