YARA · SEKOIA.IO Community
SEKOIA_Tool_Win_Sharpshares
Finds sharpshares EXE based on strings
- Auteur
- Sekoia.io
- Date
- 2024-06-10
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Finds sharpshares EXE based on strings
Cibles : PE Windows.
Elle définit 11 motifs (11 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-win-sharpshares.yarDetection Rule License 1.1
rule SEKOIA_Tool_Win_Sharpshares : FILE
{
meta:
= "Finds sharpshares EXE based on strings"
= "Sekoia.io"
= "ef90d573-12f8-4216-9a9e-96e7d1e841d0"
= "2024-06-10"
= "2024-12-19"
= "https://github.com/mitchmoser/SharpShares/releases"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_win_sharpshares.yar#L1-L26"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "6aa96d7c24638451bde98497cc7c844c87612d81cc7826113729c80bd5180442"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "<GetAllShares>b__0" ascii
$str02 = "<SearchLDAP>b__0_0" ascii
$str03 = "get_AccessControlType" ascii
$str04 = "get_IdentityReference" ascii
$str05 = "get_PropertiesToLoad" ascii
$str06 = "SharpShares\\obj\\Release\\SharpShares.pdb" ascii
$str07 = "/filter:SYSVOL,NETLOGON,IPC$,PRINT$" wide
$str08 = "/threads:50 /ldap:servers" wide
$str09 = "SharpShares.exe" ascii wide
$str10 = "[+] LDAP Search Results:" wide
$str11 = "[+] Finished Enumerating Shares" wide
condition:
uint16( 0 ) == 0x5A4D and 6 of them
}
Chaînes (11 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $str01 | texte | "<GetAllShares>b__0" | ascii |
| $str02 | texte | "<SearchLDAP>b__0_0" | ascii |
| $str03 | texte | "get_AccessControlType" | ascii |
| $str04 | texte | "get_IdentityReference" | ascii |
| $str05 | texte | "get_PropertiesToLoad" | ascii |
| $str06 | texte | "SharpShares\\obj\\Release\\SharpShares.pdb" | ascii |
| $str07 | texte | "/filter:SYSVOL,NETLOGON,IPC$,PRINT$" | wide |
| $str08 | texte | "/threads:50 /ldap:servers" | wide |
| $str09 | texte | "SharpShares.exe" | ascii wide |
| $str10 | texte | "[+] LDAP Search Results:" | wide |
| $str11 | texte | "[+] Finished Enumerating Shares" | wide |
Condition
uint16( 0 ) == 0x5A4D and 6 of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- 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.
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: ef90d573-12f8-4216-9a9e-96e7d1e841d0
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