m.sander
Checking for sudo privileges of the m.sander
user after making the lateral movement
m.sander@marketing:~$ sudo -l
[sudo] password for m.sander: EzPwz2022_12345678#!
Matching Defaults entries for m.sander on marketing:
env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin\:/snap/bin
User m.sander may run the following commands on marketing:
(ALL : ALL) ALL
m.sander@marketing:~$ id
uid=1001(m.sander) gid=1001(m.sander) groups=1001(m.sander),24(cdrom),27(sudo),46(plugdev),50(staff),100(users),119(mlocate)
The m.sander
user is root
Moving on to the Privilege Escalation phase