Cyber criminals launching a new malware campaign that make use of
legitimate script engine AutoHotkey with a malicious script to evade detection and also gain the remote access to the targeted system.
AutoHotkey is an open source Microsoft Windows tool that allows you to create macros, scripts, and automate frequently performed tasks on your computer.
Attackers distributing this malicious campaign via weaponized Excel File via email with attached Excel file that posed as a legitimate file with the
filename “Military Financing.xlsm.”
In order to fully open the attached file, users need to enable the Micro that helps AutoHotkey loading the malicious script file to avoid detection.
Infection Process to Gain Remote Access via TeamViewer
Attached excel file in the email is titled “Foreign Military Financing (FMF),” named after a program of the U.S. Defense Security Cooperation Agency.
Attackers fooled users to enable the content by claiming that the document contains a confidential information.
Once the Victims open the malicious excel documents by enables macro from the email attachment, it drops the AutoHotkey that loads the malicious script file.
Later its connect to its Command and control server to download and execute additional script files.
According to Trend Micro, Depending on the script files, the AutoHotkey application can assign a hotkey or execute any process written in the script file. In this case, the script file AutoHotkeyU32.ahk does not assign a hotkey but it does execute the following commands:
- Create a link file in the startup folder for AutoHotkeyU32.exe, allowing the attack to persist even after a system restart.
- Connect to the C&C server every 10 seconds to download, save, and execute script files containing the commands.
- Send the volume serial number of the C drive, which allows the attacker to identify the victim.
A final script will download and execute the TeamViewer to gain remote control over the system.
Further research uncovered other dropped files involved in this attack. These files allow the attackers to get the computer name and take screen captures. Trend Micro said.
Indicators of Compromise (IoCs)
You can follow us on Linkedin, Twitter, Facebook for daily Cybersecurity updates also you can take the Best Cybersecurity courses online to keep your self-updated.
Emotet Malware Mass Attack Drops Nozelesn Ransomware on Enterprise Endpoint Systems Via Word Documents
Hackers Launching Weaponized Word Document to Push Emotet & Qakbot Malware