YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Reverserat
Detects ReverseRAT
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects ReverseRAT
Familia de malware asociada: Reverserat.
Objetivos: PE de Windows.
Define 9 patrones (8 de texto, 1 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule DITEKSHEN_MALWARE_Win_Reverserat : FILE
{
meta:
= "Detects ReverseRAT"
= "ditekSHen"
= "df13fc6c-025a-54db-809d-4f3c27b8aa7a"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L6495-L6514"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "87ab00a5588bfce04ec47a07b184fffe359e472ac8bf561b02a8b070edf2e014"
= 75
= 75
= "FILE"
strings:
$pdb1 = "\\ReverseRat.pdb" ascii nocase
$pdb2 = "\\ReverseRat\\obj\\" ascii nocase
$s1 = "processCmd" fullword ascii
$s2 = "CmdOutputDataHandler" fullword ascii
$s3 = "sendingProcess" fullword ascii
$s4 = "SetStartup" fullword ascii
$s5 = "RunServer" fullword ascii
$s6 = "_OutputDataReceived" ascii
$s7 = { 63 00 6d 00 64 00 2e 00 65 00 78 00 65 00
00 03 0a 00 00 13 74 00 65 00 72 00 6d 00
69 00 6e 00 61 00 74 00 65 00 00 09 65 00
78 00 69 00 74 00 }
condition:
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $pdb* ) and 2 of ( $s* ) ) or 5 of ( $s* ) )
}
Cadenas (9 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $pdb1 | texto | "\\ReverseRat.pdb" | ascii nocase |
| $pdb2 | texto | "\\ReverseRat\\obj\\" | ascii nocase |
| $s1 | texto | "processCmd" | fullword ascii |
| $s2 | texto | "CmdOutputDataHandler" | fullword ascii |
| $s3 | texto | "sendingProcess" | fullword ascii |
| $s4 | texto | "SetStartup" | fullword ascii |
| $s5 | texto | "RunServer" | fullword ascii |
| $s6 | texto | "_OutputDataReceived" | ascii |
| $s7 | hex | { 63 00 6d 00 64 00 2e 00 65 00 78 00 65 00 00 03 0a 00 00 13 74 00 65 00 72 00 6d 00 69 00 6e 00 61 00 74 00 65 00 00 09 65 00 … |
Condición
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $pdb* ) and 2 of ( $s* ) ) or 5 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 ( $pdb* ).
- Deben coincidir al menos 2 patrones de ( $s* ).
- Deben coincidir al menos 5 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: df13fc6c-025a-54db-809d-4f3c27b8aa7a
Etiquetas:FILE
Reglas relacionadas
- MalwareSEKOIA.IO Community· Sekoia.io· 2023-02-22
- APT / actorSEKOIA.IO Community· Sekoia.io· 2023-05-11
- 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