Metasploit's persistence_exe module

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
    ---- --------------- -------- ----------- ...

Get Kali Linux 2018: Windows Penetration Testing - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.