YARA · SEKOIA.IO Community
SEKOIA_Tool_Win_Sharpshares
Finds sharpshares EXE based on strings
- Autor
- Sekoia.io
- Datum
- 2024-06-10
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Finds sharpshares EXE based on strings
Ziele: Windows-PE.
Sie definiert 11 Muster (11 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
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
}
Strings (11 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $str01 | Text | "<GetAllShares>b__0" | ascii |
| $str02 | Text | "<SearchLDAP>b__0_0" | ascii |
| $str03 | Text | "get_AccessControlType" | ascii |
| $str04 | Text | "get_IdentityReference" | ascii |
| $str05 | Text | "get_PropertiesToLoad" | ascii |
| $str06 | Text | "SharpShares\\obj\\Release\\SharpShares.pdb" | ascii |
| $str07 | Text | "/filter:SYSVOL,NETLOGON,IPC$,PRINT$" | wide |
| $str08 | Text | "/threads:50 /ldap:servers" | wide |
| $str09 | Text | "SharpShares.exe" | ascii wide |
| $str10 | Text | "[+] LDAP Search Results:" | wide |
| $str11 | Text | "[+] Finished Enumerating Shares" | wide |
Bedingung
uint16( 0 ) == 0x5A4D and 6 of themIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Mindestens 6 Muster aus der Regel müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.
Lizenz & Namensnennung
Autor: Sekoia.io
Quell-Repository: SEKOIA.IO Community @ a438a5901a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: ef90d573-12f8-4216-9a9e-96e7d1e841d0
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- HacktoolSEKOIA.IO Community· Sekoia.io· 2024-09-06
- HacktoolSEKOIA.IO Community· Sekoia.io· 2024-02-29
- HacktoolSEKOIA.IO Community· Sekoia.io· 2023-12-05
- HacktoolSEKOIA.IO Community· Sekoia.io· 2023-11-15
- HacktoolSEKOIA.IO Community· Sekoia.io· 2023-08-23
- HacktoolSEKOIA.IO Community· Sekoia.io· 2022-02-08
- HacktoolSEKOIA.IO Community· Sekoia.io· 2022-07-22
- HacktoolSEKOIA.IO Community· Sekoia.io· 2022-09-09