.. / accesschk
Star

AccessChk is an tool from Sysinternals to gain information about the access control of a service. If the service DACL (not the service’s executable DACL) allow you to modify the configuration of a service, you will be able to reconfigure the service. From the AccessChk output you must verify whether OWNER has higher permission than ACCESS_ALLOWED_ACE_TYPE, if you have control over ACCESS_ALLOWED_ACE_TYPE you can perform privesc by changing executable of service. This will allow you to point to any executable you need and run it with any account you prefer, including SYSTEM itself. This is shown in the extra code section.

Command Reference:

thmservice: Service to see the access control from
Command: Copy Extra code: Copy References:

https://learn.microsoft.com/en-us/sysinternals/downloads/accesschk