Cybersecurity news

Jessica Doner

Back to the list

Linux BambooToken Malware Uses MQTT C2 for Remote Shell Access and File Exfiltration

GBHackers,

A Linux malware variant uses MQTT to run remote commands and steal files, with its code hidden by separate XOR routines.

Malware and ransomwareAttacks and breaches

Overview

A Linux version of the BambooToken backdoorA hidden way into a computer or program that skips the normal login check uses the MQTT protocolAn agreed set of rules and message formats that computers follow to exchange data over a network to communicate with its controllers, allowing them to run commands and steal files from infected computers. The malwareSoftware built to steal data, spy on users, lock files, or take control of a computer hides its settings and data using a simple XORA step that compares 2 bits and gives 0 when they are the same and 1 when they differ encryption method to avoid detection. When it starts, it connects to a specific server on TCP port 2883 and creates a unique identifier for each victim. Attackers can send general instructions to all infected machines or target specific ones using these unique identifiers. The software can gather detailed information about the computer, such as the username, hostnameThe human-readable label assigned to a computer or server on a local network or the internet, and CPU model. If the connection drops, the malware tries to reconnect after 15 seconds.

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.
Malware
Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
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)
hostname
The human-readable label assigned to a computer or server on a local network or the internet. During an intrusion investigation, logs often identify which employee laptop or internal server was accessed by its hostname alongside its IP address.
Exfiltration
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
command-and-control channel
The remote servers and channels an attacker uses to send instructions to infected computers. Once malware infects a laptop, it quietly checks in with a command and control server to receive new orders or upload stolen files.
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.
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.
payloads
The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
obfuscated
Scrambling or tangling code on purpose so humans and security scanners have a hard time reading it. Attackers use obfuscation by renaming variables to gibberish, splitting strings, and wrapping scripts in layers of encoding so analysts cannot easily see what the program does. Security+ objective 1.4 lists the term
SHA-256
The hash algorithm to use today (SHA stands for Secure Hash Algorithm). Threat intelligence reports and software download pages publish hashes from this standard SHA family so defenders and users can verify that a file matches the original byte for byte. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2)

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 GBHackers website. Cite the article, not this page.

Read the full article on GBHackers (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.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related