YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Masslogger
MassLogger keylogger payload
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 73
Ce que détecte cette règle
MassLogger keylogger payload
Famille de malware associée : Masslogger.
Cibles : PE Windows.
Elle définit 22 motifs (22 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_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* ) )
}
Chaînes (22 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "MassLogger v" | ascii wide |
| $s2 | texte | "MassLogger Started:" | ascii wide |
| $s3 | texte | "MassLogger Process:" | ascii wide |
| $s4 | texte | "/panel/upload.php" | wide |
| $s5 | texte | "ftp://" | wide |
| $s6 | texte | "\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}" | fullword wide |
| $s7 | texte | "^(.*/)?([^/\\\\.]+/\\\\.\\\\./)(.+)$" | fullword wide |
| $s8 | texte | "Bot Killer" | ascii |
| $s9 | texte | "Keylogger And Clipboard" | ascii |
| $c1 | texte | "costura.ionic.zip.reduced.dll.compressed" | fullword ascii |
| $c2 | texte | "CHECKvUNIQUEq" | fullword ascii |
| $c3 | texte | "HOOK/MEMORY6" | fullword ascii |
| $c4 | texte | "Massfile" | ascii wide |
| $c5 | texte | "Fz=[0-9]*'skips*" | fullword ascii |
| $c6 | texte | ":=65535zO" | fullword ascii |
| $c7 | texte | "!$!%!&!'!(!)!*!.!/!0!4!" | fullword ascii |
| $c8 | texte | "5!9!:!<!>!@!E!G!J!K!L!N!O!P!`!" | fullword ascii |
| $c9 | texte | "dllToLoad" | fullword ascii |
| $c10 | texte | "set_CreateNoWindow" | fullword ascii |
| $c11 | texte | "FtpWebRequest" | fullword ascii |
| $c12 | texte | "encryptedUsername" | fullword ascii |
| $c13 | texte | "encryptedPassword" | fullword ascii |
Condition
( uint16( 0 ) == 0x5a4d and 9 of ( $c* ) ) or ( 5 of ( $s* ) or 9 of ( $c* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 9 motifs de ( $c* ) doivent être trouvés.
- Au moins 5 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: 9181b89a-2ce8-59b6-9703-c01a8471b8d6
Tags:FILE
Règles liées
- 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