Hunting Windows Service Privilege Escalation

Hunt local privilege escalation through Windows service misconfiguration, where a low-privileged user can influence what a service runs as a higher-privileged account, through a weak service object permission, a writable service binary or its directory, an unquoted service path with a writable intervening directory, or a weak permission on the service's registry configuration. Use when reviewing installed services and their binaries, paths, and permissions on a Windows host for a standard-user-to-SYSTEM path. Covers weak service DACLs, writable binaries and paths, unquoted paths, and writable service registry keys. The standard-user control over service configuration or its on-disk target is the source, the service manager starting the binary as a privileged account is the sink, and running attacker-chosen code as that account is the bug.

UnboundCompute Updated

File contents

UnboundCompute/security-agent-skills/tree/main/skills/hunting-windows-service-privilege-escalation commit 47737e25bc

Frequently asked questions

npx skillmds@latest add unboundcompute/hunting-windows-service-privilege-escalation