# Redes ocultas

{% hint style="info" %}
Al lanzar airodump es posible identificar las redes ocultas, ya que se muestran en el campo ESSID con el formato "\<length: 0>".
{% endhint %}

## Obtener el ESSID de redes ocultas

Hay dos formas de obtenerlo:

1. Con mdk4

```
mdk4 [wlan0mon] p -t [BSSID] -f [rutaDiccionario]
```

2. Con kismet

Mientras tenemos lanzado un airodump, en otra terminal lanzamos kismet:

```
#Consola 1
airodump --band abg [wlan0mon] -w escaneo

#Consola 2
kismet -c [wlan0mon]
```

{% hint style="info" %}
Según vaya identificando kismet los SSID, los actualiza en airodump
{% endhint %}

## Conexión a la red

En las redes ocultas el fichero de configuración tiene la siguiente estructura

* Si no tiene contraseña

```
network={
ssid="ESSID"
key_mgmt=NONE
scan_ssid=1
}
```

* Si tiene contraseña, y se trata de una red es PSK, debemos revisar su sección "5. Conexión a la red" en la wiki :smile:

## Recursos y enlaces de referencia

* <https://github.com/aircrack-ng/mdk4>
* <https://www.linuxpedia.net/kali-linux/interferir-dos-una-red-inalambrica-con-mdk4-en-kali-linux/>


---

# 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://wiki.securiters.com/securiters-wiki/wifi/redes-ocultas.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.
