> For the complete documentation index, see [llms.txt](https://g4b0.gitbook.io/g4b0-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://g4b0.gitbook.io/g4b0-docs/documentation/cheatsheets/quickstart.md).

# Protocolos

La fase de Enumeración es el proceso crítico de establecer una conexión activa con el objetivo para identificar vectores de ataque específicos. A diferencia del escaneo de puertos, aquí buscamos extraer información detallada como nombres de usuarios, grupos, recursos compartidos, configuraciones de red y versiones exactas de servicios.

#### 🎯 Objetivos Principales

* Identificar usuarios y grupos: Extraer nombres de cuentas válidas para ataques de fuerza bruta o Password Spraying.
* Listar recursos compartidos: Localizar archivos sensibles en volúmenes SMB o NFS expuestos.
* Mapear la infraestructura: Entender la jerarquía de Active Directory (LDAP) y servicios de red (DNS/RPC).
* Descubrir vulnerabilidades de servicio: Identificar versiones de software específicas (MySQL, Apache, etc.) con exploits conocidos.

🛡️ Servicios Críticos a Enumerar

**🌐 SMB (Server Message Block - Puertos 139, 445)**

La enumeración de SMB permite listar recursos compartidos y usuarios. Es vital verificar si existen Null Sessions (acceso sin credenciales).

* Herramientas clave: `enum4linux`, `smbclient`, `crackmapexec`, `nmap (scripts NSE)`.

**🔍 DNS (Domain Name System - Puerto 53)**

Busca identificar subdominios y direcciones IP internas. La técnica más efectiva es el Zone Transfer (AXFR) para replicar la base de datos completa del servidor.

* Herramientas clave: `dig`, `dnsrecon`, `host`, `subfinder`.

**💻 HTTP / HTTPS (Puertos 80, 443)**

Se enfoca en descubrir directorios ocultos, archivos de configuración (.env, .git) y tecnologías del servidor.

* Herramientas clave: `gobuster`, `ffuf`, `feroxbuster`, `whatweb`.

**🔑 Kerberos y LDAP (Puertos 88, 389, 636)**

Esencial en entornos Windows/Active Directory. Permite enumerar usuarios mediante ataques de pre-autenticación o extraer el árbol de objetos del dominio.

* Herramientas clave: `ldapsearch`, `GetNPUsers.py`, `bloodhound`.

**📡 RPC (Remote Procedure Call - Puerto 135)**

Permite obtener información detallada sobre el sistema operativo, SIDs de usuarios y pipes de comunicación.

* Herramientas clave: `rpcclient`, `rpcinfo`.

**🗄️ MySQL (Puerto 3306)**

Enumeración de bases de datos, tablas y búsqueda de usuarios con privilegios elevados o contraseñas por defecto.

* Herramientas clave: `mysql-client`, `nmap --script mysql-enum`.

***

> Nota de Seguridad: La enumeración es una fase "ruidosa" que genera tráfico activo hacia el objetivo. Siempre debe realizarse bajo el alcance de una auditoría autorizada.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://g4b0.gitbook.io/g4b0-docs/documentation/cheatsheets/quickstart.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
