YARA · SEKOIA.IO Community
SEKOIA_Tool_Win_Gosecretsdump
Finds gosecretsdump 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 gosecretsdump EXE based on strings
Objetivos: PE de Windows.
Define 12 patrones (12 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-gosecretsdump.yarDetection Rule License 1.1
rule SEKOIA_Tool_Win_Gosecretsdump : FILE
{
meta:
= "Finds gosecretsdump EXE based on strings"
= "Sekoia.io"
= "9225fe95-e37c-48ff-b5b5-680f255349bd"
= "2024-06-10"
= "2024-12-19"
= "https://github.com/C-Sto/gosecretsdump/releases"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_win_gosecretsdump.yar#L1-L27"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "957b0deae745e4fda5a790acc391cebf9d193efb2a19ad5eb18c54da8c17bcfa"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str01 = "github.com/C-Sto/gosecretsdump" ascii
$str02 = "/pkg/esent" ascii
$str03 = "/pkg/ditreader" ascii
$str04 = "/pkg/samreader" ascii
$str05 = "ntdsFileLocation" ascii
$str06 = "NTDSLoc" ascii
$str07 = "SAMEntries" ascii
$str08 = "SAMHashAES" ascii
$str09 = "NTLMHash" ascii
$str10 = "HasNoLMHashPolicy" ascii
$str11 = "PreviousIncBackup" ascii
$str12 = "Esent_record" ascii
condition:
uint16( 0 ) == 0x5A4D and 7 of them
}
Cadenas (12 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $str01 | texto | "github.com/C-Sto/gosecretsdump" | ascii |
| $str02 | texto | "/pkg/esent" | ascii |
| $str03 | texto | "/pkg/ditreader" | ascii |
| $str04 | texto | "/pkg/samreader" | ascii |
| $str05 | texto | "ntdsFileLocation" | ascii |
| $str06 | texto | "NTDSLoc" | ascii |
| $str07 | texto | "SAMEntries" | ascii |
| $str08 | texto | "SAMHashAES" | ascii |
| $str09 | texto | "NTLMHash" | ascii |
| $str10 | texto | "HasNoLMHashPolicy" | ascii |
| $str11 | texto | "PreviousIncBackup" | ascii |
| $str12 | texto | "Esent_record" | ascii |
Condición
uint16( 0 ) == 0x5A4D and 7 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 7 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: 9225fe95-e37c-48ff-b5b5-680f255349bd
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