YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Epsilon
Detects Epsilon ransomware
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects Epsilon ransomware
Famille de malware associée : Epsilon.
Cibles : PE Windows.
Elle définit 10 motifs (8 texte, 2 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_Epsilon : FILE
{
meta:
= "Detects Epsilon ransomware"
= "ditekSHen"
= "c5561a0d-85ac-5137-a97e-310aa03eb787"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4137-L4169"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "cc4481ddb6f5fd52a0bc901dde4c34ccf79024cd68605245df0dcbea22d0adee"
= 75
= 75
= "FILE"
strings:
$s1 = ".Speak \"" wide
$s2 = "chkUpdateRegistry" fullword wide
$s3 = "/C choice /C Y /N /D Y /T 1 & Del \"" fullword wide
$s4 = "CreateObject(\"sapi.spvoice\")" fullword wide
$s5 = "READ_ME.hta" wide
$s6 = "WScript.Sleep(" wide
$s7 = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" fullword wide
$s8 = "<div class='bold'>Files are encrypted* but not deleted.</div>" ascii
$e1 = { 72 00 75 00 6e 00 64 00 6c 00 6c 00 2e 00 65 00
78 00 65 00 00 09 2e 00 74 00 78 00 74 00 00 09
2e 00 64 00 6f 00 63 00 00 0b 2e 00 64 00 6f 00
63 00 78 00 00 09 2e 00 78 00 6c 00 73 00 00 0d
2e 00 69 00 6e 00 64 00 65 00 78 00 00 09 2e 00
70 00 64 00 66 00 00 09 2e 00 7a 00 69 00 70 00
00 09 2e 00 72 00 61 00 72 00 00 09 2e 00 63 00
73 00 73 00 00 09 2e 00 6c 00 6e 00 6b 00 00 0b
2e 00 78 00 6c 00 73 00 78 00 00 09 2e 00 70 00
70 00 74 00 00 0b 2e 00 70 00 70 00 74 00 78 00
00 09 2e 00 6f 00 64 00 }
$e2 = { 68 00 74 00 6d 00 00 07 2e 00 6d 00 6c 00 00 07
43 00 3a 00 5c 00 00 07 44 00 3a 00 5c 00 00 07
45 00 3a 00 5c 00 00 07 46 00 3a 00 5c 00 00 07
47 00 3a 00 5c 00 00 07 5a 00 3a 00 5c 00 00 07
41 00 3a 00 5c 00 00 0f 63 00 6d 00 64 00 2e 00
65 00 78 00 65 }
condition:
uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or ( all of ( $e* ) and 4 of ( $s* ) ) )
}
Chaînes (10 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | ".Speak \"" | wide |
| $s2 | texte | "chkUpdateRegistry" | fullword wide |
| $s3 | texte | "/C choice /C Y /N /D Y /T 1 & Del \"" | fullword wide |
| $s4 | texte | "CreateObject(\"sapi.spvoice\")" | fullword wide |
| $s5 | texte | "READ_ME.hta" | wide |
| $s6 | texte | "WScript.Sleep(" | wide |
| $s7 | texte | "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" | fullword wide |
| $s8 | texte | "<div class='bold'>Files are encrypted* but not deleted.</div>" | ascii |
| $e1 | hex | { 72 00 75 00 6e 00 64 00 6c 00 6c 00 2e 00 65 00 78 00 65 00 00 09 2e 00 74 00 78 00 74 00 00 09 2e 00 64 00 6f 00 63 00 00 0b … | |
| $e2 | hex | { 68 00 74 00 6d 00 00 07 2e 00 6d 00 6c 00 00 07 43 00 3a 00 5c 00 00 07 44 00 3a 00 5c 00 00 07 45 00 3a 00 5c 00 00 07 46 00 … |
Condition
uint16( 0 ) == 0x5a4d and ( 6 of ( $s* ) or ( all of ( $e* ) and 4 of ( $s* ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $e* ) doivent être trouvés.
- Au moins 6 motifs de ( $s* ) doivent être trouvés.
- Au moins 4 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é.
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: c5561a0d-85ac-5137-a97e-310aa03eb787
Tags:FILE
Règles liées
- Suspect / chasseditekSHen detection· ditekShen· 2021-01-21
- 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