YARA · Trellix Advanced Research Center
TRELLIX_ARC_Trojan_Coinminer
Rule to detect Coinminer malware
- Auteur
- Trellix ATR
- Date
- 2021-07-22
- Modifiée
- 2022-01-19
- Score / Qualité
- 75 / 70
Ce que détecte cette règle
Rule to detect Coinminer malware
Famille de malware associée : Coinminer.
Cibles : PE Windows.
Elle définit 6 motifs (0 texte, 6 hex, 0 regex). Modules YARA utilisés : pe.
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
Inclut les imports nécessaires pour la compiler seule.
import "pe"
rule TRELLIX_ARC_Trojan_Coinminer : FILE
{
meta:
= "Rule to detect Coinminer malware"
= "Trellix ATR"
= "ec1f4fb7-bce3-5d5b-bbff-50f9bfc90298"
= "2021-07-22"
= "2022-01-19"
= "https://github.com/advanced-threat-research/Yara-Rules/"
= "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/miners/Trojan_CoinMiner.yar#L3-L23"
= "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
= "3bdac08131ba5138bcb5abaf781d6dc7421272ce926bc37fa27ca3eeddcec3c2"
= "d60766c4e6e77de0818e59f687810f54a4e08505561a6bcc93c4180adb0f67e7"
= "0d9d502eb0a54f90044f42f8ce485a2df6814064172cb7bf006a8c8a51976acd"
= 75
= 70
= "FILE"
= "v1"
strings:
$seq0 = { df 75 ab 7b 80 bf 83 c1 48 b3 18 74 70 01 24 5c }
$seq1 = { 08 37 4e 6e 0f 50 0b 11 d0 98 0f a8 b8 27 47 4e }
$seq2 = { bf 17 5a 08 09 ab 80 2f a1 b0 b1 da 47 9f e1 61 }
$seq3 = { 53 36 34 b2 94 01 cc 05 8c 36 aa 8a 07 ff 06 1f }
$seq4 = { 25 30 ae c4 44 d1 97 82 a5 06 05 63 07 02 28 3a }
$seq5 = { 01 69 8e 1c 39 7b 11 56 38 0f 43 c8 5f a8 62 d0 }
condition:
( uint16( 0 ) == 0x5a4d and filesize < 5000KB and pe.imphash ( ) == "e4290fa6afc89d56616f34ebbd0b1f2c" and 3 of ( $seq* ) )
}
Chaînes (6 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $seq0 | hex | { df 75 ab 7b 80 bf 83 c1 48 b3 18 74 70 01 24 5c } | |
| $seq1 | hex | { 08 37 4e 6e 0f 50 0b 11 d0 98 0f a8 b8 27 47 4e } | |
| $seq2 | hex | { bf 17 5a 08 09 ab 80 2f a1 b0 b1 da 47 9f e1 61 } | |
| $seq3 | hex | { 53 36 34 b2 94 01 cc 05 8c 36 aa 8a 07 ff 06 1f } | |
| $seq4 | hex | { 25 30 ae c4 44 d1 97 82 a5 06 05 63 07 02 28 3a } | |
| $seq5 | hex | { 01 69 8e 1c 39 7b 11 56 38 0f 43 c8 5f a8 62 d0 } |
Condition
( uint16( 0 ) == 0x5a4d and filesize < 5000KB and pe.imphash ( ) == "e4290fa6afc89d56616f34ebbd0b1f2c" and 3 of ( $seq* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 5000KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 3 motifs de ( $seq* ) doivent être trouvés.
- Utilise le module pe.
- Vérifie le hash des imports PE (imphash).
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é.
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- 3bdac08131ba5138bcb5abaf781d6dc7421272ce926bc37fa27ca3eeddcec3c2
- d60766c4e6e77de0818e59f687810f54a4e08505561a6bcc93c4180adb0f67e7
Licence et attribution
Auteur : Trellix ATR
Dépôt source : Trellix Advanced Research Center @ 1919562a59
Licence : Apache License 2.0 (licence du dépôt)
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: ec1f4fb7-bce3-5d5b-bbff-50f9bfc90298
Métadonnées
| version | v1 |
|---|
Tags:FILE
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareTrellix Advanced Research Center· Trellix ATR· 2022-01-06