YARA · SEKOIA.IO Community
SEKOIA_Backdoor_Win_Rokrat
Detect the RokRAT malware
- Auteur
- Sekoia.io
- Date
- 2023-07-11
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detect the RokRAT malware
Famille de malware associée : Rokrat.
Cibles : PE Windows.
Elle définit 3 motifs (1 texte, 2 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 SEKOIA_Backdoor_Win_Rokrat : FILE
{
meta:
= "Detect the RokRAT malware"
= "Sekoia.io"
= "97a3acc1-4120-4d67-a6ad-fa204f2fd7f5"
= "2023-07-11"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/backdoor_win_rokrat.yar#L1-L31"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "84760cac26513915ebfb0a80ad3ddabe62f03ec4fda227d63e764f9c4a118c4e"
= "758348521331bb18241d1cfc90d7e687dbc5bad8d596a2b2d6a9deb6cfc8cb1d"
= "2a253c2aa1db3f809c86f410e4bd21f680b7235d951567f24d614d8e4d041576"
= "ebce34cdeb20bc8c75249ce87a3080054f48b03ef66572fbc9dc40e6c36310d6"
= "a1e4e95a20120f16adacb342672eec1e73bd7826b332096f046bb7e2b7cd80a1"
= "3be58a7a7a25dbceee9e7ef06ef20aa86aef083be19db9e5ffb181d3f9f6615a"
= "fa4df84071b9ae20b321e4d22162d8480f6992206bc046e403c2fbedd1655503"
= "aa76b4db29cf929b4b22457ccb8cd77308191f091cde2f69e578ade9708d7949"
= "42e0b8583570d32a5d6a5bed175a53951e7d68d8471a283ef245686621dc01c4"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "--wwjaughalvncjwiajs--"
$ = {7b 00 22 00 70 00 61 00 74 00 68 00 22 00 3a 00 22 00 25 00 73 00 22 00 2c 00 22 00 6d 00 6f 00 64 00 65 00 22 00 3a 00 7b 00 22 00 2e 00 74 00 61 00 67 00 22 00 3a 00 22 00 6f 00 76 00 65 00 72 00 77 00 72 00 69 00 74 00 65 00 22 00 7d 00 7d}
$ = {68 00 74 00 74 00 70 00 73 00 3a 00 2f 00 2f 00 63 00 6c 00 6f 00 75 00 64 00 2d 00 61 00 70 00 69 00 2e 00 79 00 61 00 6e 00 64 00 65 00 78 00 2e 00 6e 00 65 00 74 00 2f 00 76 00 31 00 2f 00 64 00 69 00 73 00 6b 00 2f 00 72 00 65 00 73 00 6f 00 75 00 72 00 63 00 65 00 73 00 2f 00 75 00 70 00 6c 00 6f 00 61 00 64 00 3f 00 70 00 61 00 74 00 68 00 3d 00 25 00 73 00 26 00 6f 00 76 00 65 00 72 00 77 00 72 00 69 00 74 00 65 00 3d 00 25 00 73}
condition:
uint16( 0 ) == 0x5A4D and any of them
}
Chaînes (3 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "--wwjaughalvncjwiajs--" | |
| $ | hex | {7b 00 22 00 70 00 61 00 74 00 68 00 22 00 3a 00 22 00 25 00 73 00 22 00 2c 00 22 00 6d 00 6f 00 64 00 65 00 22 00 3a 00 7b 00 22 00 2e 00 74 00 61 00 67 00 22 … | |
| $ | hex | {68 00 74 00 74 00 70 00 73 00 3a 00 2f 00 2f 00 63 00 6c 00 6f 00 75 00 64 00 2d 00 61 00 70 00 69 00 2e 00 79 00 61 00 6e 00 64 00 65 00 78 00 2e 00 6e 00 65 … |
Condition
uint16( 0 ) == 0x5A4D and any of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins un motif de la règle doit être trouvé.
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
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- 84760cac26513915ebfb0a80ad3ddabe62f03ec4fda227d63e764f9c4a118c4e
- 758348521331bb18241d1cfc90d7e687dbc5bad8d596a2b2d6a9deb6cfc8cb1d
- 2a253c2aa1db3f809c86f410e4bd21f680b7235d951567f24d614d8e4d041576
- ebce34cdeb20bc8c75249ce87a3080054f48b03ef66572fbc9dc40e6c36310d6
- a1e4e95a20120f16adacb342672eec1e73bd7826b332096f046bb7e2b7cd80a1
- 3be58a7a7a25dbceee9e7ef06ef20aa86aef083be19db9e5ffb181d3f9f6615a
- fa4df84071b9ae20b321e4d22162d8480f6992206bc046e403c2fbedd1655503
- aa76b4db29cf929b4b22457ccb8cd77308191f091cde2f69e578ade9708d7949
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
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: 97a3acc1-4120-4d67-a6ad-fa204f2fd7f5
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / acteurSignature Base (Florian Roth / Nextron)· S2WLAB_TALON_JACK2· 2021-07-09
- APT / acteurVolexity threat-intel· threatintel@volexity.com· 2021-06-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20