aboutsummaryrefslogtreecommitdiff
path: root/docs/Privesc/Get-ModifiableService.md
blob: 92eeb81ba769d573e7cbf792bcdda832a50b340e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Get-ModifiableService

## SYNOPSIS
Enumerates all services and returns services for which the current user can modify the binPath.

Author: Will Schroeder (@harmj0y)  
License: BSD 3-Clause  
Required Dependencies: Test-ServiceDaclPermission, Get-ServiceDetail

## SYNTAX

```
Get-ModifiableService
```

## DESCRIPTION
Enumerates all services using Get-Service and uses Test-ServiceDaclPermission to test if
the current user has rights to change the service configuration.

## EXAMPLES

### -------------------------- EXAMPLE 1 --------------------------
```
Get-ModifiableService
```

Get a set of potentially exploitable services.

## PARAMETERS

## INPUTS

## OUTPUTS

### PowerUp.ModifiablePath

## NOTES

## RELATED LINKS