Skip to main content
Mallory
MalwareUsed by 1 actor

Carbon

Carbon is a modular Windows backdoor framework associated with Turla (also referred to in the content as MAKERSMARK and described as the "Carbon system" or Cobra). It has been used by Turla for several years in long-term cyber-espionage operations, including compromises of government organizations, embassies, and foreign affairs institutions; one cited case involved a European government organization, and reporting also notes targeting of embassies and foreign affairs institutions. Carbon is described as a sophisticated next-level espionage tool and was observed alongside other Turla malware such as Kazuar and HyperStack on the same victim network.

Capabilities directly described in the content include modular installation, command execution, data exfiltration, local staging, persistence, discovery, and encrypted command-and-control. A Carbon installer dropped a Carbon Orchestrator, two communication modules, and an encrypted configuration file. Carbon decrypts task and configuration files for execution, and the content states it encrypts configuration files and tasks with CAST-128. For staging, Carbon creates a base directory containing collected files and folders. For persistence, it can create a Windows service named according to the operating system version and also creates several scheduled tasks for later execution.

For command-and-control, Carbon can use HTTP, TCP, and UDP, and has used RSA encryption for C2 communications. It can also use Pastebin to receive C2 commands. In one June 2020 instance, Carbon retained traditional HTTP C2 URLs while augmenting them with a [RENDEZVOUS_POINT] parameter referencing a Pastebin project; the Pastebin content was an encrypted blob that required an RSA private key from the Carbon configuration file for decryption. The content also states Carbon uses HTTP to send data to its C2 server.

Discovery and host/network reconnaissance behaviors explicitly mentioned include enumerating Windows Registry values; listing accounts with the net group command; remote system discovery with net view; collecting IP and network information with ipconfig -all, nbtstat -n, and nbtstat -s; discovering network connections and routes with netstat -r and netstat -an; and obtaining system time with net time \127.0.0.1. Carbon is also described as being able to list processes and to inject code into a process via DLL injection.

High-confidence infrastructure and indicators mentioned in the content include www.berlinguas[.]com/wp-content/languages/index.php, www.balletmaniacs[.]com/wp-includes/fonts/icons/, pastebin[.]com:443/raw/5qXBPmAZ, and the named pipe suplexrpc. The content also references a signature string mod_101_MM_CARBON as a likely reference to Turla’s Carbon system.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

THREAT ACTORS

Groups observed using it

1 distinct threat actor attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
Turla

Accenture researchers recently identified novel command and control (C&C) configurations for Turla’s Carbon and Kazuar backdoors on the same victim network.

via bleeping computerbleepingcomputer.com
MITRE ATT&CK

Techniques & procedures

27 distinct techniques documented for this family, organized by ATT&CK tactic.

Execution

3 techniques
T1053Scheduled Task/JobEvidence1

“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”

T1053.005Scheduled TaskEvidence4

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1059Command and Scripting InterpreterEvidence1
TacticExecution

MITRE ATT&CK techniques Tactic Technique ID Technique name Execution T1059 ... Command-line Interface

Persistence

3 techniques
T1053Scheduled Task/JobEvidence1

“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”

T1053.005Scheduled TaskEvidence4

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1543.003Windows ServiceEvidence1

“Sandworm Team used an arbitrary system service to load at system boot for persistence for Industroyer… replaced the ImagePath registry value of a Windows service with a new backdoor binary… [multiple groups/malware] creating a service / installing as a service / modifying service configurations for persistence.”

T1053Scheduled Task/JobEvidence1

“Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.” / “APT29 used scheduler and schtasks to create new tasks on remote host as part of their lateral movement… updating an existing legitimate task to execute their tools and then returned the scheduled task to its original configuration.”

T1053.005Scheduled TaskEvidence4

During the 2022 Ukraine Electric Power Attack, Sandworm Team leveraged Scheduled Tasks through a Group Policy Object (GPO) to execute CaddyWiper at a predetermined time.

T1055.001Dynamic-link Library InjectionEvidence1

"Carbon has a command to inject code into a process."

T1543.003Windows ServiceEvidence1

“Sandworm Team used an arbitrary system service to load at system boot for persistence for Industroyer… replaced the ImagePath registry value of a Windows service with a new backdoor binary… [multiple groups/malware] creating a service / installing as a service / modifying service configurations for persistence.”

Stealth

3 techniques
T1027Obfuscated Files or InformationEvidence4
TacticStealth

The content repeatedly describes malware and threat actors using obfuscated code, encrypted strings, Base64/XOR/RC4/AES encoding, VMProtect/ConfuserEx/SmartAssembly, stack strings, control-flow flattening, opaque predicates, and hidden payloads to evade analysis and detection.

T1055.001Dynamic-link Library InjectionEvidence1

"Carbon has a command to inject code into a process."

T1140Deobfuscate/Decode Files or InformationEvidence5
TacticStealth

The content repeatedly describes malware and threat actors decoding, decrypting, or deobfuscating payloads, strings, configuration data, commands, and C2 traffic prior to execution or use, e.g., 'APT28 macro uses the command certutil -decode to decode contents of a .txt file storing the base64 encoded payload' and 'Action RAT can use Base64 to decode actor-controlled C2 server communications.'

