DefenderYara/TrojanDownloader/O97M/Predator/TrojanDownloader_O97M_Preda...

18 lines
1.7 KiB
Plaintext

rule TrojanDownloader_O97M_Predator_AR_MTB{
meta:
description = "TrojanDownloader:O97M/Predator.AR!MTB,SIGNATURE_TYPE_MACROHSTR_EXT,08 00 08 00 08 00 00 "
strings :
$a_01_0 = {23 49 66 20 57 69 6e 36 34 20 54 68 65 6e } //1 #If Win64 Then
$a_01_1 = {50 72 69 76 61 74 65 20 44 65 63 6c 61 72 65 20 50 74 72 53 61 66 65 20 46 75 6e 63 74 69 6f 6e 20 57 69 64 65 43 68 61 72 54 6f 4d 75 6c 74 69 42 79 74 65 20 4c 69 62 20 22 6b 65 72 6e 65 6c 33 32 22 20 28 42 79 56 61 6c 20 43 6f 64 65 50 61 67 65 20 41 73 20 4c 6f 6e 67 50 74 72 2c 20 42 79 56 61 6c 20 64 77 46 6c 61 67 73 20 41 73 20 4c 6f 6e 67 50 74 72 2c } //1 Private Declare PtrSafe Function WideCharToMultiByte Lib "kernel32" (ByVal CodePage As LongPtr, ByVal dwFlags As LongPtr,
$a_01_2 = {50 72 69 76 61 74 65 20 44 65 63 6c 61 72 65 20 50 74 72 53 61 66 65 20 46 75 6e 63 74 69 6f 6e 20 4d 75 6c 74 69 42 79 74 65 54 6f 57 69 64 65 43 68 61 72 20 4c 69 62 20 22 6b 65 72 6e 65 6c 33 32 22 20 28 42 79 56 61 6c 20 43 6f 64 65 50 61 67 65 20 41 73 20 4c 6f 6e 67 50 74 72 2c 20 42 79 56 61 6c 20 64 77 46 6c 61 67 73 20 41 73 20 4c 6f 6e 67 50 74 72 2c } //1 Private Declare PtrSafe Function MultiByteToWideChar Lib "kernel32" (ByVal CodePage As LongPtr, ByVal dwFlags As LongPtr,
$a_03_3 = {4f 6e 20 45 72 72 6f 72 20 5f [0-08] 52 65 73 75 6d 65 20 4e 65 78 74 [0-08] 43 61 6c 6c } //1
$a_01_4 = {2e 78 6c 73 22 } //1 .xls"
$a_01_5 = {2e 43 72 65 61 74 65 45 6c 65 6d 65 6e 74 28 22 62 36 34 22 29 } //1 .CreateElement("b64")
$a_01_6 = {2e 43 52 45 41 54 45 20 5f } //1 .CREATE _
$a_03_7 = {4e 75 6c 6c 2c 20 4e 75 6c 6c 2c 20 [0-10] 29 } //1
condition:
((#a_01_0 & 1)*1+(#a_01_1 & 1)*1+(#a_01_2 & 1)*1+(#a_03_3 & 1)*1+(#a_01_4 & 1)*1+(#a_01_5 & 1)*1+(#a_01_6 & 1)*1+(#a_03_7 & 1)*1) >=8
}