Service Privilege Escalation
#Check the permissions on any Service, given to BOB
accesschk.exe /accepteula –uwcqv yourusername servicename
accesschk.exe /accepteula -uwcqv IWAM_BOB *
# -u: Suppress errors
# -w: Show only objects that have write access
# -c: Name is a Windows Service, e.g. ssdpsrv. Specify "*" as the name to show all services and "scmanager" to check the security of the Service Control Manager.
# -q: Omit Banner
# -v: Verbose (includes Windows Vista Integrity Level)
# Check Service configuration
sc qc SSDPSRV
# Check Service status
sc query SSDPSRV

Last updated