Saltar al contenido

YARA · WithSecure Labs IOCs

WITHSECURELABS_Legionrelay_Client

Detects LegionRelay client script

GenéricaWithSecure Labs IOCsBSD 2-Clause LicenseCompila con YARA-X
Autor
WithSecure
Fecha
2026-05-28
Puntuación / Calidad
75 / 75

Qué detecta esta regla

Detects LegionRelay client script

Define 6 patrones (6 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

legionrelay-client.yarBSD 2-Clause License
rule WITHSECURELABS_Legionrelay_Client
{
	meta:
		description = "Detects LegionRelay client script"
		author = "WithSecure"
		id = "ec6b7aae-414d-5e54-9fc0-6826c7e9e1b8"
		date = "2026-05-28"
		modified = "2026-05-28"
		reference = "https://github.com/WithSecureLabs/iocs"
		source_url = "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/GREYVIBE/greyvibe.yara#L105-L119"
		license_url = "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/LICENSE"
		logic_hash = "ba3fff2de891e880884434150f7a6331356a234ad0b2bc572e158a9b7ac03c0c"
		score = 75
		quality = 75
		tags = ""

	strings:
		$a1 = "powershell_ise"
		$a2 = "pwsh"
		$a3 = "/status"
		$a4 = "/commands?client_id="
		$a5 = "[^\\w\\-]"
		$a6 = "client_config.json"

	condition:
		all of them
}

Cadenas (6 patrones)

IdentificadorTipoValorModificadores
$a1texto"powershell_ise"
$a2texto"pwsh"
$a3texto"/status"
$a4texto"/commands?client_id="
$a5texto"[^\\w\\-]"
$a6texto"client_config.json"

Condición

all of them

En palabras sencillas (Heurística)

  • Deben coincidir todos los 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: WithSecure

Repositorio de origen: WithSecure Labs IOCs @ 1a8384468d

Licencia: BSD 2-Clause License (licencia del repositorio)

Aviso de copyright: Copyright (c) 2022, WithSecure Oyj

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: ec6b7aae-414d-5e54-9fc0-6826c7e9e1b8