Windows Services
Last updated
Last updated
As we saw in in the previous chapter, there are many Windows services that run as SYSTEM. Our various means of exploiting services for privilege escalation also act as persistence, but at the cost of breaking the legitimate service. Instead, we can create our own service which won't impact on existing services.
\
This will create a new service in a STOPPED state, but with the START_TYPE set to AUTO_START. This means the service won't run until the machine is rebooted. When the machine starts, so will the service, and it will be waiting for a connection.
\