Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Dlinjector04

Detects downloader / injector

MalwareDlinjector04ditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
Autor
ditekSHen
Fecha
2020-11-06
Modificada
2024-11-01
Puntuación / Calidad
75 / 75

Qué detecta esta regla

Detects downloader / injector

Familia de malware asociada: Dlinjector04.

Objetivos: PE de Windows.

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

malware-win-dlinjector04.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Dlinjector04 : FILE
{
	meta:
		description = "Detects downloader / injector"
		author = "ditekSHen"
		id = "fe423aee-6ff4-5fd0-9fa2-51dd0c27f54b"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7769-L7790"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "ab9a047e53dec2cc5986522636783b5cb8aae7fc0297292d017ec22ee5750cce"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Runner" fullword ascii
		$s2 = "DownloadPayload" fullword ascii
		$s3 = "RunOnStartup" fullword ascii
		$a1 = "Antis" fullword ascii
		$a2 = "antiVM" fullword ascii
		$a3 = "antiSandbox" fullword ascii
		$a4 = "antiDebug" fullword ascii
		$a5 = "antiEmulator" fullword ascii
		$a6 = "enablePersistence" fullword ascii
		$a7 = "enableFakeError" fullword ascii
		$a8 = "DetectVirtualMachine" fullword ascii
		$a9 = "DetectSandboxie" fullword ascii
		$a10 = "DetectDebugger" fullword ascii
		$a11 = "CheckEmulator" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( ( all of ( $s* ) and 5 of ( $a* ) ) or 10 of ( $a* ) )
}

Cadenas (14 patrones)

IdentificadorTipoValorModificadores
$s1texto"Runner"fullword ascii
$s2texto"DownloadPayload"fullword ascii
$s3texto"RunOnStartup"fullword ascii
$a1texto"Antis"fullword ascii
$a2texto"antiVM"fullword ascii
$a3texto"antiSandbox"fullword ascii
$a4texto"antiDebug"fullword ascii
$a5texto"antiEmulator"fullword ascii
$a6texto"enablePersistence"fullword ascii
$a7texto"enableFakeError"fullword ascii
$a8texto"DetectVirtualMachine"fullword ascii
$a9texto"DetectSandboxie"fullword ascii
$a10texto"DetectDebugger"fullword ascii
$a11texto"CheckEmulator"fullword ascii

Condición

uint16( 0 ) == 0x5a4d and ( ( all of ( $s* ) and 5 of ( $a* ) ) or 10 of ( $a* ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir todos los patrones de ( $s* ).
  • Deben coincidir al menos 5 patrones de ( $a* ).
  • Deben coincidir al menos 10 patrones de ( $a* ).

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: ditekSHen

Repositorio de origen: ditekSHen detection @ e76c93dcde

Licencia: BSD 2-Clause License (licencia del repositorio)

Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: fe423aee-6ff4-5fd0-9fa2-51dd0c27f54b

Etiquetas:FILE