Skip to content

Commit c75cb93

Browse files
committed
Rhadamanthys detection patterns
1 parent b7cf955 commit c75cb93

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

data/yara/CAPE/Rhadamanthys.yar

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,31 @@ rule Rhadamanthys
22
{
33
meta:
44
author = "kevoreilly, YungBinary"
5-
description = "Rhadamanthys Loader"
6-
cape_type = "Rhadamanthys Loader"
5+
description = "Rhadamanthys Payload"
6+
cape_type = "Rhadamanthys Payload"
77
strings:
88
$rc4 = {88 4C 01 08 41 81 F9 00 01 00 00 7C F3 89 75 08 33 FF 8B 4D 08 3B 4D 10 72 04 83 65 08 00}
99
$code = {8B 4D FC 3B CF 8B C1 74 0D 83 78 04 02 74 1C 8B 40 1C 3B C7 75 F3 3B CF 8B C1 74 57 83 78 04 17 74 09 8B 40 1C 3B C7 75 F3 EB}
10-
$conf = {46 BB FF 00 00 00 23 F3 0F B6 44 31 08 03 F8 23 FB 0F B6 5C 39 08 88 5C 31 08 88 44 39 08 02 C3 8B 5D 08 0F B6 C0 8A 44 08 08}
10+
$conf_1 = {46 BB FF 00 00 00 23 F3 0F B6 44 31 08 03 F8 23 FB 0F B6 5C 39 08 88 5C 31 08 88 44 39 08 02 C3 8B 5D 08 0F B6 C0 8A 44 08 08}
11+
$conf_2 = {0F B6 4F 2A 8D 77 2A 33 C0 6A 03 89 45 F8 89 45 FC 89 45 08 8B C1}
1112
$beef = {57 8D 44 33 FC 53 83 C6 FC 50 56 E8 [4] 83 C4 10 66 81 3F EF BE 0F 85}
12-
$config_2 = {0F B6 4F 2A 8D 77 2A 33 C0 6A 03 89 45 F8 89 45 FC 89 45 08 8B C1}
13-
$cape_string = "cape_options"
13+
$anti = {50 68 [4] 68 [4] E8 [4] 83 C4 0C A3 [4] 85 C0 74}
14+
$dnr = {99 52 50 8D 45 ?? 99 52 50 8B C7 99 52 50 8B C3 99 52 50}
15+
$sys = {83 E4 F0 6A 33 E8 00 00 00 00 83 04 24 05 CB}
16+
condition:
17+
2 of them
18+
}
19+
20+
rule RhadamanthysLoader
21+
{
22+
meta:
23+
author = "kevoreilly"
24+
description = "Rhadamanthys Loader"
25+
cape_type = "Rhadamanthys Loader"
26+
strings:
27+
$ref = {33 D2 B9 0B 00 00 00 F7 F1 B8 01 00 00 00 6B C8 00 8D 84 0D [4] 0F BE 0C 10 8B 95 [4] 03 95 [4] 0F B6 02 33 C1 8B 8D [4] 03 8D [4] 88 01}
28+
$ntdll = {B9 6E 00 00 00 66 89 8D [4] BA 74 00 00 00 66 89 95 [4] B8 64 00 00 00 66 89 85 [4] B9 6C 00 00 00 66 89 8D [4] BA 6C 00 00 00 66 89 95}
29+
$exit = {6A 00 6A 00 6A 00 6A 00 6A 00 6A 00 8B 95 [4] 52 8B 85 [4] 50 6A 00 68 FF FF 1F 00}
1430
condition:
15-
2 of them and not $cape_string
31+
2 of them
1632
}

0 commit comments

Comments
 (0)