YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Cryptolocker
Detects Cryptolocker ransomware variants (Betarasite)
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 73
Ce que détecte cette règle
Detects Cryptolocker ransomware variants (Betarasite)
Famille de malware associée : Cryptolocker.
Cibles : PE Windows.
Elle définit 15 motifs (15 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_Cryptolocker : FILE
{
meta:
= "Detects Cryptolocker ransomware variants (Betarasite)"
= "ditekSHen"
= "4c6d714d-1fb1-55ce-8022-40f6f634e2cd"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4730-L4752"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "e1700e8ace338c25119305878e8bc52210506bd42183007985ba9601abdab87b"
= 75
= 73
= "FILE"
strings:
$x1 = "CryptoLocker" fullword wide
$x2 = ".betarasite" fullword wide
$x3 = "CMSTPBypass" fullword ascii
$s1 = "CommandToExecute" fullword ascii
$s2 = "SetInfFile" fullword ascii
$s3 = "SchoolPrject1" ascii
$s4 = "$730d5f64-bd57-47c1-9af4-d20aec714d02" fullword ascii
$s5 = "Encrypt" fullword ascii
$s6 = "Invalide Key! Please Try Again." fullword wide
$s7 = "RegAsm" fullword wide
$s8 = "Your key will be destroyed" wide
$s9 = "encrypted using RC4 and RSA-2048" wide
$c1 = "https://coinbase.com" fullword wide
$c2 = "https://localbictoins.com" fullword wide
$c3 = "https://bitpanda.com" fullword wide
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or all of ( $s* ) or ( 2 of ( $x* ) and 5 of ( $s* ) ) or ( all of ( $c* ) and 1 of ( $x* ) and 2 of ( $s* ) ) )
}
Chaînes (15 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "CryptoLocker" | fullword wide |
| $x2 | texte | ".betarasite" | fullword wide |
| $x3 | texte | "CMSTPBypass" | fullword ascii |
| $s1 | texte | "CommandToExecute" | fullword ascii |
| $s2 | texte | "SetInfFile" | fullword ascii |
| $s3 | texte | "SchoolPrject1" | ascii |
| $s4 | texte | "$730d5f64-bd57-47c1-9af4-d20aec714d02" | fullword ascii |
| $s5 | texte | "Encrypt" | fullword ascii |
| $s6 | texte | "Invalide Key! Please Try Again." | fullword wide |
| $s7 | texte | "RegAsm" | fullword wide |
| $s8 | texte | "Your key will be destroyed" | wide |
| $s9 | texte | "encrypted using RC4 and RSA-2048" | wide |
| $c1 | texte | "https://coinbase.com" | fullword wide |
| $c2 | texte | "https://localbictoins.com" | fullword wide |
| $c3 | texte | "https://bitpanda.com" | fullword wide |
Condition
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or all of ( $s* ) or ( 2 of ( $x* ) and 5 of ( $s* ) ) or ( all of ( $c* ) and 1 of ( $x* ) and 2 of ( $s* ) ) )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.
- Tous les motifs de ( $c* ) doivent être trouvés.
- Au moins 2 motifs de ( $x* ) doivent être trouvés.
- Au moins 5 motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $x* ) 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: 4c6d714d-1fb1-55ce-8022-40f6f634e2cd
Tags:FILE
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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