# OSINT & External

Antes de tocar la infraestructura del cliente, debemos saber TODO lo que está expuesto públicamente.

## 1. ASN / Bloques de IP

Si el cliente es una empresa grande, tendrá sus propios bloques IP.

* **Target**: `bgp.he.net`
* **Herramienta**: `amass intel -asn <ASN_ID>`

## 2. Certificate Transparency

Los logs de certificados SSL son una mina de oro para encontrar subdominios olvidados.

* **Sitio**: [crt.sh](https://crt.sh/)
* **Query**: `%.target.com`

## 3. Google Dorking Profesional

No busques solo "login". Busca fallos de configuración y archivos sensibles exportados.

| Dork                                            | Propósito             |
| ----------------------------------------------- | --------------------- |
| \`site:target.com ext:xml                       | ext:conf              |
| `site:target.com "index of /" parent directory` | Directory Listing     |
| \`site:target.com inurl:admin                   | inurl:login           |
| `site:pastebin.com "target.com"`                | Fugas de credenciales |

## 4. Email Harvesting & Breach Data

* **theHarvester**: `theHarvester -d target.com -b all`
* **Credenciales por defecto**: Si encuentras un panel de administración, SIEMPRE prueba `admin:admin`, `root:system`, etc.

## 5. Cloud Recon

Enumerar buckets S3 públicos o blobs de Azure.

* **Herramientas**: `cloud_enum`, `lazys3`
* **Patrones**: `target-backup`, `target-dev`, `target-assets`


---

# 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/osint.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.
