Hunting Setuid And Capability Escalation

Hunt local privilege escalation through setuid and setgid binaries and per-file capabilities: programs that run as a more privileged identity, or files granted a capability such as changing user id, overriding file permissions, raw disk or memory access, or loading kernel modules, that expose an exec, file-read, file-write, or library-load primitive an unprivileged caller can reach. Covers known dangerous tools left with the bit set, custom or bundled setuid programs that shell out or trust a writable path, and over-broad capabilities that are privilege in all but name. Use when auditing a host, image, or package for local privilege escalation. The elevated identity is the source, the primitive it exposes is the sink, and the missing confinement is the bug.

UnboundCompute Updated 26 repo stars

File contents

UnboundCompute/security-agent-skills commit 73fdc0e576

Frequently asked questions

npx get-skill add unboundcompute/hunting-setuid-and-capability-escalation