← Back to SOC feed Coverage →

hatman origcode

yara LOW Yara-Rules
community
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 Yara-Rules →
Retrieved: 2026-06-30T11:00:00Z · Confidence: medium

Hunt Hypothesis

This detection targets adversaries attempting to evade signature-based defenses by embedding malicious payloads within legitimate executable files using the Hatman OrigCode mechanism. Proactive hunting for this behavior in Azure Sentinel is essential to identify early-stage file integrity compromises that may bypass standard low-severity alerts before they evolve into active threats.

YARA Rule

rule hatman_origcode : hatman {
    strings:
        $ocode_be   = { 3c 00 00 03  60 00 a0 b0  7c 09 03 a6  4e 80 04 20 }
        $ocode_le   = { 03 00 00 3c  b0 a0 00 60  a6 03 09 7c  20 04 80 4e }
    condition:
        $ocode_be or $ocode_le
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 2 string patterns in its detection logic.

False Positive Guidance

Here are 4 specific false positive scenarios for the hatman_origcode detection rule in an enterprise environment, along with suggested filters or exclusions:

Original source: https://github.com/Yara-Rules/rules/blob/main/malware/MALW_TRITON_HATMAN.yar