Identifier / Programs / Linux and Unix
cat
Print and concatenate files. tldr-pages
GTFOBins file-read 11 Sigma rules name it 1 ATT&CK technique 1 documented command
How cat is abused
file-read
Each abuse is GTFOBins's category and the options and words it uses; the full write-up is on GTFOBins's page for cat.
1 documented command
file-read unprivileged, with sudo, as SUID
cat /path/to/input-fileIdentifyThe command the identifier reads trips no Sigma process-creation rule. This command is 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 cat. The identifier reads the line that runs cat.
What detects it
Everyday use
Print the contents of a file to stdout
cat path/to/fileIdentifyConcatenate several files into an output file
cat path/to/file1 path/to/file2 ... >path/to/output_fileIdentifyAppend several files to an output file
cat path/to/file1 path/to/file2 ... >>path/to/output_fileIdentifyNone of the 3 examples the identifier reads matches GTFOBins abuse or trips a Sigma process-creation rule.
Options
Show every option of cat
-eMark each newline with $-tShow tabs as ^I-uCopy one byte at a time (slow)-vDisplay nonprinting characters as escape sequences with M-x for