CmdID

CmdID / Programs / Linux and Unix

top

Display dynamic real-time information about running processes. tldr-pages

GTFOBins shell 1 Sigma rule name it 1 documented command

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

How top is abused

documented by GTFOBins

shell

Each abuse is GTFOBins's category and the options and words it uses; the full write-up is on GTFOBins's page for top.

1 documented command

from GTFOBins, each read by CmdID

shell unprivileged, with sudo

The config path might be different.

echo -e 'pipe\tx\texec /bin/sh 1>&0 2>&0' >>~/.config/procps/toprc
top
# press return twice
reset
Identify

Trips 1 Sigma rule: lowProcess Discovery by Ömer Günal, oscd.community, CheraaghiMilad

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 top. CmdID reads the line that runs top.

What detects it

Sigma process creation rules
lowProcess DiscoveryÖmer Günal, oscd.community, CheraaghiMilad

Everyday use

from tldr-pages, CC BY 4.0

Start top

Trips 1 Sigma rule: lowProcess Discovery by Ömer Günal, oscd.community, CheraaghiMilad

Do not show any idle or zombie processes

top --idle-toggleIdentify

Trips 1 Sigma rule: lowProcess Discovery by Ömer Günal, oscd.community, CheraaghiMilad

Show only processes owned by given user

top --filter-only-euser usernameIdentify

Trips 1 Sigma rule: lowProcess Discovery by Ömer Günal, oscd.community, CheraaghiMilad

Of the 3 examples CmdID reads, 3 match GTFOBins abuse or trip a Sigma process-creation rule.

Options

13 in toybox
Show every option of top
-HShow threads
-hUsage graphs instead of text
-kFallback sort FIELDS (default -S,-%CPU,-ETIME,-PID)
-oShow FIELDS (def PID,USER,PR,NI,VIRT,RES,SHR,S,%CPU,%MEM,TIME+,CMDLINE)
-OAdd FIELDS (replacing PR,NI,VIRT,RES,SHR,S from default)
-s SORTSort by field number (1-X, default 9)
-bBatch mode (no tty)
-d SECONDSDelay SECONDS between each cycle (default 3)
-m LINESMaximum number of tasks to show
-n NUMBERExit after NUMBER iterations
-pShow these PIDs
-uShow these USERs
-qQuiet (no header lines)