Skip to main content

Overview

The Modifiable Service Registry Keys check identifies Windows services where the registry key under HKLM:\SYSTEM\CurrentControlSet\Services\ has weak permissions. If a user can modify a service’s registry key, they can change service configuration including the executable path, achieving privilege escalation.

How It Works

SharpUp enumerates all services and checks registry permissions:
  1. Get list of all services
  2. For each service, check HKLM:\SYSTEM\CurrentControlSet\Services\[ServiceName]
  3. Evaluate if current user has write permissions to the key
  4. Report vulnerable services with their state and startup mode

Example Output

Exploitation

Remediation

1

Fix Registry Permissions

Modifiable Services

Services with weak DACL permissions

Modifiable Service Binaries

Service executables with weak permissions