Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Tool_Edrsandblast_Strings

Detects EDRSandblast strings

Herramienta ofensivaSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2024-01-08
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Detects EDRSandblast strings

Objetivos: PE de Windows.

Define 13 patrones (13 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-edrsandblast-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Edrsandblast_Strings : FILE
{
	meta:
		description = "Detects EDRSandblast strings"
		author = "Sekoia.io"
		id = "7059b89c-80b5-4768-b3eb-02f173f628b0"
		date = "2024-01-08"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_edrsandblast_strings.yar#L1-L29"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "8528c4c440734ba97b98b6e0857d95f38a91eaf9120ba2eacff292c864fb86a5"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "[!] Cred Guard bypass failed: obtained invalid" wide
		$ = "[!] Cred Guard bypass non fatal error:" wide
		$ = "[+] Successfully overwrote wdigest's g_fParameter_UseLogonCredential" wide
		$ = "[!] ERROR: could not allocate memory for the handl" wide
		$ = "[+] [ProcessProtection] Found the handle of the current" wide
		$ = "[+] [ProcessProtection] Found self process EPROCCES struct at" wide
		$ = "ETW Threat Intel ProviderEnableInfo address could not be found." wide
		$ = "The ETW Threat Intel provider was successfully" wide
		$ = "[+] [NotifyRountines]" wide
		$ = "[callback addr: 0x" wide
		$ = "EDR / security products driver(s)" wide
		$ = "Object callback offsets not loaded ! Aborting..." wide
		$ = "No more space to store object callbacks !!" wide

	condition:
		uint16be( 0 ) == 0x4d5a and filesize < 1MB and 3 of them
}

Cadenas (13 patrones)

IdentificadorTipoValorModificadores
$texto"[!] Cred Guard bypass failed: obtained invalid"wide
$texto"[!] Cred Guard bypass non fatal error:"wide
$texto"[+] Successfully overwrote wdigest's g_fParameter_UseLogonCredential"wide
$texto"[!] ERROR: could not allocate memory for the handl"wide
$texto"[+] [ProcessProtection] Found the handle of the current"wide
$texto"[+] [ProcessProtection] Found self process EPROCCES struct at"wide
$texto"ETW Threat Intel ProviderEnableInfo address could not be found."wide
$texto"The ETW Threat Intel provider was successfully"wide
$texto"[+] [NotifyRountines]"wide
$texto"[callback addr: 0x"wide
$texto"EDR / security products driver(s)"wide
$texto"Object callback offsets not loaded ! Aborting..."wide
$texto"No more space to store object callbacks !!"wide

Condición

uint16be( 0 ) == 0x4d5a and filesize < 1MB and 3 of them

En 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 3 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.

Abrir en el editor

Referencias

Licencia y atribución

Autor: Sekoia.io

Repositorio de origen: SEKOIA.IO Community @ a438a5901a

Licencia: Detection Rule License 1.1 (licencia del repositorio)

Regla original

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: 7059b89c-80b5-4768-b3eb-02f173f628b0

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE