Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Neptune

Detects Neptune keylogger / infostealer

MalwareNeptuneditekSHen 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

Detects Neptune keylogger / infostealer

Zugehörige Malware-Familie: Neptune.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-neptune.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Neptune : FILE
{
	meta:
		description = "Detects Neptune keylogger / infostealer"
		author = "ditekSHen"
		id = "0f619bea-f00b-5078-95a4-83306e3e87b4"
		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#L7931-L7953"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "e3298bf55f89180ed7e9f7ad35b59d39284a5143fd69fa2a4fbc27d91fb2fbd3"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "your keylogger has been freshly installed on" wide
		$x2 = "Attached is a screenshot of the victim" wide
		$x3 = "color: rgb(2, 84, 138);'>Project Neptune</span><br>" wide
		$x4 = ">{Monitor Everything}</span><br><br>" wide
		$x5 = "[First Run] Neptune" wide
		$x6 = "Neptune - " wide
		$s1 = "Melt" fullword wide
		$s2 = "Hide" fullword wide
		$s3 = "SDDate+" fullword wide
		$s4 = "DelOff+" fullword wide
		$s5 = "MsgFalse+" fullword wide
		$s6 = "Clipboard:" fullword wide
		$s7 = "information is valid and working!" wide
		$s8 = ".exe /k %windir%\\System32\\reg.exe ADD HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v EnableLUA /t REG_DWORD /d 0 /f" wide
		$s9 = "http://www.exampleserver.com/directfile.exe" fullword wide

	condition:
		uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 7 of ( $s* ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) )
}

Strings (15 Muster)

BezeichnerTypWertModifikatoren
$x1Text"your keylogger has been freshly installed on"wide
$x2Text"Attached is a screenshot of the victim"wide
$x3Text"color: rgb(2, 84, 138);'>Project Neptune</span><br>"wide
$x4Text">{Monitor Everything}</span><br><br>"wide
$x5Text"[First Run] Neptune"wide
$x6Text"Neptune - "wide
$s1Text"Melt"fullword wide
$s2Text"Hide"fullword wide
$s3Text"SDDate+"fullword wide
$s4Text"DelOff+"fullword wide
$s5Text"MsgFalse+"fullword wide
$s6Text"Clipboard:"fullword wide
$s7Text"information is valid and working!"wide
$s8Text".exe /k %windir%\\System32\\reg.exe ADD HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v EnableLUA /t REG_DWORD /d 0 /f"wide
$s9Text"http://www.exampleserver.com/directfile.exe"fullword wide

Bedingung

uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 7 of ( $s* ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 2 Muster aus ( $x* ) müssen treffen.
  • Mindestens 7 Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 5 Muster aus ( $s* ) 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: 0f619bea-f00b-5078-95a4-83306e3e87b4

Tags:FILE