CmdID

CmdID / Programs / Linux and Unix

ss

Utility to investigate sockets. tldr-pages

GTFOBins file-read 2 Sigma rules name it 1 documented command

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

How ss is abused

documented by GTFOBins

file-read

-a
-F

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

1 documented command

from GTFOBins, each read by CmdID

file-read unprivileged, with sudo, as SUID

The file content is actually parsed so only a part of the first line is returned as a part of an error message.

ss -a -F /path/to/input-file
Identify

Trips 2 Sigma rules: lowSystem Network Connections Discovery - Linux by Daniil Yugoslavskiy, oscd.community; informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

The command CmdID 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 ss. CmdID reads the line that runs ss.

What detects it

Sigma process creation rules
lowSystem Network Connections Discovery - LinuxDaniil Yugoslavskiy, oscd.community
informationalSystem Network Discovery - LinuxÖmer Günal and remotephone, oscd.community

Everyday use

from tldr-pages, CC BY 4.0

Show all TCP/UDP/RAW/UNIX sockets

ss --all --tcpIdentify

Trips 2 Sigma rules: lowSystem Network Connections Discovery - Linux by Daniil Yugoslavskiy, oscd.community; informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Filter TCP sockets by states, only/exclude

ss state bucketIdentify

Trips 2 Sigma rules: lowSystem Network Connections Discovery - Linux by Daniil Yugoslavskiy, oscd.community; informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Show all TCP sockets connected to the local HTTPS port (443)

ss --tcp src :443Identify

Trips 2 Sigma rules: lowSystem Network Connections Discovery - Linux by Daniil Yugoslavskiy, oscd.community; informationalSystem Network Discovery - Linux by Ömer Günal and remotephone, oscd.community

Of the 3 examples CmdID reads, 3 match GTFOBins abuse or trip a Sigma process-creation rule.