Attacks and Exploits

An authorized tester has a shell as an IIS application pool identity on a Windows server, and whoami /priv shows SeImpersonatePrivilege enabled. What is the most direct route to SYSTEM?

Show the answer

Correct answerC. Abuse the privilege with a token-impersonation exploit

AWhy not this: Reading LSASS memory needs administrator or debug rights, which this low-privileged service identity does not have.

BWhy not this: Hollowing hides code in a process; creating or altering a SYSTEM process already requires rights the tester lacks.

CWhy this is right: Service accounts holding this privilege can impersonate a SYSTEM token obtained from a coerced connection, giving direct escalation.

DWhy not this: No vulnerable service path is described, and writing into protected folders needs rights this identity lacks.

SeImpersonatePrivilege lets a service account impersonate tokens of clients that connect to it, so a token-impersonation exploit can trick a SYSTEM client into connecting and yield a SYSTEM token. LSASS dumping needs administrator or debug rights the app pool identity lacks.