(YARA) Detect Process Kill Techniques

Download Raw

rule UNPROTECT_disable_process {
    meta:
	author = "Thomas Roccia | @fr0gger_"
	description = "Disable blacklisted processes"
    strings:
        $api1 = "CreateToolhelp32Snapshot" nocase
        $api2 = "Process32First" nocase
        $api3 = "Process32Next" nocase
        $api4 = "TerminateProcess" nocase
        $api5 = "NtGetNextProcess" nocase
        $p1 = "taskkill.exe" nocase
        $p2 = "tskill.exe" nocase
    condition:
        uint32(uint32(0x3C)) == 0x4550 and 2 of ($api*) or any of ($p*) 
}

Associated Techniques

Technique Name Technique ID's Categories Snippet(s)
Kill Process U0403

Matching Samples 10 most recent

Sample Name Matching Techniques First Seen Last Seen
SSAStatement.exe 12 2026-08-14 2 days, 2 hours ago
enigma.dll 4 2026-08-09 6 days, 5 hours ago
ietabhelper.exe 5 2026-08-01 2 weeks ago
xmrig.exe 6 2026-07-28 2 weeks, 4 days ago
Adrenalin.exe 5 2026-07-18 4 weeks ago
prestige.dll 8 2026-07-01 1 month, 2 weeks ago
2m96.exe 6 2026-06-30 1 month, 2 weeks ago
nopggplus.dll 5 2026-06-12 2 months ago
Trickster.exe 4 2026-05-27 2 months, 2 weeks ago
Analist Pro V5.exe 5 2026-05-02 3 months, 1 week ago
View All

Created

June 20, 2022

Last Revised

March 27, 2026