>_ IzzyLab

Topic breakdown

Linux capabilities split root's all-powerful privileges into separate capabilities (for example the right to open raw sockets) that can be attached directly to a binary instead of the setuid bit. Such files are a potential escalation vector, so they're periodically inventoried. getcap lets you read a file's assigned capabilities, and a recursive walk of the directory tree followed by filtering the output (keeping only paths) is a standard audit technique.

What's checked

  1. all files with capabilities are found, and only them

What it looks like