T1059.010: AutoHotKey & AutoIT
Adversaries may execute commands and perform malicious tasks using AutoIT and AutoHotKey automation scripts. AutoIT and AutoHotkey (AHK) are scripting languages that enable users to automate Windows tasks. These automation scripts can be used to perform a wide variety of actions, such as clicking on buttons, entering text, and opening and closing programs.
Adversaries may use AHK (.ahk
) and AutoIT (.au3
) scripts to execute malicious code on a victim's system. For example, adversaries have used for AHK to execute payloads and other modular malware such as keyloggers. Adversaries have also used custom AHK files containing embedded malware as Phishing payloads.
These scripts may also be compiled into self-contained executable payloads (.exe
).
Positive Technologies products that cover the technique
Detection
Expert Required. The technique is detected only with the combination of «PT Product + Expert»
Detection
ID | DS0009 | Data source and component | Process: Process Creation | Description | Monitor and analyze the execution and arguments of the |
---|
ID | DS0017 | Data source and component | Command: Command Execution | Description | Monitor executed commands and arguments for abnormal usage of utilities and command-line arguments that may be used in support of malicious execution. Compare recent invocations of |
---|
Mitigation
ID | M1038 | Name | Execution Prevention | Description | Use application control to prevent execution of |
---|