What's currently running on the box? What active network services are there?
ps aux
netstat -antup
What's installed? What kernel is being used?
dpkg -l (Debian based OSs)
rpm -qa (CentOS / openSUSE )
uname -a
Check sudo access
$ sudo -l
[sudo] password for Hades:
Matching Defaults entries for pentesterlab on 7358cafc3ebe:
secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User Hades may run the following commands:
(victim) /bin/bash
Mix cp/chown and chmod
sudo -l
Matching Defaults entries for Hades:
secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User Hades may run the following commands:
(victim) /bin/chmod, /bin/cp