Library

Command reference

Search the live database for syntax, tools, use cases, tags, MITRE context, and safe lab-ready command examples.

6 results Clear filters
Offensive Intermediate Premium

Find all SUID binaries on the system for privilege escalation opportunities

Find all SUID binaries on the system for privilege escalation opportunities

find / -perm -4000 -type f 2>/dev/null
suid privesc gtfobins linux post-exploitation
Linux CLI / Privilege Escalation Open
Offensive Beginner Premium

List commands the current user can run with sudo — key privesc enumeration step

List commands the current user can run with sudo — key privesc enumeration step

sudo -l
sudo privesc gtfobins linux enumeration
Linux CLI / Privilege Escalation Open
Defensive Beginner Free

Identify top IPs generating failed SSH login attempts from auth log

Identify top IPs generating failed SSH login attempts from auth log

grep "Failed password" /var/log/auth.log | awk '{print $11}' | sort | uniq -c | sort -rn | head -20
log-analysis ssh brute-force auth detection
Linux CLI / Log Analysis Open
Defensive Intermediate Free

Real-time SSH authentication event monitoring from systemd journal

Real-time SSH authentication event monitoring from systemd journal

journalctl -u ssh.service --since "1 hour ago" --no-pager | grep -E "(Accepted|Failed|Invalid)" | awk '{print $1, $2, $3, $9, $11}'
journalctl systemd ssh log-analysis monitoring
Linux CLI / Log Analysis Open
Defensive Beginner Free

Audit all listening services and count active established connections

Audit all listening services and count active established connections

ss -tlnp | grep LISTEN && netstat -an | grep ESTABLISHED | wc -l
ss netstat hardening audit network
Linux CLI / Linux Hardening Open
Defensive Intermediate Free

Quick triage — identify top CPU processes and all established network connections

Quick triage — identify top CPU processes and all established network connections

ps aux --sort=-%cpu | head -20 && lsof -i -n -P | grep ESTABLISHED
ir triage incident-response process network
Linux CLI / Incident Response Open