Saltar al contenido

YARA · Volexity threat-intel

VOLEXITY_Apt_Malware_Py_Agentpsd

Detection for AgentPSD, a python-based malware typically delivered within PyInstaller-built binaries.

APT / actorVolexity threat-intelBSD 2-Clause LicenseCompila con YARA-X
Autor
threatintel@volexity.com
Fecha
2025-09-05
Modificada
2025-10-30
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Detection for AgentPSD, a python-based malware typically delivered within PyInstaller-built binaries.

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-agentpsd.yarBSD 2-Clause License
rule VOLEXITY_Apt_Malware_Py_Agentpsd : VERDANTBAMBOO AGENTPSD MEMORY
{
	meta:
		description = "Detection for AgentPSD, a python-based malware typically delivered within PyInstaller-built binaries."
		author = "threatintel@volexity.com"
		id = "4a7d531f-926d-557e-b2a0-d4f103e9c63a"
		date = "2025-09-05"
		modified = "2025-10-30"
		reference = "https://github.com/volexity/threat-intel"
		source_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2026/2026-06-04 VerdantBamboo/rules.yar#L137-L171"
		license_url = "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
		hash = "ee41e06ed96182ce80cd4544a6abd5d7719c4a5c0e5ddb266a83842d39b99b0a"
		logic_hash = "dd0b957bc2a61ddebd392b86b35bae8c1052a285fa31ccd700e580c2ad9cce59"
		score = 75
		quality = 80
		tags = "VERDANTBAMBOO, AGENTPSD, MEMORY"
		os = "all"
		os_arch = "all"
		scan_context = "memory"
		severity = "critical"
		report1 = "TIB-20251104"
		license = "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
		rule_id = 12297
		version = 5

	strings:
		$s1 = "g_strPhpUrl" ascii
		$s2 = "g_nSleepMinits" ascii
		$s3 = "g_nDuringTime" ascii
		$func1 = "startwork" ascii
		$func2 = "ifrunning" ascii
		$func3 = "getsysinfo" ascii
		$func4 = "getcmdfromweb" ascii
		$func5 = "ParseCmdFromResponse" ascii
		$func6 = "PostDataToServer" ascii
		$func7 = "DealWithBuildinCommand" ascii
		$func8 = "PostBuildinResultToWeb" ascii

	condition:
		2 of ( $s* ) or 4 of ( $func* )
}

Cadenas (11 patrones)

IdentificadorTipoValorModificadores
$s1texto"g_strPhpUrl"ascii
$s2texto"g_nSleepMinits"ascii
$s3texto"g_nDuringTime"ascii
$func1texto"startwork"ascii
$func2texto"ifrunning"ascii
$func3texto"getsysinfo"ascii
$func4texto"getcmdfromweb"ascii
$func5texto"ParseCmdFromResponse"ascii
$func6texto"PostDataToServer"ascii
$func7texto"DealWithBuildinCommand"ascii
$func8texto"PostBuildinResultToWeb"ascii

Condición

2 of ( $s* ) or 4 of ( $func* )

En palabras sencillas (Heurística)

  • Deben coincidir al menos 2 patrones de ( $s* ).
  • Deben coincidir al menos 4 patrones de ( $func* ).

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).

  • ee41e06ed96182ce80cd4544a6abd5d7719c4a5c0e5ddb266a83842d39b99b0a

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: 4a7d531f-926d-557e-b2a0-d4f103e9c63a

Metadatos

osall
os_archall
scan_contextmemory
severitycritical
report1TIB-20251104
rule_id12297
version5

Etiquetas:VERDANTBAMBOOAGENTPSDMEMORY