December 2017
Intermediate to advanced
860 pages
16h 1m
English
To achieve persistence on Linux systems, we can use the exploit/linux/local/cron_persistence module after gaining the initial meterpreter access, as shown in the following screenshot:

Next, we need to set the SESSION option to our meterpreter session identifier, as well as configure the USERNAME to the current user of the target machine and run the module, as follows:

As soon as Cron-based persistence is achieved, you can set up a handler for incoming meterpreter sessions in a similar way to the method ...
Read now
Unlock full access