YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Unlockyourfiles
Detects UnlockYourFiles ransomware
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects UnlockYourFiles ransomware
Famille de malware associée : Unlockyourfiles.
Cibles : PE Windows.
Elle définit 12 motifs (12 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_Unlockyourfiles : FILE
{
meta:
= "Detects UnlockYourFiles ransomware"
= "ditekSHen"
= "265f2a48-143a-56c9-9cd4-b5137799a9e8"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5927-L5946"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "05f549467fac03d4aa2248a9c6c87e4c4273ed6ad727ebb77a4dd115032e454b"
= 75
= 75
= "FILE"
strings:
$s1 = "filesx0" wide
$s2 = "_auto_file" wide
$s3 = "<EncyptedKey>" fullword wide
$s4 = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts\\" wide
$s5 = "DecryptAllFile" fullword ascii
$s6 = "AES_Only_Decrypt_File" fullword ascii
$m1 = "Free files decrypted" wide
$m2 = "Restore my files" wide
$m3 = "Type tour password..." wide
$m4 = "files encrypted by strong password" ascii
$m5 = "buy bitcoin" ascii
$m6 = "Unlock File" fullword wide
condition:
uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) or 5 of ( $m* ) or ( 2 of ( $s* ) and 2 of ( $m* ) ) )
}
Chaînes (12 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "filesx0" | wide |
| $s2 | texte | "_auto_file" | wide |
| $s3 | texte | "<EncyptedKey>" | fullword wide |
| $s4 | texte | "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts\\" | wide |
| $s5 | texte | "DecryptAllFile" | fullword ascii |
| $s6 | texte | "AES_Only_Decrypt_File" | fullword ascii |
| $m1 | texte | "Free files decrypted" | wide |
| $m2 | texte | "Restore my files" | wide |
| $m3 | texte | "Type tour password..." | wide |
| $m4 | texte | "files encrypted by strong password" | ascii |
| $m5 | texte | "buy bitcoin" | ascii |
| $m6 | texte | "Unlock File" | fullword wide |
Condition
uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) or 5 of ( $m* ) or ( 2 of ( $s* ) and 2 of ( $m* ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 4 motifs de ( $s* ) doivent être trouvés.
- Au moins 5 motifs de ( $m* ) doivent être trouvés.
- Au moins 2 motifs de ( $s* ) doivent être trouvés.
- Au moins 2 motifs de ( $m* ) 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: 265f2a48-143a-56c9-9cd4-b5137799a9e8
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