YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Abubasbanditbot
Detects Abubasbandit Bot. Observed to drop cryptocurrency miner detected by MALWARE_Win_CoinMiner02
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects Abubasbandit Bot. Observed to drop cryptocurrency miner detected by MALWARE_Win_CoinMiner02
Famille de malware associée : Abubasbanditbot.
Cibles : PE Windows.
Elle définit 10 motifs (10 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_Abubasbanditbot : FILE
{
meta:
= "Detects Abubasbandit Bot. Observed to drop cryptocurrency miner detected by MALWARE_Win_CoinMiner02"
= "ditekSHen"
= "8bedd1f7-bd77-5f26-8665-1d23fe56100f"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10524-L10541"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "aae40178dadff720b42d211a025fd696eabdcc91761c6a91809f5f088c588c31"
= 75
= 75
= "FILE"
strings:
$x1 = "magickeycmd" ascii
$x2 = "chat_id" ascii
$x3 = "GetTempPathW" ascii
$x4 = "Add-MpPreference" ascii
$x5 = "-Command" ascii
$s1 = "application/x-www-form-urlencoded" ascii
$s2 = "gzip, deflate/index.html" ascii
$s3 = "powershellAdd-MpPreference -ExclusionPath" ascii
$s4 = "tar-xf-C" ascii
$s5 = "temp_file.bin" ascii
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 4 of ( $x* ) and 2 of ( $s* ) ) or ( ( all of ( $s* ) and 3 of ( $x* ) ) ) or ( 8 of them ) )
}
Chaînes (10 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "magickeycmd" | ascii |
| $x2 | texte | "chat_id" | ascii |
| $x3 | texte | "GetTempPathW" | ascii |
| $x4 | texte | "Add-MpPreference" | ascii |
| $x5 | texte | "-Command" | ascii |
| $s1 | texte | "application/x-www-form-urlencoded" | ascii |
| $s2 | texte | "gzip, deflate/index.html" | ascii |
| $s3 | texte | "powershellAdd-MpPreference -ExclusionPath" | ascii |
| $s4 | texte | "tar-xf-C" | ascii |
| $s5 | texte | "temp_file.bin" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 4 of ( $x* ) and 2 of ( $s* ) ) or ( ( all of ( $s* ) and 3 of ( $x* ) ) ) or ( 8 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 ( $s* ) doivent être trouvés.
- Au moins 4 motifs de ( $x* ) doivent être trouvés.
- Au moins 2 motifs de ( $s* ) doivent être trouvés.
- Au moins 3 motifs de ( $x* ) doivent être trouvés.
- Au moins 8 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: 8bedd1f7-bd77-5f26-8665-1d23fe56100f
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