Maintaining Access

Persistence Scripts - Metasploit

  • run persistence -h

  • exploit/windows/local/persistent

  • exploit/windows/local/registrery_persistence

Scheduled Tasks - Metasploit

  • run scheduleme

  • run schtaskabuse

Add a user

  • net user username password /add

Note: In a real pentest the best option is just to Add a user, other options are not really useful as pentesters

Resource

Last updated