BambooToken Malware
First seen Sep 16, 2026 · Updated Sep 16, 2026
BambooToken is a cross-platform malware family active since at least February 2023 that abuses the MQTT protocol as a covert command-and-control channel to control compromised Windows and Linux hosts. It has been used in targeted attacks against organizations across Asia and South America, indicating a deliberate, possibly state-linked or financially motivated campaign rather than opportunistic infection.
Technical Analysis
BambooToken leverages MQTT, a lightweight publish-subscribe messaging protocol commonly used in IoT environments, to blend malicious C2 traffic with legitimate telemetry data and evade traditional network-based detection tools that do not inspect MQTT brokers. The malware supports both Windows and Linux hosts, suggesting a modular codebase or shared core library with platform-specific loaders, enabling operators to issue commands and exfiltrate data through subscribed MQTT topics. Because the protocol operates over standard ports and can be tunneled through cloud MQTT brokers, detection requires deep packet inspection and anomaly-based monitoring of message broker traffic rather than signature-based domain/IP blocking. Any Linux servers or containers hosting AI agent orchestration frameworks, RAG pipelines, or LLM tool-execution environments are plausible targets, since a foothold via BambooToken could allow attackers to harvest API keys, model credentials, or manipulate agent tool-calling behavior undetected through the covert MQTT channel.
Affected Systems
Windows workstations/servers and Linux servers (versions unspecified in available reporting); systems with outbound access to MQTT brokers on standard MQTT ports (1883/8883) or cloud-hosted MQTT services
Indicators of Compromise
- No specific hashes, IPs, or domains disclosed in available reporting at this time
Remediation Steps
- 1
Monitor MQTT Traffic
Deploy deep packet inspection and anomaly detection for MQTT broker traffic (ports 1883/8883) to identify unauthorized or unusual publish/subscribe activity.
- 2
Restrict Outbound MQTT Connections
Block or tightly control outbound connections to unknown or unauthorized MQTT brokers via firewall and egress filtering policies.
- 3
Endpoint Detection and Response
Deploy EDR on both Windows and Linux hosts to detect cross-platform malware behaviors, persistence mechanisms, and unusual process activity.
- 4
Credential and API Key Rotation
Rotate credentials and API keys on any systems suspected of compromise, particularly hosts running AI agent frameworks or LLM tool integrations that could expose sensitive keys.
- 5
Network Segmentation
Segment IoT/MQTT infrastructure from critical business and AI/ML systems to limit lateral movement opportunities.
- 6
Threat Hunting
Proactively hunt for indicators of MQTT-based C2 activity and unusual telemetry-like traffic patterns across enterprise networks.
Industries Most Exposed
Respond to this threat
Pro subscribers get a full AI-generated incident-response playbook for this threat — detection, containment, eradication, and recovery steps — plus an unlimited AI Threat Advisor for questions about your environment.