YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Masslogger
MassLogger keylogger payload
- Autor
- ditekSHen
- Datum
- 2020-11-06
- Geändert
- 2024-11-01
- Score / Qualität
- 75 / 73
Was diese Regel erkennt
MassLogger keylogger payload
Zugehörige Malware-Familie: Masslogger.
Ziele: Windows-PE.
Sie definiert 22 Muster (22 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
malware-win-masslogger.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Masslogger : FILE
{
meta:
= "MassLogger keylogger payload"
= "ditekSHen"
= "9181b89a-2ce8-59b6-9703-c01a8471b8d6"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L905-L934"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "7d8bbefa71a1eb20cd9d029bd516d6c37e39cfa053ed0617eace200d210d9b58"
= 75
= 73
= "FILE"
strings:
$s1 = "MassLogger v" ascii wide
$s2 = "MassLogger Started:" ascii wide
$s3 = "MassLogger Process:" ascii wide
$s4 = "/panel/upload.php" wide
$s5 = "ftp://" wide
$s6 = "\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}" fullword wide
$s7 = "^(.*/)?([^/\\\\.]+/\\\\.\\\\./)(.+)$" fullword wide
$s8 = "Bot Killer" ascii
$s9 = "Keylogger And Clipboard" ascii
$c1 = "costura.ionic.zip.reduced.dll.compressed" fullword ascii
$c2 = "CHECKvUNIQUEq" fullword ascii
$c3 = "HOOK/MEMORY6" fullword ascii
$c4 = "Massfile" ascii wide
$c5 = "Fz=[0-9]*'skips*" fullword ascii
$c6 = ":=65535zO" fullword ascii
$c7 = "!$!%!&!'!(!)!*!.!/!0!4!" fullword ascii
$c8 = "5!9!:!<!>!@!E!G!J!K!L!N!O!P!`!" fullword ascii
$c9 = "dllToLoad" fullword ascii
$c10 = "set_CreateNoWindow" fullword ascii
$c11 = "FtpWebRequest" fullword ascii
$c12 = "encryptedUsername" fullword ascii
$c13 = "encryptedPassword" fullword ascii
condition:
( uint16( 0 ) == 0x5a4d and 9 of ( $c* ) ) or ( 5 of ( $s* ) or 9 of ( $c* ) )
}
Strings (22 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "MassLogger v" | ascii wide |
| $s2 | Text | "MassLogger Started:" | ascii wide |
| $s3 | Text | "MassLogger Process:" | ascii wide |
| $s4 | Text | "/panel/upload.php" | wide |
| $s5 | Text | "ftp://" | wide |
| $s6 | Text | "\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}" | fullword wide |
| $s7 | Text | "^(.*/)?([^/\\\\.]+/\\\\.\\\\./)(.+)$" | fullword wide |
| $s8 | Text | "Bot Killer" | ascii |
| $s9 | Text | "Keylogger And Clipboard" | ascii |
| $c1 | Text | "costura.ionic.zip.reduced.dll.compressed" | fullword ascii |
| $c2 | Text | "CHECKvUNIQUEq" | fullword ascii |
| $c3 | Text | "HOOK/MEMORY6" | fullword ascii |
| $c4 | Text | "Massfile" | ascii wide |
| $c5 | Text | "Fz=[0-9]*'skips*" | fullword ascii |
| $c6 | Text | ":=65535zO" | fullword ascii |
| $c7 | Text | "!$!%!&!'!(!)!*!.!/!0!4!" | fullword ascii |
| $c8 | Text | "5!9!:!<!>!@!E!G!J!K!L!N!O!P!`!" | fullword ascii |
| $c9 | Text | "dllToLoad" | fullword ascii |
| $c10 | Text | "set_CreateNoWindow" | fullword ascii |
| $c11 | Text | "FtpWebRequest" | fullword ascii |
| $c12 | Text | "encryptedUsername" | fullword ascii |
| $c13 | Text | "encryptedPassword" | fullword ascii |
Bedingung
( uint16( 0 ) == 0x5a4d and 9 of ( $c* ) ) or ( 5 of ( $s* ) or 9 of ( $c* ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Mindestens 9 Muster aus ( $c* ) müssen treffen.
- Mindestens 5 Muster aus ( $s* ) 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.
Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.
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: 9181b89a-2ce8-59b6-9703-c01a8471b8d6
Tags:FILE
Verwandte Regeln
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2020-10-20
- 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