Identifier / Programs / Linux and Unix
strings
Find printable strings in an object file or binary. tldr-pages
GTFOBins file-read 1 documented command
How strings 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 strings.
1 documented command
file-read unprivileged, with sudo, as SUID
This only returns ASCII strings.
strings /path/to/input-fileIdentifyThe command the identifier reads trips no 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 strings. The identifier reads the line that runs strings.
Everyday use
Print all strings in a binary
strings path/to/fileIdentifyLimit results to strings at least n characters long
strings --bytes n path/to/fileIdentifyPrefix each result with its offset within the file
strings --radix d path/to/fileIdentifyNone of the 3 examples the identifier reads matches GTFOBins abuse or trips a Sigma process-creation rule.
Options
Show every option of strings
-fShow filename-n LENAt least LEN characters form a string (default 4)-oShow offset (ala -t d)-tShow offset type (o=octal, d=decimal, x=hexadecimal)