Saltar al contenido

YARA · WithSecure Labs IOCs

WITHSECURELABS_Andariel_Starshellrat

Detects StarshellRAT samples

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

Qué detecta esta regla

Detects StarshellRAT samples

Objetivos: PE de Windows.

Define 9 patrones (9 de texto, 0 hex, 0 regex). Módulos YARA usados: pe.

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

Código de la regla

Incluye los imports necesarios para compilarla por sí sola.

andariel-starshellrat.yarBSD 2-Clause License
import "pe"

rule WITHSECURELABS_Andariel_Starshellrat
{
	meta:
		description = "Detects StarshellRAT samples"
		author = "WithSecure"
		id = "ecc377fd-2754-5f6a-a26b-c6c12b9e18c8"
		date = "2026-01-22"
		modified = "2026-01-22"
		reference = "https://github.com/WithSecureLabs/iocs"
		source_url = "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/Andariel2025/andariel.yara#L68-L85"
		license_url = "https://github.com/WithSecureLabs/iocs/blob/1a8384468dd292c6d2c5114c32e42dc0da1f5ae1/LICENSE"
		logic_hash = "b210ab8790710a8d53a0775550d94e0604dd80c4681a90dcd093ec8ceccc6da5"
		score = 75
		quality = 75
		tags = ""

	strings:
		$str1 = "StarShell" ascii
		$str2 = "ReadRlt" ascii
		$str3 = "SendRlt" ascii
		$str4 = "ProcessShell" ascii
		$str5 = "Screan ok" wide
		$str6 = "<==>" wide
		$str7 = "\\r\\nStarted..." wide
		$str8 = "\\r\\nDownload End." wide
		$str9 = "\\r\\nupload end" wide

	condition:
		pe.is_pe and 3 of them
}

Cadenas (9 patrones)

IdentificadorTipoValorModificadores
$str1texto"StarShell"ascii
$str2texto"ReadRlt"ascii
$str3texto"SendRlt"ascii
$str4texto"ProcessShell"ascii
$str5texto"Screan ok"wide
$str6texto"<==>"wide
$str7texto"\\r\\nStarted..."wide
$str8texto"\\r\\nDownload End."wide
$str9texto"\\r\\nupload end"wide

Condición

pe.is_pe and 3 of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 3 patrones de la regla.
  • Usa el módulo pe.

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: ecc377fd-2754-5f6a-a26b-c6c12b9e18c8