(YARA) YARA_Detect_EventPairHandles

Download Raw

rule Detect_EventPairHandles: AntiDebug {
    meta: 
        description = "Detect EventPairHandlesas anti-debug"
        author = "Unprotect"
        comment = "Experimental rule"
    strings:
        $1 = "EventPairHandles" fullword ascii
        $2 = "RtlCreateQueryDebugBuffer" fullword ascii
        $3 = "RtlQueryProcessHeapInformation" fullword ascii
    condition:   
       uint16(0) == 0x5A4D and filesize < 1000KB and 2 of them 
}

Associated Techniques

Technique Name Technique ID's Snippet(s) OS
EventPairHandles U0116

Matching Samples 10 most recent

Sample Name Matching Techniques First Seen Last Seen
al-khaser.exe 24 2024-11-13 1 week, 2 days ago
View All

Created

June 22, 2022

Last Revised

June 22, 2022