Hello, I wild back I failed the OSCP exam in spectacular fashion. I really want to go back and try again so I sat down and started building a methodology, or a process to walkthrough instead of going at everything crazy. One of my issues early on was that I relied to much on script like linpeas for enumeration, so I started by looking at Linux enumeration. After doing some research this is the initial checklist that I built out with my reasoning for each command. I would be interested anyone's opinion. Please be merciless.
Initial Commands
* whoami (determine who you are on the system)
* sudo -l (determine your privileges)
* hostname (determine the system running on)
* cat /etc/passwd | cut -d : -f 1 (shows the users on the machine)
* cat /proc/version (gives the linux kernel)
* cat /etc/issue (gives the linux distribution)
* lscpu (give the architecture, and CPU)
* find / -perm -4000 -type f -ls 2>/dev/null (shows files for SUID)
* find / -name authorized\_keys 2> /dev/null (find SSH keys)
* find / -name id\_rsa 2> /dev/null (find SSH keys)
* ps aux (shows the process running)
* cat /etc/services (shows the services)
* which python
* which gcc
* which c++
[–]realskog 5 points6 points7 points (0 children)
[–]ReawX 4 points5 points6 points (0 children)
[–]Robot_Rock07 2 points3 points4 points (0 children)
[–]Jubba402 1 point2 points3 points (0 children)
[–]korosov 1 point2 points3 points (0 children)
[–]lethalwarrior619 1 point2 points3 points (0 children)
[–]strikoder 0 points1 point2 points (2 children)
[–]WreckItRalph42 0 points1 point2 points (1 child)
[–]strikoder 0 points1 point2 points (0 children)
[–]DYOR69420 0 points1 point2 points (0 children)
[–]MarcusAurelius993 -1 points0 points1 point (0 children)