YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Klingonrat
Detects KlingonRAT
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects KlingonRAT
Famille de malware associée : Klingonrat.
Cibles : PE Windows.
Elle définit 15 motifs (15 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-klingonrat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Klingonrat : FILE
{
meta:
= "Detects KlingonRAT"
= "ditekSHen"
= "bea50bce-b38c-50a0-902a-1014615bd9b8"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L6405-L6427"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "2abfbfc1b67f931f15bfdfd2cd4ba7821e62eb8c518bbc04629c0dd694bbd9c1"
= 75
= 75
= "FILE"
strings:
$go = "Go build ID:" ascii
$s1 = "/UCRelease/src/client/uac/once/"
$s2 = "%T\\AppData\\Local\\Windows Update\\"
$s3 = "%TSoftware\\Microsoft\\Windows NT\\CurrentVersion\\Image File Execution Options\\"
$s4 = "wmic /namespace:'\\\\root\\subscription' PATH"
$s5 = "C:\\Windows\\System32\\fodhelper.exeCaption,ParentProcessId,ProcessId"
$s6 = "ldpro.exelsass.exeluall.exeluspt.exe"
$s7 = "scangui.exedeps/lsass.exeetrustcipe.exefile"
$s8 = "alogserv.exeaplica32.exeapvxdwin.exeatro55en.exeautodown.exeavconsol.exeavgserv9.exeavkwctl9.exeavltmain.exeavpdos32.exeavsynmgr.exeavwupd32.exeavwupsrv.exe"
$c1 = "%s/keyLogger?machineId=%s" ascii
$c2 = "%s/stealer?machineId=%s" ascii
$c3 = "%s/lsass?machineId=%s" ascii
$c4 = "%s/logger?machineId=%s" ascii
$c5 = "%s/machineInfo?machineId=%s" ascii
$c6 = "failurehttps://%s:%d/botif-modified-sinceillegal" ascii
condition:
uint16( 0 ) == 0x5a4d and ( $go ) and ( 3 of ( $c* ) or 5 of ( $s* ) or ( 3 of ( $s* ) and 1 of ( $c* ) ) )
}
Chaînes (15 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $go | texte | "Go build ID:" | ascii |
| $s1 | texte | "/UCRelease/src/client/uac/once/" | |
| $s2 | texte | "%T\\AppData\\Local\\Windows Update\\" | |
| $s3 | texte | "%TSoftware\\Microsoft\\Windows NT\\CurrentVersion\\Image File Execution Options\\" | |
| $s4 | texte | "wmic /namespace:'\\\\root\\subscription' PATH" | |
| $s5 | texte | "C:\\Windows\\System32\\fodhelper.exeCaption,ParentProcessId,ProcessId" | |
| $s6 | texte | "ldpro.exelsass.exeluall.exeluspt.exe" | |
| $s7 | texte | "scangui.exedeps/lsass.exeetrustcipe.exefile" | |
| $s8 | texte | "alogserv.exeaplica32.exeapvxdwin.exeatro55en.exeautodown.exeavconsol.exeavgserv9.exeavkwctl9.exeavltmain.exeavpdos32.exeavsynmgr.exeavwupd32.exeavwupsrv.exe" | |
| $c1 | texte | "%s/keyLogger?machineId=%s" | ascii |
| $c2 | texte | "%s/stealer?machineId=%s" | ascii |
| $c3 | texte | "%s/lsass?machineId=%s" | ascii |
| $c4 | texte | "%s/logger?machineId=%s" | ascii |
| $c5 | texte | "%s/machineInfo?machineId=%s" | ascii |
| $c6 | texte | "failurehttps://%s:%d/botif-modified-sinceillegal" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( $go ) and ( 3 of ( $c* ) or 5 of ( $s* ) or ( 3 of ( $s* ) and 1 of ( $c* ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 3 motifs de ( $c* ) doivent être trouvés.
- Au moins 5 motifs de ( $s* ) doivent être trouvés.
- Au moins 3 motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $c* ) 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: bea50bce-b38c-50a0-902a-1014615bd9b8
Tags:FILE
Règles liées
- 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
- MalwareditekSHen detection· ditekSHen· 2020-11-06