Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Powerpool_STG2

Detects second 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 / 73

Was diese Regel erkennt

Detects second stage PowerPool backdoor

Zugehörige Malware-Familie: Powerpool.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-powerpool-stg2.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Powerpool_STG2 : FILE
{
	meta:
		description = "Detects second stage PowerPool backdoor"
		author = "ditekSHen"
		id = "1a059900-3292-5419-a143-caea3e710191"
		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#L2363-L2395"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "b80712bab281dbde816e2eda6ab1b4a9e21be26578fb755a1e1e1635675aa911"
		score = 75
		quality = 73
		tags = "FILE"
		snort2_sid = "920089-920091"
		snort3_sid = "920087-920089"
		clamav_sig = "MALWARE.Win.Trojan.PowerPool-STG-2"

	strings:
		$s1 = "write info fail!!! GetLastError-->%u" fullword ascii
		$s2 = "LookupAccountSid Error %u" fullword ascii
		$s3 = "Mozilla/4.0 (compatible; )" fullword ascii
		$s4 = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SE)" fullword ascii
		$s5 = "Content-Disposition: form-data; name=\"%s\"" fullword ascii
		$s6 = "Content-Disposition: form-data; name=\"%s\"; filename=\"%s\"" fullword ascii
		$s7 = "Content-Type: multipart/form-data; boundary=--MULTI-PARTS-FORM-DATA-BOUNDARY" fullword ascii
		$s8 = "in Json::Value::find" fullword ascii
		$s9 = "in Json::Value::resolveReference" fullword ascii
		$s10 = "in Json::Value::duplicateAndPrefixStringValue" fullword ascii
		$s11 = ".?AVLogicError@Json@@" fullword ascii
		$s12 = ".?AVRuntimeError@Json@@" fullword ascii
		$s13 = "http:\\\\82.221.101.157:80" ascii
		$s14 = "http://172.223.112.130:80" ascii
		$s15 = "http://172.223.112.130:443" ascii
		$s16 = "http://info.newsrental.net:80" ascii
		$s17 = "%s|%I64d" ascii
		$s18 = "open internet failed..." ascii
		$s19 = "connect failed..." ascii
		$s20 = "handle not opened..." ascii
		$s21 = "corrupted regex pattern" fullword ascii
		$s22 = "add cookie failed..." ascii

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

Strings (22 Muster)

BezeichnerTypWertModifikatoren
$s1Text"write info fail!!! GetLastError-->%u"fullword ascii
$s2Text"LookupAccountSid Error %u"fullword ascii
$s3Text"Mozilla/4.0 (compatible; )"fullword ascii
$s4Text"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SE)"fullword ascii
$s5Text"Content-Disposition: form-data; name=\"%s\""fullword ascii
$s6Text"Content-Disposition: form-data; name=\"%s\"; filename=\"%s\""fullword ascii
$s7Text"Content-Type: multipart/form-data; boundary=--MULTI-PARTS-FORM-DATA-BOUNDARY"fullword ascii
$s8Text"in Json::Value::find"fullword ascii
$s9Text"in Json::Value::resolveReference"fullword ascii
$s10Text"in Json::Value::duplicateAndPrefixStringValue"fullword ascii
$s11Text".?AVLogicError@Json@@"fullword ascii
$s12Text".?AVRuntimeError@Json@@"fullword ascii
$s13Text"http:\\\\82.221.101.157:80"ascii
$s14Text"http://172.223.112.130:80"ascii
$s15Text"http://172.223.112.130:443"ascii
$s16Text"http://info.newsrental.net:80"ascii
$s17Text"%s|%I64d"ascii
$s18Text"open internet failed..."ascii
$s19Text"connect failed..."ascii
$s20Text"handle not opened..."ascii
$s21Text"corrupted regex pattern"fullword ascii
$s22Text"add cookie failed..."ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 14 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: 1a059900-3292-5419-a143-caea3e710191

Metadaten

snort2_sid920089-920091
snort3_sid920087-920089
clamav_sigMALWARE.Win.Trojan.PowerPool-STG-2

Tags:FILE

Weitere Powerpool-Regeln