YARA · SEKOIA.IO Community
SEKOIA_Tool_Enum4Linux_Strings
Detects enum4linux based on strings
- Auteur
- Sekoia.io
- Date
- 2024-02-02
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects enum4linux based on strings
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
tool-enum4linux-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Enum4Linux_Strings
{
meta:
= "Detects enum4linux based on strings"
= "Sekoia.io"
= "6b3094fe-1292-4da3-a1ed-9e255be531da"
= "2024-02-02"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_enum4linux_strings.yar#L1-L22"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "d3f7ddbdfb679b34777298aec84464d55fac7600b855526a7f13d8c8f17ab888"
= 75
= 80
= ""
= "1.0"
= "TLP:CLEAR"
strings:
$ = "my $os_info = `$command`;"
$ = "($global_workgroup) = $os_info =~"
$ = "sub enum_groups {"
$ = "if ($shares =~ /NT_STATUS_ACCESS_DENIED/) {"
$ = "Can't open share list file $shares_file"
$ = "my $users = `$command`;"
$ = "my @shares = <SHARES>;"
$ = "foreach my $grouptype (\"builtin\", \"domain\") {"
condition:
6 of them
}
Chaînes (8 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "my $os_info = `$command`;" | |
| $ | texte | "($global_workgroup) = $os_info =~" | |
| $ | texte | "sub enum_groups {" | |
| $ | texte | "if ($shares =~ /NT_STATUS_ACCESS_DENIED/) {" | |
| $ | texte | "Can't open share list file $shares_file" | |
| $ | texte | "my $users = `$command`;" | |
| $ | texte | "my @shares = <SHARES>;" | |
| $ | texte | "foreach my $grouptype (\"builtin\", \"domain\") {" |
Condition
6 of themEn clair (Heuristique)
- Au moins 6 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: 6b3094fe-1292-4da3-a1ed-9e255be531da
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
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