DefenderYara/VirTool/WinNT/Protmin/VirTool_WinNT_Protmin_gen_A...

41 lines
4.8 KiB
Plaintext

rule VirTool_WinNT_Protmin_gen_A{
meta:
description = "VirTool:WinNT/Protmin.gen!A,SIGNATURE_TYPE_PEHSTR_EXT,2d 00 23 00 1f 00 00 02 00 "
strings :
$a_00_0 = {5c 63 6e 73 6d 69 6e 2e 64 6c 6c } //02 00 \cnsmin.dll
$a_00_1 = {52 65 6c 65 61 73 65 32 4b 5c 43 6e 73 4d 69 6e 4b 50 4e 54 76 32 } //02 00 Release2K\CnsMinKPNTv2
$a_00_2 = {53 79 73 74 65 6d 33 32 5c 63 6e 73 2e 65 78 65 } //02 00 System32\cns.exe
$a_00_3 = {53 79 73 74 65 6d 33 32 5c 63 6e 73 2e 64 6c 6c } //03 00 System32\cns.dll
$a_00_4 = {73 00 6f 00 66 00 74 00 77 00 61 00 72 00 65 00 5c 00 6d 00 69 00 63 00 72 00 6f 00 73 00 6f 00 66 00 74 00 5c 00 69 00 6e 00 74 00 65 00 72 00 6e 00 65 00 74 00 20 00 65 00 78 00 70 00 6c 00 6f 00 72 00 65 00 72 00 5c 00 75 00 72 00 6c 00 73 00 65 00 61 00 72 00 63 00 68 00 68 00 6f 00 6f 00 6b 00 73 00 } //03 00 software\microsoft\internet explorer\urlsearchhooks
$a_00_5 = {72 00 65 00 67 00 69 00 73 00 74 00 72 00 79 00 5c 00 6d 00 61 00 63 00 68 00 69 00 6e 00 65 00 5c 00 73 00 6f 00 66 00 74 00 77 00 61 00 72 00 65 00 5c 00 6d 00 69 00 63 00 72 00 6f 00 73 00 6f 00 66 00 74 00 5c 00 77 00 69 00 6e 00 64 00 6f 00 77 00 73 00 5c 00 63 00 75 00 72 00 72 00 65 00 6e 00 74 00 76 00 65 00 72 00 73 00 69 00 6f 00 6e 00 5c 00 65 00 78 00 70 00 6c 00 6f 00 72 00 65 00 72 00 5c 00 73 00 68 00 65 00 6c 00 6c 00 65 00 78 00 65 00 63 00 75 00 74 00 65 00 68 00 6f 00 6f 00 6b 00 73 00 } //02 00 registry\machine\software\microsoft\windows\currentversion\explorer\shellexecutehooks
$a_00_6 = {73 73 70 72 6f 74 2e 73 79 73 } //02 00 ssprot.sys
$a_00_7 = {47 50 69 67 65 6f 6e } //02 00 GPigeon
$a_00_8 = {76 69 63 65 6c 6f } //02 00 vicelo
$a_00_9 = {52 53 44 53 58 59 } //02 00 RSDSXY
$a_00_10 = {6b 65 79 73 70 79 } //02 00 keyspy
$a_00_11 = {41 64 70 6c 75 73 } //03 00 Adplus
$a_00_12 = {5c 00 52 00 65 00 67 00 69 00 73 00 74 00 72 00 79 00 5c 00 4d 00 61 00 63 00 68 00 69 00 6e 00 65 00 5c 00 53 00 6f 00 66 00 74 00 77 00 61 00 72 00 65 00 5c 00 43 00 4e 00 52 00 45 00 44 00 49 00 52 00 45 00 43 00 54 00 } //03 00 \Registry\Machine\Software\CNREDIRECT
$a_00_13 = {5c 73 79 73 74 65 6d 5c 63 75 72 72 65 6e 74 63 6f 6e 74 72 6f 6c 73 65 74 5c 73 65 72 76 69 63 65 73 5c 73 73 70 72 6f 74 } //03 00 \system\currentcontrolset\services\ssprot
$a_00_14 = {5c 00 44 00 65 00 76 00 69 00 63 00 65 00 5c 00 43 00 6e 00 73 00 4d 00 69 00 6e 00 4b 00 50 00 } //03 00 \Device\CnsMinKP
$a_00_15 = {73 00 44 00 72 00 69 00 76 00 65 00 72 00 73 00 5c 00 43 00 6e 00 73 00 6d 00 69 00 6e 00 4b 00 50 00 2e 00 73 00 79 00 73 00 } //03 00 sDrivers\CnsminKP.sys
$a_00_16 = {5c 00 46 00 69 00 6c 00 65 00 53 00 79 00 73 00 74 00 65 00 6d 00 5c 00 46 00 69 00 6c 00 74 00 65 00 72 00 73 00 5c 00 53 00 53 00 50 00 72 00 6f 00 74 00 } //03 00 \FileSystem\Filters\SSProt
$a_00_17 = {44 00 72 00 69 00 76 00 65 00 72 00 73 00 5c 00 43 00 6e 00 73 00 6d 00 69 00 6e 00 4b 00 50 00 2e 00 73 00 79 00 73 00 } //04 00 Drivers\CnsminKP.sys
$a_00_18 = {42 00 61 00 73 00 65 00 4e 00 61 00 6d 00 65 00 73 00 4f 00 62 00 6a 00 65 00 63 00 74 00 5c 00 43 00 6e 00 73 00 4d 00 69 00 6e 00 4b 00 50 00 } //04 00 BaseNamesObject\CnsMinKP
$a_00_19 = {5c 00 42 00 61 00 73 00 65 00 4e 00 61 00 6d 00 65 00 64 00 4f 00 62 00 6a 00 65 00 63 00 74 00 73 00 5c 00 43 00 6e 00 73 00 4d 00 69 00 6e 00 4b 00 50 00 45 00 76 00 65 00 6e 00 74 00 } //0f 00 \BaseNamedObjects\CnsMinKPEvent
$a_02_20 = {8b 55 08 c7 06 70 00 00 00 c7 46 04 90 01 02 01 00 c7 46 08 90 01 02 01 00 c7 46 0c 90 01 02 01 00 c7 46 10 90 01 02 01 00 c7 46 14 90 01 02 01 00 c7 46 18 90 01 02 01 00 c7 46 1c 90 01 02 01 00 90 00 } //0c 00
$a_02_21 = {89 72 28 a1 90 01 02 01 00 83 c4 0c 83 f8 05 75 0b 83 3d 90 00 } //0a 00
$a_00_22 = {89 45 b8 89 45 c0 89 45 c8 89 45 d0 89 45 d8 89 45 e0 } //05 00
$a_02_23 = {68 49 66 73 20 33 db be 00 02 00 00 56 53 89 5d f8 88 5d ff ff 15 90 01 02 01 00 8b f8 3b fb 90 00 } //05 00
$a_02_24 = {68 49 66 73 20 be 00 02 00 00 33 db 56 53 89 5d fc ff 15 90 01 02 01 00 8b f8 3b fb 0f 90 00 } //05 00
$a_02_25 = {68 49 66 73 20 83 c7 38 b8 90 01 02 01 00 6a 70 f3 ab 8b 3d 90 01 02 01 00 53 ff d7 8b f0 90 00 } //05 00
$a_00_26 = {68 49 66 73 20 ab be 00 04 00 00 56 53 89 5d fc ab 89 5d f8 ff 15 } //05 00
$a_02_27 = {6a 1c 59 68 49 66 73 20 b8 90 01 02 01 00 c7 46 34 90 01 02 01 00 8d 7e 38 6a 70 f3 ab 8b 3d 90 00 } //05 00
$a_02_28 = {53 68 76 72 44 00 68 00 04 00 00 53 53 53 68 90 01 02 01 00 ff 15 90 00 } //04 00
$a_00_29 = {8b 75 0c 0f b7 06 40 68 49 66 73 20 40 50 53 ff d7 a3 b0 90 01 00 0f b7 0e } //10 00
$a_02_30 = {8b 45 08 c7 06 70 00 00 00 c7 46 04 90 01 02 01 00 c7 46 08 90 01 02 01 00 c7 46 0c 90 01 02 01 00 c7 46 10 90 01 02 01 00 c7 46 14 90 01 02 01 00 c7 46 18 90 01 02 01 00 c7 46 1c 90 01 02 01 00 c7 46 20 90 01 02 01 00 c7 46 24 90 01 02 01 00 c7 46 28 90 00 } //00 00
condition:
any of ($a_*)
}