This detection identifies adversaries deploying legacy or known hacking tools, specifically the hunt.exe executable, which may indicate reconnaissance activities or the use of established attack frameworks within the environment. A proactive hunt is essential in Azure Sentinel to distinguish between benign administrative usage and malicious execution that could serve as a precursor to lateral movement or data exfiltration campaigns.
rule sig_238_hunt {
meta:
description = "Disclosed hacktool set (old stuff) - file hunt.exe"
author = "Florian Roth"
date = "23.11.14"
score = 60
hash = "f9f059380d95c7f8d26152b1cb361d93492077ca"
strings:
$s1 = "Programming by JD Glaser - All Rights Reserved" fullword ascii
$s3 = "Usage - hunt \\\\servername" fullword ascii
$s4 = ".share = %S - %S" fullword wide
$s5 = "SMB share enumerator and admin finder " fullword ascii
$s7 = "Hunt only runs on Windows NT..." fullword ascii
$s8 = "User = %S" fullword ascii
$s9 = "Admin is %s\\%s" fullword ascii
condition:
all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 7 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the Disclosed hacktool set (old stuff) - file hunt.exe detection rule, along with recommended filters and exclusions:
Scenario: Scheduled Endpoint Protection Scans
hunt.exe (or similar) to perform scheduled deep-dive scans of the file system for known threats. This process is triggered automatically by the OS scheduler during off-hours.\Program Files\CrowdStrike\FalconCore\ (or equivalent vendor paths) and the parent process is falcon.sys, Symantec.exe, or the Windows Task Scheduler (svchost.exe -k netsvcs).Scenario: Legacy Asset Inventory & Discovery Tools
hunt.exe that enumerates installed applications, registry keys, and network configurations on workstations.DOMAIN\svc-asset-inventory) or a local system account (NT SYSTEM), specifically when the file hash matches the known good hash of the deployed agent version.Scenario: Automated Patch Deployment & Compliance Checks