This hypothesis posits that adversaries are utilizing the HawkEye tool to establish persistent in-memory footholds within Azure workloads, potentially evading traditional disk-based detection mechanisms. Proactive hunting for this behavior is critical to identify early-stage reconnaissance or lateral movement activities before they escalate into significant data exfiltration incidents.
rule Hawkeye {
meta:
description = "detect HawkEye in memory"
author = "JPCERT/CC Incident Response Group"
rule_usage = "memory scan"
reference = "internal research"
strings:
$hawkstr1 = "HawkEye Keylogger" wide
$hawkstr2 = "Dear HawkEye Customers!" wide
$hawkstr3 = "HawkEye Logger Details:" wide
condition: all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 3 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the “detect HawkEye in memory” rule within an enterprise environment, including recommended filters and exclusions:
Endpoint Security Agent Self-Scanning
CrowdStrike.exe, MsMpEng.exe) or where the memory injection originates from a known security vendor’s digital signature hash.IT Asset Management Inventory Runs
SolarWinds-Inventory-Job) or restrict alerts to non-business hours (02:00 – 06:00) if these inventory scans are strictly off-hours.Software Deployment via Configuration Management