> For the complete documentation index, see [llms.txt](https://kwcsec.gitbook.io/the-red-team-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kwcsec.gitbook.io/the-red-team-handbook/techniques/lateral-movement/scshell.md).

# SCShell

SCShell is a file less lateral movement tool that uses ChangeServiceConfigA to run commands authenticating which via DCERPC instead of SMB. It can be used without creating new services or dropping files on the remote system.

It works by remotely opening the service and modifying the binary path name via the ChangeServiceConfigA API. It is recommended to dechain your commands so your payload will not be killed when the service is stopped.

Example us age of SCShell is

```
PS > SCShell.exe <TARGET> XblAuthManager
"C:\windows\system32\cmd.exe /c calc.exe" . <USER>
<PASSWORD>
```
