Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Powerpool_STG2

Detects second stage PowerPool backdoor

MalwarePowerpoolditekSHen detectionBSD 2-Clause LicenseCompile avec YARA-X
Auteur
ditekSHen
Date
2020-11-06
Modifiée
2024-11-01
Score / Qualité
75 / 73

Ce que détecte cette règle

Detects second stage PowerPool backdoor

Famille de malware associée : Powerpool.

Cibles : PE Windows.

Elle définit 22 motifs (22 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

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
}

Chaînes (22 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"write info fail!!! GetLastError-->%u"fullword ascii
$s2texte"LookupAccountSid Error %u"fullword ascii
$s3texte"Mozilla/4.0 (compatible; )"fullword ascii
$s4texte"Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; SE)"fullword ascii
$s5texte"Content-Disposition: form-data; name=\"%s\""fullword ascii
$s6texte"Content-Disposition: form-data; name=\"%s\"; filename=\"%s\""fullword ascii
$s7texte"Content-Type: multipart/form-data; boundary=--MULTI-PARTS-FORM-DATA-BOUNDARY"fullword ascii
$s8texte"in Json::Value::find"fullword ascii
$s9texte"in Json::Value::resolveReference"fullword ascii
$s10texte"in Json::Value::duplicateAndPrefixStringValue"fullword ascii
$s11texte".?AVLogicError@Json@@"fullword ascii
$s12texte".?AVRuntimeError@Json@@"fullword ascii
$s13texte"http:\\\\82.221.101.157:80"ascii
$s14texte"http://172.223.112.130:80"ascii
$s15texte"http://172.223.112.130:443"ascii
$s16texte"http://info.newsrental.net:80"ascii
$s17texte"%s|%I64d"ascii
$s18texte"open internet failed..."ascii
$s19texte"connect failed..."ascii
$s20texte"handle not opened..."ascii
$s21texte"corrupted regex pattern"fullword ascii
$s22texte"add cookie failed..."ascii

Condition

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

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 14 motifs de la règle doivent être trouvés.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : ditekSHen

Dépôt source : ditekSHen detection @ e76c93dcde

Licence : BSD 2-Clause License (licence du dépôt)

Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 1a059900-3292-5419-a143-caea3e710191

Métadonnées

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

Tags:FILE

Plus de règles Powerpool