Skip to main content
Mallory
Malware8 associated actors

GodPotato

Tracked since Dec 12, 2025 · Updated 5 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days9 mentions · peak 2 in a dayToday
Vulns0Associated
Actors8Associated
ATT&CK14Techniques
IOCs19Tracked
Type
Trojan
Capabilities
Privilege escalationPost exploitation
Platforms
Windows

GodPotato is a publicly available Windows local privilege-escalation tool in the Potato family, implemented in C# for the .NET runtime. It abuses DCOM/RPC interactions and token impersonation to execute attacker-supplied commands with NT AUTHORITY\SYSTEM privileges from a suitably privileged service-account context, commonly one possessing SeImpersonatePrivilege. Its escalation mechanism relies on existing impersonation permissions rather than a memory-corruption exploit. The tool obtains a privileged token through RPC-related named-pipe impersonation and uses that token to launch commands.

GodPotato is typically deployed after attackers have already obtained command execution, including through IIS web shells, compromised SQL Server instances, or enterprise application services. Operators distribute it as precompiled binaries or source code for local compilation, and modified builds have also been executed through in-memory .NET loaders. Rebranded variants retain the underlying privilege-escalation functionality while changing namespaces, internal identifiers, and assembly metadata.

GodPotato has been used by multiple unrelated espionage and financially motivated actors, including Earth Krahang, Earth Lamia, and UAT-10147, as well as in cryptocurrency-mining and ransomware-associated intrusions. It is a post-exploitation utility rather than an initial-access mechanism, and its presence alone does not establish threat-actor attribution.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

8 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Earth Krahang

Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems

via trendai security blogtrendaisecurity.com
CL-CRI-0941

We observed the attacker using GodPotato for privilege escalation.

via palo alto networks unit 42 blogunit42.paloaltonetworks.com
DragonRank

The comparison table lists “BadPotato, GodPotato, PrintNotifyPotato” under DragonRank's privilege-escalation tooling.

via reliaquest com threat huntingreliaquest.com
Earth Lamia

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.

via trendai security blogtrendaisecurity.com
thor

To escalate privileges, the group used the publicly available GodPotato tool.

via ptsecurity globalglobal.ptsecurity.com
masterblack

GodPotato: Modern token-impersonation LPE tool, staged as C# source and compiled .NET binary.

via socradar blogsocradar.io

+2 more in the app. View in Mallory

MITRE ATT&CK

Techniques & procedures

14 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

3 techniques
T1588.002ToolEvidence1

T1588.002 — Obtain Capabilities: Tool (Resource Development)

T1588.005ExploitsEvidence1

Public GodPotato source present in the recovered tree.

T1608.001Upload MalwareEvidence1

The access log shows that tooling pulled the same evening, which establishes distribution from this server and nothing past it.

Initial Access

1 technique
T1078.003Local AccountsEvidence1

Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems

Execution

1 technique
T1059.003Windows Command ShellEvidence1

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
T1078.003Local AccountsEvidence1

Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems

Privilege Escalation

5 techniques
T1068Exploitation for Privilege EscalationEvidence15

Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems

T1078.003Local AccountsEvidence1

Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems

T1134Access Token ManipulationEvidence1

The report identifies privilege escalation through token impersonation, using GodPotato and PrintSpoofer.

T1134.001Token Impersonation/TheftEvidence5

With a SYSTEM client attached, the pipe thread impersonates the connected client ... and duplicates a token.

T1548Abuse Elevation Control MechanismEvidence3

Élévation de privilèges vers SYSTEM avec GodPotato.

Stealth

5 techniques
T1036MasqueradingEvidence1

The operator rebuilt it under the name Wrqsnx and renamed the namespace, the context classes, the pipe path and the assembly metadata.

T1036.005Match Legitimate Resource Name or LocationEvidence1

The DLL file ... was named "mscoree.dll," which is one of the libraries loaded by "AppLaunch.exe".

T1078.003Local AccountsEvidence1

Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems

T1134Access Token ManipulationEvidence1

The report identifies privilege escalation through token impersonation, using GodPotato and PrintSpoofer.

T1134.001Token Impersonation/TheftEvidence5

With a SYSTEM client attached, the pipe thread impersonates the connected client ... and duplicates a token.

Credential Access

2 techniques
T1187Forced AuthenticationEvidence1

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

T1557.001Name Resolution Poisoning and SMB RelayEvidence1

Intercepting NTLM or Kerberos authentication by using techniques such as coercion, relay attacks, or credential capture

Collection

1 technique
T1557.001Name Resolution Poisoning and SMB RelayEvidence1

Intercepting NTLM or Kerberos authentication by using techniques such as coercion, relay attacks, or credential capture

Command and Control

1 technique
T1105Ingress Tool TransferEvidence1

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.

Indicators of compromise

Observables

19 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching19Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors8Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping14Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.