← 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 rule detects the presence of Hatman malware by identifying its specific execution patterns and file artifacts within the Azure Sentinel environment. Proactive hunting for this threat is essential to uncover early-stage infections that may evade standard signature-based detection, allowing the SOC team to mitigate potential data exfiltration or lateral movement before escalation occurs.

YARA Rule

rule hatman_compiled_python : 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 = "fd156669-72b4-59a5-8f36-aac21d7b3105"
    condition:
        hatman_nullsub and hatman_setstatus and hatman_dividers
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

References

False Positive Guidance

Here are 4 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