Notes on Linux capabilities

A field checklist for understanding what a process can do beyond its UID.

Overview

Capabilities split traditional root privileges into smaller permissions. During an assessment, inventory both file capabilities and the capabilities held by running processes.

Use getcap to find file capabilities, then check whether the binary can be influenced through arguments, environment, or writable paths.

Takeaways

Trace the process context and inputs before treating a capability as exploitable.