YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Klogexe
Detects KLogExe
- Auteur
- ditekshen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 73
Ce que détecte cette règle
Detects KLogExe
Famille de malware associée : Klogexe.
Cibles : PE Windows.
Elle définit 11 motifs (11 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
malware-win-klogexe.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Klogexe : FILE
{
meta:
= "Detects KLogExe"
= "ditekshen"
= "8c3ebc2c-717b-5c42-9233-274006d4331b"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L11918-L11937"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "1f1809b83dc468122022b68d63734ba1597c6fede01582c31d1700ca0b9e1e22"
= 75
= 73
= "FILE"
= "MALWARE.Win.Trojan.KLogExe"
strings:
$s1 = "[clip_s]: %s" ascii
$s2 = "------ %d/%d/%d : %d/%d ------" ascii
$s3 = "[RWin+]" ascii
$s4 = "[Too many clip_tail]" ascii
$s5 = "name=\"userfile\"; filename=\"%s\"" ascii
$s6 = "Origin: http://" wide
$s7 = "%s_%d_%d_%d_%d" wide
$s8 = "/wp-content/include.php?_sys_" wide
$s9 = "\\desktops.ini" wide
$s10 = "KLogExe" wide nocase
$s11 = "dynamic_import.cpp [resolve_call] can`nt" wide
condition:
uint16( 0 ) == 0x5a4d and 6 of them
}
Chaînes (11 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "[clip_s]: %s" | ascii |
| $s2 | texte | "------ %d/%d/%d : %d/%d ------" | ascii |
| $s3 | texte | "[RWin+]" | ascii |
| $s4 | texte | "[Too many clip_tail]" | ascii |
| $s5 | texte | "name=\"userfile\"; filename=\"%s\"" | ascii |
| $s6 | texte | "Origin: http://" | wide |
| $s7 | texte | "%s_%d_%d_%d_%d" | wide |
| $s8 | texte | "/wp-content/include.php?_sys_" | wide |
| $s9 | texte | "\\desktops.ini" | wide |
| $s10 | texte | "KLogExe" | wide nocase |
| $s11 | texte | "dynamic_import.cpp [resolve_call] can`nt" | wide |
Condition
uint16( 0 ) == 0x5a4d and 6 of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 6 motifs de la règle 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é.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
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: 8c3ebc2c-717b-5c42-9233-274006d4331b
Métadonnées
| clamav1 | MALWARE.Win.Trojan.KLogExe |
|---|
Tags:FILE
Règles liées
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- 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
- MalwareditekSHen detection· ditekshen· 2020-11-06