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 }