This hunt targets adversaries leveraging the “Guilin Veterans Cookie Spoofing Tool” to execute session hijacking attacks by manipulating browser cookies within the Azure environment. Proactively hunting for this specific artifact allows the SOC team to identify early-stage reconnaissance or lateral movement activities that may otherwise be overlooked due to the tool’s low-severity classification.
rule Guilin_veterans_cookie_spoofing_tool {
meta:
description = "Chinese Hacktool Set - file Guilin veterans cookie spoofing tool.exe"
author = "Florian Roth"
reference = "http://tools.zjqhr.com/"
date = "2015-06-13"
hash = "06b1969bc35b2ee8d66f7ce8a2120d3016a00bb1"
strings:
$s0 = "kernel32.dll^G" fullword ascii
$s1 = "\\.Sus\"B" fullword ascii
$s4 = "u56Load3" fullword ascii
$s11 = "O MYTMP(iM) VALUES (" fullword ascii
condition:
uint16(0) == 0x5a4d and filesize < 1387KB and all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 4 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the Chinese Hacktool Set - file Guilin veterans cookie spoofing tool.exe detection rule in an enterprise environment:
IT Asset Management Scans via Lansweeper or SCCM
Guilin veterans cookie spoofing tool.exe file simply because it exists in a user’s “Program Files” directory, even if the application is not currently running or active.LansweeperAgent.exe, ccmexec.exe, DesktopCentralAgent.exe) that are performing file enumeration actions, rather than execution or modification of the target file.Enterprise Antivirus Real-Time Scanning
Guilin veterans cookie spoofing tool.exe from alerting when the triggering process is the antivirus engine (e.g., MsMpEng.exe, FalconSensorService.exe).Scheduled GPO Software Deployment