Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Buran

Buran ransomware payload

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

Qué detecta esta regla

Buran ransomware payload

Familia de malware asociada: Buran.

Objetivos: PE de Windows.

Define 22 patrones (22 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-buran.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Buran : FILE
{
	meta:
		description = "Buran ransomware payload"
		author = "ditekSHen"
		id = "1433bac5-2ece-54bb-8e57-b5834fffc719"
		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#L871-L903"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "eaf50d824dbade0ca63fafc5b4a376553039de9b51a0f6387cb28c8f91a7e0b9"
		score = 75
		quality = 73
		tags = "FILE"
		clamav_sig = "MALWARE.Win.Ransomware.Buran"

	strings:
		$v1_1 = "U?$error_info_injector@V" ascii
		$v1_2 = "Browse for Folder (FTP)" fullword ascii
		$v1_3 = "Find/Replace in Files" fullword ascii
		$v1_4 = "PAHKLM" fullword ascii
		$v1_5 = "PAHKCR" fullword ascii
		$v1_6 = "chkOpt_" ascii
		$h1 = "Search <a href=\"location\" class=\"menu\">in this folder</a>" ascii
		$h2 = "<br>to find where the text below" ascii
		$h3 = "</a> files with these extensions (separate with semi-colons)" ascii
		$h4 = "Need help with <a href=\"" ascii
		$path = "\\work\\cr\\nata\\libs\\boost_" wide
		$v2_1 = "(ShlObj" fullword ascii
		$v2_2 = "\\StreamUnit" fullword ascii
		$v2_3 = "TReadme" fullword ascii
		$v2_4 = "TDrivesAndShares" fullword ascii
		$v2_5 = "TCustomMemoryStreamD" fullword ascii
		$v2_6 = "OpenProcessToken" fullword ascii
		$v2_7 = "UrlMon" fullword ascii
		$v2_8 = "HttpSendRequestA" fullword ascii
		$v2_9 = "InternetConnectA" fullword ascii
		$v2_10 = "FindFiles" fullword ascii
		$v2_12 = "$*@@@*$@@@$" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( ( ( all of ( $v1* ) and 1 of ( $h* ) ) or ( $path and 2 of ( $v1* ) and 1 of ( $h* ) ) or 10 of them ) or all of ( $v2* ) )
}

Cadenas (22 patrones)

IdentificadorTipoValorModificadores
$v1_1texto"U?$error_info_injector@V"ascii
$v1_2texto"Browse for Folder (FTP)"fullword ascii
$v1_3texto"Find/Replace in Files"fullword ascii
$v1_4texto"PAHKLM"fullword ascii
$v1_5texto"PAHKCR"fullword ascii
$v1_6texto"chkOpt_"ascii
$h1texto"Search <a href=\"location\" class=\"menu\">in this folder</a>"ascii
$h2texto"<br>to find where the text below"ascii
$h3texto"</a> files with these extensions (separate with semi-colons)"ascii
$h4texto"Need help with <a href=\""ascii
$pathtexto"\\work\\cr\\nata\\libs\\boost_"wide
$v2_1texto"(ShlObj"fullword ascii
$v2_2texto"\\StreamUnit"fullword ascii
$v2_3texto"TReadme"fullword ascii
$v2_4texto"TDrivesAndShares"fullword ascii
$v2_5texto"TCustomMemoryStreamD"fullword ascii
$v2_6texto"OpenProcessToken"fullword ascii
$v2_7texto"UrlMon"fullword ascii
$v2_8texto"HttpSendRequestA"fullword ascii
$v2_9texto"InternetConnectA"fullword ascii
$v2_10texto"FindFiles"fullword ascii
$v2_12texto"$*@@@*$@@@$"ascii

Condición

uint16( 0 ) == 0x5a4d and ( ( ( all of ( $v1* ) and 1 of ( $h* ) ) or ( $path and 2 of ( $v1* ) and 1 of ( $h* ) ) or 10 of them ) or all of ( $v2* ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir todos los patrones de ( $v1* ).
  • Deben coincidir todos los patrones de ( $v2* ).
  • Deben coincidir al menos 1 patrones de ( $h* ).
  • Deben coincidir al menos 2 patrones de ( $v1* ).
  • Deben coincidir al menos 10 patrones de la regla.
  • El patrón $path debe estar presente.

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: 1433bac5-2ece-54bb-8e57-b5834fffc719

Metadatos

clamav_sigMALWARE.Win.Ransomware.Buran

Etiquetas:FILE