Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Risepro

Detects RisePro infostealer

MalwareRiseproditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
Autor
ditekShen
Fecha
2020-11-06
Modificada
2024-11-01
Puntuación / Calidad
75 / 71

Qué detecta esta regla

Detects RisePro infostealer

Familia de malware asociada: Risepro.

Objetivos: PE de Windows.

Define 10 patrones (5 de texto, 2 hex, 3 regex).

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

Código de la regla

malware-win-risepro.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Risepro : FILE
{
	meta:
		description = "Detects RisePro infostealer"
		author = "ditekShen"
		id = "77bc8791-cbe8-53b5-86f4-bc918454a6a6"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L11239-L11269"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "f6f1832f316df51ca108a3c75034bd53c3823cd3d9b16da120e12e252dbf90ff"
		score = 75
		quality = 71
		tags = "FILE"

	strings:
		$x1 = "t.me/riseprosupport" ascii wide nocase
		$s1 = "failed readpacket" fullword wide
		$s2 = "faield sendpacket" fullword wide
		$s3 = "PersistWal" fullword wide
		$s4 = /CRED_ENUMERATE_(ALL|SESSION)_CREDENTIALS/ fullword ascii
		$s5 = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36" fullword wide
		$s6 = { 4c 00 6f 00 67 00 69 00 6e 00 20 00 44 00 61 00 
                74 00 61 [10] 57 00 65 00 62 00 20 00 44 00 61 00
                74 00 61 [2] 48 00 69 00 73 00 74 00 6f 00 72 00
                79 [21] 43 00 6f 00 6f 00 6b 00 69 00 65 00 73 }
		$s7 = { 61 00 70 00 70 00 6c 00 69 00 63 00 61 00 74 00
                69 00 6f 00 6e 00 2f 00 78 00 2d 00 77 00 77 00
                77 00 2d 00 66 00 6f 00 72 00 6d 00 2d 00 75 00
                72 00 6c 00 65 00 6e 00 63 00 6f 00 64 00 65 00
                64 00 3b 00 20 00 63 00 68 00 61 00 72 00 73 00
                65 00 74 00 3d 00 75 00 74 00 66 00 2d 00 38 00
                42 61 00 70 00 70 00 6c 00 69 00 63 00 61 00 74
                00 69 00 6f 00 6e 00 2f 00 6a 00 73 00 6f 00 6e
                00 2c 00 20 00 74 00 65 00 78 00 74 00 2f 00 70
                00 6c 00 61 00 69 00 6e 00 2c 00 20 00 2a 00 2f
                00 2a }
		$s8 = /_(SET|GET)_(GRABBER|LOADER)/ wide
		$s9 = /catch (save )?(windows cred|screen|pluginscrypto|historyCC|autofill|cookies|passwords|passwords sql|autofills sql|dwnlhistory sql|discordToken|quantum|isDropped)/ fullword wide

	condition:
		uint16( 0 ) == 0x5a4d and ( 1 of ( $x* ) or 6 of ( $s* ) )
}

Cadenas (10 patrones)

IdentificadorTipoValorModificadores
$x1texto"t.me/riseprosupport"ascii wide nocase
$s1texto"failed readpacket"fullword wide
$s2texto"faield sendpacket"fullword wide
$s3texto"PersistWal"fullword wide
$s4regex/CRED_ENUMERATE_(ALL|SESSION)_CREDENTIALS/fullword ascii
$s5texto"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"fullword wide
$s6hex{ 4c 00 6f 00 67 00 69 00 6e 00 20 00 44 00 61 00 74 00 61 [10] 57 00 65 00 62 00 20 00 44 00 61 00 74 00 61 [2] 48 00 69 00 73 …
$s7hex{ 61 00 70 00 70 00 6c 00 69 00 63 00 61 00 74 00 69 00 6f 00 6e 00 2f 00 78 00 2d 00 77 00 77 00 77 00 2d 00 66 00 6f 00 72 00 …
$s8regex/_(SET|GET)_(GRABBER|LOADER)/wide
$s9regex/catch (save )?(windows cred|screen|pluginscrypto|historyCC|autofill|cookies|passwords|passwords sql|autofills sql|dwnlhistory sql|discordToken|quantum|isDroppe …fullword wide

Condición

uint16( 0 ) == 0x5a4d and ( 1 of ( $x* ) or 6 of ( $s* ) )

En palabras sencillas (Heurística)

  • El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
  • Deben coincidir al menos 1 patrones de ( $x* ).
  • Deben coincidir al menos 6 patrones de ( $s* ).

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: ditekShen

Repositorio de origen: ditekSHen detection @ e76c93dcde

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

Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: 77bc8791-cbe8-53b5-86f4-bc918454a6a6

Etiquetas:FILE

Más reglas de Risepro