YARA · CAPE Sandbox (CAPEv2)
CAPE_Stealcstrings
Stealc string decryption
- Auteur
- kevoreilly
- Date
- 2023-02-22
- Modifiée
- 2025-09-01
- Score / Qualité
- 75 / 70
Ce que détecte cette règle
Stealc string decryption
Famille de malware associée : Stealc.
Cibles : PE Windows.
Elle définit 1 motifs (0 texte, 1 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
stealcstrings.yarGNU General Public License v3.0
rule CAPE_Stealcstrings : FILE
{
meta:
= "Stealc string decryption"
= "kevoreilly"
= "087b5532-e1e7-5df9-adb2-bf758c8ba352"
= "2023-02-22"
= "2025-09-01"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/Stealc.yar#L15-L26"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "6d402446a979c00b6257ace9924db381d98c530b22968bd2776c66d58c7faefc"
= 75
= 70
= "FILE"
= "bp0=$decode+17,action0=string:edx,count=0,typestring=Stealc Strings"
= "d0c824e886f14b8c411940a07dc133012b9eed74901b156233ac4cac23378add"
strings:
$decode = {51 8B 15 [4] 52 8B 45 ?? 50 E8 [4] 83 C4 0C 6A 04 6A 00 8D 4D ?? 51 FF 15 [4] 83 C4 0C 8B 45 ?? 8B E5 5D C3}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
Chaînes (1 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $decode | hex | {51 8B 15 [4] 52 8B 45 ?? 50 E8 [4] 83 C4 0C 6A 04 6A 00 8D 4D ?? 51 FF 15 [4] 83 C4 0C 8B 45 ?? 8B E5 5D C3} |
Condition
uint16( 0 ) == 0x5A4D and any of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins un motif de la règle doit être trouvé.
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é.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : kevoreilly
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: 087b5532-e1e7-5df9-adb2-bf758c8ba352
Métadonnées
| cape_options | bp0=$decode+17,action0=string:edx,count=0,typestring=Stealc Strings |
|---|---|
| packed | d0c824e886f14b8c411940a07dc133012b9eed74901b156233ac4cac23378add |
Tags:FILE
Règles liées
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2023-02-22
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2023-02-22
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2023-02-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-08-27
- RUSSIANPANDA_Win_Mal_Stealc_V2Métadonnées seulesMalwareRussianPanda· RussianPanda· 2025-04-10
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2026-07-31