SweetPotato
- Capabilities
- Privilege escalationPost exploitation
- Platforms
- Windows
SweetPotato is a publicly available Windows local privilege-escalation tool in the Potato family. Attackers use it after gaining code execution to elevate restricted service-account privileges to NT AUTHORITY\SYSTEM. Potato-family techniques abuse token impersonation and privileges such as SeImpersonatePrivilege or SeAssignPrimaryTokenPrivilege to launch processes with elevated rights.
SweetPotato is frequently deployed during post-exploitation of IIS servers, where web shells initially execute with limited application-pool permissions. Observed deployments include standalone tools, DLLs loaded reflectively into IIS worker-process memory, modified variants adapted for web-shell environments, and invocation through the Ladon toolkit. In-memory deployment allows the tool to execute without writing its binary to disk.
SweetPotato has been used by Earth Krahang and by other operators compromising Korean businesses and government infrastructure in Southeast Asia. It commonly appears alongside other Potato-family tools as operators attempt different privilege-escalation methods. It is an escalation utility rather than a standalone backdoor, and its presence does not by itself establish threat-actor attribution.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems
Three of these came from the publicly documented “Potato Suite” (“BadPotato,” “SweetPotato,” “EfsPotato”).
Techniques & procedures
8 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
1 technique
Initial Access
Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems
Persistence
1 technique
Persistence
Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems
Privilege Escalation
5 techniques
Privilege Escalation
Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems
Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems
Potato-family privilege escalation tools ... use token spoofing techniques, such as PrintSpoofer, to gain SYSTEM privileges.
SeImpersonatePrivilege (“ Impersonate a client after authentication ”) allows a thread to impersonate any access token through SetThreadToken() , ImpersonateLoggedOnUser() , or CreateProcessWithToken() .
Potato types escalate privilege by abusing some processes with certain privileges activated. Afterward, the threat actor is able to perform malicious behaviors using the elevated privilege.
Stealth
4 techniques
Stealth
Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems
Potato-family privilege escalation tools ... use token spoofing techniques, such as PrintSpoofer, to gain SYSTEM privileges.
SeImpersonatePrivilege (“ Impersonate a client after authentication ”) allows a thread to impersonate any access token through SetThreadToken() , ImpersonateLoggedOnUser() , or CreateProcessWithToken() .
several .NET modules began to appear in the memory of the IIS worker process (w3wp.exe)... used several variants of the well-known Potato tools, either as memory-only modules
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
Collection
1 technique
Collection
Intercepting NTLM or Kerberos authentication by using techniques such as coercion, relay attacks, or credential capture
Observables
3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.