YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Hakunamatata
Detects HakunaMatata ransomware
- Autor
- ditekSHen
- Datum
- 2020-11-06
- Geändert
- 2024-11-01
- Score / Qualität
- 75 / 75
Was diese Regel erkennt
Detects HakunaMatata ransomware
Zugehörige Malware-Familie: Hakunamatata.
Ziele: Windows-PE.
Sie definiert 13 Muster (13 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule DITEKSHEN_MALWARE_Win_Hakunamatata : FILE
{
meta:
= "Detects HakunaMatata ransomware"
= "ditekSHen"
= "43ca40bb-9eb6-558e-977d-f1fff5659565"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10064-L10084"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "b49705845e5440c3c1e47e196592ca2b31319d1af5265f2f954d3367e3d39d5c"
= 75
= 75
= "FILE"
strings:
$s1 = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" wide
$s2 = "(?:[13]{1}[a-km-zA-HJ-NP-Z1-9]{26,33}|bc1[a-z0-9]{39,59})" wide
$s3 = "<RSAKeyValue><Modulus>" wide
$s4 = "HAKUNA MATATA" ascii wide
$s5 = "EXCEPTIONAL_FILE" ascii
$s6 = "TRIPLE_ENCRYPT" ascii
$s7 = "FULL_ENCRYPT" ascii
$s8 = "TARGETED_EXTENSIONS" ascii
$s9 = "CHANGE_PROCESS_NAME" ascii
$s10 = "KILL_APPS_ENCRYPT_AGAIN" ascii
$s11 = "<ALL_DRIVES>b__" ascii
$s12 = "dataToEncrypt" ascii
$s13 = "<RECURSIVE_DIRECTORY_LOOK>" ascii
condition:
uint16( 0 ) == 0x5a4d and 5 of them
}
Strings (13 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" | wide |
| $s2 | Text | "(?:[13]{1}[a-km-zA-HJ-NP-Z1-9]{26,33}|bc1[a-z0-9]{39,59})" | wide |
| $s3 | Text | "<RSAKeyValue><Modulus>" | wide |
| $s4 | Text | "HAKUNA MATATA" | ascii wide |
| $s5 | Text | "EXCEPTIONAL_FILE" | ascii |
| $s6 | Text | "TRIPLE_ENCRYPT" | ascii |
| $s7 | Text | "FULL_ENCRYPT" | ascii |
| $s8 | Text | "TARGETED_EXTENSIONS" | ascii |
| $s9 | Text | "CHANGE_PROCESS_NAME" | ascii |
| $s10 | Text | "KILL_APPS_ENCRYPT_AGAIN" | ascii |
| $s11 | Text | "<ALL_DRIVES>b__" | ascii |
| $s12 | Text | "dataToEncrypt" | ascii |
| $s13 | Text | "<RECURSIVE_DIRECTORY_LOOK>" | ascii |
Bedingung
uint16( 0 ) == 0x5a4d and 5 of themIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Mindestens 5 Muster aus der Regel müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Referenzen
Lizenz & Namensnennung
Autor: ditekSHen
Quell-Repository: ditekSHen detection @ e76c93dcde
Lizenz: BSD 2-Clause License (Repository-Lizenz)
Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 43ca40bb-9eb6-558e-977d-f1fff5659565
Tags:FILE
Verwandte Regeln
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- 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