Skip to main content
Mallory
MalwareUsed by 1 actor

BadPotato

BadPotato is a Windows privilege-escalation tool/exploit used to elevate execution to local NT AUTHORITY\SYSTEM. The provided content describes it as similar to SharpToken and as part of the broader 'Potato' family of named-pipe impersonation and token abuse tools. It is used for local privilege escalation and command execution with SYSTEM privileges. Multiple sources in the content state that APT41 used a ConfuserEx-obfuscated BADPOTATO exploit to abuse named-pipe impersonation for local NT AUTHORITY\SYSTEM privilege escalation during campaign C0017. The content also notes BadPotato was obtained as a publicly available tool by APT41. Separately, SentinelLABS reported DragonSpark used BadPotato as a tool to elevate privileges to SYSTEM, and Unit 42 observed attackers in intrusion cluster CL-STA-0046 attempting privilege escalation with the Potato Suite, including JuicyPotato, BadPotato, and SweetPotato. In MS-SQL intrusion reporting, a ShadowForce-related CLR SqlShell variant named CLR_module was described as embedding privilege-escalation tools such as BadPotato and EfsPotato, indicating use as a post-compromise helper in SQL Server attacks. High-confidence behavior from the content is limited to local Windows privilege escalation via named-pipe impersonation/token abuse to obtain SYSTEM; no standalone infection vector or specific IOCs for BadPotato itself are provided.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

THREAT ACTORS

Groups observed using it

1 distinct threat actor attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
DragonSpark

BadPotato: a tool similar to SharpToken that elevates user privileges to SYSTEM for command execution.

via sentinelone labssentinelone.com
MITRE ATT&CK

Techniques & procedures

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

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

T1068Exploitation for Privilege EscalationEvidence1

Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems; Exploiting CVE-2021-4034, CVE-2021-22555, and CVE-2016-5195 for privilege escalation on Linux systems

T1078.003Local AccountsEvidence1

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

Stealth

1 technique
T1078.003Local AccountsEvidence1

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

What this page doesn’t show

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 matching

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution1

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping3

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.