YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Slothfulmedia
SlothfulMedia backdoor payload
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 73
Qué detecta esta regla
SlothfulMedia backdoor payload
Familia de malware asociada: Slothfulmedia.
Objetivos: PE de Windows.
Define 17 patrones (13 de texto, 0 hex, 4 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule DITEKSHEN_MALWARE_Win_Slothfulmedia : FILE
{
meta:
= "SlothfulMedia backdoor payload"
= "ditekSHen"
= "e94b6d67-137c-5cfb-9c59-fbeb6cd85f0a"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1539-L1565"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "6f742e8d9d555b44daaa09835f599c99e16cd39bb106c8f43fbbca7093de462e"
= 75
= 73
= "FILE"
strings:
$x1 = /ExtKeylogger(Start|Stop)/ fullword ascii
$x2 = /ExtService(Add|Delete|Start|Stop)/ fullword ascii
$x3 = /ExtRegKey(Add|Del)/ fullword ascii
$x4 = /ExtRegItem(Add|Del)/ fullword ascii
$x5 = "ExtUnload" fullword ascii
$s1 = "Local Security Process" fullword wide
$s2 = "Global%s%d" fullword wide
$s3 = "%s%s_%d.dat" fullword wide
$s4 = "\\AppIni" fullword wide
$s5 = "%s.tmp" fullword wide
$s6 = "\\SetupUi" fullword wide
$s7 = "%s|%s|%s|%s" fullword wide
$s8 = "\\ExtInfo" fullword wide
$cnc1 = "/v?m=" fullword ascii
$cnc2 = "%s&i=%d" fullword ascii
$cnc3 = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75" fullword ascii
$cnc4 = "Content-Length: %d" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or 7 of ( $s* ) or all of ( $cnc* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) )
}
Cadenas (17 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | regex | /ExtKeylogger(Start|Stop)/ | fullword ascii |
| $x2 | regex | /ExtService(Add|Delete|Start|Stop)/ | fullword ascii |
| $x3 | regex | /ExtRegKey(Add|Del)/ | fullword ascii |
| $x4 | regex | /ExtRegItem(Add|Del)/ | fullword ascii |
| $x5 | texto | "ExtUnload" | fullword ascii |
| $s1 | texto | "Local Security Process" | fullword wide |
| $s2 | texto | "Global%s%d" | fullword wide |
| $s3 | texto | "%s%s_%d.dat" | fullword wide |
| $s4 | texto | "\\AppIni" | fullword wide |
| $s5 | texto | "%s.tmp" | fullword wide |
| $s6 | texto | "\\SetupUi" | fullword wide |
| $s7 | texto | "%s|%s|%s|%s" | fullword wide |
| $s8 | texto | "\\ExtInfo" | fullword wide |
| $cnc1 | texto | "/v?m=" | fullword ascii |
| $cnc2 | texto | "%s&i=%d" | fullword ascii |
| $cnc3 | texto | "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75" | fullword ascii |
| $cnc4 | texto | "Content-Length: %d" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or 7 of ( $s* ) or all of ( $cnc* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $cnc* ).
- Deben coincidir al menos 3 patrones de ( $x* ).
- Deben coincidir al menos 7 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 4 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: e94b6d67-137c-5cfb-9c59-fbeb6cd85f0a
Etiquetas:FILE
Reglas relacionadas
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- ARKBIRD_SOLG_MAL_Slothfulmedia_Jul_2021_1Solo metadatosMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-07-09
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-10-01
- 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