Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Tool_Juicypotato_Exploit_Strings

Detects the JuicyPotato exploit based on strings

Outil offensifJuicy PotatoSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2022-09-09
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

Detects the JuicyPotato exploit based on strings

Famille de malware associée : Juicy Potato.

Cibles : PE Windows.

Elle définit 9 motifs (9 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

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
}

Chaînes (9 motifs)

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

Condition

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

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Le fichier doit faire moins de 500KB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Au moins 2 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 : Sekoia.io

Dépôt source : SEKOIA.IO Community @ a438a5901a

Licence : Detection Rule License 1.1 (licence du dépôt)

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: 03d697ae-69a7-490b-8b3c-9a8c21fb46a2

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE

Plus de règles Juicy Potato