YARA · SEKOIA.IO Community
SEKOIA_Apt_Kimsuky_Klogexe
Detects KLogExe, a keylogger used by Kimsuky
- Auteur
- Sekoia.io
- Date
- 2024-09-27
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects KLogExe, a keylogger used by Kimsuky
Famille de malware associée : Kimsuky, Klogexe.
Cibles : PE Windows.
Elle définit 10 motifs (10 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 SEKOIA_Apt_Kimsuky_Klogexe : FILE
{
meta:
= "Detects KLogExe, a keylogger used by Kimsuky"
= "Sekoia.io"
= "f6e3b1a5-43b6-4dac-83c2-a365c41de38d"
= "2024-09-27"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_kimsuky_klogexe.yar#L1-L32"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "e1d683ee1746c08c5fff1c4c2b3b02f0"
= "90946c6358eacd119fe1eb36ec7a0a18"
= "9760f489a390665b5e7854429b550c83"
= "4b616908ceacd85c5d8b527cd1a718082c709071dc1fa9c9ccc96e71dc4e7449"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$event = "Norton_BreakHelper" ascii wide
$log = "------ %d/%d/%d : %d/%d ------" ascii wide
$keylog_1 = "[RM+]"
$keylog_2 = "[Tab+]"
$keylog_3 = "[Home+]"
$keylog_4 = "[End+]"
$keylog_5 = "[clip_s]: %s "
$keylog_6 = "%s[Too many clip_tail]"
$keylog_7 = "%s[F%d]"
$user_agent = "Chrome/31.0." wide
condition:
uint16be( 0 ) == 0x4d5a and filesize < 600KB and 8 of them
}
Chaînes (10 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $event | texte | "Norton_BreakHelper" | ascii wide |
| $log | texte | "------ %d/%d/%d : %d/%d ------" | ascii wide |
| $keylog_1 | texte | "[RM+]" | |
| $keylog_2 | texte | "[Tab+]" | |
| $keylog_3 | texte | "[Home+]" | |
| $keylog_4 | texte | "[End+]" | |
| $keylog_5 | texte | "[clip_s]: %s " | |
| $keylog_6 | texte | "%s[Too many clip_tail]" | |
| $keylog_7 | texte | "%s[F%d]" | |
| $user_agent | texte | "Chrome/31.0." | wide |
Condition
uint16be( 0 ) == 0x4d5a and filesize < 600KB and 8 of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 600KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 8 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é.
Références
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- e1d683ee1746c08c5fff1c4c2b3b02f0
- 90946c6358eacd119fe1eb36ec7a0a18
- 9760f489a390665b5e7854429b550c83
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
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: f6e3b1a5-43b6-4dac-83c2-a365c41de38d
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-03-06
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-03-06
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2023-09-11