DefenderYara/TrojanDownloader/O97M/Donoff/TrojanDownloader_O97M_Donof...

17 lines
1.1 KiB
Plaintext

rule TrojanDownloader_O97M_Donoff_ER{
meta:
description = "TrojanDownloader:O97M/Donoff.ER,SIGNATURE_TYPE_MACROHSTR_EXT,04 00 04 00 07 00 00 "
strings :
$a_01_0 = {2b 20 41 72 72 61 79 28 22 63 6d 64 2e 65 78 65 20 2f 63 20 22 22 70 6f 77 65 72 73 68 65 22 29 28 30 29 } //1 + Array("cmd.exe /c ""powershe")(0)
$a_03_1 = {2b 20 41 72 72 61 79 28 22 6c 6c 20 20 24 [0-10] 3d 27 5e [0-08] 27 3b [0-08] 22 29 28 30 29 } //1
$a_03_2 = {49 6e 76 6f 6b 65 2d [0-20] 22 29 28 30 29 } //1
$a_03_3 = {53 68 65 6c 6c 20 [0-08] 2c 20 [0-10] 45 6e 64 20 49 66 } //1
$a_01_4 = {2c 20 22 63 6d 64 2e 65 78 65 20 2f 63 20 22 22 70 6f 77 65 72 73 68 65 6c 6c 20 20 24 } //1 , "cmd.exe /c ""powershell $
$a_03_5 = {6e 76 6f 6b 65 2d 45 78 70 72 65 73 73 [0-30] 2c 20 4e 61 4e 2c 20 4e 61 4e 2c } //1
$a_03_6 = {3d 20 41 72 72 61 79 28 4e 61 4e 2c 20 [0-60] 2c 20 4e 61 4e 2c 20 4e 61 4e 2c 20 4e 61 4e 2c 20 4e 61 4e 2c 20 4e 61 4e 2c 20 4e 61 4e 29 } //1
condition:
((#a_01_0 & 1)*1+(#a_03_1 & 1)*1+(#a_03_2 & 1)*1+(#a_03_3 & 1)*1+(#a_01_4 & 1)*1+(#a_03_5 & 1)*1+(#a_03_6 & 1)*1) >=4
}