module

Windows Escalate Service Permissions Local Privilege Escalation

Disclosed
2012-10-15
Created
2018-05-30

Description

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 configuration, file or registry 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.

Authors

scriptjunkie
Spencer McIntyre
itm4n

Platform

Windows

Architectures

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
...show and set options...
msf exploit(service_permissions) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.