YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Bitcoingrabber
Detects generic bitcoin stealer
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects generic bitcoin stealer
Famille de malware associée : Bitcoingrabber.
Cibles : PE Windows.
Elle définit 9 motifs (9 texte, 0 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 DITEKSHEN_MALWARE_Win_Bitcoingrabber : FILE
{
meta:
= "Detects generic bitcoin stealer"
= "ditekSHen"
= "f73b58da-1db5-5767-ae0a-074648e30966"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5859-L5875"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "2dc762525c1fbf25517df52f0561d96d7469bf1367eada31c236fc313001c6cb"
= 75
= 75
= "FILE"
strings:
$s1 = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" wide
$s2 = "Bitcoin-Grabber" ascii
$s3 = "Bitcoin_Grabber" ascii
$s4 = "encrypt resources [compress]T" fullword ascii
$s5 = "code control flow obfuscationT" fullword ascii
$s6 = "\\Users\\lakol\\Desktop\\a\\Crypto Currency Wallet Changer\\" ascii
$pat1 = "\\b(bc1|[13])[a-zA-HJ-NP-Z0-9]{26,35}\\b" fullword wide
$pat2 = "\\b0x[a-fA-F0-9]{40}\\b" fullword wide
$pat3 = "\\b4([0-9]|[A-B])(.){93}\\b" fullword wide
condition:
uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( all of ( $pat* ) and 2 of ( $s* ) )
}
Chaînes (9 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" | wide |
| $s2 | texte | "Bitcoin-Grabber" | ascii |
| $s3 | texte | "Bitcoin_Grabber" | ascii |
| $s4 | texte | "encrypt resources [compress]T" | fullword ascii |
| $s5 | texte | "code control flow obfuscationT" | fullword ascii |
| $s6 | texte | "\\Users\\lakol\\Desktop\\a\\Crypto Currency Wallet Changer\\" | ascii |
| $pat1 | texte | "\\b(bc1|[13])[a-zA-HJ-NP-Z0-9]{26,35}\\b" | fullword wide |
| $pat2 | texte | "\\b0x[a-fA-F0-9]{40}\\b" | fullword wide |
| $pat3 | texte | "\\b4([0-9]|[A-B])(.){93}\\b" | fullword wide |
Condition
uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( all of ( $pat* ) and 2 of ( $s* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $pat* ) doivent être trouvés.
- Au moins 4 motifs de ( $s* ) doivent être trouvés.
- Au moins 2 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é.
Références
Licence et attribution
Auteur : ditekSHen
Dépôt source : ditekSHen detection @ e76c93dcde
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
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: f73b58da-1db5-5767-ae0a-074648e30966
Tags:FILE
Règles liées
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06