> ## Documentation Index
> Fetch the complete documentation index at: https://www.0101isnothacking.nl/llms.txt
> Use this file to discover all available pages before exploring further.

# RDP enumeration

> RDP enumeration cheat sheet for port 3389.

Remote Desktop Protocol (RDP) runs on TCP port 3389.

> [!WARNING]
>
> Only perform brute force and connection attempts against systems you have explicit authorization to test.

## Port scan

```sh theme={null}
nmap -p3389 $ip
```

## Nmap scripts

```sh theme={null}
nmap -sV -sC $ip -p3389 --script rdp*
```

```sh theme={null}
# Metasploit RDP scanner
use auxiliary/scanner/rdp/rdp_scanner
```

## Connect to RDP

```sh theme={null}
# xfreerdp
xfreerdp /u:username /p:"password" /v:$ip

# Remmina
sudo apt install remmina remmina-plugin-rdp
```

## Brute force

```sh theme={null}
hydra -t 1 -V -f -l administrator -P passwords.txt rdp://$ip
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.