Saltar al contenido

YARA · BlackBerry Research & Intelligence (via Open-Source-YARA-rules)

BLACKBERRY_Windealer_Library

Detects WinDealer Loaded DLL

Autor
BlackBerry Threat Research Team
Fecha
2022-06-14
Modificada
2022-07-07
Puntuación / Calidad
75 / 85

Qué detecta esta regla

Detects WinDealer Loaded DLL

Familia de malware asociada: Windealer.

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

windealer-library.yarApache License 2.0
rule BLACKBERRY_Windealer_Library : FILE
{
	meta:
		description = "Detects WinDealer Loaded DLL"
		author = "BlackBerry Threat Research Team"
		id = "d7fbf21b-9144-532a-ad5d-29543f0ffc33"
		date = "2022-06-14"
		modified = "2022-07-07"
		reference = "https://blogs.blackberry.com/en/2022/06/threat-thursday-china-based-apt-plays-auto-updater-card-to-deliver-windealer-malwareZ"
		source_url = "https://github.com/mikesxrs/Open-Source-YARA-rules/blob/ec0056f767db98bf6d5fd63877ad51fb54d350e9/Blackberry/Windealer_Library.yar#L1-L26"
		license_url = "N/A"
		logic_hash = "35151a8c0486ceaddb5020cb81f644bba4b01d5f8e4726786abc65ae92ca9c3e"
		score = 75
		quality = 85
		tags = "FILE"
		license = "This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team"

	strings:
		$s1 = "C:\\Users\\Public\\Documents\\Tencent\\QQ\\UserDataInfo.ini"
		$s2 = "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders"
		$s3 = "SOFTWARE\\SogouInput\\red"
		$s4 = "SOFTWARE\\SogouDesktopBar"
		$s5 = "MozillaDll.dll"
		$s6 = "Tencent Files"
		$s7 = "wangwang"
		$s8 = "WeChat Files"
		$s9 = "MyDocument"
		$s10 = "Skype"
		$e1 = "AutoGetSystemInfo"
		$e2 = "GetConfigInfo"
		$e3 = "partInitOpt"

	condition:
		uint16( 0 ) == 0x5a4d and all of them
}

Cadenas (13 patrones)

IdentificadorTipoValorModificadores
$s1texto"C:\\Users\\Public\\Documents\\Tencent\\QQ\\UserDataInfo.ini"
$s2texto"Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders"
$s3texto"SOFTWARE\\SogouInput\\red"
$s4texto"SOFTWARE\\SogouDesktopBar"
$s5texto"MozillaDll.dll"
$s6texto"Tencent Files"
$s7texto"wangwang"
$s8texto"WeChat Files"
$s9texto"MyDocument"
$s10texto"Skype"
$e1texto"AutoGetSystemInfo"
$e2texto"GetConfigInfo"
$e3texto"partInitOpt"

Condición

uint16( 0 ) == 0x5a4d 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

Licencia y atribución

Autor: BlackBerry Threat Research Team

Repositorio de origen: BlackBerry Research & Intelligence (via Open-Source-YARA-rules) @ ec0056f767

Licencia: Apache License 2.0 (indicada en los metadatos de la regla)

“This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team”

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: d7fbf21b-9144-532a-ad5d-29543f0ffc33

Etiquetas:FILE

Más reglas de Windealer