Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Limerat

LimeRAT payload

MalwareLimeratditekSHen detectionBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
ditekSHen
Datum
2020-11-06
Geändert
2024-11-01
Score / Qualität
75 / 75

Was diese Regel erkennt

LimeRAT payload

Zugehörige Malware-Familie: Limerat.

Ziele: Windows-PE.

Sie definiert 9 Muster (9 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-limerat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Limerat : FILE
{
	meta:
		description = "LimeRAT payload"
		author = "ditekSHen"
		id = "a4b85cad-97a8-514c-9380-f3e8ec95a44d"
		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#L152-L168"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "8ae35c5fa48773b93da0b76b238fc8dbaf19fdeb6fd81bf23842c5121d620116"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "schtasks /create /f /sc ONLOGON /RL HIGHEST /tn LimeRAT-Admin /tr" wide
		$s2 = "\\vboxhook.dll" fullword wide
		$s3 = "Win32_Processor.deviceid=\"CPU0\"" fullword wide
		$s4 = "select CommandLine from Win32_Process where Name='{0}'" wide
		$s5 = "Minning..." fullword wide
		$s6 = "Regasm.exe" fullword wide
		$s7 = "Flood!" fullword wide
		$s8 = "Rans-Status" fullword wide
		$s9 = "cmd.exe /c ping 0" wide

	condition:
		uint16( 0 ) == 0x5a4d and 5 of them
}

Strings (9 Muster)

BezeichnerTypWertModifikatoren
$s1Text"schtasks /create /f /sc ONLOGON /RL HIGHEST /tn LimeRAT-Admin /tr"wide
$s2Text"\\vboxhook.dll"fullword wide
$s3Text"Win32_Processor.deviceid=\"CPU0\""fullword wide
$s4Text"select CommandLine from Win32_Process where Name='{0}'"wide
$s5Text"Minning..."fullword wide
$s6Text"Regasm.exe"fullword wide
$s7Text"Flood!"fullword wide
$s8Text"Rans-Status"fullword wide
$s9Text"cmd.exe /c ping 0"wide

Bedingung

uint16( 0 ) == 0x5a4d and 5 of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 5 Muster aus der Regel müssen treffen.

Diese Regel im Browser testen

Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: ditekSHen

Quell-Repository: ditekSHen detection @ e76c93dcde

Lizenz: BSD 2-Clause License (Repository-Lizenz)

Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: a4b85cad-97a8-514c-9380-f3e8ec95a44d

Tags:FILE