Skip to content

YARA · SEKOIA.IO Community

SEKOIA_Tool_Juicypotatong_Strings

Detects JuicyPotatoNG

Hack toolSEKOIA.IO CommunityDetection Rule License 1.1Compiles with YARA-X
Author
Sekoia.io
Date
2023-06-20
Modified
2024-12-19
Score / Quality
75 / 80

What this rule detects

Detects JuicyPotatoNG

Targets: Windows PE.

It defines 3 patterns (3 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

tool-juicypotatong-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Juicypotatong_Strings : FILE
{
	meta:
		description = "Detects JuicyPotatoNG"
		author = "Sekoia.io"
		id = "4634251b-ea41-4f58-aabd-db83ccf4edaa"
		date = "2023-06-20"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_juicypotatong_strings.yar#L1-L17"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "7014b206b293c8254304d97bec7b367c6039566f60511a51d4a41d3e1ed98612"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "[!] CryptStringToBinaryW failed with error code %d" ascii
		$ = "-b : Bruteforce all CLSIDs. !ALERT:" ascii
		$ = "[-] CreateProcessWithTokenW Failed to create proc: %d" ascii

	condition:
		uint16be( 0 ) == 0x4d5a and all of them
}

Strings (3 patterns)

IdentifierTypeValueModifiers
$text"[!] CryptStringToBinaryW failed with error code %d"ascii
$text"-b : Bruteforce all CLSIDs. !ALERT:"ascii
$text"[-] CreateProcessWithTokenW Failed to create proc: %d"ascii

Condition

uint16be( 0 ) == 0x4d5a and all of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • All patterns in the rule must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: Sekoia.io

Source repository: SEKOIA.IO Community @ a438a5901a

Licence: Detection Rule License 1.1 (repository licence)

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: 4634251b-ea41-4f58-aabd-db83ccf4edaa

Metadata

version1.0
classificationTLP:CLEAR

Tags:FILE