Suspicious Linux Process Connection to AWS IoT Core MQTT
Identifies a Linux process running from a potentially suspicious location that resolves an account-specific AWS IoT Core data endpoint and then connects over TCP/443 or TCP/8883. Adversaries can use an…
Description
Identifies a Linux process running from a potentially suspicious location that resolves an account-specific AWS IoT Core data endpoint and then connects over TCP/443 or TCP/8883. Adversaries can use an attacker-controlled AWS IoT Core MQTT broker to relay commands, results, and files without a direct connection from the compromised host to the operator's backend server.
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
- IoT development, device testing, telemetry agents, installers, and administrative scripts can legitimately run from temporary or hidden paths and connect to AWS IoT Core. Confirm the executable, parent process, source asset role, and complete AWS IoT endpoint before creating an exception. Scope exceptions to an approved executable and endpoint pair rather than excluding AWS IoT or a writable directory globally.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| docs.aws.amazon.com/iot/latest/developerguide/protocols.html | 2 |
| docs.aws.amazon.com/iot/latest/developerguide/x509-client-certs.html | Only this detection cites it |
| github.com/MythicC2Profiles/mqtt | Only this detection cites it |
| hackerhermanos.com/posts/aws-iot-mqtt-red-teamer/ | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- 3c92b53d-3376-4c79-86fb-7e785fe8d882
- Tagged by the source as
- Data Source: Elastic DefendDomain: EndpointDomain: NetworkDomain: OT/IoTOS: LinuxPlatform: AWSPlatform: LinuxResources: Investigation GuideRule Type: Event Correlation (EQL)Service: AWS IoTTactic: Command and ControlUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 21, 2026
- Version
- 1