YARA · ditekSHen detection
DITEKSHEN_MALWARE_JS_Koadicjs
Koadic post-exploitation framework JS payload
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Koadic post-exploitation framework JS payload
Famille de malware associée : Koadicjs.
Elle définit 13 motifs (13 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_JS_Koadicjs
{
meta:
= "Koadic post-exploitation framework JS payload"
= "ditekSHen"
= "8598d5cb-0486-52b0-a686-6bd014f35c44"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1188-L1208"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "689116f74996fecf4c16c224e8cd842ad5b5e989de2dfdf0debeb9a26d8a12fa"
= 75
= 75
= ""
strings:
$s1 = "window.moveTo(-" ascii
$s2 = "window.onerror = function(sMsg, sUrl, sLine) { return false; }" fullword ascii
$s3 = "window.onfocus = function() { window.blur(); }" fullword ascii
$s4 = "window.resizeTo(" ascii
$s5 = "window.blur();" fullword ascii
$hf1 = "<hta:application caption=\"no\" windowState=\"minimize\" showInTaskBar=\"no\"" fullword ascii
$hf2 = "<hta:application caption=\"no\" showInTaskBar=\"no\" windowState=\"minimize\" navigable=\"no\" scroll=\"no\""
$ht1 = "<hta:application" ascii
$ht2 = "caption=\"no\"" ascii
$ht3 = "showInTaskBar=\"no\"" ascii
$ht4 = "windowState=\"minimize\"" ascii
$ht5 = "navigable=\"no\"" ascii
$ht6 = "scroll=\"no\"" ascii
condition:
all of ( $s* ) and ( 1 of ( $hf* ) or all of ( $ht* ) )
}
Chaînes (13 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "window.moveTo(-" | ascii |
| $s2 | texte | "window.onerror = function(sMsg, sUrl, sLine) { return false; }" | fullword ascii |
| $s3 | texte | "window.onfocus = function() { window.blur(); }" | fullword ascii |
| $s4 | texte | "window.resizeTo(" | ascii |
| $s5 | texte | "window.blur();" | fullword ascii |
| $hf1 | texte | "<hta:application caption=\"no\" windowState=\"minimize\" showInTaskBar=\"no\"" | fullword ascii |
| $hf2 | texte | "<hta:application caption=\"no\" showInTaskBar=\"no\" windowState=\"minimize\" navigable=\"no\" scroll=\"no\"" | |
| $ht1 | texte | "<hta:application" | ascii |
| $ht2 | texte | "caption=\"no\"" | ascii |
| $ht3 | texte | "showInTaskBar=\"no\"" | ascii |
| $ht4 | texte | "windowState=\"minimize\"" | ascii |
| $ht5 | texte | "navigable=\"no\"" | ascii |
| $ht6 | texte | "scroll=\"no\"" | ascii |
Condition
all of ( $s* ) and ( 1 of ( $hf* ) or all of ( $ht* ) )En clair (Heuristique)
- Tous les motifs de ( $s* ) doivent être trouvés.
- Tous les motifs de ( $ht* ) doivent être trouvés.
- Au moins 1 motifs de ( $hf* ) 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: 8598d5cb-0486-52b0-a686-6bd014f35c44
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