JuicyPotato
- Type
- Trojan
- Capabilities
- Privilege escalationPost exploitation
- Platforms
- Windows
JuicyPotato is a publicly available, open-source Windows local privilege-escalation tool in the Potato family. It abuses Windows token impersonation privileges, particularly SeImpersonatePrivilege, in conjunction with a suitable COM class to launch commands or processes as NT AUTHORITY\SYSTEM. A common use is escalating from a restricted IIS application-pool identity after an attacker has obtained web-shell access. It has also been deployed on compromised Microsoft SQL Server systems. It is a post-compromise utility rather than an initial-access mechanism.
JuicyPotato is used by multiple unrelated threat actors, including Blue Mockingbird, Lazarus, Earth Lamia, UAT-7237, and UAT-10147, and has appeared in Manic Menagerie operations. Operators execute it through web shells or other existing access channels to obtain elevated command execution and support subsequent payload deployment. Observed deployments include Themida-packed binaries and versions embedded within DLLs using VOIDMAW for in-memory execution. Its widespread availability and use across financially motivated and espionage operations mean its presence alone does not establish attribution.
Associated threat actors
5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
On Windows it uses the Potato family (GodPotato, JuicyPotato, and custom-compiled EfsPotato and RustPotato) to move from IIS AppPool identity to SYSTEM, and SPECTRE even ships its own built-in routine named spectre_potato().
Table 14 lists “JuicyPotato.exe” under “Privilege escalation” among binaries and scripts from the threat actors’ CNE tooling repository.
We found the actor packaged an entire binary of "JuicyPotato" into the DLL file with "VOIDMAW".
The malware generated by the w3wp.exe process, usopriv.exe is the JuicyPotato malware packed with Themida. The Potato malware strains are responsible for privilege escalation.
To escalate privileges, the attackers deployed known open-source tools, such as JuicyPotato.
Techniques & procedures
13 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
T1588.002 — Obtain Capabilities: Tool (Resource Development)
Execution
2 techniques
Execution
The following is a list of commands executed by the threat actor using JuicyPotato installed in infected systems. The whoami command was used to check if privilege escalation had occurred correctly.
Earth Lamia packages its hacking tools into DLL files to launch them via DLL sideloading.
Privilege Escalation
4 techniques
Privilege Escalation
Performing privilege escalation using tools such as "GodPotato" and "JuicyPotato"
If you possess SeImpersonatePrivilege, the path to SYSTEM is guaranteed. You simply upload a tool like PrintSpoofer or JuicyPotato, execute it, and hijack a SYSTEM token.
SeImpersonatePrivilege (“ Impersonate a client after authentication ”) allows a thread to impersonate any access token through SetThreadToken() , ImpersonateLoggedOnUser() , or CreateProcessWithToken() .
You will run sudo -l and find that the www-data user can run tar, awk, less, or find as root without a password... If you possess SeImpersonatePrivilege, the path to SYSTEM is guaranteed.
Stealth
5 techniques
Stealth
The DLL file ... was named "mscoree.dll," which is one of the libraries loaded by "AppLaunch.exe".
If you possess SeImpersonatePrivilege, the path to SYSTEM is guaranteed. You simply upload a tool like PrintSpoofer or JuicyPotato, execute it, and hijack a SYSTEM token.
SeImpersonatePrivilege (“ Impersonate a client after authentication ”) allows a thread to impersonate any access token through SetThreadToken() , ImpersonateLoggedOnUser() , or CreateProcessWithToken() .
Earth Lamia packages its hacking tools into DLL files to launch them via DLL sideloading.
Execute it in memory with the “Assembly.Load” approach.
Credential Access
2 techniques
Credential Access
Using Potato exploits , a family of well-known local privilege-escalation techniques ... that abuse these privileges by coercing SYSTEM-level COM/RPC authentication back to an attacker-controlled listener
Intercepting NTLM or Kerberos authentication by using techniques such as coercion, relay attacks, or credential capture
Discovery
1 technique
Discovery
The whoami command was used to check if privilege escalation had occurred correctly.
Lateral Movement
1 technique
Lateral Movement
You simply upload a tool like PrintSpoofer or JuicyPotato... If initial access is gained, immediately upload SharpHound to map the domain attack paths.
Collection
1 technique
Collection
Intercepting NTLM or Kerberos authentication by using techniques such as coercion, relay attacks, or credential capture
Observables
5 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
27 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.