Vulnerability & Exploit Database

Back to search

Windows Escalate Service Permissions Local Privilege Escalation

This module attempts to exploit existing administrative privileges to obtain a SYSTEM session. If directly creating a service fails, this module will inspect existing services to look for insecure file or configuration permissions that may be hijacked. It will then attempt to restart the replaced service to run the payload. This will result in a new session when this succeeds.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • scriptjunkie


  • Automatic


  • windows


  • x86
  • x64



Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/local/service_permissions msf exploit(service_permissions) > show targets ...targets... msf exploit(service_permissions) > set TARGET <target-id> msf exploit(service_permissions) > show options and set options... msf exploit(service_permissions) > exploit