File tree Expand file tree Collapse file tree 6 files changed +12
-9
lines changed Expand file tree Collapse file tree 6 files changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ rule APT_CN_TwistedPanda_loader {
32
32
$ seq3 = { 6A 00 6A 00 6A 03 6A 00 6A 03 68 00 00 00 80 }
33
33
34
34
// Decryption sequence
35
- $ decryption = { 8B C ? [2 - 3 ] F6 D ? 1A C ? [2 - 3 ] [ 2 - 3 ] 30 0 ? ?? 4 ? }
35
+ $ decryption = { 8B C ? [2 - 3 ] F6 D ? 1A C ? [4 - 6 ] 30 0 ? ?? 4 ? }
36
36
37
37
condition :
38
38
// MZ signature at offset 0 and ...
Original file line number Diff line number Diff line change @@ -1434,6 +1434,7 @@ rule IMPLANT_9_v1 {
1434
1434
author = " US CERT "
1435
1435
reference = " https://www.us-cert.gov/ncas/current-activity/2017/02/10/Enhanced-Analysis-GRIZZLY-STEPPE "
1436
1436
date = " 2017-02-10 "
1437
+ modified = " 2025-07-01 "
1437
1438
score = 85
1438
1439
id = " 5460ff29-681b-5d11-a6ba-5f294e8577e6 "
1439
1440
strings :
@@ -1443,7 +1444,7 @@ rule IMPLANT_9_v1 {
1443
1444
$ STR3 = { 8B 55 F8 8B C8 83 E1 03 8A 4C 11 08 8B 55 FC 32 0C 10 8B 17 88
1444
1445
4C 02 04 40 3B 06 72 E3 }
1445
1446
condition :
1446
- ( uint16 (0 ) == 0x5A4D or uint16 ( 0 )) and all of them
1447
+ uint16 (0 ) == 0x5A4D and all of them
1447
1448
}
1448
1449
1449
1450
/* TOO MANY FALSE POSITIVES
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ rule MAL_APT_NK_Andariel_HHSD_FileTransferTool {
90
90
description = " Detects a variant of the HHSD File Transfer Tool "
91
91
reference = " https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-207a "
92
92
date = " 2024-07-25 "
93
+ modified = " 2025-07-09 "
93
94
score = 70
94
95
id = " 46b6dbaf-1272-5bbd-a586-5e48ba6c5022 "
95
96
strings :
@@ -111,17 +112,17 @@ rule MAL_APT_NK_Andariel_HHSD_FileTransferTool {
111
112
// 41 02 D0 add dl, r8b
112
113
// 44 02 DA add r11b, dl
113
114
// 3C 1F cmp al, 1Fh
114
- $ buf_add_cmp_1f = { 4 ? 02 ?? 4 ? 02 ?? 3 ? 1F }
115
+ // $buf_add_cmp_1f = { 4? 02 ?? 4? 02 ?? 3? 1F } removed due to 1 byte atom
115
116
// B9 8D 10 B7 F8 mov ecx, 0F8B7108Dh
116
117
// E8 F1 BA FF FF call sub_140001280
117
118
$ hash_call_loadlib = { B ? 8D 10 B7 F8 E8 }
118
119
$ hash_call_unk = { B ? 91 B8 F6 88 E8 }
119
120
120
121
condition :
121
122
uint16 (0 ) == 0x5a4d
122
- and 1 of ($ handshake , $ err_xor_str , $ buf_add_cmp_1f )
123
+ and 1 of ($ handshake , $ err_xor_str )
123
124
and 1 of ($ hash_call_ * )
124
- or 2 of ($ handshake , $ err_xor_str , $ buf_add_cmp_1f )
125
+ or 2 of ($ handshake , $ err_xor_str )
125
126
}
126
127
127
128
rule MAL_APT_NK_Andariel_Atharvan_3RAT {
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ rule APT_Winnti_MAL_Dec19_3 {
209
209
score = 75
210
210
id = " 2e001c91-0794-5940-ad8c-8e58a01e100c "
211
211
strings :
212
- $ b1 = { 0F B7 ?? 16 [0 - 1 ] (81 E ? | 25 ) 00 20 [0 - 2 ] [ 8 ] 8B ?? 50 41 B9 40 00 00 00 41 B8 00 10 00 00 }
212
+ $ b1 = { 0F B7 ?? 16 [0 - 1 ] (81 E ? | 25 ) 00 20 [8 - 10 ] 8B ?? 50 41 B9 40 00 00 00 41 B8 00 10 00 00 }
213
213
$ b2 = { 8B 40 28 [5 - 8 ] 48 03 C8 48 8B C1 [5 - 8 ] 48 89 41 28 }
214
214
$ b3 = { 48 6B ?? 28 [5 - 8 ] 8B ?? ?? 10 [5 - 8 ] 48 6B ?? 28 [5 - 8 ] 8B ?? ?? 14 }
215
215
$ b4 = { 83 B ? 90 00 00 00 00 0F 84 [9 - 12 ] 83 B ? 94 00 00 00 00 0F 84 }
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ rule EXT_HKTL_Nighthawk_RAT
11
11
hash3 = " 38881b87826f184cc91559555a3456ecf00128e01986a9df36a72d60fb179ccf "
12
12
hash4 = " f3bba2bfd4ed48b5426e36eba3b7613973226983a784d24d7a20fcf9df0de74e "
13
13
hash5 = " b775a8f7629966592cc7727e2081924a7d7cf83edd7447aa60627a2b67d87c94 "
14
- modified = " 2022-11-30 "
15
- date = " 2022-11-22 "
14
+ modified = " 2025-07-01 "
15
+ date = " 2022-11-22 "
16
16
17
17
id = " 7a58b8bf-fb14-5758-bc2a-ad2c6fff1216 "
18
18
strings :
@@ -26,7 +26,7 @@ rule EXT_HKTL_Nighthawk_RAT
26
26
condition :
27
27
uint16 (0 ) == 0x5A4D and filesize < 2MB and
28
28
(3 of ($ pattern * ) or
29
- (pe .section_index (" .profile " ) and pe .section_index (" .detourc " ) and pe .section_index (" .detourd " )))
29
+ (pe .section_index (" .profile " ) >= 0 and pe .section_index (" .detourc " ) >= 0 and pe .section_index (" .detourd " ) >= 0 ))
30
30
}
31
31
32
32
rule HKTL_MAL_Nighthawk_Nov_2022_1 : nighthawk beacon {
Original file line number Diff line number Diff line change @@ -4741,6 +4741,7 @@ rule sql_php_php {
4741
4741
$ s3 = " print \" <a href= \\\" $_SERVER[PHP_SELF]?s=$s&login=$login&passwd=$passwd& "
4742
4742
condition :
4743
4743
1 of them
4744
+ and not uint32 (0 ) == 0x6D783F3C /* <?xm */
4744
4745
}
4745
4746
rule cgi_python_py {
4746
4747
meta :
You can’t perform that action at this time.
0 commit comments