(YARA) YARA_Detect_SetDebugFilterState

June 22, 2022, 12:54 a.m. | 2 weeks
            rule Detect_SetDebugFilterState: AntiDebug {
    meta: 
        description = "Detect SetDebugFilterState as anti-debug"
        author = "Unprotect"
        comment = "Experimental rule"
    strings:
        $1 = "NtSetDebugFilterState" fullword ascii
        $2 = "DbgSetDebugFilterState" fullword ascii
    condition:   
       uint16(0) == 0x5A4D and filesize < 1000KB and any of them 
}
        

Associated Techniques

Technique Name Technique ID's Has Snippet(s)
NtSetDebugFilterState U0103

Comment