Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Powerpool_STG1

Detects first stage PowerPool backdoor

MalwarePowerpoolditekSHen 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 first stage PowerPool backdoor

Zugehörige Malware-Familie: Powerpool.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-powerpool-stg1.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Powerpool_STG1 : FILE
{
	meta:
		description = "Detects first stage PowerPool backdoor"
		author = "ditekSHen"
		id = "8531c22d-8d71-5794-b9c8-0a4cd81bb2b0"
		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#L2334-L2361"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "9ab00d6e3007743a8bb30fbcdb435ac49101b52face55549ae454c64345caff9"
		score = 75
		quality = 75
		tags = "FILE"
		snort2_sid = "920088"
		snort3_sid = "920086"
		clamav_sig = "MALWARE.Win.Trojan.PowerPool-STG-1"

	strings:
		$s1 = "cmd /c powershell.exe $PSVersionTable.PSVersion > \"%s\"" fullword wide
		$s2 = "cmd /c powershell.exe \"%s\" > \"%s\"" fullword wide
		$s3 = "rar.exe a -r %s.rar -ta%04d%02d%02d%02d%02d%02d -tb%04d%02d%02d%02d%02d%02d" fullword wide
		$s4 = "MyDemonMutex%d" fullword wide
		$s5 = "MyScreen.jpg" fullword wide
		$s6 = "proxy.log" fullword wide
		$s7 = "myjt.exe" fullword wide
		$s8 = "/?id=%s&info=%s" fullword wide
		$s9 = "auto.cfg" fullword ascii
		$s10 = "Mozilla/5.0 (Windows NT 6.1; WOW64)" fullword wide
		$s11 = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)" fullword wide
		$s12 = "CMD COMMAND EXCUTE ERROR!" fullword ascii
		$c1 = "run.afishaonline.eu" fullword wide
		$c2 = "home.Sports-Collectors.com" fullword wide
		$c3 = "about.Sports-Collectors.com" fullword
		$c4 = "179.43.158.15" fullword wide
		$c5 = "185.227.82.35" fullword wide

	condition:
		uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or ( 1 of ( $c* ) and 5 of ( $s* ) ) )
}

Strings (17 Muster)

BezeichnerTypWertModifikatoren
$s1Text"cmd /c powershell.exe $PSVersionTable.PSVersion > \"%s\""fullword wide
$s2Text"cmd /c powershell.exe \"%s\" > \"%s\""fullword wide
$s3Text"rar.exe a -r %s.rar -ta%04d%02d%02d%02d%02d%02d -tb%04d%02d%02d%02d%02d%02d"fullword wide
$s4Text"MyDemonMutex%d"fullword wide
$s5Text"MyScreen.jpg"fullword wide
$s6Text"proxy.log"fullword wide
$s7Text"myjt.exe"fullword wide
$s8Text"/?id=%s&info=%s"fullword wide
$s9Text"auto.cfg"fullword ascii
$s10Text"Mozilla/5.0 (Windows NT 6.1; WOW64)"fullword wide
$s11Text"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)"fullword wide
$s12Text"CMD COMMAND EXCUTE ERROR!"fullword ascii
$c1Text"run.afishaonline.eu"fullword wide
$c2Text"home.Sports-Collectors.com"fullword wide
$c3Text"about.Sports-Collectors.com"fullword
$c4Text"179.43.158.15"fullword wide
$c5Text"185.227.82.35"fullword wide

Bedingung

uint16( 0 ) == 0x5a4d and ( all of ( $s* ) or ( 1 of ( $c* ) and 5 of ( $s* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $c* ) müssen treffen.
  • Mindestens 5 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: 8531c22d-8d71-5794-b9c8-0a4cd81bb2b0

Metadaten

snort2_sid920088
snort3_sid920086
clamav_sigMALWARE.Win.Trojan.PowerPool-STG-1

Tags:FILE

Weitere Powerpool-Regeln