DefenderYara/HackTool/Win32/Impacketwmiexec/HackTool_Win32_Impacketwmie...

14 lines
661 B
Plaintext

rule HackTool_Win32_Impacketwmiexec_C{
meta:
description = "HackTool:Win32/Impacketwmiexec.C,SIGNATURE_TYPE_CMDHSTR_EXT,0d 00 0d 00 04 00 00 "
strings :
$a_00_0 = {5c 00 63 00 6d 00 64 00 2e 00 65 00 78 00 65 00 00 00 } //1
$a_00_1 = {3e 00 20 00 5c 00 5c 00 31 00 32 00 37 00 2e 00 30 00 2e 00 30 00 2e 00 31 00 5c 00 43 00 24 00 5c 00 57 00 69 00 6e 00 64 00 6f 00 77 00 73 00 5c 00 54 00 65 00 6d 00 70 00 5c 00 } //10 > \\127.0.0.1\C$\Windows\Temp\
$a_00_2 = {20 00 2f 00 63 00 20 00 } //1 /c
$a_00_3 = {20 00 32 00 3e 00 26 00 31 00 } //1 2>&1
condition:
((#a_00_0 & 1)*1+(#a_00_1 & 1)*10+(#a_00_2 & 1)*1+(#a_00_3 & 1)*1) >=13
}