Using persistence to maintain system access
In this recipe, we will use persistence to maintain access to the system across reboots.
Getting ready
Let's ensure the following prerequisites:
- Your Kali Linux VM is powered up and you are logged in as root
- Your Windows XP VM is powered up on the host-only network
How to do it...
In this recipe we will use persistence methods to maintain access to a system:
- Validate the IP addresses of your machines before we get started.
- We are going to start with an already exploited machine in Armitage, ensure it has elevated privileges.
Note
We will be continuing with the preceding recipe if you need assistance with getting started. If you have not elevated your privileges please do so before continuing. If you are on XP, try using ms15_051_client_copy_image
.

Armitage - main screen
- Right-click on the exploited host and select
Meterpreter
|Access
|Persist
:

Armitage - main screen
- Scroll through the options on the persistence screen ensuring your
LHOST
and other options...