Skip to main content
Mallory
Malware8 associated actors

BadPotato

Tracked since Jan 23, 2026 · Updated 29 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors8Associated
ATT&CK5Techniques
IOCs4Tracked
Type
Trojan
Capabilities
Privilege escalationPost exploitation
Platforms
Windows

BadPotato is a publicly available Windows local privilege-escalation tool in the Potato family of exploitation utilities. It abuses named-pipe impersonation and Windows token privileges to obtain NT AUTHORITY\SYSTEM execution from a suitable service-account context, enabling commands to run with elevated privileges. It is used after an attacker has already obtained access rather than as an initial-access mechanism.

Attackers deploy BadPotato through web shells on compromised IIS servers and incorporate it into CLR-based SqlShell tooling for Microsoft SQL Server. Its .NET components have also been loaded directly into IIS worker-process memory without writing the toolkit to disk. APT41 has used a ConfuserEx-obfuscated version for local privilege escalation. Other documented users include Earth Krahang, the DragonSpark intrusion cluster, and actors compromising Korean web and database servers.

BadPotato has appeared in intrusions affecting government organizations, telecommunications entities, healthcare infrastructure, and other businesses. Its role in these operations is privilege escalation; remote access, credential theft, cryptomining, and other subsequent activities are performed by accompanying tools rather than established as native BadPotato capabilities.

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
DragonRank

Three of these came from the publicly documented “Potato Suite” (“BadPotato,” “SweetPotato,” “EfsPotato”).

via reliaquest com threat huntingreliaquest.com
GhostRedirector

Three of these came from the publicly documented “Potato Suite” (“BadPotato,” “SweetPotato,” “EfsPotato”).

via reliaquest com threat huntingreliaquest.com
CL-STA-0048

Three of these came from the publicly documented “Potato Suite” (“BadPotato,” “SweetPotato,” “EfsPotato”).

via reliaquest com threat huntingreliaquest.com
OP-512

Three of these came from the publicly documented “Potato Suite” (“BadPotato,” “SweetPotato,” “EfsPotato”).

via reliaquest com threat huntingreliaquest.com
Larva-26010

The SqlShell used in these attacks supports not only basic functions such as command execution and payload downloads but also capabilities like privilege escalation using BadPotato and EfsPotato

via ahnlab asec blogasec.ahnlab.com

+2 more in the app. View in Mallory

MITRE ATT&CK

Techniques & procedures

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

Resource Development

1 technique
T1588.002ToolEvidence2

The content repeatedly states that threat actors 'obtained,' 'acquired,' or 'used' publicly available, open-source, legitimate, or modified tools such as Mimikatz, Cobalt Strike, PsExec, Empire, Impacket, and many others.

Initial Access

1 technique
T1078.003Local AccountsEvidence1

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

Persistence

1 technique
T1078.003Local AccountsEvidence1

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

Privilege Escalation

3 techniques
T1068Exploitation for Privilege EscalationEvidence9

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

T1548Abuse Elevation Control MechanismEvidence1

SharpToken: a privilege escalation tool that enables the execution of Windows commands with SYSTEM privileges... BadPotato: a tool similar to SharpToken that elevates user privileges to SYSTEM for command execution.

Stealth

2 techniques
T1078.003Local AccountsEvidence1

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

T1620Reflective Code LoadingEvidence1

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

Indicators of compromise

Observables

4 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 matching4Match 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 mapping5Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.