YARA · SEKOIA.IO Community
SEKOIA_Hacktool_Ntospy_Strings
Detects Ntospy based on strings
- Auteur
- Sekoia.io
- Date
- 2023-12-05
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects Ntospy based on strings
Famille de malware associée : Ntospy.
Cibles : PE Windows.
Elle définit 3 motifs (2 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
hacktool-ntospy-strings.yarDetection Rule License 1.1
rule SEKOIA_Hacktool_Ntospy_Strings : FILE
{
meta:
= "Detects Ntospy based on strings"
= "Sekoia.io"
= "c3281666-6a31-4718-a9c0-82944c6fdcb0"
= "2023-12-05"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/hacktool_ntospy_strings.yar#L1-L19"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "e5bd963419e515d65a03592051822fd801f4a21d54cdb18d408556c4bfef78f5"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "NPGetCaps"
$ = "NPLogonNotify"
$ = {43 00 3A 00 5C 00 [10-150] 00 2E 00 6D 00 73 00 75}
condition:
uint16be( 0 ) == 0x4d5a and filesize < 300KB and all of them
}
Chaînes (3 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "NPGetCaps" | |
| $ | texte | "NPLogonNotify" | |
| $ | hex | {43 00 3A 00 5C 00 [10-150] 00 2E 00 6D 00 73 00 75} |
Condition
uint16be( 0 ) == 0x4d5a and filesize < 300KB and all of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 300KB (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
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: c3281666-6a31-4718-a9c0-82944c6fdcb0
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
- 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-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