Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Simda

Detects Simda / Shifu infostealer

MalwareSimdaditekSHen 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 Simda / Shifu infostealer

Zugehörige Malware-Familie: Simda.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-simda.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Simda : FILE
{
	meta:
		description = "Detects Simda / Shifu infostealer"
		author = "ditekShen"
		id = "892a5ffe-ea1a-5df3-9c36-0198fa61b8b6"
		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#L11345-L11361"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "3f06e86033e8f9534f9904a2a63c4717a9532eb235f6f4405ef1db7d9b93f036"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "command=auth_loginByPassword&back_command=&back_custom1=&" fullword ascii
		$s2 = "iexplore.exe|opera.exe|java.exe|javaw.exe|explorer.exe|isclient.exe|intpro.exe|ipc_full.exe|mnp.exe|cbsmain.dll|firefox.exe|clma" ascii
		$s3 = "debug_%s_%s.log" fullword ascii
		$s4 = "Content-Disposition: form-data; name=\"file\"; filename=\"report\"" ascii
		$s5 = "name=%s&port=%u" ascii
		$s6 = "id=%s&ver=4.0.1&up=%u&os=%03u&rights=%s&ltime=%s%d&token=%d" ascii
		$s7 = "{BotVer:" fullword ascii
		$s8 = "software\\microsoft\\windows nt\\currentversion\\winlogon" ascii
		$s9 = /(!|&|data_)inject(=ok)?/ fullword ascii

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

Strings (9 Muster)

BezeichnerTypWertModifikatoren
$s1Text"command=auth_loginByPassword&back_command=&back_custom1=&"fullword ascii
$s2Text"iexplore.exe|opera.exe|java.exe|javaw.exe|explorer.exe|isclient.exe|intpro.exe|ipc_full.exe|mnp.exe|cbsmain.dll|firefox.exe|clma"ascii
$s3Text"debug_%s_%s.log"fullword ascii
$s4Text"Content-Disposition: form-data; name=\"file\"; filename=\"report\""ascii
$s5Text"name=%s&port=%u"ascii
$s6Text"id=%s&ver=4.0.1&up=%u&os=%03u&rights=%s&ltime=%s%d&token=%d"ascii
$s7Text"{BotVer:"fullword ascii
$s8Text"software\\microsoft\\windows nt\\currentversion\\winlogon"ascii
$s9Regex/(!|&|data_)inject(=ok)?/fullword ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 6 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: 892a5ffe-ea1a-5df3-9c36-0198fa61b8b6

Tags:FILE