EfsPotato-SeImpersonate
NEW Privilege EscalationExecution WindowsActiveDirectory
EfsPotato abuses the MS-EFSRPC (Encrypting File System Remote) interface to coerce the local SYSTEM account to authenticate over a named pipe, then impersonates the token to run a command as SYSTEM. It is a single self-contained source file typically compiled on the target with csc.exe, which helps evade AV signatures on prebuilt potato binaries. The optional second argument selects the named pipe (1=lsarpc, 2=efsrpc, 3=samr, 4=lsass, 5=netlogon) to dodge partial MS-EFSRPC patches. Requires SeImpersonatePrivilege. Command Reference: Privilege required: SeImpersonatePrivilege Pipe selector (optional): 2 = \pipe\efsrpc