---
title: MongoDB unauthenticated connection with no client metadata
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > OOTB Rules > MongoDB unauthenticated connection with
  no client metadata
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# MongoDB unauthenticated connection with no client metadata

{% alert level="danger" %}
This rule is part of a beta feature. To learn more, [contact Support](https://docs.datadoghq.com/help/).
{% /alert %}
Classification:attackTactic:[TA0043-reconnaissance](https://attack.mitre.org/tactics/TA0043)Technique:[T1595-active-scanning](https://attack.mitre.org/techniques/T1595) 
## Goal{% #goal %}

Detects an unauthenticated MongoDB connection that sends no client driver metadata. Alerts when a raw wire-protocol client connects to `mongod`.

## Strategy{% #strategy %}

This rule monitors MongoDB `Connection not authenticating` events, where `@id` is `10483900`, that have no `@attr.doc.driver.name`. Official drivers and `mongosh` always send driver metadata in the `hello` handshake, so a connection without it usually comes from a scanner, a custom tool, or an exploit script. In a reproduction of CVE-2026-118383, a pre-auth use-after-free in primary catch-up, this rule caught the exploit's `hello` probes and its polling loop after failover.

## Triage and response{% #triage-and-response %}

- Identify the client `{{@attr.client}}` connecting to `{{host}}` and determine whether it is a known monitoring or inventory tool.
- Review commands from the same remote address for `readConcern.afterOpTime` on `ping`, `hello`, or `isMaster`.
- Check whether `{{host}}` is reachable from untrusted networks and restrict network access to `mongod` where possible.
