Saltar al contenido

YARA · Volexity threat-intel

VOLEXITY_Apt_Malware_Win_Avburner

Detects AVBurner based on a combination of API calls used, hard-coded strings and bytecode patterns.

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

Qué detecta esta regla

Detects AVBurner based on a combination of API calls used, hard-coded strings and bytecode patterns.

Define 14 patrones (8 de texto, 6 hex, 0 regex).

Resumen generado a partir de los metadatos y la condición de la regla.

Código de la regla

apt-malware-win-avburner.yarBSD 2-Clause License
rule VOLEXITY_Apt_Malware_Win_Avburner : DEVIOUSBAMBOO FILE MEMORY
{
	meta:
		description = "Detects AVBurner based on a combination of API calls used, hard-coded strings and bytecode patterns."
		author = "threatintel@volexity.com"
		id = "1bde0861-4820-5bb1-98a3-516092c91be0"
		date = "2023-01-02"
		modified = "2024-08-16"
		reference = "https://www.trendmicro.com/en_us/research/22/k/hack-the-real-box-apt41-new-subgroup-earth-longzhi.html"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2023/2023-03-07 AVBurner/yara.yar#L1-L40"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "4b1b1a1293ccd2c0fd51075de9376ebb55ab64972da785153fcb0a4eb523a5eb"
		logic_hash = "56ff6c8a4b737959a1219699a0457de1f0c34fead4299033840fb23c56a0caad"
		score = 75
		quality = 80
		tags = "DEVIOUSBAMBOO, FILE, MEMORY"
		os = "win"
		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 = 8780
		version = 4

	strings:
		$api1 = "PspCreateProcessNotifyRoutineAddress" wide
		$api2 = "PspCreateThreadNotifyRoutineAddress" wide
		$api3 = "PspLoadImageNotifyRoutineAddress" wide
		$str1 = "\\\\.\\RTCORE64" wide
		$str2 = "\\\\%ws/pipe/%ws" wide
		$str3 = "CreateServerW Failed %u" wide
		$str4 = "OpenSCManager Failed %u" wide
		$str5 = "Get patternAddress" wide
		$pattern1 = { 4C 8B F9 48 8D 0C C1 E8 }
		$pattern2 = { 48 8D 0C DD 00 00 00 00  45 33 C0 49 03 CD 48 8B }
		$pattern3 = { 48 8D 04 C1 48 89 45 70 48 8B C8 E8 }
		$pattern4 = { 49 8D 0C FC 45 33 C0 48 8B D6 E8 00 00 00 00 00}
		$pattern5 = { 45 33 C0 48 8D 0C D9 48 8B D7 E8 00 00 00 00 00 00 00 00 00 00 00 00 00 }
		$pattern6 = { 41 0F BA 6D 00 0A BB 01 00 00 00 4C 8B F2 4C 8B F9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 }

	condition:
		all of ( $api* ) or all of ( $str* ) or all of ( $pattern* )
}

Cadenas (14 patrones)

IdentificadorTipoValorModificadores
$api1texto"PspCreateProcessNotifyRoutineAddress"wide
$api2texto"PspCreateThreadNotifyRoutineAddress"wide
$api3texto"PspLoadImageNotifyRoutineAddress"wide
$str1texto"\\\\.\\RTCORE64"wide
$str2texto"\\\\%ws/pipe/%ws"wide
$str3texto"CreateServerW Failed %u"wide
$str4texto"OpenSCManager Failed %u"wide
$str5texto"Get patternAddress"wide
$pattern1hex{ 4C 8B F9 48 8D 0C C1 E8 }
$pattern2hex{ 48 8D 0C DD 00 00 00 00 45 33 C0 49 03 CD 48 8B }
$pattern3hex{ 48 8D 04 C1 48 89 45 70 48 8B C8 E8 }
$pattern4hex{ 49 8D 0C FC 45 33 C0 48 8B D6 E8 00 00 00 00 00}
$pattern5hex{ 45 33 C0 48 8D 0C D9 48 8B D7 E8 00 00 00 00 00 00 00 00 00 00 00 00 00 }
$pattern6hex{ 41 0F BA 6D 00 0A BB 01 00 00 00 4C 8B F2 4C 8B F9 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 }

Condición

all of ( $api* ) or all of ( $str* ) or all of ( $pattern* )

En palabras sencillas (Heurística)

  • Deben coincidir todos los patrones de ( $api* ).
  • Deben coincidir todos los patrones de ( $str* ).
  • Deben coincidir todos los patrones de ( $pattern* ).

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

Hashes de muestras

Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).

  • 4b1b1a1293ccd2c0fd51075de9376ebb55ab64972da785153fcb0a4eb523a5eb

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: 1bde0861-4820-5bb1-98a3-516092c91be0

Metadatos

oswin
os_archall
scan_contextfile,memory
severitycritical
rule_id8780
version4

Etiquetas:DEVIOUSBAMBOOFILEMEMORY