Persistence is a major need in every successful hacking attack. Metasploit Framework comes with two major Persistence scripts:
-
S4U Persistence (Scheduled Persistence): to use it type use exploit/windows/local/s4u_persistence
- Volume Shadow Copy Service Persistence (VSS Persistence): to use it, type use exploit/windows/local/vss_persistence
Here are some additional options for Persistence:
- The Metasploit Service, (or Metsvc)
- VNCInject
You can use Windows binaries. To locate these binaries, go to /usr/share/windows-binaries path: