Skip to main content

Overview

As SYSTEM, hijack active or disconnected RDP sessions without knowing the user’s password. Uses tscon to switch sessions.

List Sessions

Output shows session IDs and state (Active/Disc).

Hijack — From SYSTEM

Get SYSTEM First

Or via service:

Switch Session

Example


Via Service (No Interactive SYSTEM)


Mimikatz Method


Notes

  • Requires SYSTEM privileges
  • Works on disconnected sessions too
  • No password needed for target session
  • The original user is disconnected — tscon reattaches their session to the attacker’s terminal, dropping their live connection (Event ID 4779). Their running programs persist, but they lose the active session.
  • Server 2019+ may require additional steps

Quick Reference