YARA · SEKOIA.IO Community
SEKOIA_Tool_Nssm_Strings
Detects nssm tool
- Auteur
- Sekoia.io
- Date
- 2024-09-06
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects nssm tool
Cibles : PE Windows.
Elle définit 5 motifs (5 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
tool-nssm-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Nssm_Strings : FILE
{
meta:
= "Detects nssm tool"
= "Sekoia.io"
= "fab99d44-6494-4bfc-80c0-67c45bad0425"
= "2024-09-06"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_nssm_strings.yar#L1-L22"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "beceae2fdc4f7729a93e94ac2ccd78cc"
= "ca883f3ed9f510cbcd9b96ad167e9d6725341c311b023f22edcba721e801f07d"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "nssm start <servicename>" wide
$ = "nssm stop <servicename>" wide
$ = "nssm restart <servicename>" wide
$ = "nssm status <servicename>" wide
$ = "nssm rotate <servicename>" wide
condition:
uint16be( 0 ) == 0x4d5a and all of them and filesize < 500KB
}
Chaînes (5 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "nssm start <servicename>" | wide |
| $ | texte | "nssm stop <servicename>" | wide |
| $ | texte | "nssm restart <servicename>" | wide |
| $ | texte | "nssm status <servicename>" | wide |
| $ | texte | "nssm rotate <servicename>" | wide |
Condition
uint16be( 0 ) == 0x4d5a and all 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).
- Tous les 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é.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
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).
- beceae2fdc4f7729a93e94ac2ccd78cc
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: fab99d44-6494-4bfc-80c0-67c45bad0425
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