# 3389 - RDP

> El Protocolo de Escritorio Remoto es un protocolo utilizado para establecer sesiones gráficas remotas a través de la red.

## Enumeration

### Without Credentials

```
crackmapexec rdp <IP>
```

```
rpcclient -U "" <DC_IP> -N
```

### With Credentials

#### Domain Users

```
rpcclient -U "deimcorp.local\champi%Password2" <AD_IP> -c "enumdomusers"
```

> No tiene por que ser Usuario Administrador del dominio o similar

***

## Conecction

```
evil-winrm -i <IP> -u <USER> -p <PASSWD> -S
```

> La flag -S, es por si el SSL esta activado (se puede quitar)

```
xfreerdp /v:<IP> /u:<USER> /p:<PASSWD>
```

## Brute Force

```
hydra -V -f -L users.txt -P passwords.txt rdp ://<IP>
```

```
crackmapexec rdp <IP> -u users.txt -p passwords.txt --continue-on-success
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://eldeim.gitbook.io/brain_fuck/notes/ports/3389-rdp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
