EfsPotato
- Capabilities
- Privilege escalation
- Platforms
- Windows
EfsPotato is a publicly available Windows local privilege-escalation exploit in the Potato family of tools. It abuses the Encrypting File System Remote Protocol (EFSRPC) and named-pipe impersonation to obtain a SYSTEM security token and execute commands with SYSTEM privileges. The technique leverages SeImpersonatePrivilege, which is commonly available to service identities such as IIS application-pool accounts. It is used after attackers have already obtained code execution, rather than as an initial-access mechanism.
Attackers deploy EfsPotato as a standalone utility, compile customized versions from public source code, or incorporate its impersonation technique into larger implants. Its functionality has been integrated into modular C# web shells and CLR-based SqlShell tools targeting Microsoft SQL Server. EfsPotato-derived code enables compromised IIS worker processes to launch elevated processes, while some intrusions load the tool reflectively into memory.
Observed users include UAT-10147, OP-512, and the operators of Manic Menagerie 2.0. EfsPotato has also been incorporated into CLR tools used by ShadowForce. Its use across unrelated operations makes it a shared post-compromise utility rather than an actor-specific malware family.
Associated threat actors
5 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
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().
London.cs orchestrates commands and privilege escalation through EfsPotato using EFSRPC and named-pipe impersonation to obtain a SYSTEM token.
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
Techniques & procedures
7 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
T1588.002 — Obtain Capabilities: Tool (Resource Development)
Privilege Escalation
4 techniques
Privilege Escalation
On Windows systems, UAT-10147 uses open-source tools such as EfsPotato (renamed as prcc1.rar) to escalate privileges.
London.cs : orchestrateur de commandes et escalade de privilèges via EfsPotato (EFSRPC, named pipe impersonation → token SYSTEM)
EfsPotato (EFSRPC, named pipe impersonation → token SYSTEM)
T1548.002 — Abuse Elevation Control Mechanism: Bypass User Account Control (Privilege Escalation)
Stealth
2 techniques
Stealth
London.cs : orchestrateur de commandes et escalade de privilèges via EfsPotato (EFSRPC, named pipe impersonation → token SYSTEM)
EfsPotato (EFSRPC, named pipe impersonation → token SYSTEM)
Defense Impairment
1 technique
Defense Impairment
Using EfsPotato to gain elevated system privileges, configure Microsoft Defender exclusions
Command and Control
1 technique
Command and Control
Using a batch script that employs certutil to download a privilege escalation tool ("EfsPotato"), a secondary batch script, and Quasar RAT from a remote server
Observables
3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.