YARA · CAPE Sandbox (CAPEv2)
CAPE_Stealcv2Datecheck
StealcV2 date check bypass
- Auteur
- kevoreilly
- Date
- 2023-02-22
- Modifiée
- 2025-09-01
- Score / Qualité
- 75 / 70
Ce que détecte cette règle
StealcV2 date check bypass
Cibles : PE Windows.
Elle définit 2 motifs (0 texte, 2 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
stealcv2datecheck.yarGNU General Public License v3.0
rule CAPE_Stealcv2Datecheck : FILE
{
meta:
= "StealcV2 date check bypass"
= "kevoreilly"
= "4969d005-3532-5b75-9fa9-10e09bab338e"
= "2023-02-22"
= "2025-09-01"
= "https://github.com/kevoreilly/CAPEv2"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/analyzer/windows/data/yara/Stealc.yar#L45-L56"
= "https://github.com/kevoreilly/CAPEv2/blob/6b15e76f28cd83fd1187da6c9aaaad2174255356/LICENSE"
= "f074aceb7c111156752891acac8690c00dad7c26240fb0752cc12a9a65aa3d30"
= 75
= 70
= "FILE"
= "patch=$date32*-1:B000,patch=$date64*-2:B00090"
strings:
$date32 = {F3 A5 8D 45 ?? 50 E8 [4] 59 8B F8 8B F2 8D 45 ?? 50 E8 [4] 59 3B F2 7C 08 7F 04 3B F8 76 02 B3 01 8A C3}
$date64 = {0F 11 44 [2] 0F 11 8C [2] 00 00 00 89 8C [2] 00 00 00 48 8D 4C [2] E8 [4] 48 8B D8 48 8D 4C [2] E8 [4] 48 3B D8 0F 9F C0}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
Chaînes (2 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $date32 | hex | {F3 A5 8D 45 ?? 50 E8 [4] 59 8B F8 8B F2 8D 45 ?? 50 E8 [4] 59 3B F2 7C 08 7F 04 3B F8 76 02 B3 01 8A C3} | |
| $date64 | hex | {0F 11 44 [2] 0F 11 8C [2] 00 00 00 89 8C [2] 00 00 00 48 8D 4C [2] E8 [4] 48 8B D8 48 8D 4C [2] E8 [4] 48 3B D8 0F 9F C0} |
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: 4969d005-3532-5b75-9fa9-10e09bab338e
Métadonnées
| cape_options | patch=$date32*-1:B000,patch=$date64*-2:B00090 |
|---|
Tags:FILE
Règles liées
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2026-07-31
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-02-26
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-01-05
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-03-07
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-03-07
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2024-10-04