← Back to SOC feed Coverage →

hatman memcpy

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 hunt targets adversaries leveraging the Hatman memcpy mechanism to execute memory-based operations that may indicate early-stage malware activity or fileless attacks within Azure Sentinel workloads. Proactively hunting for this behavior is critical because its low-severity classification often allows subtle, persistent threats to evade standard alerting thresholds before they escalate into significant incidents.

YARA Rule

rule hatman_memcpy : hatman {
    strings:
        $memcpy_be  = { 7c a9 03 a6  38 84 ff ff  38 63 ff ff  8c a4 00 01 
                        9c a3 00 01  42 00 ff f8  4e 80 00 20              }
        $memcpy_le  = { a6 03 a9 7c  ff ff 84 38  ff ff 63 38  01 00 a4 8c
                        01 00 a3 9c  f8 ff 00 42  20 00 80 4e              }
    condition:
        $memcpy_be or $memcpy_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_memcpy 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