DefenderYara/Backdoor/BAT/WebShell/Backdoor_BAT_WebShell_AH_MT...

18 lines
1.7 KiB
Plaintext

rule Backdoor_BAT_WebShell_AH_MTB{
meta:
description = "Backdoor:BAT/WebShell.AH!MTB,SIGNATURE_TYPE_PEHSTR_EXT,08 00 08 00 08 00 00 "
strings :
$a_01_0 = {62 00 64 00 62 00 63 00 61 00 32 00 38 00 38 00 66 00 65 00 65 00 37 00 66 00 39 00 32 00 66 00 32 00 62 00 66 00 61 00 39 00 66 00 37 00 30 00 31 00 32 00 37 00 32 00 37 00 37 00 34 00 30 00 } //1 bdbca288fee7f92f2bfa9f7012727740
$a_01_1 = {49 00 49 00 53 00 3a 00 2f 00 2f 00 6c 00 6f 00 63 00 61 00 6c 00 68 00 6f 00 73 00 74 00 2f 00 57 00 33 00 53 00 56 00 43 00 } //1 IIS://localhost/W3SVC
$a_01_2 = {42 00 61 00 63 00 6b 00 64 00 6f 00 6f 00 72 00 } //1 Backdoor
$a_01_3 = {42 00 69 00 6e 00 5f 00 42 00 75 00 74 00 74 00 6f 00 6e 00 5f 00 4b 00 69 00 6c 00 6c 00 4d 00 65 00 } //1 Bin_Button_KillMe
$a_01_4 = {46 00 69 00 6c 00 65 00 20 00 61 00 74 00 74 00 72 00 69 00 62 00 75 00 74 00 65 00 73 00 20 00 6d 00 6f 00 64 00 69 00 66 00 79 00 20 00 73 00 75 00 63 00 63 00 65 00 73 00 73 00 21 00 } //1 File attributes modify success!
$a_01_5 = {50 00 72 00 6f 00 63 00 65 00 73 00 73 00 20 00 4b 00 69 00 6c 00 6c 00 20 00 53 00 75 00 63 00 63 00 65 00 73 00 73 00 20 00 21 00 } //1 Process Kill Success !
$a_01_6 = {43 00 6c 00 65 00 61 00 72 00 20 00 41 00 6c 00 6c 00 20 00 54 00 68 00 72 00 65 00 61 00 64 00 20 00 2e 00 2e 00 2e 00 2e 00 2e 00 2e 00 } //1 Clear All Thread ......
$a_01_7 = {46 00 69 00 6c 00 65 00 20 00 74 00 69 00 6d 00 65 00 20 00 63 00 6c 00 6f 00 6e 00 65 00 20 00 73 00 75 00 63 00 63 00 65 00 73 00 73 00 21 00 } //1 File time clone success!
condition:
((#a_01_0 & 1)*1+(#a_01_1 & 1)*1+(#a_01_2 & 1)*1+(#a_01_3 & 1)*1+(#a_01_4 & 1)*1+(#a_01_5 & 1)*1+(#a_01_6 & 1)*1+(#a_01_7 & 1)*1) >=8
}