Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Mystic

Hunt for Mystic Infostealer

MalwareMysticditekSHen 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

Hunt for Mystic Infostealer

Zugehörige Malware-Familie: Mystic.

Ziele: Windows-PE.

Sie definiert 7 Muster (6 Text, 0 Hex, 1 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-mystic.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Mystic : FILE
{
	meta:
		description = "Hunt for Mystic Infostealer"
		author = "ditekSHen"
		id = "959eceab-0a2c-5361-b8f4-6739033ffae5"
		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#L9614-L9628"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "26e0b85141df818d70124c0b19b5b6a05ac24ae679724d7a8ad94415a6462d17"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "LaStFiLe:)" ascii wide
		$s2 = "LaStPrOcEsS:)" ascii wide
		$s3 = "credit_cards" ascii wide
		$s4 = "number_of_processors" ascii wide
		$s5 = "computername" ascii wide
		$p1 = "G:\\Projects\\Python\\morpher\\" ascii wide
		$p2 = /G:\\Projects\\stealer\\.{15}\\Release\\.{5,25}\.pdb/ ascii wide

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

Strings (7 Muster)

BezeichnerTypWertModifikatoren
$s1Text"LaStFiLe:)"ascii wide
$s2Text"LaStPrOcEsS:)"ascii wide
$s3Text"credit_cards"ascii wide
$s4Text"number_of_processors"ascii wide
$s5Text"computername"ascii wide
$p1Text"G:\\Projects\\Python\\morpher\\"ascii wide
$p2Regex/G:\\Projects\\stealer\\.{15}\\Release\\.{5,25}\.pdb/ascii wide

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $s* ) müssen treffen.
  • Mindestens 4 Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $p* ) müssen treffen.
  • Mindestens 3 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: 959eceab-0a2c-5361-b8f4-6739033ffae5

Tags:FILE