CmdID / Programs / Linux and Unix
ss
Utility to investigate sockets. tldr-pages
GTFOBins file-read 2 Sigma rules name it 1 documented command
How ss is abused
file-read
-a-FEach 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
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-fileIdentifyTrips 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
Everyday use
Show all TCP/UDP/RAW/UNIX sockets
ss --all --tcpIdentifyTrips 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 bucketIdentifyTrips 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 :443IdentifyTrips 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.