YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Clipbanker02
Detects ClipBanker infostealer
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects ClipBanker infostealer
Famille de malware associée : Clipbanker02.
Cibles : PE Windows.
Elle définit 18 motifs (18 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_Clipbanker02 : FILE
{
meta:
= "Detects ClipBanker infostealer"
= "ditekSHen"
= "c2a480cf-e81b-53a2-999a-80209050e0cf"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L8789-L8814"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "51a43245b1e0b6fea874302b73bf552012c54c3f7c12b8c447c96c2ffdcc1dcb"
= 75
= 75
= "FILE"
strings:
$x1 = "\\Allcome\\Source code\\Clipper\\" ascii nocase
$x2 = "\\cleaper\\Release\\cleaper.pdb" ascii nocase
$v1_1 = "&username=" fullword ascii
$v1_2 = "/card.php?data=" fullword ascii
$v1_3 = "/Create /tn MicrosoftDriver /sc MINUTE /tr" fullword ascii
$v1_4 = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0" fullword ascii
$v1_5 = "/API/Clipper/ykesqk0o.php?cf6zrlhn=" fullword ascii
$v1_6 = "&di7ztth6=" fullword ascii
$v1_7 = "/API/Clipper/hr627gzk.php?v6etwxo5=" fullword ascii
$v2_1 = "bitcoincash:" fullword ascii
$v2_2 = "\\Microsoft\\Windows\\Start Menu\\Programs\\Startup" ascii
$re1 = "^[0-9]{16}$" fullword ascii
$re2 = "^[0-9]{4}\\s[0-9]{4}\\s[0-9]{4}\\s[0-9]{4}" fullword ascii
$re3 = "^\\d{2}\\D\\d{2}" fullword ascii
$re4 = "^[0-9]{3}" fullword ascii
$re5 = "([\\W]?[0-9]{4}[\\W]?[0-9]{4}[\\W]?[0-9]{4}[\\W]?[0-9]{4}[\\W]?)" fullword ascii
$re6 = "(\\d{2}\\D\\d{2})" fullword ascii
$re7 = "(\\d{3})" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and ( 5 of ( $v1* ) or all of ( $v2* ) ) ) or ( 3 of ( $re* ) and ( 2 of ( $v1* ) or 2 of ( $v2* ) ) ) )
}
Chaînes (18 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "\\Allcome\\Source code\\Clipper\\" | ascii nocase |
| $x2 | texte | "\\cleaper\\Release\\cleaper.pdb" | ascii nocase |
| $v1_1 | texte | "&username=" | fullword ascii |
| $v1_2 | texte | "/card.php?data=" | fullword ascii |
| $v1_3 | texte | "/Create /tn MicrosoftDriver /sc MINUTE /tr" | fullword ascii |
| $v1_4 | texte | "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0" | fullword ascii |
| $v1_5 | texte | "/API/Clipper/ykesqk0o.php?cf6zrlhn=" | fullword ascii |
| $v1_6 | texte | "&di7ztth6=" | fullword ascii |
| $v1_7 | texte | "/API/Clipper/hr627gzk.php?v6etwxo5=" | fullword ascii |
| $v2_1 | texte | "bitcoincash:" | fullword ascii |
| $v2_2 | texte | "\\Microsoft\\Windows\\Start Menu\\Programs\\Startup" | ascii |
| $re1 | texte | "^[0-9]{16}$" | fullword ascii |
| $re2 | texte | "^[0-9]{4}\\s[0-9]{4}\\s[0-9]{4}\\s[0-9]{4}" | fullword ascii |
| $re3 | texte | "^\\d{2}\\D\\d{2}" | fullword ascii |
| $re4 | texte | "^[0-9]{3}" | fullword ascii |
| $re5 | texte | "([\\W]?[0-9]{4}[\\W]?[0-9]{4}[\\W]?[0-9]{4}[\\W]?[0-9]{4}[\\W]?)" | fullword ascii |
| $re6 | texte | "(\\d{2}\\D\\d{2})" | fullword ascii |
| $re7 | texte | "(\\d{3})" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and ( 5 of ( $v1* ) or all of ( $v2* ) ) ) or ( 3 of ( $re* ) and ( 2 of ( $v1* ) or 2 of ( $v2* ) ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $v2* ) doivent être trouvés.
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 5 motifs de ( $v1* ) doivent être trouvés.
- Au moins 3 motifs de ( $re* ) doivent être trouvés.
- Au moins 2 motifs de ( $v1* ) doivent être trouvés.
- Au moins 2 motifs de ( $v2* ) 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: c2a480cf-e81b-53a2-999a-80209050e0cf
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