YARA · SEKOIA.IO Community
SEKOIA_Emmenhtal_Strings_Hta_Exe
Emmenhtal Loader string
- Autor
- Sekoia.io
- Datum
- 2024-09-06
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Emmenhtal Loader string
Ziele: Windows-PE.
Sie definiert 5 Muster (4 Text, 0 Hex, 1 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
emmenhtal-strings-hta-exe.yarDetection Rule License 1.1
rule SEKOIA_Emmenhtal_Strings_Hta_Exe : FILE
{
meta:
= "Emmenhtal Loader string"
= "Sekoia.io"
= "64e08610-e8a4-4edd-8f6b-d4e8d2b47d87"
= "2024-09-06"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/emmenhtal_strings_hta_exe.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "e86a22f1c73b85678e64341427c7193ba65903f3c0f29af2e65d7c56d833d912"
= "93f85a4ccb58c6aeb664c4c843ff80a4ab7b4308a944537f7ebe087515a61659"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$char = / = String\.fromCharCode\([a-zA-Z]{2,4},[a-zA-Z]{2,4},/
$var = "var "
$eval = "eval("
$script1 = "<script>"
$script2 = "</script>MZ"
condition:
uint16be( 0 ) == 0x4d5a and all of them and $var in ( @script1 .. @script1 + 2000 ) and $char in ( @var .. @var + 100 )
}
Strings (5 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $char | Regex | / = String\.fromCharCode\([a-zA-Z]{2,4},[a-zA-Z]{2,4},/ | |
| $var | Text | "var " | |
| $eval | Text | "eval(" | |
| $script1 | Text | "<script>" | |
| $script2 | Text | "</script>MZ" |
Bedingung
uint16be( 0 ) == 0x4d5a and all of them and $var in ( @script1 .. @script1 + 2000 ) and $char in ( @var .. @var + 100 )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Alle Muster aus der Regel müssen treffen.
- Muster $var muss im Bereich @script1 .. @script1 + 2000 liegen.
- Muster $char muss im Bereich @var .. @var + 100 liegen.
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.
Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.
Referenzen
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- e86a22f1c73b85678e64341427c7193ba65903f3c0f29af2e65d7c56d833d912
Lizenz & Namensnennung
Autor: Sekoia.io
Quell-Repository: SEKOIA.IO Community @ a438a5901a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 64e08610-e8a4-4edd-8f6b-d4e8d2b47d87
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20