YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Janelarat
Detects JanelaRAT
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects JanelaRAT
Famille de malware associée : Janelarat.
Cibles : PE Windows.
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
malware-win-janelarat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Janelarat : FILE
{
meta:
= "Detects JanelaRAT"
= "ditekSHen"
= "6a49eeda-307f-5429-aa24-658223360239"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10919-L10939"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "9f10112b6ffa382b03511e7b6c8757438d5910ee2c24d650d05bb53abfff3860"
= 75
= 75
= "FILE"
strings:
$x1 = "<Janela>k__" ascii
$x2 = "janela" fullword ascii
$x3 = "\\CSHARP\\RAT\\" ascii
$s1 = "<SystemInfos>k__" ascii
$s2 = "<SendKeepAlives>b__" ascii
$s3 = "hookStruct" fullword ascii
$s4 = "[^a-zA-Z]" fullword wide
$s5 = "GetRecycled" fullword ascii
$s6 = "import \"bcl.proto\";" wide
$s7 = "\\KL_FINAL\\" ascii
$s8 = "\\KL_FASEAVAST" ascii
$s9 = "\\kl c++" ascii
$s10 = "VisaoAPP" ascii wide
condition:
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 2 of ( $x* ) and 3 of ( $s* ) ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) or ( 6 of ( $s* ) ) )
}
Chaînes (13 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $x1 | texte | "<Janela>k__" | ascii |
| $x2 | texte | "janela" | fullword ascii |
| $x3 | texte | "\\CSHARP\\RAT\\" | ascii |
| $s1 | texte | "<SystemInfos>k__" | ascii |
| $s2 | texte | "<SendKeepAlives>b__" | ascii |
| $s3 | texte | "hookStruct" | fullword ascii |
| $s4 | texte | "[^a-zA-Z]" | fullword wide |
| $s5 | texte | "GetRecycled" | fullword ascii |
| $s6 | texte | "import \"bcl.proto\";" | wide |
| $s7 | texte | "\\KL_FINAL\\" | ascii |
| $s8 | texte | "\\KL_FASEAVAST" | ascii |
| $s9 | texte | "\\kl c++" | ascii |
| $s10 | texte | "VisaoAPP" | ascii wide |
Condition
uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 2 of ( $x* ) and 3 of ( $s* ) ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) or ( 6 of ( $s* ) ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $x* ) doivent être trouvés.
- Au moins 2 motifs de ( $x* ) doivent être trouvés.
- Au moins 3 motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 5 motifs de ( $s* ) doivent être trouvés.
- Au moins 6 motifs de ( $s* ) 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: 6a49eeda-307f-5429-aa24-658223360239
Tags:FILE
Règles liées
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-08-11
- 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