This hunt targets adversaries deploying the specific Chinese hacktool epathobj_exp32.exe, which often indicates reconnaissance or lateral movement activities within the environment. Proactively hunting for this file in Azure Sentinel is critical to validate its legitimacy and detect potential unauthorized tool usage that may precede more significant data exfiltration or persistence attempts.
rule epathobj_exp32 {
meta:
description = "Chinese Hacktool Set - file epathobj_exp32.exe"
author = "Florian Roth"
reference = "http://tools.zjqhr.com/"
date = "2015-06-13"
hash = "ed86ff44bddcfdd630ade8ced39b4559316195ba"
strings:
$s0 = "Watchdog thread %d waiting on Mutex" fullword ascii
$s1 = "Exploit ok run command" fullword ascii
$s2 = "\\epathobj_exp\\Release\\epathobj_exp.pdb" fullword ascii
$s3 = "Alllocated userspace PATHRECORD () %p" fullword ascii
$s4 = "Mutex object did not timeout, list not patched" fullword ascii
condition:
uint16(0) == 0x5a4d and filesize < 270KB and all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 5 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the Chinese Hacktool Set detection rule targeting epathobj_exp32.exe, along with recommended filters or exclusions:
Scenario: Legitimate Endpoint Protection Agent Updates
epathobj_exp32.exe to handle real-time file path monitoring and heuristic scanning during scheduled maintenance windows.Qihoo360.exe or KingsoftAntivirusService.exe.Scenario: IT Asset Management and Inventory Scanning
epathobj_exp32.exe as a helper utility to enumerate file system objects and registry keys for compliance reporting.svc-inventory-scanner) or restrict the rule to only trigger on non-standard directories, excluding paths like C:\Program Files\Lansweeper\Agents.Scenario: Scheduled Group Policy Software Deployment
epathobj_exp32.exe to configure local security