YARA · SEKOIA.IO Community
SEKOIA_Tool_Tokenplayer_Strings
Detects TokenPlayer based on strings
- Auteur
- Sekoia.io
- Date
- 2024-11-04
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects TokenPlayer based on strings
Cibles : PE Windows.
Elle définit 8 motifs (8 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
rule SEKOIA_Tool_Tokenplayer_Strings : FILE
{
meta:
= "Detects TokenPlayer based on strings"
= "Sekoia.io"
= "74ed8812-f113-47a9-9ff2-6cbe2746ee11"
= "2024-11-04"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_tokenplayer_strings.yar#L1-L25"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "f01eae4ee3cc03d621be7b0af7d60411"
= "e419fa8c690816cd0e449f0a1d66d170e8806b38a99758631719b239363e330e"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "[*]Spawning Process as user: %s\\%s" wide
$ = "[-]Target isn't vulnerable!"
$ = "[+]Process spawned!"
$ = "[+]Process Spawned"
$ = "[+]OpenProcessToken() success!"
$ = "CreateProcessWithLogonW() error : % u"
$ = "[+]CreateProcessWithLogonW() succeed!"
$ = "TokenPlayer.pdb"
condition:
uint16be( 0 ) == 0x4d5a and 5 of them and filesize < 500KB
}
Chaînes (8 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "[*]Spawning Process as user: %s\\%s" | wide |
| $ | texte | "[-]Target isn't vulnerable!" | |
| $ | texte | "[+]Process spawned!" | |
| $ | texte | "[+]Process Spawned" | |
| $ | texte | "[+]OpenProcessToken() success!" | |
| $ | texte | "CreateProcessWithLogonW() error : % u" | |
| $ | texte | "[+]CreateProcessWithLogonW() succeed!" | |
| $ | texte | "TokenPlayer.pdb" |
Condition
uint16be( 0 ) == 0x4d5a and 5 of them and filesize < 500KBEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 500KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 5 motifs de la règle 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é.
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).
- f01eae4ee3cc03d621be7b0af7d60411
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: 74ed8812-f113-47a9-9ff2-6cbe2746ee11
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2024-09-06
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2024-02-29
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2023-12-05
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2023-11-15
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2023-08-23
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2022-02-08
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2022-07-22
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2022-09-09