Skip to content
← RegistryDossier · 5 steps · 4 edges

Service account → SYSTEM via named-pipe impersonation

Service-context shell has SeImpersonatePrivilege. Use Potato-family tools (Juicy / Rogue / Print / God) to coerce SYSTEM to authenticate to an attacker-controlled named pipe, then impersonate the token.

Filed by AD Knowledge Base
§ Kill-chainDrag · zoom · scroll

§ Context

Assumed environment: foothold under a Windows service account (IIS pool, SQL Server, etc.) with default service privileges including SeImpersonatePrivilege.

§ Steps

  1. 01
    Service shell (IIS / MSSQL / etc.)Initial Access
    T1078Valid Accounts
  2. 02
    SYSTEM shellExecution
    T1059Command and Scripting Interpreter
  3. 03
    whoami /priv → confirm SeImpersonateDiscovery
    T1087Account Discovery
  4. 04
    Run GodPotato / JuicyPotatoNGPrivilege Escalation
    W-NAMED-PIPE-IMPNamed Pipe Impersonation
  5. 05
    Dump LSASS for cached domain credsCredential Access
    W-LSASS-PROCDUMPLSASS via procdump / comsvcs.dll

§ References

§ Frequently asked

What is the "Service account → SYSTEM via named-pipe impersonation" attack path?
Service-context shell has SeImpersonatePrivilege. Use Potato-family tools (Juicy / Rogue / Print / God) to coerce SYSTEM to authenticate to an attacker-controlled named pipe, then impersonate the token. It chains 5 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is Service shell (IIS / MSSQL / etc.) (T1078) — a initial access primitive. Assumed environment: foothold under a Windows service account (IIS pool, SQL Server, etc.
What is the final impact of this kill-chain?
The final step lands on Dump LSASS for cached domain creds (W-LSASS-PROCDUMP), which falls under Credential Access. From here, an operator typically pivots into post-exploitation or maintains persistence.
How can defenders detect or prevent this attack?
Detection and prevention vary per step. Refer to each linked MITRE ATT&CK entry under "References" — every technique on that page lists defensive controls, detection telemetry, and known threat-actor usage.

§ Related dossiers