Saltar al contenido

YARA · Volexity threat-intel

VOLEXITY_Apt_Malware_Py_Dustpan_Pyloader

Detects Python script used by KPlayer to update, modified by attackers to download a malicious payload.

APT / actorDustpanVolexity threat-intelBSD 2-Clause LicenseCompila con YARA-X
Autor
threatintel@volexity.com
Fecha
2023-07-21
Modificada
2024-08-02
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Detects Python script used by KPlayer to update, modified by attackers to download a malicious payload.

Familia de malware asociada: Dustpan.

Define 11 patrones (11 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-malware-py-dustpan-pyloader.yarBSD 2-Clause License
rule VOLEXITY_Apt_Malware_Py_Dustpan_Pyloader : STORMBAMBOO FILE MEMORY
{
	meta:
		description = "Detects Python script used by KPlayer to update, modified by attackers to download a malicious payload."
		author = "threatintel@volexity.com"
		id = "446d2eef-c60a-50ed-9ff1-df86b6210dff"
		date = "2023-07-21"
		modified = "2024-08-02"
		reference = "TIB-20231221"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2024/2024-08-02 StormBamboo/rules.yar#L236-L270"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		logic_hash = "bb3a70dad28181534e27abbbd618165652c137264bfd3726ae4480c642493a3b"
		score = 75
		quality = 80
		tags = "STORMBAMBOO, FILE, MEMORY"
		os = "all"
		os_arch = "all"
		scan_context = "file,memory"
		severity = "critical"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 9530
		version = 4

	strings:
		$s_1 = "def count_md5(src)"
		$s_2 = "urllib.request.urlretrieve(image_url,main)"
		$s_3 = "m1 != '4c8a326899272d2fe30e818181f6f67f'"
		$s_4 = "os.path.split(os.path.realpath(__file__))[0]"
		$s_5 = "r_v = os.system('curl '+ini_url+cc)"
		$s_6 = "b41ef5f591226a0d5adce99cb2e629d8"
		$s_7 = "1df495e7c85e59ad0de1b9e50912f8d0"
		$s_8 = "tasklist | findstr mediainfo.exe"
		$url_1 = "http://dl1.5kplayer.com/youtube/youtube_dl.png"
		$url_2 = "http://dl1.5kplayer.com/youtube/youtube.ini?fire="
		$path_1 = "C:\\\\ProgramData\\\\Digiarty\\\\mediainfo.exe"

	condition:
		3 of ( $s_* ) or any of ( $url_* ) or $path_1
}

Cadenas (11 patrones)

IdentificadorTipoValorModificadores
$s_1texto"def count_md5(src)"
$s_2texto"urllib.request.urlretrieve(image_url,main)"
$s_3texto"m1 != '4c8a326899272d2fe30e818181f6f67f'"
$s_4texto"os.path.split(os.path.realpath(__file__))[0]"
$s_5texto"r_v = os.system('curl '+ini_url+cc)"
$s_6texto"b41ef5f591226a0d5adce99cb2e629d8"
$s_7texto"1df495e7c85e59ad0de1b9e50912f8d0"
$s_8texto"tasklist | findstr mediainfo.exe"
$url_1texto"http://dl1.5kplayer.com/youtube/youtube_dl.png"
$url_2texto"http://dl1.5kplayer.com/youtube/youtube.ini?fire="
$path_1texto"C:\\\\ProgramData\\\\Digiarty\\\\mediainfo.exe"

Condición

3 of ( $s_* ) or any of ( $url_* ) or $path_1

En palabras sencillas (Heurística)

  • Debe coincidir al menos un patrón de ( $url_* ).
  • Deben coincidir al menos 3 patrones de ( $s_* ).
  • El patrón $path_1 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

Licencia y atribución

Autor: threatintel@volexity.com

Repositorio de origen: Volexity threat-intel @ 3a9d0b5245

Licencia: BSD 2-Clause License (indicada en los metadatos de la regla)

“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”

Aviso de copyright: Copyright 2022 by Volexity, Inc.

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: 446d2eef-c60a-50ed-9ff1-df86b6210dff

Metadatos

osall
os_archall
scan_contextfile,memory
severitycritical
rule_id9530
version4

Etiquetas:STORMBAMBOOFILEMEMORY

Más reglas de Dustpan