# Active Recon (DNS/SNMP)

Interactuar directamente con los servicios para extraer información crítica.

## 1. DNS Enumeration

El sistema de nombres es una mina de oro.

### Zone Transfer (AXFR)

Si el servidor está mal configurado, te dará TODA la lista de subdominios.

```bash
dig axfr @<Nameserver_IP> domain.com
host -l domain.com <Nameserver_IP>
```

### Brute Force Subdomains

Si falla AXFR.

```bash
gobuster dns -d domain.com -w /usr/share/wordlists/seclists/Discovery/DNS/subdomains-top1million-5000.txt
```

## 2. SNMP Enumeration (UDP 161)

Often overlooked. Simple Network Management Protocol.

* **Community Strings**: `public`, `private`, `manager`.
* **Comandos**:

  ```bash
  snmpwalk -c public -v1 <IP>
  snmp-check <IP>
  onesixtyone -c public <IP>
  ```
* **Qué buscar**: Nombres de usuario, rutas de software, conexiones abiertas.

## 3. SMB Enumeration (139/445)

Ver `02-scanning/services-checklist.md` para detalles completos, pero recuerda:

* `enum4linux <IP>`: La vieja confiable.
* `crackmapexec smb <IP> --shares`: Rápido y limpio.

## 4. SMTP Enumeration (25)

Verificar si usuarios existen (VRFY).

```bash
nc <IP> 25
VRFY root
VRFY admin
```


---

# 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://jotatito05.gitbook.io/la-bitacora-de-jotatito05/01.-information-gathering/active-recon.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.
