YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Risepro
Detects RisePro infostealer
- 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
rule DITEKSHEN_MALWARE_Win_Risepro : FILE
{
meta:
= "Detects RisePro infostealer"
= "ditekShen"
= "77bc8791-cbe8-53b5-86f4-bc918454a6a6"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L11239-L11269"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "f6f1832f316df51ca108a3c75034bd53c3823cd3d9b16da120e12e252dbf90ff"
= 75
= 71
= "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)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "t.me/riseprosupport" | ascii wide nocase |
| $s1 | texto | "failed readpacket" | fullword wide |
| $s2 | texto | "faield sendpacket" | fullword wide |
| $s3 | texto | "PersistWal" | fullword wide |
| $s4 | regex | /CRED_ENUMERATE_(ALL|SESSION)_CREDENTIALS/ | fullword ascii |
| $s5 | texto | "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 | hex | { 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 … | |
| $s7 | hex | { 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 … | |
| $s8 | regex | /_(SET|GET)_(GRABBER|LOADER)/ | wide |
| $s9 | regex | /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.
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).
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
Reglas relacionadas
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareCAPE Sandbox (CAPEv2)· kevoreilly· 2023-12-16
- MalwareditekSHen detection· ditekShen· 2020-11-06
- MalwareditekSHen detection· ditekShen· 2020-11-06
- MalwareditekSHen detection· ditekShen· 2020-11-06
- MalwareditekSHen detection· ditekShen· 2020-11-06
- MalwareditekSHen detection· ditekShen· 2020-11-06
- MalwareditekSHen detection· ditekShen· 2020-11-06