Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Tool_Juicypotato_Exploit_Strings

Detects the JuicyPotato exploit based on strings

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

Was diese Regel erkennt

Detects the JuicyPotato exploit based on strings

Zugehörige Malware-Familie: Juicy Potato.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

tool-juicypotato-exploit-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Juicypotato_Exploit_Strings : FILE
{
	meta:
		description = "Detects the JuicyPotato exploit based on strings"
		author = "Sekoia.io"
		id = "03d697ae-69a7-490b-8b3c-9a8c21fb46a2"
		date = "2022-09-09"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_juicypotato_exploit_strings.yar#L1-L25"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "ef23ea2931a1b6e094c0d7bb813305c09a2214ce36680ae057926dfdc1105c80"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "JuicyPotato v%s"
		$ = "-t createprocess call: <t> CreateProcessWithTokenW"
		$ = "-p <program>: program to launch"
		$ = "-l <port>: COM server listen port"
		$ = "-m <ip>: COM server listen address"
		$ = "-n <port>: RPC server listen port"
		$ = "Error - Unknown NTLM message type..."
		$ = "[+] authresult %d"
		$ = "Waiting for auth..."

	condition:
		uint16be( 0 ) == 0x4d5a and filesize < 500KB and 2 of them
}

Strings (9 Muster)

BezeichnerTypWertModifikatoren
$Text"JuicyPotato v%s"
$Text"-t createprocess call: <t> CreateProcessWithTokenW"
$Text"-p <program>: program to launch"
$Text"-l <port>: COM server listen port"
$Text"-m <ip>: COM server listen address"
$Text"-n <port>: RPC server listen port"
$Text"Error - Unknown NTLM message type..."
$Text"[+] authresult %d"
$Text"Waiting for auth..."

Bedingung

uint16be( 0 ) == 0x4d5a and filesize < 500KB and 2 of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Die Datei muss kleiner als 500KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Mindestens 2 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: 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: 03d697ae-69a7-490b-8b3c-9a8c21fb46a2

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Juicy Potato-Regeln