Weak Permissions

Recursos


Tools


Permissive File System ACLs

Running SharpUp

.\SharpUp.exe audit

Checking Permissions with icacls

icacls "C:\Program Files (x86)\PCProtect\SecurityService.exe"

Replacing Service Binary

cmd /c copy /Y SecurityService.exe "C:\Program Files (x86)\PCProtect\SecurityService.exe"
sc start SecurityService

Weak Service Permissions

Reviewing SharpUp Again

Checking Permissions with AccessChk

Check Local Admin Group

Changing the Service Binary Path

Stopping Service

Starting the Service

Confirming Local Admin Group Addition

Weak Service Permissions - Cleanup

Reverting the Binary Path

Starting the Service Again

Verifying Service is Running

Unquoted Service Path

Querying Service

Searching for Unquoted Service Paths

Permissive Registry ACLs

Checking for Weak Service ACLs in Registry

Changing ImagePath with PowerShell

Modifiable Registry Autorun Binary

Last updated