Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Rootkit_Win_Purplefox_Svchost_Txt

Detects Purple Fox payloads used during end-2021 and 2022 campaigns based on characteristics shared by TrendMicro details.

MalwarePurplefoxSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2022-03-28
Geändert
2024-12-19
Score / Qualität
75 / 80

Was diese Regel erkennt

Detects Purple Fox payloads used during end-2021 and 2022 campaigns based on characteristics shared by TrendMicro details.

Zugehörige Malware-Familie: Purplefox.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

rootkit-win-purplefox-svchost-txt.yarDetection Rule License 1.1
rule SEKOIA_Rootkit_Win_Purplefox_Svchost_Txt : FILE
{
	meta:
		description = "Detects Purple Fox payloads used during end-2021 and 2022 campaigns based on characteristics shared by TrendMicro details."
		author = "Sekoia.io"
		id = "e992d574-6a44-4bea-97e2-6d5579ce8d02"
		date = "2022-03-28"
		modified = "2024-12-19"
		reference = "https://www.trendmicro.com/en_us/research/22/c/purple-fox-uses-new-arrival-vector-and-improves-malware-arsenal.html"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rootkit_win_purplefox_svchost_txt.yar#L1-L22"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "a1de949cb2e898ed031f5c796f7152af12dfae5431dfaf269f25ebe72f0ae004"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str0 = "C:\\ProgramData\\dll.dll,luohua" wide
		$str1 = "C:\\ProgramData\\7z.exe" wide
		$str2 = "F:\\hidden-master\\x64\\Debug\\QAssist.pdb" ascii
		$str3 = "F:\\Root\\sources\\MedaiUpdateV8\\Release\\MedaiUpdateV8.pdb" ascii
		$str4 = "cmd.exe /c RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255" ascii
		$str5 = "del /s /f %appdata%\\Mozilla\\Firefox\\Profiles\\*.db" ascii

	condition:
		4 of ( $str* ) and filesize > 7000KB and filesize < 9500KB
}

Strings (6 Muster)

BezeichnerTypWertModifikatoren
$str0Text"C:\\ProgramData\\dll.dll,luohua"wide
$str1Text"C:\\ProgramData\\7z.exe"wide
$str2Text"F:\\hidden-master\\x64\\Debug\\QAssist.pdb"ascii
$str3Text"F:\\Root\\sources\\MedaiUpdateV8\\Release\\MedaiUpdateV8.pdb"ascii
$str4Text"cmd.exe /c RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255"ascii
$str5Text"del /s /f %appdata%\\Mozilla\\Firefox\\Profiles\\*.db"ascii

Bedingung

4 of ( $str* ) and filesize > 7000KB and filesize < 9500KB

In Worten (Heuristik)

  • Die Datei muss kleiner als 9500KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Die Datei muss größer als 7000KB sein.
  • Mindestens 4 Muster aus ( $str* ) 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: Sekoia.io

Quell-Repository: SEKOIA.IO Community @ a438a5901a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: e992d574-6a44-4bea-97e2-6d5579ce8d02

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Purplefox-Regeln