Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Spyeye

Detects SpyEye

MalwareSpyeyeditekSHen 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 SpyEye

Zugehörige Malware-Familie: Spyeye.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-spyeye.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Spyeye : FILE
{
	meta:
		description = "Detects SpyEye"
		author = "ditekSHen"
		id = "aa15220a-6fd4-5c5e-8287-957fc3c3fe52"
		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#L4096-L4111"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "352853d600d1f4fbc09e58b783eb4e13b335fefbfe89842873710f0a9085d107"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "_CLEANSWEEP_" ascii wide
		$x2 = "config.datUT" fullword ascii
		$x3 = "webinjects.txtUT" fullword ascii
		$s1 = "confirm:processCommand" fullword ascii
		$s2 = "Smth wrong with navigate to REF-PAGE (err code: %d). 0_o" fullword ascii
		$s3 = "(UTC%s%2.2f) %s" fullword wide
		$s4 = "M\\F;u`r" fullword ascii
		$s5 = "]YH0%Yn" fullword ascii

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

Strings (8 Muster)

BezeichnerTypWertModifikatoren
$x1Text"_CLEANSWEEP_"ascii wide
$x2Text"config.datUT"fullword ascii
$x3Text"webinjects.txtUT"fullword ascii
$s1Text"confirm:processCommand"fullword ascii
$s2Text"Smth wrong with navigate to REF-PAGE (err code: %d). 0_o"fullword ascii
$s3Text"(UTC%s%2.2f) %s"fullword wide
$s4Text"M\\F;u`r"fullword ascii
$s5Text"]YH0%Yn"fullword ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 2 Muster aus ( $x* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 1 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: aa15220a-6fd4-5c5e-8287-957fc3c3fe52

Tags:FILE