Writable .service files
Last updated
Last updated
Check if you can write any .service
file, if you can, you could modify it so it executes your backdoor when the service is started, restarted or stopped (maybe you will need to wait until the machine is rebooted). For example create your backdoor inside the .service file with ExecStart=/tmp/script.sh
Find writeable service
This service is vulnerable by my user nagios and to exploit it, you have to replace it with payload and restart the service
Machice example: