YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Coinminer04
Detects coinmining malware
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects coinmining malware
Famille de malware associée : Coinminer04.
Cibles : PE Windows.
Elle définit 13 motifs (13 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_Coinminer04 : FILE
{
meta:
= "Detects coinmining malware"
= "ditekSHen"
= "d90d8ad3-20b7-5bb4-8c58-3488c60ed9a2"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7838-L7858"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "2ef60dbf0bac3d5910635bb011a45e5ebc1392094b10425604fa9dd290198f8b"
= 75
= 75
= "FILE"
strings:
$s1 = "createDll" fullword ascii
$s2 = "getTasks" fullword ascii
$s3 = "SetStartup" fullword ascii
$s4 = "loadUrl" fullword ascii
$s5 = "Processer" fullword ascii
$s6 = "checkProcess" fullword ascii
$s7 = "runProcess" fullword ascii
$s8 = "createDir" fullword ascii
$cnc1 = "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0" fullword wide
$cnc2 = "?hwid=" fullword wide
$cnc3 = "?timeout=1" fullword wide
$cnc4 = "&completed=" fullword wide
$cnc5 = "/cmd.php" wide
condition:
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) and 1 of ( $cnc* ) )
}
Chaînes (13 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "createDll" | fullword ascii |
| $s2 | texte | "getTasks" | fullword ascii |
| $s3 | texte | "SetStartup" | fullword ascii |
| $s4 | texte | "loadUrl" | fullword ascii |
| $s5 | texte | "Processer" | fullword ascii |
| $s6 | texte | "checkProcess" | fullword ascii |
| $s7 | texte | "runProcess" | fullword ascii |
| $s8 | texte | "createDir" | fullword ascii |
| $cnc1 | texte | "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0" | fullword wide |
| $cnc2 | texte | "?hwid=" | fullword wide |
| $cnc3 | texte | "?timeout=1" | fullword wide |
| $cnc4 | texte | "&completed=" | fullword wide |
| $cnc5 | texte | "/cmd.php" | wide |
Condition
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) and 1 of ( $cnc* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 5 motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $cnc* ) 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: d90d8ad3-20b7-5bb4-8c58-3488c60ed9a2
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