YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Bhunt
Detects BHunt infostealer
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects BHunt infostealer
Famille de malware associée : Bhunt.
Cibles : PE Windows.
Elle définit 14 motifs (14 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_Bhunt : FILE
{
meta:
= "Detects BHunt infostealer"
= "ditekSHen"
= "4c699f10-64a0-5e3c-af00-e08ebe1c6830"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9212-L9233"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "ca0a7e6898047fa3b369125a4402e2beffd328a5db47b1d5dd5914a86d6f0073"
= 75
= 75
= "FILE"
strings:
$x1 = "BHUNT.Resources.resources" fullword ascii
$x2 = "//minecraftsquid.hopto.org/" wide
$s1 = "chaos_crew" ascii wide
$s2 = "golden7" ascii wide
$s3 = "mrpropper" ascii wide
$s4 = "/ifo.php?" ascii wide
$s5 = "bonanza=:=" ascii wide
$s6 = "blackjack=:=" ascii wide
$s7 = "SendPostData" fullword ascii
$c1 = "cmd /c REG ADD" wide
$c2 = "taskkill /F /IM" wide
$c3 = "cmd.exe /c wmic" wide
$g1 = "$ca9a291d-266c-41dc-9f1c-93cfe0dcac16" fullword ascii
$g2 = "$6d0feb35-213d-4b9f-afc7-06d168cfcb5e" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 1 of ( $x* ) and ( 5 of ( $s* ) or 2 of ( $c* ) ) ) or ( 6 of ( $s* ) and 2 of ( $c* ) ) or ( all of ( $g* ) and 2 of them ) )
}
Chaînes (14 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "BHUNT.Resources.resources" | fullword ascii |
| $x2 | texte | "//minecraftsquid.hopto.org/" | wide |
| $s1 | texte | "chaos_crew" | ascii wide |
| $s2 | texte | "golden7" | ascii wide |
| $s3 | texte | "mrpropper" | ascii wide |
| $s4 | texte | "/ifo.php?" | ascii wide |
| $s5 | texte | "bonanza=:=" | ascii wide |
| $s6 | texte | "blackjack=:=" | ascii wide |
| $s7 | texte | "SendPostData" | fullword ascii |
| $c1 | texte | "cmd /c REG ADD" | wide |
| $c2 | texte | "taskkill /F /IM" | wide |
| $c3 | texte | "cmd.exe /c wmic" | wide |
| $g1 | texte | "$ca9a291d-266c-41dc-9f1c-93cfe0dcac16" | fullword ascii |
| $g2 | texte | "$6d0feb35-213d-4b9f-afc7-06d168cfcb5e" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 1 of ( $x* ) and ( 5 of ( $s* ) or 2 of ( $c* ) ) ) or ( 6 of ( $s* ) and 2 of ( $c* ) ) or ( all of ( $g* ) and 2 of them ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $x* ) doivent être trouvés.
- Tous les motifs de ( $g* ) doivent être trouvés.
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 5 motifs de ( $s* ) doivent être trouvés.
- Au moins 2 motifs de ( $c* ) doivent être trouvés.
- Au moins 6 motifs de ( $s* ) doivent être trouvés.
- Au moins 2 motifs de la règle 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: 4c699f10-64a0-5e3c-af00-e08ebe1c6830
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