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.
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.
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”).
Three of these came from the publicly documented “Potato Suite” (“BadPotato,” “SweetPotato,” “EfsPotato”).
Three of these came from the publicly documented “Potato Suite” (“BadPotato,” “SweetPotato,” “EfsPotato”).
Three of these came from the publicly documented “Potato Suite” (“BadPotato,” “SweetPotato,” “EfsPotato”).
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
+2 more in the app. View in Mallory
5 distinct techniques documented for this family, organized by ATT&CK tactic.
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.
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
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
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.
Using tools such as BadPotato, SweetPotato, GodPotato, or PrinterNotifyPotato for privilege escalation on Windows systems
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
4 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.