User Enumeration

Current users groups. 

id
uid=1001(sweps) gid=1001(sweps) groups=1001(sweps),27(sudo),141(kaboxer),142(wireshark),997(nordvpn)

SUDO permissions

sudo -l
Matching Defaults entries for sweps on kali:
env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin

User sweps may run the following commands on kali:
(ALL : ALL) ALL

List users on the system

Note: Grep out names with: cat /etc/passwd | cut -d ‘:’ -f 1

cat /etc/passwd

root:x:0:0:root:/root:/usr/bin/zsh
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin

List groups and members

cat /etc/group

Shadow file. Worth checking just incase 😉

cat /etc/shadow

List history

history

Try switching users with the same password

su <user>