YARA · SEKOIA.IO Community
SEKOIA_Tool_Win_Sharpshares
Finds sharpshares EXE based on strings
- Autor
- Sekoia.io
- Fecha
- 2024-06-10
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Finds sharpshares EXE based on strings
Objetivos: PE de Windows.
Define 11 patrones (11 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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
}
Cadenas (11 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $str01 | texto | "<GetAllShares>b__0" | ascii |
| $str02 | texto | "<SearchLDAP>b__0_0" | ascii |
| $str03 | texto | "get_AccessControlType" | ascii |
| $str04 | texto | "get_IdentityReference" | ascii |
| $str05 | texto | "get_PropertiesToLoad" | ascii |
| $str06 | texto | "SharpShares\\obj\\Release\\SharpShares.pdb" | ascii |
| $str07 | texto | "/filter:SYSVOL,NETLOGON,IPC$,PRINT$" | wide |
| $str08 | texto | "/threads:50 /ldap:servers" | wide |
| $str09 | texto | "SharpShares.exe" | ascii wide |
| $str10 | texto | "[+] LDAP Search Results:" | wide |
| $str11 | texto | "[+] Finished Enumerating Shares" | wide |
Condición
uint16( 0 ) == 0x5A4D and 6 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 6 patrones de la regla.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
Licencia y atribución
Autor: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: ef90d573-12f8-4216-9a9e-96e7d1e841d0
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- Herramienta ofensivaSEKOIA.IO Community· Sekoia.io· 2024-09-06
- Herramienta ofensivaSEKOIA.IO Community· Sekoia.io· 2024-02-29
- Herramienta ofensivaSEKOIA.IO Community· Sekoia.io· 2023-12-05
- Herramienta ofensivaSEKOIA.IO Community· Sekoia.io· 2023-11-15
- Herramienta ofensivaSEKOIA.IO Community· Sekoia.io· 2023-08-23
- Herramienta ofensivaSEKOIA.IO Community· Sekoia.io· 2022-02-08
- Herramienta ofensivaSEKOIA.IO Community· Sekoia.io· 2022-07-22
- Herramienta ofensivaSEKOIA.IO Community· Sekoia.io· 2022-09-09