YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Mystic
Hunt for Mystic Infostealer
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Hunt for Mystic Infostealer
Familia de malware asociada: Mystic.
Objetivos: PE de Windows.
Define 7 patrones (6 de texto, 0 hex, 1 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule DITEKSHEN_MALWARE_Win_Mystic : FILE
{
meta:
= "Hunt for Mystic Infostealer"
= "ditekSHen"
= "959eceab-0a2c-5361-b8f4-6739033ffae5"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L9614-L9628"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "26e0b85141df818d70124c0b19b5b6a05ac24ae679724d7a8ad94415a6462d17"
= 75
= 75
= "FILE"
strings:
$s1 = "LaStFiLe:)" ascii wide
$s2 = "LaStPrOcEsS:)" ascii wide
$s3 = "credit_cards" ascii wide
$s4 = "number_of_processors" ascii wide
$s5 = "computername" ascii wide
$p1 = "G:\\Projects\\Python\\morpher\\" ascii wide
$p2 = /G:\\Projects\\stealer\\.{15}\\Release\\.{5,25}\.pdb/ ascii wide
condition:
( uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) or ( 1 of ( $p* ) and 3 of ( $s* ) ) ) ) or ( all of ( $s* ) )
}
Cadenas (7 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "LaStFiLe:)" | ascii wide |
| $s2 | texto | "LaStPrOcEsS:)" | ascii wide |
| $s3 | texto | "credit_cards" | ascii wide |
| $s4 | texto | "number_of_processors" | ascii wide |
| $s5 | texto | "computername" | ascii wide |
| $p1 | texto | "G:\\Projects\\Python\\morpher\\" | ascii wide |
| $p2 | regex | /G:\\Projects\\stealer\\.{15}\\Release\\.{5,25}\.pdb/ | ascii wide |
Condición
( uint16( 0 ) == 0x5a4d and ( 4 of ( $s* ) or ( 1 of ( $p* ) and 3 of ( $s* ) ) ) ) or ( all of ( $s* ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $s* ).
- Deben coincidir al menos 4 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $p* ).
- Deben coincidir al menos 3 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: 959eceab-0a2c-5361-b8f4-6739033ffae5
Etiquetas:FILE
Reglas relacionadas
- MalwareEmbee Research· Matthew @ Embee_reserch· 2023-09-21
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- 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