Saltar al contenido

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Revengerat

RevengeRAT and variants payload

MalwareRevengeratditekSHen detectionBSD 2-Clause LicenseCompila con YARA-X
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

malware-win-revengerat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Revengerat : FILE
{
	meta:
		description = "RevengeRAT and variants payload"
		author = "ditekSHen"
		id = "7d725050-108c-54b5-978e-2dd2124f5b0f"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L1687-L1713"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "be9e50052f45b94d5995db723dd64d16a91c5ba0d3f589c018155c0cce45124f"
		score = 75
		quality = 75
		tags = "FILE"
		snort_sid = "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)

IdentificadorTipoValorModificadores
$l1texto"Lime.Connection"fullword ascii
$l2texto"Lime.Packets"fullword ascii
$l3texto"Lime.Settings"fullword ascii
$l4texto"Lime.NativeMethods"fullword ascii
$s1texto"GetAV"fullword ascii
$s2texto"keepAlivePing!"fullword ascii wide
$s3texto"Revenge-RAT"fullword ascii wide
$s4texto"*-]NK[-*"fullword ascii wide
$s5texto"RV_MUTEX"fullword ascii wide
$s6texto"set_SendBufferSize"fullword ascii
$s7texto"03C7F4E8FB359AEC0EEF0814B66A704FC43FB3A8"fullword ascii
$s8texto"5B1EE7CAD3DFF220A95D1D6B91435D9E1520AC41"fullword ascii
$s9texto"\\RevengeRAT\\"ascii
$q1texto"Select * from AntiVirusProduct"fullword ascii wide
$q2texto"SELECT * FROM FirewallProduct"fullword ascii wide
$q3texto"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.

Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.

Abrir en el editor

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).

Regla original

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_sid920000-920002

Etiquetas:FILE