YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Babuk
Detects Babuk ransomware
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects Babuk ransomware
Famille de malware associée : Babuk.
Cibles : PE Windows.
Elle définit 15 motifs (14 texte, 0 hex, 1 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
malware-win-babuk.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Babuk : FILE
{
meta:
= "Detects Babuk ransomware"
= "ditekSHen"
= "6bb7093f-bbef-5b43-b4f9-be72ae4ef319"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3652-L3674"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "5ca5c5106747cf8f4ccd5df4ddbc78321fea3c8f533cb807a704d270eb956007"
= 75
= 75
= "FILE"
strings:
$s1 = "ecdh_pub_k.bin" wide
$s2 = "How To Restore Your Files.txt" wide
$s3 = /(babuk|babyk)\s(ransomware|locker)/ ascii nocase
$s4 = "/login.php?id=" ascii
$s5 = "http://babuk" ascii
$s6 = "bootsect.bak" fullword wide
$s7 = "Can't open file after killHolder" ascii
$s8 = "Can't OpenProcess" ascii
$s9 = "DoYouWantToHaveSexWithCuongDong" ascii
$arg1 = "-lanfirst" fullword ascii
$arg2 = "-lansecond" fullword ascii
$arg3 = "-nolan" fullword ascii
$arg4 = "shares" fullword wide
$arg5 = "paths" fullword wide
$arg6 = "gdebug" fullword wide
condition:
uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or ( 3 of ( $arg* ) and 2 of ( $s* ) ) )
}
Chaînes (15 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "ecdh_pub_k.bin" | wide |
| $s2 | texte | "How To Restore Your Files.txt" | wide |
| $s3 | regex | /(babuk|babyk)\s(ransomware|locker)/ | ascii nocase |
| $s4 | texte | "/login.php?id=" | ascii |
| $s5 | texte | "http://babuk" | ascii |
| $s6 | texte | "bootsect.bak" | fullword wide |
| $s7 | texte | "Can't open file after killHolder" | ascii |
| $s8 | texte | "Can't OpenProcess" | ascii |
| $s9 | texte | "DoYouWantToHaveSexWithCuongDong" | ascii |
| $arg1 | texte | "-lanfirst" | fullword ascii |
| $arg2 | texte | "-lansecond" | fullword ascii |
| $arg3 | texte | "-nolan" | fullword ascii |
| $arg4 | texte | "shares" | fullword wide |
| $arg5 | texte | "paths" | fullword wide |
| $arg6 | texte | "gdebug" | fullword wide |
Condition
uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or ( 3 of ( $arg* ) and 2 of ( $s* ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 3 motifs de ( $s* ) doivent être trouvés.
- Au moins 3 motifs de ( $arg* ) 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é.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
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: 6bb7093f-bbef-5b43-b4f9-be72ae4ef319
Tags:FILE
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2024-10-31
- MalwareTrellix Advanced Research Center· TS @ McAfee ATR· 2021-01-19
- MalwareTrellix Advanced Research Center· McAfee ATR· 2021-02-19
- ARKBIRD_SOLG_RAN_Piton_Nov_2021_1Métadonnées seulesMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-11-03
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06