YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Doejocrypt
Detects DoejoCrypt / DearCry ransomware
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects DoejoCrypt / DearCry ransomware
Famille de malware associée : Doejocrypt.
Cibles : PE Windows.
Elle définit 9 motifs (6 texte, 3 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_Doejocrypt : FILE
{
meta:
= "Detects DoejoCrypt / DearCry ransomware"
= "ditekSHen"
= "2c90f8e7-ced4-56da-ab8d-61b5ba63dacd"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4977-L4993"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "f8a3897de9522340799a59e3e755c323b0defaab73a9030b6b69a1a82c05dcd0"
= 75
= 75
= "FILE"
strings:
$s1 = "DEARCRY!" fullword ascii
$s2 = ".CRYPT" fullword ascii
$s3 = "\\EncryptFile -svcV2\\" ascii
$s4 = "please send me the following hash!" ascii
$s5 = "dear!!!" fullword ascii
$s6 = "/readme.txt" fullword ascii
$o1 = { c3 8b 65 e8 c7 45 fc fe ff ff ff 8b b5 f4 e9 ff }
$o2 = { 0f 8c 27 ff ff ff 33 db 57 e8 7b 36 00 00 eb 0a }
$o3 = { 0f 8c 2a ff ff ff 53 57 e8 b7 42 00 00 8b 4c 24 }
condition:
uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( all of ( $o* ) and ( 2 of ( $s* ) ) )
}
Chaînes (9 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "DEARCRY!" | fullword ascii |
| $s2 | texte | ".CRYPT" | fullword ascii |
| $s3 | texte | "\\EncryptFile -svcV2\\" | ascii |
| $s4 | texte | "please send me the following hash!" | ascii |
| $s5 | texte | "dear!!!" | fullword ascii |
| $s6 | texte | "/readme.txt" | fullword ascii |
| $o1 | hex | { c3 8b 65 e8 c7 45 fc fe ff ff ff 8b b5 f4 e9 ff } | |
| $o2 | hex | { 0f 8c 27 ff ff ff 33 db 57 e8 7b 36 00 00 eb 0a } | |
| $o3 | hex | { 0f 8c 2a ff ff ff 53 57 e8 b7 42 00 00 8b 4c 24 } |
Condition
uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( all of ( $o* ) and ( 2 of ( $s* ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $o* ) doivent être trouvés.
- Au moins 4 motifs de ( $s* ) doivent être trouvés.
- Au moins 2 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: 2c90f8e7-ced4-56da-ab8d-61b5ba63dacd
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