GodPotato
- Type
- Trojan
- Capabilities
- Privilege escalationPost exploitation
- Platforms
- Windows
GodPotato is a publicly available Windows local privilege-escalation tool in the Potato family. It abuses DCOM/RPC interactions and Windows token impersonation to execute attacker-specified commands as NT AUTHORITY\SYSTEM from an existing foothold with suitable impersonation privileges, notably SeImpersonatePrivilege. Its technique involves inducing a privileged RPC service connection to a controlled named pipe, impersonating the connecting client, and obtaining a SYSTEM token for process creation. It is a post-compromise utility rather than a standalone backdoor or an initial-access mechanism.
GodPotato is frequently deployed after command execution through compromised IIS applications, web shells, or Microsoft SQL Server. Observed uses include escalating from IIS application-pool or database service identities and launching PowerShell with SYSTEM privileges. Operators have also rebuilt it with altered namespaces and assembly metadata, and modified builds have been loaded as .NET assemblies directly into memory.
GodPotato has been used by multiple unrelated espionage and financially motivated operators, including Earth Krahang, Earth Lamia, and the actors behind Manic Menagerie 2.0. Deployments span government, healthcare, web-hosting, IT, and payment-processing environments. Its public availability and broad adoption make its presence insufficient for attribution to any single threat actor.
Associated threat actors
9 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
GodPotato binary (dbsvc.bin) spawning PowerShell as SYSTEM
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().
Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems
We observed the attacker using GodPotato for privilege escalation.
The comparison table lists “BadPotato, GodPotato, PrintNotifyPotato” under DragonRank's privilege-escalation tooling.
The use of the hacking tool "Sophosx64.exe," which is the "GodPotato" tool. We also found the same tool with the same filename used in Earth Lamia's attack.
+3 more in the app. View in Mallory
Techniques & procedures
15 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
3 techniques
Resource Development
T1588.002 — Obtain Capabilities: Tool (Resource Development)
Public GodPotato source present in the recovered tree.
The access log shows that tooling pulled the same evening, which establishes distribution from this server and nothing past it.
Initial Access
1 technique
Initial Access
Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems
Execution
2 techniques
Execution
GodPotato binary (dbsvc.bin) spawning PowerShell as SYSTEM
It reads a base64 command from C:\Users\Public\ptcmd.txt, decodes it, runs it as cmd.exe /c under the stolen token.
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
GodPotato binary (dbsvc.bin) spawning PowerShell as SYSTEM
Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems
The report identifies privilege escalation through token impersonation, using GodPotato and PrintSpoofer.
Service account escalates to SYSTEM by token impersonation
Élévation de privilèges vers SYSTEM avec GodPotato.
Stealth
5 techniques
Stealth
The operator rebuilt it under the name Wrqsnx and renamed the namespace, the context classes, the pipe path and the assembly metadata.
The DLL file ... was named "mscoree.dll," which is one of the libraries loaded by "AppLaunch.exe".
Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems
The report identifies privilege escalation through token impersonation, using GodPotato and PrintSpoofer.
Service account escalates to SYSTEM by token impersonation
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
Command and Control
1 technique
Command and Control
The certutil utility was used to download the ASPX payload, which was hosted by abusing Bashupload... This web service... is no stranger to being abused as an ingress tool transfer technique.
Observables
19 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
32 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.