Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Darkeye

Detects DarkEye infostealer

MalwareDarkeyeditekSHen 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 DarkEye infostealer

Zugehörige Malware-Familie: Darkeye.

Ziele: Windows-PE.

Sie definiert 12 Muster (10 Text, 0 Hex, 2 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-darkeye.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Darkeye : FILE
{
	meta:
		description = "Detects DarkEye infostealer"
		author = "ditekSHen"
		id = "5296fe28-b54e-5d0f-aa2f-2050db585d82"
		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#L9751-L9770"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "5496dcbfe075a4030a446027765186e9dd1931561a29a481139281e1708ce87d"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$c1 = /Prynt(\s)?Stealer/ ascii wide
		$c2 = /WorldWind(\s)?Stealer/ ascii wide
		$c3 = "ToxicEye" ascii wide
		$x2 = "@FlatLineStealer" ascii wide
		$x3 = "@CashOutGangTalk" ascii wide
		$s1 = "--- Clipper" wide
		$s2 = "Downloading file: \"{file}\"" wide
		$s3 = "/bot{0}/getUpdates?offset={1}" wide
		$s4 = "send command to bot!" wide
		$s5 = " *Keylogger " fullword wide
		$s6 = "*Stealer" wide
		$s7 = "Bot connected" wide

	condition:
		uint16( 0 ) == 0x5a4d and not any of ( $c* ) and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( 4 of ( $s* ) ) )
}

Strings (12 Muster)

BezeichnerTypWertModifikatoren
$c1Regex/Prynt(\s)?Stealer/ascii wide
$c2Regex/WorldWind(\s)?Stealer/ascii wide
$c3Text"ToxicEye"ascii wide
$x2Text"@FlatLineStealer"ascii wide
$x3Text"@CashOutGangTalk"ascii wide
$s1Text"--- Clipper"wide
$s2Text"Downloading file: \"{file}\""wide
$s3Text"/bot{0}/getUpdates?offset={1}"wide
$s4Text"send command to bot!"wide
$s5Text" *Keylogger "fullword wide
$s6Text"*Stealer"wide
$s7Text"Bot connected"wide

Bedingung

uint16( 0 ) == 0x5a4d and not any of ( $c* ) and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( 4 of ( $s* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens ein Muster aus ( $c* ) muss treffen.
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 2 Muster aus ( $s* ) müssen treffen.
  • Mindestens 4 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: 5296fe28-b54e-5d0f-aa2f-2050db585d82

Tags:FILE