YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Torisma
Detects Torisma
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects Torisma
Familia de malware asociada: Torisma.
Objetivos: PE de Windows.
Define 9 patrones (6 de texto, 3 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
malware-win-torisma.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Torisma : FILE
{
meta:
= "Detects Torisma"
= "ditekSHen"
= "e62a0f1c-4404-5da1-9c43-4cb58e735827"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4339-L4355"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "bd3823f8a91fdfc443e20bcb299a5103b7176a694f0d5328e7986de83f677a31"
= 75
= 75
= "FILE"
strings:
$s1 = "ACTION=PREVPAGE&CODE=C%s&RES=%d" fullword ascii
$s2 = "ACTION=VIEW&PAGE=%s&CODE=%s&CACHE=%s&REQUEST=%d" fullword ascii
$s3 = "ACTION=NEXTPAGE&CODE=S%s&CACHE=%s&RES=%d" fullword ascii
$s4 = "Your request has been accepted. ClientID: {" ascii
$s5 = "Proxy-Connection: Keep-Alive" fullword wide
$s6 = "Content-Length: %d" fullword wide
$o0 = { f7 f9 8b c2 89 44 24 34 48 63 44 24 34 48 8b 4c }
$o1 = { 48 c7 00 ff ff ff ff 48 8b 84 24 90 }
$o2 = { f3 aa 83 7c 24 30 01 75 34 c7 44 24 20 01 }
condition:
uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( all of ( $o* ) and 3 of ( $s* ) )
}
Cadenas (9 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "ACTION=PREVPAGE&CODE=C%s&RES=%d" | fullword ascii |
| $s2 | texto | "ACTION=VIEW&PAGE=%s&CODE=%s&CACHE=%s&REQUEST=%d" | fullword ascii |
| $s3 | texto | "ACTION=NEXTPAGE&CODE=S%s&CACHE=%s&RES=%d" | fullword ascii |
| $s4 | texto | "Your request has been accepted. ClientID: {" | ascii |
| $s5 | texto | "Proxy-Connection: Keep-Alive" | fullword wide |
| $s6 | texto | "Content-Length: %d" | fullword wide |
| $o0 | hex | { f7 f9 8b c2 89 44 24 34 48 63 44 24 34 48 8b 4c } | |
| $o1 | hex | { 48 c7 00 ff ff ff ff 48 8b 84 24 90 } | |
| $o2 | hex | { f3 aa 83 7c 24 30 01 75 34 c7 44 24 20 01 } |
Condición
uint16( 0 ) == 0x5a4d and 4 of ( $s* ) or ( all of ( $o* ) and 3 of ( $s* ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir todos los patrones de ( $o* ).
- Deben coincidir al menos 4 patrones de ( $s* ).
- 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.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
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: e62a0f1c-4404-5da1-9c43-4cb58e735827
Etiquetas:FILE
Reglas relacionadas
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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