Suspicious Microsoft HTML Help (HH.exe) Execution
Adversaries leverage the Microsoft HTML Help executable (hh.exe) to execute malicious CHM files, a technique historically associated with delivering payloads such as banking trojans and backdoors.
Triage facts
Revision 1- Applicability
- Windows
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 4 public sources
- Freshness
- Revision 1Nov 10, 02:50 UTC
- Detection
- 1 rule
- Source quality
- A1Likely
The Microsoft HTML Help (hh.exe) executable is a legitimate system utility designed to display compiled HTML help (.chm) files. Threat actors frequently abuse this utility to execute malicious code by triggering the display of specially crafted .chm files containing embedded ActiveX controls or scripts. This technique is often used in the initial access phase to bypass security controls by masquerading malicious activity behind a signed, legitimate Windows binary.
Attack Chain
- An attacker crafts a malicious Compiled HTML (.chm) file.
- The malicious file is delivered to the target host via spearphishing attachment or downloaded from the web.
- The file is saved in common user-writable or temporary directories (e.g., AppData, Downloads, or Temp).
- The attacker or user initiates the execution of the .chm file.
- The Windows system automatically invokes 'hh.exe' to process the file.
- The embedded malicious scripts or ActiveX controls execute within the context of 'hh.exe', leading to payload execution.
Recommendation
- Deploy the Sigma rule below to monitor for executions of hh.exe originating from suspicious locations or targeting unconventional file extensions.
- Implement application control or software restriction policies to limit the execution of 'hh.exe' if it is not required for specific business functions.
- Monitor for suspicious child processes spawned by 'hh.exe', which often indicate secondary payload execution.
Impact
Successful exploitation allows for the execution of arbitrary code, potentially leading to unauthorized system access, data exfiltration, or the installation of persistent backdoors and banking trojans.
Immediate actions
Deploy the provided Sigma rule to SIEM/EDR
Mitigations
Apply AppLocker or WDAC policies to restrict execution of hh.exe from non-system directories
T1218.001
Detection coverage 1
Detect Suspicious HH.EXE Execution
highDetects execution of hh.exe (Microsoft HTML Help) when the provided command line points to files in temporary or user-writable directories
Detection queries are available on the platform. Get full rules →