YARA · CAPE Sandbox (CAPEv2)
CAPE_Stxrat
No description has been set in the source file - CAPE
- Auteur
- YungBinary
- Date
- 2026-04-11
- Modifiée
- 2026-04-14
- Score / Qualité
- 75 / 70
Ce que détecte cette règle
No description has been set in the source file - CAPE
Cibles : PE Windows.
Elle définit 8 motifs (1 texte, 7 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
rule CAPE_Stxrat : FILE
{
meta:
= "No description has been set in the source file - CAPE"
= "YungBinary"
= "9ce51412-52ce-5682-802d-fad96c053c30"
= "2026-04-11"
= "2026-04-14"
= "https://www.esentire.com/blog/stx-rat-a-new-rat-in-2026-with-infostealer-capabilities"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/data/yara/CAPE/STXRat.yar#L49-L120"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "f82b832e6bf936ff936332c059b1d3b981ce387bf82964ecf64a9cb12cda955d"
= 75
= 70
= "FILE"
= "STXRat Payload"
strings:
$s1 = {
8D 51 BF
83 FA 19
8D 41 20
0F 47 C1
C2
}
$s2 = {
48 8D 05 ?? ?? ?? ??
66 C7 45 ?? 48 B8 [0-6]
48 89 45 ??
48 8D 55 ??
66 C7 45 ?? FF E0
}
$s3 = {
65 48 8B 04 25 60 00 00 00
80 78 02 01
}
$s4 = "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)" ascii
$s5 = {
B9 10 66 00 00 [0-3]
0F 44 C1
B9 0F 66 00 00
41 81 ?? C0 00 00 00
0F 44 C1
B9 0E 66 00 00
}
$s6 = {
48 83 FB 5A
73 ??
88 84 1C ?? ?? ?? ??
48 FF C3
48 FF C1
8A 01
84 C0
75
}
$s7 = {
83 61 18 00
83 61 14 00
C7 01 01 23 45 67
C7 41 04 89 AB CD EF
C7 41 08 FE DC BA 98
C7 41 0C 76 54 32 10
C7 41 10 F0 E1 D2 C3
C3
}
$s8 = {
80 61 1F 3F
80 49 1F 40
80 21 F8
}
condition:
uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) )
}
Chaînes (8 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | hex | { 8D 51 BF 83 FA 19 8D 41 20 0F 47 C1 C2 } | |
| $s2 | hex | { 48 8D 05 ?? ?? ?? ?? 66 C7 45 ?? 48 B8 [0-6] 48 89 45 ?? 48 8D 55 ?? 66 C7 45 ?? FF E0 } | |
| $s3 | hex | { 65 48 8B 04 25 60 00 00 00 80 78 02 01 } | |
| $s4 | texte | "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)" | ascii |
| $s5 | hex | { B9 10 66 00 00 [0-3] 0F 44 C1 B9 0F 66 00 00 41 81 ?? C0 00 00 00 0F 44 C1 B9 0E 66 00 … | |
| $s6 | hex | { 48 83 FB 5A 73 ?? 88 84 1C ?? ?? ?? ?? 48 FF C3 48 FF C1 8A 01 84 C0 … | |
| $s7 | hex | { 83 61 18 00 83 61 14 00 C7 01 01 23 45 67 C7 41 04 89 AB CD EF C7 41 08 FE DC BA 98 C7 … | |
| $s8 | hex | { 80 61 1F 3F 80 49 1F 40 80 21 F8 } |
Condition
uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 4 motifs de ( $s* ) doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Licence et attribution
Auteur : YungBinary
Dépôt source : CAPE Sandbox (CAPEv2) @ 6b15e76f28
Licence : GNU General Public License v3.0 (licence du dépôt)
Mention de copyright : Cuckoo Sandbox is copyrighted by the Cuckoo Foundation.
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 9ce51412-52ce-5682-802d-fad96c053c30
Métadonnées
| cape_type | STXRat Payload |
|---|
Tags:FILE
Règles liées
- MalwareCAPE Sandbox (CAPEv2)· YungBinary· 2025-09-04
- MalwareCAPE Sandbox (CAPEv2)· YungBinary· 2024-10-25
- GénériqueCAPE Sandbox (CAPEv2)· YungBinary· 2025-10-24
- MalwareCAPE Sandbox (CAPEv2)· YungBinary· 2025-10-17