A small set of commands covers most daily work: who am I, where am I, what is running, what is listening and how do I reach the network.
| No. | Step | Source | Destination | Type | Info |
|---|---|---|---|---|---|
| 1 | Identity | responder | suspicious host | REQUEST | — |
| 2 | Identity | suspicious host | whoami · id | REQUEST | whoami /priv |
A small set of commands covers most daily work: who am I, where am I, what is running, what is listening and how do I reach the network.
whoami everywhere; id on Linux/macOS; whoami /priv on Windows shows privileges.tasklist or Get-Process on Windows; ps aux and top on Linux/macOS.ipconfig vs ip addr or ifconfig; netstat -ano vs ss -tulpn or lsof -i for listening ports.findstr or Select-String on Windows; grep and find on Linux/macOS.