Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Guloader_Unpacker

GuLoader Unpacker

Sospechoso / huntingSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2024-02-07
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

GuLoader Unpacker

Define 3 patrones (3 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

guloader-unpacker.yarDetection Rule License 1.1
rule SEKOIA_Guloader_Unpacker : FILE
{
	meta:
		description = "GuLoader Unpacker"
		author = "Sekoia.io"
		id = "dee4cad4-e3b4-4a12-860b-ff750b119fa8"
		date = "2024-02-07"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/guloader_unpacker.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "6be9d7fa829480466aef2a7e78a7dadfac92f7774ab3374254305040c105496f"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$p1 = "([Parameter(Position = 0)] [Type[]] $" base64
		$p2 = "+=2){" base64
		$p3 = "}else {" base64

	condition:
		$p1 in ( filesize -30000 .. filesize ) and $p2 in ( filesize -30000 .. filesize ) and $p3 in ( filesize -30000 .. filesize ) and filesize > 300KB
}

Cadenas (3 patrones)

IdentificadorTipoValorModificadores
$p1texto"([Parameter(Position = 0)] [Type[]] $"base64
$p2texto"+=2){"base64
$p3texto"}else {"base64

Condición

$p1 in ( filesize -30000 .. filesize ) and $p2 in ( filesize -30000 .. filesize ) and $p3 in ( filesize -30000 .. filesize ) and filesize > 300KB

En palabras sencillas (Heurística)

  • El archivo debe ocupar más de 300KB.
  • El patrón $p1 debe estar en el rango filesize -30000 .. filesize.
  • El patrón $p2 debe estar en el rango filesize -30000 .. filesize.
  • El patrón $p3 debe estar en el rango filesize -30000 .. filesize.

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: dee4cad4-e3b4-4a12-860b-ff750b119fa8

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE