Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Iamthekingqueenofclubs

IAmTheKing Queen Of Clubs payload

MalwareIamthekingqueenofclubsditekSHen 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

IAmTheKing Queen Of Clubs payload

Zugehörige Malware-Familie: Iamthekingqueenofclubs.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-iamthekingqueenofclubs.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Iamthekingqueenofclubs : FILE
{
	meta:
		description = "IAmTheKing Queen Of Clubs payload"
		author = "ditekSHen"
		id = "4d19a484-0483-5b3e-a9ad-1cd8ca263a04"
		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#L6993-L7007"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "28d7d3e9a3b7c104fc5b0fa38ce33b34596f16f6987c34a0e2e3fd93a8a908bd"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Not Support!" fullword wide
		$s2 = "%s|%s|%s|%s" fullword wide
		$s3 = "cmd.exe" fullword wide
		$s4 = "for(;;){$S=Get-Content \"%s\";IF($S){\"\" > \"%s\";$t=iex $S 2>\"%s\";$t=$t+' ';echo $t >>\"%s\";}sleep -m " wide
		$s5 = "PowerShell.exe -nop -c %s" fullword wide
		$s6 = "%s \"%s\" Df" fullword wide
		$s7 = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)" fullword ascii

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

Strings (7 Muster)

BezeichnerTypWertModifikatoren
$s1Text"Not Support!"fullword wide
$s2Text"%s|%s|%s|%s"fullword wide
$s3Text"cmd.exe"fullword wide
$s4Text"for(;;){$S=Get-Content \"%s\";IF($S){\"\" > \"%s\";$t=iex $S 2>\"%s\";$t=$t+' ';echo $t >>\"%s\";}sleep -m "wide
$s5Text"PowerShell.exe -nop -c %s"fullword wide
$s6Text"%s \"%s\" Df"fullword wide
$s7Text"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)"fullword ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 5 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: 4d19a484-0483-5b3e-a9ad-1cd8ca263a04

Tags:FILE