Saltar al contenido

YARA · SEKOIA.IO Community

SEKOIA_Infostealer_Win_Monster_Stub

Finds Monster Stealer stub (Python payload) based on specific strings.

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

Qué detecta esta regla

Finds Monster Stealer stub (Python payload) based on specific strings.

Objetivos: PE de Windows.

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

infostealer-win-monster-stub.yarDetection Rule License 1.1
rule SEKOIA_Infostealer_Win_Monster_Stub : FILE
{
	meta:
		description = "Finds Monster Stealer stub (Python payload) based on specific strings."
		author = "Sekoia.io"
		id = "10d27d49-79ae-4edc-8c30-35506bdf2c42"
		date = "2024-08-07"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/infostealer_win_monster_stub.yar#L1-L31"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "d6362c54b1f56ffa878423fbb1a3f57508d20e06b573c732f892494178a49200"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "https://t.me/monster_free_cloud" ascii
		$str02 = "MonsterUpdateService" ascii
		$str03 = "Monster.exe" ascii
		$str04 = "schtasks /create /f /sc daily /ri 30 /tn" ascii
		$str05 = "C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\StartUp\\" ascii
		$str06 = "banned_uuids" ascii
		$str07 = "banned_computer_names" ascii
		$str08 = "banned_process" ascii
		$str09 = "register_X_browsers" ascii
		$str10 = "register_payload" ascii
		$str11 = "tiktok_sessions.txt" ascii
		$str12 = "spotify_sessions.txt" ascii
		$str13 = "network_info.txt" ascii
		$str14 = "lolz.guru" ascii
		$str15 = "echo ####System Info####" ascii
		$str16 = "echo ####Firewallinfo####" ascii
		$str17 = "/injection/main/injection.js" ascii

	condition:
		uint16( 0 ) == 0x5A4D and 10 of them
}

Cadenas (17 patrones)

IdentificadorTipoValorModificadores
$str01texto"https://t.me/monster_free_cloud"ascii
$str02texto"MonsterUpdateService"ascii
$str03texto"Monster.exe"ascii
$str04texto"schtasks /create /f /sc daily /ri 30 /tn"ascii
$str05texto"C:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\StartUp\\"ascii
$str06texto"banned_uuids"ascii
$str07texto"banned_computer_names"ascii
$str08texto"banned_process"ascii
$str09texto"register_X_browsers"ascii
$str10texto"register_payload"ascii
$str11texto"tiktok_sessions.txt"ascii
$str12texto"spotify_sessions.txt"ascii
$str13texto"network_info.txt"ascii
$str14texto"lolz.guru"ascii
$str15texto"echo ####System Info####"ascii
$str16texto"echo ####Firewallinfo####"ascii
$str17texto"/injection/main/injection.js"ascii

Condición

uint16( 0 ) == 0x5A4D and 10 of them

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 10 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: 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: 10d27d49-79ae-4edc-8c30-35506bdf2c42

Metadatos

version1.0
classificationTLP:CLEAR

Etiquetas:FILE