BambooToken Linux Backdoor Uses MQTT C2 to Execute Shell Commands and Exfiltrate Files
A Linux backdoor uses a common messaging protocol to run shell commands and move files between a compromised machine and its operator.
Overview
BambooToken is a Linux backdoorA hidden way into a computer or program that skips the normal login check that uses the MQTT messaging protocolAn agreed set of rules and message formats that computers follow to exchange data over a network to act as a remote control channel for attackers. The software allows an intruder to collect host information, run shell commandsThe command-line interpreter program that accepts text commands and runs them on an operating system, and move files between the compromised machine and the operator. MQTT is common in connected-device environments, meaning many systems could be vulnerable if the backdoor is installed. The backdoor connects to a broker over TCP port 2883 and uses a 59-byteA group of 8 bits, enough to store 1 character configurationA text file that stores settings, network addresses, and options for how a program or server runs blob to find its target. It hides its data using a repeating XORA step that compares 2 bits and gives 0 when they are the same and 1 when they differ operation, which makes quick inspection harder but does not provide strong protection. Once placed on a Linux system, the backdoor gives an intruder practical access to system details, command output, and locally stored data.
Terms in this story
- Backdoor
- A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term
- protocol
- An agreed set of rules and message formats that computers follow to exchange data over a network. Every internet service relies on a network protocol such as HTTP for web pages or DNS for domain lookups, and a logic flaw in a protocol's design affects every vendor that implements it.
- Shell Commands
- The command-line interpreter program that accepts text commands and runs them on an operating system. When an attacker exploits a web server and pops a shell, they can type operating system commands directly as if they were sitting at the server's keyboard.
- byte
- A group of 8 bits, enough to store 1 character. Memory sizes, network payloads, and buffer lengths are measured in bytes, and memory corruption bugs happen when a program writes even a single byte past the end of its buffer. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- configuration
- A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
- XOR
- A step that compares 2 bits and gives 0 when they are the same and 1 when they differ. Stream ciphers and block ciphers rely on XOR to mix plaintext bits with key bits, and malware authors often use a simple XOR loop to hide text strings inside a file. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2)
- C2
- The server or channel an attacker uses to send orders to computers infected with malware. Once malware runs on a victim's computer, it quietly checks in with the attacker's command-and-control server to receive instructions or upload stolen files. Security+ objective 2.4 lists the term
- Exfiltrate
- The unauthorized copying and sending of stolen files or records out of a victim's network. Before launching ransomware or after breaking into a cloud database, attackers perform data exfiltration by quietly uploading customer records to an external storage server they control. Security+ objective 2.1 lists the term
- relay
- An intermediate node or attack tool that forwards network traffic or login challenges from one machine to another. In security stories, a relay can be an anonymizing network node that hides an attacker's IP address or an attack tool that forwards captured login challenges to another server.
- implant
- Custom spyware or backdoor code secretly placed on a target device or router for long-term access. Government espionage reports often describe an implant hidden inside a network appliance or phone that quietly relays traffic back to its handlers for months.
- initial access
- The first foothold an attacker gains inside a target network before moving to other machines. In breach reports, investigators always try to learn how the intruder got initial access, whether through a phished password, an unpatched VPN, or a stolen session cookie.
- UUID
- A long randomly generated identifier string used to label records or devices uniquely without central coordination. Cloud apps use a random UUID instead of sequential numbers for user and file identifiers so attackers cannot easily guess the next record's address.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Who is affected: "Linux system..."
Copied word for word from the article - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"BambooToken Linux Backdoor Uses MQTT C2 to Execute Shell Commands..." Found in the headline - CYBR 101 week 5: hashes, how passwords are stored and cracked, Linux basics
"BambooToken Linux Backdoor Uses MQTT C2 to Execute Shell..." Found in the headline - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"BambooToken Linux Backdoor Uses MQTT C2 to Execute Shell..." Found in the headline - CYBR 101 week 8: networks, ports, DNS and packets
"......Linux backdoor that turns a lightweight messaging protocol into a remote control channel. The newly..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"BambooToken Linux Backdoor Uses MQTT C2 to Execute Shell Commands..." Found in the headline
How a story is connected to the course, and every objective, week and job role