YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Reverserat
Detects ReverseRAT
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects ReverseRAT
Famille de malware associée : Reverserat.
Cibles : PE Windows.
Elle définit 9 motifs (8 texte, 1 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-reverserat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Reverserat : FILE
{
meta:
= "Detects ReverseRAT"
= "ditekSHen"
= "df13fc6c-025a-54db-809d-4f3c27b8aa7a"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L6495-L6514"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "87ab00a5588bfce04ec47a07b184fffe359e472ac8bf561b02a8b070edf2e014"
= 75
= 75
= "FILE"
strings:
$pdb1 = "\\ReverseRat.pdb" ascii nocase
$pdb2 = "\\ReverseRat\\obj\\" ascii nocase
$s1 = "processCmd" fullword ascii
$s2 = "CmdOutputDataHandler" fullword ascii
$s3 = "sendingProcess" fullword ascii
$s4 = "SetStartup" fullword ascii
$s5 = "RunServer" fullword ascii
$s6 = "_OutputDataReceived" ascii
$s7 = { 63 00 6d 00 64 00 2e 00 65 00 78 00 65 00
00 03 0a 00 00 13 74 00 65 00 72 00 6d 00
69 00 6e 00 61 00 74 00 65 00 00 09 65 00
78 00 69 00 74 00 }
condition:
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $pdb* ) and 2 of ( $s* ) ) or 5 of ( $s* ) )
}
Chaînes (9 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $pdb1 | texte | "\\ReverseRat.pdb" | ascii nocase |
| $pdb2 | texte | "\\ReverseRat\\obj\\" | ascii nocase |
| $s1 | texte | "processCmd" | fullword ascii |
| $s2 | texte | "CmdOutputDataHandler" | fullword ascii |
| $s3 | texte | "sendingProcess" | fullword ascii |
| $s4 | texte | "SetStartup" | fullword ascii |
| $s5 | texte | "RunServer" | fullword ascii |
| $s6 | texte | "_OutputDataReceived" | ascii |
| $s7 | hex | { 63 00 6d 00 64 00 2e 00 65 00 78 00 65 00 00 03 0a 00 00 13 74 00 65 00 72 00 6d 00 69 00 6e 00 61 00 74 00 65 00 00 09 65 00 … |
Condition
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $pdb* ) and 2 of ( $s* ) ) or 5 of ( $s* ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 1 motifs de ( $pdb* ) doivent être trouvés.
- Au moins 2 motifs de ( $s* ) doivent être trouvés.
- Au moins 5 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: df13fc6c-025a-54db-809d-4f3c27b8aa7a
Tags:FILE
Règles liées
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-02-22
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2023-05-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