Discovery

7 techniques
T1012Query RegistryEvidence3
TacticDiscovery

The content repeatedly describes malware and threat actors querying, enumerating, searching, reading, or checking Windows Registry keys and values, e.g., "ADVSTORESHELL can enumerate registry keys," "APT41 queried registry values to determine items such as configured RDP ports and network configurations," and "Reg may be used to gather details from the Windows Registry of a local or remote system at the command-line interface."

T1016System Network Configuration DiscoveryEvidence3
TacticDiscovery

The content repeatedly describes actors and malware using commands and APIs such as ipconfig /all, ifconfig, arp -a, route print, netsh interface show, GetAdaptersInfo, and GetIpNetTable to gather IP addresses, MAC addresses, DNS, DHCP, gateways, routing tables, ARP cache, proxy settings, and network adapter/interface details.

T1018Remote System DiscoveryEvidence3
TacticDiscovery

BlackEnergy has gathered information about network IP configurations using ipconfig.exe and about routing tables using route.exe.

T1049System Network Connections DiscoveryEvidence1
TacticDiscovery

"Carbon uses the netstat -r and netstat -an commands."

T1057Process DiscoveryEvidence3
TacticDiscovery

The content repeatedly describes malware and threat actors obtaining lists of running processes, using utilities such as tasklist, ps, WMI, Get-Process, CreateToolhelp32Snapshot, EnumProcesses, and similar APIs/commands to enumerate active processes on victim systems.

T1069Permission Groups DiscoveryEvidence1
TacticDiscovery

"Carbon uses the net group command."

T1124System Time DiscoveryEvidence2
TacticDiscovery

Multiple malware and threat groups are described as collecting/deriving local system time, date, timestamp, tick count, or time zone (e.g., "used time /t and net time \ip/hostname for system time discovery"; "collects the timestamp from the victim’s machine"; "can collect the time zone information from the system").

Collection

2 techniques
T1074Data StagedEvidence1

The content repeatedly describes adversaries and malware storing collected data, command output, credentials, archives, or files in local temporary folders, working directories, hidden directories, registry locations, recycle bins, or specific files prior to exfiltration.

T1074.001Local Data StagingEvidence1

"Carbon creates a base directory that contains the files and folders that are collected."

Command and Control

10 techniques
T1001Data ObfuscationEvidence1

MITRE ATT&CK techniques ... Command and Control ... T1001 Data Obfuscation ... When accessing the Pastebin URL, an encrypted blob is downloaded that requires a corresponding RSA private key from the configuration file.

T1071Application Layer ProtocolEvidence2

the Carbon instance had been updated to include a Pastebin project to receive encrypted tasks alongside its traditional HTTP C&C infrastructure. | Accenture researchers recently identified novel command and control (C&C) configurations for Turla’s Carbon and Kazuar backdoors on the same victim network.

T1071.001Web ProtocolsEvidence2

The content repeatedly describes threat actors, malware, and campaigns using HTTP and/or HTTPS for command and control, including examples such as BlackEnergy communicating with C2 over HTTP POST requests and many other families using HTTP/S for C2.

T1090ProxyEvidence1

MITRE ATT&CK techniques ... Command and Control ... T1090 Proxy ... The October sample likely acts as a transfer agent used to proxy commands from the remote Turla operators to the Kazuar instances on internal nodes in the network via an internet-facing shared network location.

T1095Non-Application Layer ProtocolEvidence1

"Carbon uses TCP and UDP for C2."

T1102Web ServiceEvidence2

MITRE ATT&CK techniques ... Command and Control T1102 ... Web Service ... Turla has relied on traditional C&C implementations, using compromised web servers as C&C, as well as utilizing legitimate web services like Pastebin.

T1105Ingress Tool TransferEvidence1

To compromise the organization's network, the attackers used a combination of recently updated remote administration trojans (RATs) and remote procedure call (RPC)-based backdoors including HyperStack

T1219Remote Access ToolsEvidence1

the attackers used a combination of recently updated remote administration trojans (RATs) and remote procedure call (RPC)-based backdoors

T1573Encrypted ChannelEvidence1

The content repeatedly describes malware and threat actors using SSL, TLS, HTTPS, RSA, AES, Blowfish, RC4, ECIES, Diffie-Hellman, OpenSSL, WolfSSL, and mutual TLS to protect command and control traffic.

T1573.002Asymmetric CryptographyEvidence2

Examples include: "encrypts some C2 with RSA", "RSA encryption for C2 communications", "hard-coded RSA public key", "RSA-2048", "RSA-4096", and "REvil has encrypted C2 communications with the ECIES algorithm". | Multiple malware families and intrusion sets are described as encrypting C2 traffic using SSL/TLS/HTTPS (e.g., "used HTTPS for command and control", "encrypts C2 communications with TLS", "uses SSL for encrypting C2 communications", "TLS-encrypted WebSocket Protocol (WSS) for C2").

Exfiltration

1 technique
T1048.003Exfiltration Over Unencrypted Non-C2 ProtocolEvidence1

"Carbon uses HTTP to send data to the C2 server."

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution1

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping27

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.