Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Apt_Malware_Pocoproxy

Detects strings in PocoProxy

APT / actorSEKOIA.IO CommunityDetection Rule License 1.1Compila con YARA-X
Autor
Sekoia.io
Fecha
2024-08-13
Modificada
2024-12-19
Puntuación / Calidad
75 / 80

Qué detecta esta regla

Detects strings in PocoProxy

Objetivos: PE de Windows.

Define 8 patrones (8 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-pocoproxy.yarDetection Rule License 1.1
rule SEKOIA_Apt_Malware_Pocoproxy : FILE
{
	meta:
		description = "Detects strings in PocoProxy"
		author = "Sekoia.io"
		id = "8b37e37f-339e-4f8b-b792-435096f56af0"
		date = "2024-08-13"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_malware_pocoproxy.yar#L1-L25"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "2b89f15012512002c656ff821bbbeca0"
		hash = "8d850fed6bb1f3b60365ed656c6791c5"
		logic_hash = "217f4eabb5ff4534878b6dd192ae446e651d8510f03ceb501eb33e91199c15a8"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "-listen" ascii fullword
		$ = "-connect" ascii fullword
		$ = "-proxy" ascii fullword
		$ = "%d-%d-%d %d:%d:%d" ascii fullword
		$ = "%S://%S:%u%S" wide
		$ = "\\r\\n[%u(%u/%u/%u/%u)]==> %S  %S>> %S:%d connect ok." wide
		$ = "\\r\\nnconnect to %S:%d faild." wide
		$ = "\\r\\nI'm listen %S:%d,welcome..." wide

	condition:
		uint16be( 0 ) == 0x4d5a and 5 of them
}

Cadenas (8 patrones)

IdentificadorTipoValorModificadores
$texto"-listen"ascii fullword
$texto"-connect"ascii fullword
$texto"-proxy"ascii fullword
$texto"%d-%d-%d %d:%d:%d"ascii fullword
$texto"%S://%S:%u%S"wide
$texto"\\r\\n[%u(%u/%u/%u/%u)]==> %S %S>> %S:%d connect ok."wide
$texto"\\r\\nnconnect to %S:%d faild."wide
$texto"\\r\\nI'm listen %S:%d,welcome..."wide

Condición

uint16be( 0 ) == 0x4d5a and 5 of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 5 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

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

  • 2b89f15012512002c656ff821bbbeca0
  • 8d850fed6bb1f3b60365ed656c6791c5

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: 8b37e37f-339e-4f8b-b792-435096f56af0

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE