YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Vanillarat
Detects VanillaRAT
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects VanillaRAT
Famille de malware associée : Vanillarat.
Cibles : PE Windows.
Elle définit 13 motifs (13 texte, 0 hex, 0 regex).
YARA-X indique : warning[unintended_pattern_in_set]: pattern `$stub` may be unintendedly or redundantly included in pattern set `$s*`
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_Win_Vanillarat : FILE
{
meta:
= "Detects VanillaRAT"
= "ditekSHen"
= "70c2cd1a-a6d4-562e-a6fc-c16a9e87c6b7"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7882-L7902"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "d7b90ac88a50693ec4bb0676c04f5d161f04f67970ea60d80e79d774da75bfdc"
= 75
= 75
= "FILE"
strings:
$stub = "VanillaStub." ascii wide
$s1 = "Client.Send: " wide
$s2 = "Connected to chat" fullword wide
$s3 = "GetStoredPasswords" fullword wide
$s4 = "Started screen locker." fullword wide
$s5 = "[<\\MOUSE>]" fullword wide
$s6 = "YOUR SCREEN HAS BEEN LOCKED!" fullword wide
$s7 = "record recsound" fullword wide
$f1 = "<StartRemoteDestkop>d__" ascii
$f2 = "<ConnectLoop>d__" ascii
$f3 = "<Scan0>k__" ascii
$f4 = "<RemoteShellActive>k__" ascii
$f5 = "KillClient" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( ( $stub and ( 2 of ( $s* ) or 2 of ( $f* ) ) ) or 6 of ( $s* ) or all of ( $f* ) )
}
Chaînes (13 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $stub | texte | "VanillaStub." | ascii wide |
| $s1 | texte | "Client.Send: " | wide |
| $s2 | texte | "Connected to chat" | fullword wide |
| $s3 | texte | "GetStoredPasswords" | fullword wide |
| $s4 | texte | "Started screen locker." | fullword wide |
| $s5 | texte | "[<\\MOUSE>]" | fullword wide |
| $s6 | texte | "YOUR SCREEN HAS BEEN LOCKED!" | fullword wide |
| $s7 | texte | "record recsound" | fullword wide |
| $f1 | texte | "<StartRemoteDestkop>d__" | ascii |
| $f2 | texte | "<ConnectLoop>d__" | ascii |
| $f3 | texte | "<Scan0>k__" | ascii |
| $f4 | texte | "<RemoteShellActive>k__" | ascii |
| $f5 | texte | "KillClient" | fullword ascii |
Condition
uint16( 0 ) == 0x5a4d and ( ( $stub and ( 2 of ( $s* ) or 2 of ( $f* ) ) ) or 6 of ( $s* ) or all of ( $f* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $f* ) doivent être trouvés.
- Au moins 2 motifs de ( $s* ) doivent être trouvés.
- Au moins 2 motifs de ( $f* ) doivent être trouvés.
- Au moins 6 motifs de ( $s* ) doivent être trouvés.
- Le motif $stub 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é.
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: 70c2cd1a-a6d4-562e-a6fc-c16a9e87c6b7
Tags:FILE
Règles liées
- Outil offensifSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-28
- 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