YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Revengerat
RevengeRAT and variants payload
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
RevengeRAT and variants payload
Familia de malware asociada: Revengerat.
Objetivos: PE de Windows.
Define 16 patrones (16 de texto, 0 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_Revengerat : FILE
{
meta:
= "RevengeRAT and variants payload"
= "ditekSHen"
= "7d725050-108c-54b5-978e-2dd2124f5b0f"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1687-L1713"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "be9e50052f45b94d5995db723dd64d16a91c5ba0d3f589c018155c0cce45124f"
= 75
= 75
= "FILE"
= "920000-920002"
strings:
$l1 = "Lime.Connection" fullword ascii
$l2 = "Lime.Packets" fullword ascii
$l3 = "Lime.Settings" fullword ascii
$l4 = "Lime.NativeMethods" fullword ascii
$s1 = "GetAV" fullword ascii
$s2 = "keepAlivePing!" fullword ascii wide
$s3 = "Revenge-RAT" fullword ascii wide
$s4 = "*-]NK[-*" fullword ascii wide
$s5 = "RV_MUTEX" fullword ascii wide
$s6 = "set_SendBufferSize" fullword ascii
$s7 = "03C7F4E8FB359AEC0EEF0814B66A704FC43FB3A8" fullword ascii
$s8 = "5B1EE7CAD3DFF220A95D1D6B91435D9E1520AC41" fullword ascii
$s9 = "\\RevengeRAT\\" ascii
$q1 = "Select * from AntiVirusProduct" fullword ascii wide
$q2 = "SELECT * FROM FirewallProduct" fullword ascii wide
$q3 = "select * from Win32_Processor" fullword ascii wide
condition:
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $l* ) and 3 of ( $s* ) ) or ( all of ( $q* ) and 3 of ( $s* ) ) or 3 of ( $s* ) )
}
Cadenas (16 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $l1 | texto | "Lime.Connection" | fullword ascii |
| $l2 | texto | "Lime.Packets" | fullword ascii |
| $l3 | texto | "Lime.Settings" | fullword ascii |
| $l4 | texto | "Lime.NativeMethods" | fullword ascii |
| $s1 | texto | "GetAV" | fullword ascii |
| $s2 | texto | "keepAlivePing!" | fullword ascii wide |
| $s3 | texto | "Revenge-RAT" | fullword ascii wide |
| $s4 | texto | "*-]NK[-*" | fullword ascii wide |
| $s5 | texto | "RV_MUTEX" | fullword ascii wide |
| $s6 | texto | "set_SendBufferSize" | fullword ascii |
| $s7 | texto | "03C7F4E8FB359AEC0EEF0814B66A704FC43FB3A8" | fullword ascii |
| $s8 | texto | "5B1EE7CAD3DFF220A95D1D6B91435D9E1520AC41" | fullword ascii |
| $s9 | texto | "\\RevengeRAT\\" | ascii |
| $q1 | texto | "Select * from AntiVirusProduct" | fullword ascii wide |
| $q2 | texto | "SELECT * FROM FirewallProduct" | fullword ascii wide |
| $q3 | texto | "select * from Win32_Processor" | fullword ascii wide |
Condición
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $l* ) and 3 of ( $s* ) ) or ( all of ( $q* ) and 3 of ( $s* ) ) or 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 ( $q* ).
- Deben coincidir al menos 1 patrones de ( $l* ).
- 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: 7d725050-108c-54b5-978e-2dd2124f5b0f
Metadatos
| snort_sid | 920000-920002 |
|---|
Etiquetas:FILE
Reglas relacionadas
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Arnim Rupp· 2021-01-22
- 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