> 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/linux/rdp.md).

# RDP

> rdesktop is an open source client for Microsoft's RDP protocol. It is known to work with Windows versions ranging from NT 4 Terminal Server to Windows 2012 R2 RDS. rdesktop currently has implemented the RDP version 4 and 5 protocols.

Usage of this:&#x20;

```
rdesktop IP
```

Note that many systems have Network level authentication enabled, which can cause rdesktop to fail. To remediate this, we can use xfreerdp for this:

```
xfreerdp /u:”DOMAIN\USER” /p:”Pass” /v:IP
```

Todo: <https://www.blackhillsinfosec.com/the-rdp-through-ssh-encyclopedia/>
