← Back to SOC feed Coverage →

Detects Hatman malware

yara LOW signature-base
florian-roth
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at signature-base →
Retrieved: 2026-08-03T11:00:00Z · Confidence: medium

Hunt Hypothesis

This detection rule identifies the presence of Hatman malware by monitoring for its specific behavioral signatures within the Azure Sentinel environment. Proactive hunting is essential to uncover early-stage infections that may evade standard alerts, allowing the SOC team to mitigate potential data exfiltration or lateral movement before the threat escalates.

YARA Rule

rule hatman_payload : hatman {
    meta:
        description = "Detects Hatman malware"
        reference = "https://ics-cert.us-cert.gov/MAR-17-352-01-HatMan%E2%80%94Safety-System-Targeted-Malware"
        date = "2017/12/19"
        author = "DHS/NCCIC/ICS-CERT"
        id = "9ef57fca-a536-5937-8510-b410f735a73e"
    condition:
        ( hatman_memcpy and hatman_origcode and hatman_mftmsr ) and not ( hatman_origaddr and hatman_loadoff )
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

References

False Positive Guidance

Here are 5 specific false positive scenarios for the “Detects Hatman malware” rule, including suggested filters and exclusions tailored for an enterprise environment:

Original source: https://github.com/Neo23x0/signature-base/blob/main/yara/apt_hatman.yar