Skip to content

Commit 59ac0b4

Browse files
authored
Combining STXRatLoader & STXRat into single sig #2
1 parent 2d76f93 commit 59ac0b4

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

data/yara/CAPE/STXRat.yar

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,57 @@
1+
rule STXRatLoader
2+
{
3+
meta:
4+
author = "YungBinary"
5+
description = "https://www.esentire.com/blog/stx-rat-a-new-rat-in-2026-with-infostealer-capabilities"
6+
cape_type = "STXRat Loader"
7+
strings:
8+
9+
// Kernel32 ROR-14
10+
$ror1 = { B9 4E 15 F5 1F E8 }
11+
// VirtualProtect ROR-14
12+
$ror2 = {
13+
BA 35 EC 33 57
14+
48 8B C8
15+
48 8B D8
16+
E8
17+
}
18+
// CreateThread ROR-14
19+
$ror3 = {
20+
BA 36 91 AC 32
21+
}
22+
// Ntdll ROR-14
23+
$ror4 = {
24+
BA 7E 91 90 5A
25+
48 8B C8
26+
E8
27+
}
28+
// XXTEA constant
29+
$s1 = {
30+
69 D0 47 86 C8 61
31+
}
32+
// Zlib
33+
$s2 = {
34+
B8 85 10 42 08
35+
41 F7 E2
36+
}
37+
// ROR
38+
$s3 = {
39+
41 C1 C8 0E
40+
0F BE C0
41+
44 03 C0
42+
}
43+
$init = "init"
44+
$run = "run"
45+
condition:
46+
uint16(0) == 0x5a4d and $init and $run and 1 of ($ror*) and 1 of ($s*)
47+
}
48+
149
rule STXRat
250
{
351
meta:
452
author = "YungBinary"
553
description = "https://www.esentire.com/blog/stx-rat-a-new-rat-in-2026-with-infostealer-capabilities"
54+
cape_type = "STXRat Payload"
655
strings:
756
857
// Lowercasing

0 commit comments

Comments
 (0)