Ceplin Command Identifier

Identifier / Programs / Linux and Unix

setcap

Set capabilities of specified file. tldr-pages

GTFOBins privilege-escalation 2 Sigma rules name it 2 ATT&CK techniques 1 documented command

Opens the identifier with your command. It is read in your browser and sent nowhere.

How setcap is abused

documented by GTFOBins

privilege-escalation

Each abuse is GTFOBins's category and the options and words it uses; the full write-up is on GTFOBins's page for setcap.

1 documented command

from GTFOBins, each read by the identifier

privilege-escalation with sudo, as SUID

This can be used to assign capabilities to executable files.

setcap cap_setuid+ep /path/to/command
Identify

Trips 1 Sigma rule: lowLinux Setuid Capability Set on a Binary via Setcap Utility by Luc Génaux

The command the identifier reads trips a Sigma process-creation rule. This command is, with GTFOBins’ notes, from GTFOBins, at commit acd524623f9c of 2026-05-27, under the GPL-3.0, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on GTFOBins’s page for setcap. The identifier reads the line that runs setcap.

What detects it

Sigma process creation rules
T1548Abuse Elevation Control Mechanism
T1554Compromise Host Software Binary

Everyday use

from tldr-pages, CC BY 4.0

Set capability cap_net_raw (to use RAW and PACKET sockets) for a given file

setcap 'cap_net_raw' path/to/fileIdentify

Set multiple capabilities on a file (ep behind the capability means "effective permitted")

setcap 'cap_dac_read_search,cap_sys_tty_config+ep' path/to/fileIdentify

Remove all capabilities from a file

setcap -r path/to/fileIdentify

None of the 3 examples the identifier reads matches GTFOBins abuse or trips a Sigma process-creation rule.