YARA · SEKOIA.IO Community
SEKOIA_Tool_Rubeus_Strings
Detects Rubeus
- Autor
- Sekoia.io
- Fecha
- 2024-03-22
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detects Rubeus
Objetivos: PE de Windows.
Define 8 patrones (8 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-rubeus-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Rubeus_Strings : FILE
{
meta:
= "Detects Rubeus"
= "Sekoia.io"
= "df1860d0-ec34-4c2d-bd83-5f16b26d075c"
= "2024-03-22"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_rubeus_strings.yar#L1-L24"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "adc6a5207bb15c8020ca170564ea9066b2c0b0e09839d6838744c623f59153cf"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = ".Ndr.RPC_DISPATCH_TABLE32"
$ = ".Ndr.RPC_PROTSEQ_ENDPOINT32"
$ = ".Ndr.RPC_SERVER_INTERFACE32"
$ = ".Ndr.NDR_EXPR_DESC32"
$ = "$krb5tgs${0}$*{1}${2}${3}*${4}${5}" wide
$ = "$krb5asrep$23${0}@{1}:{2}" wide
$ = "Unable to decrypt the EncTicketPart using key:" wide
$ = "[*] Target service : {0:x}" wide
condition:
uint16be( 0 ) == 0x4d5a and filesize < 1MB and 5 of them
}
Cadenas (8 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $ | texto | ".Ndr.RPC_DISPATCH_TABLE32" | |
| $ | texto | ".Ndr.RPC_PROTSEQ_ENDPOINT32" | |
| $ | texto | ".Ndr.RPC_SERVER_INTERFACE32" | |
| $ | texto | ".Ndr.NDR_EXPR_DESC32" | |
| $ | texto | "$krb5tgs${0}$*{1}${2}${3}*${4}${5}" | wide |
| $ | texto | "$krb5asrep$23${0}@{1}:{2}" | wide |
| $ | texto | "Unable to decrypt the EncTicketPart using key:" | wide |
| $ | texto | "[*] Target service : {0:x}" | wide |
Condición
uint16be( 0 ) == 0x4d5a and filesize < 1MB and 5 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 1MB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 5 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.
Referencias
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: df1860d0-ec34-4c2d-bd83-5f16b26d075c
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