Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Apt_Lazarus_Vhd_Ransomware_Downloader

Detects VHD ransomware downloader

APT / actorVhd RansomwareSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2022-11-28
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Detects VHD ransomware downloader

Familia de malware asociada: Vhd Ransomware.

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

apt-lazarus-vhd-ransomware-downloader.yarDetection Rule License 1.1
rule SEKOIA_Apt_Lazarus_Vhd_Ransomware_Downloader : FILE
{
	meta:
		description = "Detects VHD ransomware downloader"
		author = "Sekoia.io"
		id = "edcc9df8-650c-437a-adb8-a671e8b75e64"
		date = "2022-11-28"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_lazarus_vhd_ransomware_downloader.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "042ab0029d170937af9b9ee6a8e499843532c84cf99faed3d2d47cb18a1500ac"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "rundll32.exe %s #1 %S" wide
		$ = "cmd /c timeout /t 10 & Del /f /q \"%s\" & attrib -s -h \"%s\" & rundll32 \"%s\" #1" wide
		$ = "cmd /c timeout /t 10 & rundll32 \"%s\" #1" wide
		$ = "curl -A cur1-agent -L %s -s -d da"
		$ = "curl -A cur1-agent -L %s -s -d dl"

	condition:
		filesize < 2MB and 3 of them
}

Cadenas (5 patrones)

IdentificadorTipoValorModificadores
$texto"rundll32.exe %s #1 %S"wide
$texto"cmd /c timeout /t 10 & Del /f /q \"%s\" & attrib -s -h \"%s\" & rundll32 \"%s\" #1"wide
$texto"cmd /c timeout /t 10 & rundll32 \"%s\" #1"wide
$texto"curl -A cur1-agent -L %s -s -d da"
$texto"curl -A cur1-agent -L %s -s -d dl"

Condición

filesize < 2MB and 3 of them

En palabras sencillas (Heurística)

  • El archivo debe ocupar menos de 2MB (un límite barato que descarta archivos grandes).
  • Deben coincidir al menos 3 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: 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: edcc9df8-650c-437a-adb8-a671e8b75e64

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE

Más reglas de Vhd Ransomware