YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Nitol
Detects Nitol backdoor
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 73
Ce que détecte cette règle
Detects Nitol backdoor
Famille de malware associée : Nitol.
Cibles : PE Windows.
Elle définit 21 motifs (21 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-nitol.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Nitol : FILE
{
meta:
= "Detects Nitol backdoor"
= "ditekSHen"
= "d545f826-11ff-5d0f-9a95-8232b19d35b6"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L3676-L3704"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "c0ddcd6179bea2f3af77ae198e07f55f62884e07a975623ae41bcec163060f89"
= 75
= 73
= "FILE"
strings:
$s1 = "%$#@!.aspGET ^&*().htmlGET" ascii
$s2 = "Applications\\iexplore.exe\\shell\\open\\command" fullword ascii
$s3 = "taskkill /f /im rundll32.exe" fullword ascii
$s4 = "\\Tencent\\Users\\*.*" fullword ascii
$s5 = "[Pause Break]" fullword ascii
$s6 = ":]%d-%d-%d %d:%d:%d" fullword ascii
$s7 = "GET %s HTTP/1.1" fullword ascii
$s8 = "GET %s%s HTTP/1.1" fullword ascii
$s9 = "Accept-Language: zh-cn" fullword ascii
$s10 = "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 5.1)" fullword ascii
$s11 = "User-Agent:Mozilla/4.0 (compatible; MSIE %d.00; Windows NT %d.0; MyIE 3.01)" fullword ascii
$s12 = "User-Agent:Mozilla/4.0 (compatible; MSIE %d.0; Windows NT %d.1; SV1)" fullword ascii
$w1 = ".aspGET" ascii
$w2 = ".htmGET" ascii
$w3 = ".htmlGET" ascii
$domain = "www.xy999.com" fullword ascii
$v2_1 = "loglass" fullword ascii
$v2_2 = "rlehgs" fullword ascii
$v2_3 = "eherrali" fullword ascii
$v2_4 = "agesrlu" fullword ascii
$v2_5 = "lepejagas" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or ( all of ( $v2* ) ) or ( $domain and 3 of them ) or ( #w1 > 2 and #w2 > 2 and #w3 > 2 and 3 of ( $s* ) ) )
}
Chaînes (21 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "%$#@!.aspGET ^&*().htmlGET" | ascii |
| $s2 | texte | "Applications\\iexplore.exe\\shell\\open\\command" | fullword ascii |
| $s3 | texte | "taskkill /f /im rundll32.exe" | fullword ascii |
| $s4 | texte | "\\Tencent\\Users\\*.*" | fullword ascii |
| $s5 | texte | "[Pause Break]" | fullword ascii |
| $s6 | texte | ":]%d-%d-%d %d:%d:%d" | fullword ascii |
| $s7 | texte | "GET %s HTTP/1.1" | fullword ascii |
| $s8 | texte | "GET %s%s HTTP/1.1" | fullword ascii |
| $s9 | texte | "Accept-Language: zh-cn" | fullword ascii |
| $s10 | texte | "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 5.1)" | fullword ascii |
| $s11 | texte | "User-Agent:Mozilla/4.0 (compatible; MSIE %d.00; Windows NT %d.0; MyIE 3.01)" | fullword ascii |
| $s12 | texte | "User-Agent:Mozilla/4.0 (compatible; MSIE %d.0; Windows NT %d.1; SV1)" | fullword ascii |
| $w1 | texte | ".aspGET" | ascii |
| $w2 | texte | ".htmGET" | ascii |
| $w3 | texte | ".htmlGET" | ascii |
| $domain | texte | "www.xy999.com" | fullword ascii |
| $v2_1 | texte | "loglass" | fullword ascii |
| $v2_2 | texte | "rlehgs" | fullword ascii |
| $v2_3 | texte | "eherrali" | fullword ascii |
| $v2_4 | texte | "agesrlu" | fullword ascii |
| $v2_5 | texte | "lepejagas" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and ( 5 of ( $s* ) or ( all of ( $v2* ) ) or ( $domain and 3 of them ) or ( #w1 > 2 and #w2 > 2 and #w3 > 2 and 3 of ( $s* ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $v2* ) doivent être trouvés.
- Au moins 5 motifs de ( $s* ) doivent être trouvés.
- Au moins 3 motifs de la règle doivent être trouvés.
- Au moins 3 motifs de ( $s* ) doivent être trouvés.
- Le motif $w1 doit apparaître > 2 fois.
- Le motif $w2 doit apparaître > 2 fois.
- Le motif $w3 doit apparaître > 2 fois.
- Le motif $domain doit être présent.
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: d545f826-11ff-5d0f-9a95-8232b19d35b6
Tags:FILE
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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