# BeichenDream/GodPotato

Repository: https://github.com/BeichenDream/GodPotato
Canonical: https://ross.abutalabs.com/products/godpotato
Language: C#
License: Apache-2.0
License Family: permissive
Last push: 2023-11-24T19:22:31+00:00

## Health v2 (maintenance only)
Score: 22/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 96
- inputs: {"age_days": 1349, "days_push": 1013, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2334, forks 273 (observed 2026-08-28T04:06:37.921043+00:00)

## What it is
GodPotato is a C# Windows privilege escalation tool that abuses a DCOM/RPCSS oxid resolution defect to elevate from a service account with ImpersonatePrivilege to NT AUTHORITY\SYSTEM. It works on Windows 8 through Windows 11 and Windows Server 2012 through 2022, executing arbitrary commands as SYSTEM.

## Use cases
- escalate web shell or database service account to NT AUTHORITY\SYSTEM
- run a command as SYSTEM after gaining ImpersonatePrivilege
- spawn a reverse shell with SYSTEM privileges on modern Windows
- post-exploitation privilege escalation on Windows Server 2012-2022
- test whether a service account can be elevated via potato-style attacks

## When to choose
- you have code execution as a service account with SeImpersonatePrivilege on Windows 8/2012 or newer
- older Potato variants like JuicyPotatoNG fail on the target OS version
- you need a simple command-line tool to run a command or reverse shell as SYSTEM

## When to avoid
- the target account lacks ImpersonatePrivilege
- the target runs Windows Server 2008/Windows 7 or older (use JuicyPotato instead)
- you need stealth or AV evasion - it is a well-known, widely detected public exploit

## Facets
- artifact type: cli-tool
- maturity: stable
- function: security, penetration-testing
- domain: security, penetration-testing, windows
- platform: windows, cli
- tags: privilege-escalation, potato, dcom, rpcss, system-exploit, red-team, impersonation

## Member repositories
- BeichenDream/GodPotato (main) score 22

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:37.921043+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:37:45.219144+00:00, confidence not recorded.
  - readme: https://github.com/BeichenDream/GodPotato (fetched 2026-08-28T04:06:37.921043+00:00, sha 77fbb5f3b980)
- Data as of 2026-08-30T08:39:29.467469+00:00.
