Exposed Database Audit
Encuentra y bloquea los almacenes de datos que tu organización dejó alcanzables sin autenticación, antes de que lo haga un investigador.
Audita tu entorno en busca de bases de datos y clústeres de búsqueda alcanzables sin autenticación — Elasticsearch, MongoDB, almacenamiento de objetos y copias de seguridad — verifica la exposición desde fuera, bloquéalos con seguridad y registra pruebas, responsables y fechas de revisión para cada almacén que operas hoy.
Instálala en 3 pasos
Sin registro. Sin herramientas CLI. Elige tu IA, copia una línea y pégala.
¿Prefieres hacerlo tú mismo? Descarga el ZIP gratis, descomprímelo en el directorio que se muestra arriba y reinicia tu sesión de IA — el mismo resultado. Tu asistente de IA también puede descargarlo por ti.
Qué incluye
Un SKILL.md (la guía paso a paso) + una plantilla inicial. Una vista previa:
The idea
The two databases behind the November 2026 headlines were not broken into. One of them — an Elasticsearch 8.13.0 cluster holding about 1.64 billion documents across 99 indices — simply answered anyone who connected, with no authentication at all. That is the most common way large record collections get exposed: a datastore is deployed, migrated or reconfigured, and the door is left open. Attackers are not the only ones who find these systems; independent researchers find them constantly, and the difference between an embarrassing headline and a quiet fix is whether your own audit found the open door first. This skill builds that audit: a complete datastore inventory, an outside-in exposure check for each entry, a safe lockdown procedure, and a re-check rhythm that catches configuration drift.
Workflow
- Inventory every datastore, not just the famous ones. List production and forgotten systems alike: Elasticsearch and OpenSearch clusters, MongoDB, Redis, CouchDB, relational databases with public endpoints, object storage buckets, database snapshots and backups, analytics exports, and staging or migration copies. Staging copies of production data are the classic blind spot — they hold real records behind test-grade configuration.
- Record the intended exposure for each entry. For every datastore, write down whether it should be public, partner-reachable, or internal-only, who owns it, and what authentication it is supposed to require. If nobody can state the intent, treat the entry as unknown and investigate it first.
- Verify from the outside. From a network position outside your own perimeter, attempt an unauthenticated connection to each datastore exactly as a stranger would. A firewall diagram is not evidence; a successful or refused unauthenticated query is. Log the result, the date, and the source address you tested from.
- Classify the findings. Exposed and readable, exposed but authentication enforced, network-restricted as intended, or decommissioned. Anything in the first class with real data is an incident, not a ticket — move to step 5 immediately and involve your incident process.
- Lock down safely. Before closing an exposed datastore, preserve evidence of what was in it and, where logging allows, who connected to it. Then restrict network access, enable authentication, rotate any credentials or tokens the data contained or relied on, and only afterwards announce the fix. Closing the door without checking whether someone already walked through it wastes the one advantage discovery gives you.
- Hunt the copies. An exposed primary usually has siblings: snapshots, replicas, exports and backups created by the same process. Search for them by data shape and owner, not just by hostname, and run each through the same outside-in check.
- Fix the process that created it. Add a deployment gate: no datastore reaches a public address without authentication configured and verified. Record which change, migration or default created each exposure you found, and close that path.
- Re-check on a schedule. Configurations drift, clusters get rebuilt, and temporary access becomes permanent. Re-run the outside-in verification monthly for internet-adjacent systems and after every migration. Feed any stolen-credential fallout you discover to [infostealer-log-triage], and help affected users with [credential-exposure-response].
Vista previa de la plantilla
Exposed Database Audit — Worksheet
1. Datastore inventory
2. Outside-in verification
3. Lockdown record (for any exposure found)
- [ ] Evidence preserved (contents summary + access logs where available)
- [ ] Network access restricted
- [ ] Authentication enabled and re-tested from outside
- [ ] Contained credentials / tokens rotated
- [ ] Copies, snapshots and exports checked with the same test
- [ ] Incident process notified; exposure window recorded as: ______
4. Prevention and rhythm
- [ ] Deployment gate added: no public datastore without verified authentication
- [ ] Root cause of each exposure recorded
- [ ] Monthly re-check scheduled; next date: ______
El paquete de la habilidad (SKILL.md + plantilla) está escrito en inglés.