First Seen External MQTT Broker Connection
Identifies the first MQTT relationship from an internal source to an external broker that was not observed during the previous 14 days. MQTT is commonly used by IoT and messaging applications, but malware including…
Description
Identifies the first MQTT relationship from an internal source to an external broker that was not observed during the previous 14 days. MQTT is commonly used by IoT and messaging applications, but malware including BambooToken, IOCONTROL, MQsTTang, and WailingCrab has used publish/subscribe traffic for command and control.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ESXiLinuxmacOSNetwork DevicesWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- event_index
Known benign triggers
- New or infrequently used IoT devices, telemetry agents, application messaging services, test environments, and broker migrations can create legitimate first-seen relationships. Sensor onboarding or retention gaps can also cause existing relationships to appear new.
MITRE ATT&CK mappings
1 exclusive technique.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| docs.suricata.io/en/latest/output/eve/eve-json-format.html#event-type-mqtt | Only this detection cites it |
| docs.zeek.org/en/current/scripts/base/protocols/mqtt/main.zeek.html | Only this detection cites it |
| www.elastic.co/docs/reference/integrations/panw | 3 |
| www.elastic.co/docs/reference/integrations/suricata | 3 |
| www.elastic.co/docs/reference/integrations/zeek | Only this detection cites it |
| www.lumen.com/blog/en-us/the-banana-stand-brokering-and-managing-infections-across-asia-using-mqtt | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- b6e05109-768e-4673-bc7b-6760912eb704
- Tagged by the source as
- Data Source: PAN-OS LogsData Source: Suricata LogsData Source: ZeekDomain: NetworkResources: Investigation GuideRule Type: New TermsTactic: Command and ControlUse Case: Network Security MonitoringUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 29, 2026
- Version
- 1