Enumeration Commands

The following commands can be used for enumerating various information about the Operating System that can in turn be used for further exploiting or elevating privileges.

User Info
id #current user info
cat /etc/passwd #list of users and their groups
OS Version and Architecture
cat /etc/issue
cat /etc/*-release
uname -a
Running Processes & Services
ps axu
Firewall Statuses & Rules
cat /etc/iptables #Mostly requires root permissions, but sometimes these files are left with weak permissions
Scheduled Tasks
cat /etc/crontab
Installed Applications & Patch Levels
Readable/Writable Files
Unmounted Disks
Device Drivers & Kernel Modules
Binaries that Autoelevate

Last updated

Was this helpful?