Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Tool_Win_Driverjack

No description has been set in the source file - SEKOIA

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

Qué detecta esta regla

No description has been set in the source file - SEKOIA

Objetivos: PE de Windows.

Define 5 patrones (5 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-driverjack.yarDetection Rule License 1.1
rule SEKOIA_Tool_Win_Driverjack : FILE
{
	meta:
		description = "No description has been set in the source file - SEKOIA"
		author = "Sekoia.io"
		id = "08bc0fe8-38f1-4c73-99c8-2659b4a55815"
		date = "2024-09-11"
		modified = "2024-12-19"
		reference = "https://github.com/klezVirus/DriverJack/blob/master/DriverJack"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_win_driverjack.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "649fc12915bdcdebbc3798a8ad0b9b32"
		logic_hash = "0ea81c32b75ff66434f0c949be7d1478ce9268eb1b67dc5b7d6c7604cedcd72c"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "(*) Decrypting %llu bytes of file content using key '%s' of length %u..."
		$ = "(*) Modifying file %s in mapped drive..."
		$ = "(*) Checking file %s in mapped drive..."
		$ = "(-) CreateProcess failed '%s' (%08x)."
		$ = "(*) Mounted Drive Letter: %s"

	condition:
		uint16be( 0 ) == 0x4d5a and all of them
}

Cadenas (5 patrones)

IdentificadorTipoValorModificadores
$texto"(*) Decrypting %llu bytes of file content using key '%s' of length %u..."
$texto"(*) Modifying file %s in mapped drive..."
$texto"(*) Checking file %s in mapped drive..."
$texto"(-) CreateProcess failed '%s' (%08x)."
$texto"(*) Mounted Drive Letter: %s"

Condición

uint16be( 0 ) == 0x4d5a and all of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir todos los 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

Hashes de muestras

Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).

  • 649fc12915bdcdebbc3798a8ad0b9b32

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: 08bc0fe8-38f1-4c73-99c8-2659b4a55815

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE