YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Phemedronestealer
Detects Phemedrone Stealer infostealer
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects Phemedrone Stealer infostealer
Familia de malware asociada: Phemedronestealer.
Objetivos: PE de Windows.
Define 14 patrones (13 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_Phemedronestealer : FILE
{
meta:
= "Detects Phemedrone Stealer infostealer"
= "ditekSHen"
= "297aab1f-351c-5955-8a19-9aa2b7c94748"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L10559-L10580"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "74e150cc971f5648f9e3f6146afba162b1a29cf2744c862b2320db52c2efa930"
= 75
= 75
= "FILE"
strings:
$p1 = /\{ file = \{(0|file)\}, data = \{(1|data)\} \}/ ascii wide
$p2 = "{ <>h__TransparentIdentifier0 = {0}, match = {1} }" wide
$p3 = "{ <>h__TransparentIdentifier1 = {0}, encrypted = {1} }" wide
$p4 = "{<>h__TransparentIdentifier0}, match = {match} }" ascii
$p5 = "{<>h__TransparentIdentifier1}, encrypted = {encrypted} }" ascii
$s1 = "<KillDebuggers>b__" ascii
$s2 = "<ParseExtensions>b__" ascii
$s3 = "<ParseDiscordTokens>b__" ascii
$s4 = "<IsVM>b__" ascii
$s5 = "<Key3Database>b__" ascii
$s6 = "masterPass" ascii
$s7 = "rootLocation" ascii
$s8 = "rgsServiceNames" ascii
$s9 = "rgsFilenames" ascii
condition:
uint16( 0 ) == 0x5a4d and ( ( all of ( $p* ) and 3 of ( $s* ) ) or ( 3 of ( $p* ) and 4 of ( $s* ) ) or ( 7 of ( $s* ) ) )
}
Cadenas (14 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $p1 | regex | /\{ file = \{(0|file)\}, data = \{(1|data)\} \}/ | ascii wide |
| $p2 | texto | "{ <>h__TransparentIdentifier0 = {0}, match = {1} }" | wide |
| $p3 | texto | "{ <>h__TransparentIdentifier1 = {0}, encrypted = {1} }" | wide |
| $p4 | texto | "{<>h__TransparentIdentifier0}, match = {match} }" | ascii |
| $p5 | texto | "{<>h__TransparentIdentifier1}, encrypted = {encrypted} }" | ascii |
| $s1 | texto | "<KillDebuggers>b__" | ascii |
| $s2 | texto | "<ParseExtensions>b__" | ascii |
| $s3 | texto | "<ParseDiscordTokens>b__" | ascii |
| $s4 | texto | "<IsVM>b__" | ascii |
| $s5 | texto | "<Key3Database>b__" | ascii |
| $s6 | texto | "masterPass" | ascii |
| $s7 | texto | "rootLocation" | ascii |
| $s8 | texto | "rgsServiceNames" | ascii |
| $s9 | texto | "rgsFilenames" | ascii |
Condición
uint16( 0 ) == 0x5a4d and ( ( all of ( $p* ) and 3 of ( $s* ) ) or ( 3 of ( $p* ) and 4 of ( $s* ) ) or ( 7 of ( $s* ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $p* ).
- Deben coincidir al menos 3 patrones de ( $s* ).
- Deben coincidir al menos 3 patrones de ( $p* ).
- Deben coincidir al menos 4 patrones de ( $s* ).
- Deben coincidir al menos 7 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: 297aab1f-351c-5955-8a19-9aa2b7c94748
Etiquetas:FILE
Reglas relacionadas
- 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
- MalwareditekSHen detection· ditekSHen· 2020-11-06