1

I currently have a VM where the user is locked down and i am unable to find any flags. I have tried to use sudo but the account is not a sudoer. I have tried "nano /etc/sudoers" but i received a permission denied message. Any other ideas on how to become root?

Also, this is for a class. Its a basic CTF, and he completely locked down his VM it seems...

rgcam
  • 19
  • 2

1 Answers1

0

If you are allowed to reboot the Virtual Machine you can boot into single user mode and have root level access assuming the boot loader isn't locked down. If the boot loader is protected then you can try rescuing the machine by booting into ISO mounting the Virtual Machine and editing the configuration, then add your self to the sudoers permissions.

IF you don't own the Virtual Machine then tread carefully as you may be breaking some laws by try to gain an unauthorised level of access into the system.

Connor Payne
  • 193
  • 1
  • 8