Capabilities
Set Capability
Capability | Description |
| Allows to perform actions with administrative privileges, such as modifying system files or changing system settings. |
| Allows to change the root directory for the current process, allowing it to access files and directories that would otherwise be inaccessible. |
| Allows to attach to and debug other processes, potentially allowing it to gain access to sensitive information or modify the behavior of other processes. |
| Allows to raise or lower the priority of processes, potentially allowing it to gain access to resources that would otherwise be restricted. |
| Allows to modify the system clock, potentially allowing it to manipulate timestamps or cause other processes to behave in unexpected ways. |
| Allows to modify system resource limits, such as the maximum number of open file descriptors or the maximum amount of memory that can be allocated. |
| Allows to load and unload kernel modules, potentially allowing it to modify the operating system's behavior or gain access to sensitive information. |
| Allows to bind to network ports, potentially allowing it to gain access to sensitive information or perform unauthorized actions. |
Capability Values | Description |
| This value sets the specified capability for the executable, but does not grant any privileges. This can be useful if we want to clear a previously set capability for the executable. |
| This value grants the effective and permitted privileges for the specified capability to the executable. This allows the executable to perform the actions that the capability allows but does not allow it to perform any actions that are not allowed by the capability. |
| This value grants sufficient and inheritable privileges for the specified capability to the executable. This allows the executable to perform the actions that the capability allows and child processes spawned by the executable to inherit the capability and perform the same actions. |
| This value grants the permitted privileges for the specified capability to the executable. This allows the executable to perform the actions that the capability allows but does not allow it to perform any actions that are not allowed by the capability. This can be useful if we want to grant the capability to the executable but prevent it from inheriting the capability or allowing child processes to inherit it. |
Escalate a user's privileges to root
root
Capability | Desciption |
| Allows a process to set its effective user ID, which can be used to gain the privileges of another user, including the |
| Allows to set its effective group ID, which can be used to gain the privileges of another group, including the |
| This capability provides a broad range of administrative privileges, including the ability to perform many actions reserved for the |
| Allows bypassing of file read, write, and execute permission checks. |
Enumerating Capabilities
Exploiting Capabilities
Or:
Resources
Last updated