Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Slothfulmedia

SlothfulMedia backdoor payload

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

Was diese Regel erkennt

SlothfulMedia backdoor payload

Zugehörige Malware-Familie: Slothfulmedia.

Ziele: Windows-PE.

Sie definiert 17 Muster (13 Text, 0 Hex, 4 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-slothfulmedia.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Slothfulmedia : FILE
{
	meta:
		description = "SlothfulMedia backdoor payload"
		author = "ditekSHen"
		id = "e94b6d67-137c-5cfb-9c59-fbeb6cd85f0a"
		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#L1539-L1565"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "6f742e8d9d555b44daaa09835f599c99e16cd39bb106c8f43fbbca7093de462e"
		score = 75
		quality = 73
		tags = "FILE"

	strings:
		$x1 = /ExtKeylogger(Start|Stop)/ fullword ascii
		$x2 = /ExtService(Add|Delete|Start|Stop)/ fullword ascii
		$x3 = /ExtRegKey(Add|Del)/ fullword ascii
		$x4 = /ExtRegItem(Add|Del)/ fullword ascii
		$x5 = "ExtUnload" fullword ascii
		$s1 = "Local Security Process" fullword wide
		$s2 = "Global%s%d" fullword wide
		$s3 = "%s%s_%d.dat" fullword wide
		$s4 = "\\AppIni" fullword wide
		$s5 = "%s.tmp" fullword wide
		$s6 = "\\SetupUi" fullword wide
		$s7 = "%s|%s|%s|%s" fullword wide
		$s8 = "\\ExtInfo" fullword wide
		$cnc1 = "/v?m=" fullword ascii
		$cnc2 = "%s&i=%d" fullword ascii
		$cnc3 = "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75" fullword ascii
		$cnc4 = "Content-Length: %d" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or 7 of ( $s* ) or all of ( $cnc* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) )
}

Strings (17 Muster)

BezeichnerTypWertModifikatoren
$x1Regex/ExtKeylogger(Start|Stop)/fullword ascii
$x2Regex/ExtService(Add|Delete|Start|Stop)/fullword ascii
$x3Regex/ExtRegKey(Add|Del)/fullword ascii
$x4Regex/ExtRegItem(Add|Del)/fullword ascii
$x5Text"ExtUnload"fullword ascii
$s1Text"Local Security Process"fullword wide
$s2Text"Global%s%d"fullword wide
$s3Text"%s%s_%d.dat"fullword wide
$s4Text"\\AppIni"fullword wide
$s5Text"%s.tmp"fullword wide
$s6Text"\\SetupUi"fullword wide
$s7Text"%s|%s|%s|%s"fullword wide
$s8Text"\\ExtInfo"fullword wide
$cnc1Text"/v?m="fullword ascii
$cnc2Text"%s&i=%d"fullword ascii
$cnc3Text"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75"fullword ascii
$cnc4Text"Content-Length: %d"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( 3 of ( $x* ) or 7 of ( $s* ) or all of ( $cnc* ) or ( 1 of ( $x* ) and 4 of ( $s* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $cnc* ) müssen treffen.
  • Mindestens 3 Muster aus ( $x* ) müssen treffen.
  • Mindestens 7 Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) 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: e94b6d67-137c-5cfb-9c59-fbeb6cd85f0a

Tags:FILE

Weitere Slothfulmedia-Regeln