Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Revengerat

RevengeRAT and variants payload

MalwareRevengeratditekSHen detectionBSD 2-Clause LicenseCompile avec YARA-X
Auteur
ditekSHen
Date
2020-11-06
Modifiée
2024-11-01
Score / Qualité
75 / 75

Ce que détecte cette règle

RevengeRAT and variants payload

Famille de malware associée : Revengerat.

Cibles : PE Windows.

Elle définit 16 motifs (16 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

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* ) )
}

Chaînes (16 motifs)

IdentifiantTypeValeurModificateurs
$l1texte"Lime.Connection"fullword ascii
$l2texte"Lime.Packets"fullword ascii
$l3texte"Lime.Settings"fullword ascii
$l4texte"Lime.NativeMethods"fullword ascii
$s1texte"GetAV"fullword ascii
$s2texte"keepAlivePing!"fullword ascii wide
$s3texte"Revenge-RAT"fullword ascii wide
$s4texte"*-]NK[-*"fullword ascii wide
$s5texte"RV_MUTEX"fullword ascii wide
$s6texte"set_SendBufferSize"fullword ascii
$s7texte"03C7F4E8FB359AEC0EEF0814B66A704FC43FB3A8"fullword ascii
$s8texte"5B1EE7CAD3DFF220A95D1D6B91435D9E1520AC41"fullword ascii
$s9texte"\\RevengeRAT\\"ascii
$q1texte"Select * from AntiVirusProduct"fullword ascii wide
$q2texte"SELECT * FROM FirewallProduct"fullword ascii wide
$q3texte"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* ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Tous les motifs de ( $q* ) doivent être trouvés.
  • Au moins 1 motifs de ( $l* ) doivent être trouvés.
  • Au moins 3 motifs de ( $s* ) doivent être trouvés.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : ditekSHen

Dépôt source : ditekSHen detection @ e76c93dcde

Licence : BSD 2-Clause License (licence du dépôt)

Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 7d725050-108c-54b5-978e-2dd2124f5b0f

Métadonnées

snort_sid920000-920002

Tags:FILE