HawkEye
- Type
- Infostealer
- Capabilities
- Credential theftKeyloggingExfiltrationPersistenceDefense evasionProcess injectionReconnaissance
- Delivery
- PhishingSpearphishingMalspamLure
- Platforms
- Windows
HawkEye is a commercially distributed Windows information stealer and keylogger sold through hacking forums and dedicated websites since at least 2013. It is used by financially motivated cybercriminals to harvest sensitive information and compromise business accounts. Its capabilities extend beyond keystroke recording to credential theft from web browsers, email clients, FTP clients, messaging applications, and other software. It can also collect system information and clipboard contents, capture screenshots, and, in versions such as HawkEye Reborn v9, take webcam images. Capabilities vary according to version and builder configuration.
HawkEye is primarily distributed through phishing and malspam, using business-themed lures such as invoices, purchase orders, shipping notices, and payment documents. Campaigns have delivered archived Windows executables, malicious Office attachments, and links to hosted payloads. Some Office-based campaigns exploited CVE-2017-11882 in Microsoft Office Equation Editor. Airline-ticket and COVID-19-themed phishing campaigns have also distributed the malware.
HawkEye commonly uses .NET payloads protected by obfuscation and multistage packaging. Observed variants employ process injection and process hollowing to execute payloads or embedded credential-recovery utilities inside legitimate Windows processes. Persistence mechanisms include startup registry entries and scheduled tasks. Anti-analysis and defense-evasion features include debugger checks, execution delays, and interference with security applications. Stolen information can be exfiltrated through SMTP, FTP, HTTP, and, in Reborn v9, SFTP.
HawkEye has been used against organizations across numerous countries and industries, including manufacturing, engineering, technology, education, transportation, and professional services. Operation Ghoul used HawkEye-based spyware against industrial and engineering organizations, particularly small and medium-sized businesses. Nigerian cybercriminals known as Uche and Okiki also used HawkEye in business email compromise operations to compromise mailboxes and redirect transaction payments.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
7 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
In June 2015, two Nigerian cybercriminals dubbed as “Uche” and “Okiki” used a simple keylogger called Hawkeye.
In June 2015, two Nigerian cybercriminals dubbed as “Uche” and “Okiki” used a simple keylogger called Hawkeye.
HawkEye, also known as PredatorPain (Predator Pain), is a malware categorized as a keylogger, but over the years, it has adopted new functionalities that align it with the capabilities of other tools like stealers.
HawkEye, also known as PredatorPain (Predator Pain), is a malware categorized as a keylogger, but over the years, it has adopted new functionalities that align it with the capabilities of other tools like stealers.
HawkEye, also known as PredatorPain (Predator Pain), is a malware categorized as a keylogger, but over the years, it has adopted new functionalities that align it with the capabilities of other tools like stealers.
HawkEye, also known as PredatorPain (Predator Pain), is a malware categorized as a keylogger, but over the years, it has adopted new functionalities that align it with the capabilities of other tools like stealers.
+1 more in the app. View in Mallory
Techniques & procedures
50 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
[TA0042][T1583.008] Malvertising
Initial Access
4 techniques
Initial Access
The AutoIT script is offering a lot of other functions which are not used in this campaign, like anti-virtual machine detection, USB drive infection and others.
This report details a specific phishing campaign used to distribute the Agent Tesla RAT. The lure in the emails is centered around updates to COVID-specific PPE.
The attackers try to lure targets through spear phishing emails that include compressed executables... The e-mails sent by attackers appear to be coming from a bank in the UAE, the Emirates NBD, and include a 7z file with malware.
Here is the email content, masquerading as an airline ticket confirmation, which asks the targeted victim to click on a link. It was designed so that a victim downloads a 7z file from the link shown in figure 1 that contains this new variant of HawkEye and runs it on the victim’s system.
Execution
4 techniques
Execution
we also find samples that establish persistence in tasks using commands like the following: schtasks.exe /Create /TN "<Path>\<TaskName>" /XML "<File>"
After a successful download, it creates and starts the RegAsm.exe process. This RegAsm.exe process is a heavily obfuscated AutoIT script compiled into a PE.
The campaign starts with sending the aforementioned Excel sheets that exploit the well-known CVE-2017-11882 vulnerability, an arbitrary code execution bug in Microsoft Office.
attackers devised convincing scenarios to trick victims into downloading the malicious file
Persistence
4 techniques
Persistence
we also find samples that establish persistence in tasks using commands like the following: schtasks.exe /Create /TN "<Path>\<TaskName>" /XML "<File>"
it obfuscates a string and then decodes it to introduce, in this case, one of the binaries launched earlier
disabling certain AV-related programs via the Image File Execution Options (IFEO) evasion technique by registering invalid debuggers that redirect and effectively disable various system and security applications.
It initiates by self-deploying and configuring persistence, while using anti-debugging and timeout techniques...
Privilege Escalation
5 techniques
Privilege Escalation
we also find samples that establish persistence in tasks using commands like the following: schtasks.exe /Create /TN "<Path>\<TaskName>" /XML "<File>"
This shellcode injects the final payload taken from the resource section into the original RegAsm.exe process.
Then it starts the process-hollowing shellcode, which is stored in the HEXCODE1 variable.
disabling certain AV-related programs via the Image File Execution Options (IFEO) evasion technique by registering invalid debuggers that redirect and effectively disable various system and security applications.
It initiates by self-deploying and configuring persistence, while using anti-debugging and timeout techniques...
Stealth
10 techniques
Stealth
The current version, HawkEye Reborn v9 has been modified from earlier versions and heavily obfuscated to make analysis more difficult.
It concatenates them and uses AES to decrypt the result, using the hardcoded key "pydbdio…"
The e-mails sent by attackers appear to be coming from a bank in the UAE, the Emirates NBD... a quick analysis of the email headers reveals fake sources being utilised to deliver the emails to victims.
This shellcode injects the final payload taken from the resource section into the original RegAsm.exe process.
Then it starts the process-hollowing shellcode, which is stored in the HEXCODE1 variable.
Within these resources, we see two distinct types of code: the initial part, which acts as a key, and the data chunk, which is what will be deobfuscated. To achieve this, it uses XOR + Poly
The AutoIT script is offering a lot of other functions which are not used in this campaign, like anti-virtual machine detection
It first sends an HTTP request, http://bot.whatismyipaddress.com , to ask for my machine’s public IP. This is a way to ensure that the victim’s machine is able to access the internet. If it did not reply with a public IP, it stops sending collected data to the email box.
some versions launch them in hidden mode, so you can’t see them unless you’ve enabled the “View hidden files” function in Windows
It initiates by self-deploying and configuring persistence, while using anti-debugging and timeout techniques...
Defense Impairment
2 techniques
Defense Impairment
it obfuscates a string and then decodes it to introduce, in this case, one of the binaries launched earlier
It includes a phase where it checks running processes, which is an interesting technique to detect analysis tools
Credential Access
6 techniques
Credential Access
The covered campaigns have primarily been engineered for credential harvesting. Some utilize commodity malware, where others simply redirect to weaponized phishing sites.
It also starts a keylogger, steals clipboard content, takes screenshots from the desktop and pictures from the webcam.
Credential theft (Mail, FTP, browsers, video games, etc.)
Version 9 is still using the well-known MailPassView and WebBrowserPassView freeware tools from Nirsoft to steal web and email passwords. | Beside the system information, it steals passwords from common web browsers, Filezilla, Beyluxe Messenger, CoreFTP and the video game "Minecraft."
Version 9 is still using the well-known MailPassView and WebBrowserPassView freeware tools from Nirsoft to steal web and email passwords.
The first “vbs.exe” collects credentials from victim’s browsers and the system credential manager for IE.
Discovery
10 techniques
Discovery
Queries to browser paths or third-party software to obtain user account information (Registry/Path query)
System information gathering (OS, HW, Network)
System information gathering (OS, HW, Network)
The adversaries can get detailed information about the victim's machine
System information gathering (OS, HW, Network)
The AutoIT script is offering a lot of other functions which are not used in this campaign, like anti-virtual machine detection
It first sends an HTTP request, http://bot.whatismyipaddress.com , to ask for my machine’s public IP. This is a way to ensure that the victim’s machine is able to access the internet. If it did not reply with a public IP, it stops sending collected data to the email box.
Analysis tools detection (Dbg, traffic, etc.)
Security software detection
It initiates by self-deploying and configuring persistence, while using anti-debugging and timeout techniques...
Lateral Movement
1 technique
Lateral Movement
The AutoIT script is offering a lot of other functions which are not used in this campaign, like anti-virtual machine detection, USB drive infection and others.
Collection
9 techniques
Collection
it gathers all possible data and sends it to a C&C
The covered campaigns have primarily been engineered for credential harvesting. Some utilize commodity malware, where others simply redirect to weaponized phishing sites.
It also starts a keylogger, steals clipboard content, takes screenshots from the desktop and pictures from the webcam.
Save stolen info on txt files \vbc.exe /stext "*\AppData\Local\Temp\holdermail.txt"
It also starts a keylogger, steals clipboard content, takes screenshots from the desktop and pictures from the webcam.
The second PE file in “vbc.exe”collects profile and credential information of the email and IM software client installed on a victim’s machine. The clients it targets are: Qualcomm Eudora, Mozilla Thunderbird, MS Office Outlook, IncrediMail, Groupmail, MSNMessenger, Yahoo!Pager/Yahoo!Messenger and Windows Mail.
It also starts a keylogger, steals clipboard content, takes screenshots from the desktop and pictures from the webcam.
It also starts a keylogger, steals clipboard content, takes screenshots from the desktop and pictures from the webcam.
It was designed so that a victim downloads a 7z file from the link shown in figure 1 that contains this new variant of HawkEye and runs it on the victim’s system.
Command and Control
5 techniques
Command and Control
Send collected data to an email address using SMTP from time to time (every 10 minues).
Data is collected by the attackers using primarily: Http GET posts Sent to hxxp://192.169.82.86
The attacker’s email is in Yandex.mail, whose email account and password are used when sending collected data through the Yandex SMTP server.
After execution in the Equation Editor (EQNEDT32.EXE) context, it downloads the malicious data from the malware server.
[TA0011][T1571] Non-Standard Port
Exfiltration
2 techniques
Exfiltration
HawkEye offers the following exfiltration options based on the configuration: email, FTP, SFTP, HTTP POST to PanelURL API or ProxyURL.
HawkEye offers the following exfiltration options based on the configuration: email, FTP, SFTP, HTTP POST to PanelURL API or ProxyURL.
Observables
95 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
23 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.