Enumeration with Powersploit
Import Module
powershell
. C:\AD\Tools\PowerSploit.ps1Get services with unquoted paths and a space in their name
powershell
Get-ServiceUnquoted -VerboseGet services where the current user can write to its binary path or change arguments to the binary
powershell
Get-ModifiableServiceFile -VerboseGet services where the current user can modify their configuration
powershell
Get-ModifiableService -VerboseInvoke all checks
powershell
Invoke-AllChecks