ID | Name |
---|---|
T1132.001 | Standard Encoding |
T1132.002 | Non-Standard Encoding |
Adversaries may encode data with a standard data encoding system to make the content of command and control traffic more difficult to detect. Command and control (C2) information can be encoded using a standard data encoding system that adheres to existing protocol specifications. Common data encoding schemes include ASCII, Unicode, hexadecimal, Base64, and MIME.[1][2] Some data encoding systems may also result in data compression, such as gzip.
ID | Name | Description |
---|---|---|
S0045 | ADVSTORESHELL |
C2 traffic from ADVSTORESHELL is encrypted, then encoded with Base64 encoding.[3] |
G0073 | APT19 |
An APT19 HTTP malware variant used Base64 to encode communications to the C2 server.[4] |
G0064 | APT33 |
APT33 has used base64 to encode command and control traffic.[5] |
S0373 | Astaroth |
Astaroth encodes data using Base64 before sending it to the C2 server. [6] |
S0129 | AutoIt backdoor |
AutoIt backdoor has sent a C2 response that was base64-encoded.[7] |
S0414 | BabyShark |
BabyShark has encoded data using certutil before exfiltration.[8] |
S0093 | Backdoor.Oldrea |
Some Backdoor.Oldrea samples use standard Base64 + bzip2, and some use standard Base64 + reverse XOR + RSA-2048 to decrypt data received from C2 servers.[9] |
S0128 | BADNEWS | |
S0268 | Bisonal |
Bisonal has encoded binary data with Base64 and ASCII.[12][13] |
S0520 | BLINDINGCAN |
BLINDINGCAN has encoded its C2 traffic with Base64.[14] |
G0060 | BRONZE BUTLER |
Several BRONZE BUTLER tools encode data with base64 when posting it to a C2 server.[15] |
S0014 | BS2005 |
BS2005 uses Base64 encoding for communication in the message body of an HTTP request.[16] |
S1039 | Bumblebee |
Bumblebee has the ability to base64 encode C2 server responses.[17] |
S0030 | Carbanak |
Carbanak encodes the message body of HTTP traffic with Base64.[18][19] |
S0631 | Chaes | |
S0674 | CharmPower |
CharmPower can send additional modules over C2 encoded with base64.[21] |
S0144 | ChChes |
ChChes can encode C2 data with a custom technique that utilizes Base64.[22][23] |
S0154 | Cobalt Strike |
Cobalt Strike can use Base64, URL-safe Base64, or NetBIOS encoding in its C2 traffic.[24] |
S0338 | Cobian RAT |
Cobian RAT obfuscates communications with the C2 server using Base64 encoding.[25] |
S0137 | CORESHELL | |
S1024 | CreepySnail |
CreepySnail can use Base64 to encode its C2 traffic.[27] |
S0673 | DarkWatchman |
DarkWatchman encodes data using hexadecimal representation before sending it to the C2 server.[28] |
S0187 | Daserf |
Daserf uses custom base64 encoding to obfuscate HTTP traffic.[15] |
S0354 | Denis | |
S0200 | Dipsind | |
S1021 | DnsSystem | |
S0472 | down_new |
down_new has the ability to base64 encode C2 communications.[32] |
S0377 | Ebury | |
S0081 | Elise |
Elise exfiltrates data using cookie values that are Base64-encoded.[34] |
S0367 | Emotet |
Emotet has used Google’s Protobufs to serialize data sent to and from the C2 server.[35] Additionally, Emotet has used Base64 to encode data before sending to the C2 server.[36] |
S0171 | Felismus |
Some Felismus samples use a custom method for C2 traffic that utilizes Base64.[37] |
S0696 | Flagpro |
Flagpro has encoded bidirectional data communications between a target system and C2 server using Base64.[38] |
S0410 | Fysbis | |
S0032 | gh0st RAT |
gh0st RAT has used Zlib to compress C2 communications data before encrypting it.[40] |
S1117 | GLASSTOKEN |
GLASSTOKEN has hexadecimal and Base64 encoded C2 content.[41] |
S1138 | Gootloader |
Gootloader can retrieve a Base64 encoded stager from C2.[42] |
S0632 | GrimAgent | |
G0125 | HAFNIUM | |
S0170 | Helminth |
For C2 over HTTP, Helminth encodes data with base64 and sends it via the "Cookie" field of HTTP requests. For C2 over DNS, Helminth converts ASCII characters into their hexadecimal values and sends the data in cleartext.[45] |
S0376 | HOPLIGHT |
HOPLIGHT has utilized Zlib compression to obfuscate the communications payload. [46] |
S0015 | Ixeshe |
Ixeshe uses custom Base64 encoding schemes to obfuscate command and control traffic in the message body of HTTP requests.[47][48] |
S0044 | JHUHUGIT | |
S0265 | Kazuar |
Kazuar encodes communications to the C2 server in Base64.[50] |
S0487 | Kessel |
Kessel has exfiltrated data via hexadecimal-encoded subdomain fields of DNS queries.[51] |
S1020 | Kevin |
Kevin can Base32 encode chunks of output files during exfiltration.[52] |
S0356 | KONNI |
KONNI has used a custom base64 key to encode stolen data before exfiltration.[53] |
S1160 | Latrodectus |
Latrodectus has Base64-encoded the message body of a HTTP request sent to C2.[54][55] |
G0032 | Lazarus Group |
A Lazarus Group malware sample encodes data with base64.[56] |
S1141 | LunarWeb |
LunarWeb can use Base64 encoding to obfuscate C2 commands.[57] |
S0409 | Machete | |
S1060 | Mafalda |
Mafalda can encode data using Base64 prior to exfiltration.[59] |
S1156 | Manjusaka |
Manjusaka communication includes a client-created session cookie with base64-encoded information representing information from the victim system.[60] |
S0459 | MechaFlounder |
MechaFlounder has the ability to use base16 encoded strings in C2.[61] |
S0084 | Mis-Type | |
S0083 | Misdat | |
S1026 | Mongall |
Mongall can use Base64 to encode information sent to its C2.[63] |
S0284 | More_eggs |
More_eggs has used basE91 encoding, along with encryption, for C2 communication.[64] |
S1047 | Mori | |
G0069 | MuddyWater |
MuddyWater has used tools to encode C2 communications including Base64 encoding.[66][67] |
S0385 | njRAT | |
S0340 | Octopus | |
S0439 | Okrum | |
S0264 | OopsIE |
OopsIE encodes data in hexadecimal format over the C2 channel.[71] |
S0352 | OSX_OCEANLOTUS.D |
OSX_OCEANLOTUS.D has used |
G0040 | Patchwork | |
S1145 | Pikabot |
Pikabot uses base64 encoding in conjunction with symmetric encryption mechanisms to obfuscate command and control communications.[74][75] |
S1031 | PingPull | |
S0124 | Pisloader |
Responses from the Pisloader C2 server are base32-encoded.[77] |
S0441 | PowerShower |
PowerShower has the ability to encode C2 communications with base64 encoding.[78][79] |
S0223 | POWERSTATS |
POWERSTATS encoded C2 traffic with base64.[80] |
S0184 | POWRUNER | |
S0113 | Prikormka | |
S1108 | PULSECHECK |
PULSECHECK can base-64 encode encrypted data sent through C2.[83] |
S0650 | QakBot |
QakBot can Base64 encode system information sent to C2.[84][85] |
S0269 | QUADAGENT | |
S1076 | QUIETCANARY |
QUIETCANARY can base64 encode C2 communications.[87] |
S0458 | Ramsay | |
S0495 | RDAT |
RDAT can communicate with the C2 via base32-encoded subdomains.[89] |
S0379 | Revenge RAT |
Revenge RAT uses Base64 to encode information sent to the C2 server.[90] |
S0270 | RogueRobin |
RogueRobin base64 encodes strings that are sent to the C2 over its DNS tunnel.[91] |
S1078 | RotaJakiro |
RotaJakiro uses ZLIB Compression to compresses data sent to the C2 server in the |
S0085 | S-Type | |
S1018 | Saint Bot |
Saint Bot has used Base64 to encode its C2 communications.[93] |
S1099 | Samurai |
Samurai can base64 encode data sent in C2 communications prior to its encryption.[94] |
G0034 | Sandworm Team |
Sandworm Team's BCS-server tool uses base64 encoding and HTML tags for the communication traffic between the C2 server.[95] |
S1085 | Sardonic |
Sardonic can encode client ID data in 32 uppercase hex characters and transfer to the actor-controlled C2 server.[96] |
S0053 | SeaDuke | |
S0610 | SideTwist | |
S1110 | SLIGHTPULSE |
SLIGHTPULSE can base64 encode all incoming and outgoing C2 messages.[83] |
S0633 | Sliver |
Sliver can use standard encoding techniques like gzip and hex to ASCII to encode the C2 communication payload.[99] |
S0649 | SMOKEDHAM | |
S0543 | Spark |
Spark has encoded communications with the C2 server with base64.[101] |
S0374 | SpeakUp | |
S1030 | Squirrelwaffle |
Squirrelwaffle has encoded its communications to C2 servers using Base64.[103] |
S1037 | STARWHALE |
STARWHALE has the ability to hex-encode collected data from an infected host.[65] |
S1112 | STEADYPULSE |
STEADYPULSE can transmit URL encoded data over C2.[83] |
S0603 | Stuxnet |
Stuxnet transforms encrypted binary data into an ASCII string in order to use it as a URL parameter value.[104] |
S0559 | SUNBURST | |
S0663 | SysUpdate | |
G0127 | TA551 |
TA551 has used encoded ASCII text for initial C2 communications.[107] |
S0678 | Torisma | |
S0266 | TrickBot | |
G0081 | Tropic Trooper |
Tropic Trooper has used base64 encoding to hide command strings delivered from the C2.[110] |
S0476 | Valak | |
S1116 | WARPWIRE |
WARPWIRE can Base64 encode captured credentials with |
S0514 | WellMess |
WellMess has used Base64 encoding to uniquely identify communication to and from the C2.[112] |
S1115 | WIREFIRE | |
S0653 | xCaon | |
S0251 | Zebrocy |
Zebrocy has used URL/Percent Encoding on data exfiltrated via HTTP POST requests.[114] |
ID | Mitigation | Description |
---|---|---|
M1031 | Network Intrusion Prevention |
Network intrusion detection and prevention systems that use network signatures to identify traffic for specific adversary malware can be used to mitigate activity at the network level. Signatures are often for unique indicators within protocols and may be based on the specific obfuscation technique used by a particular adversary or tool, and will likely be different across various malware families and versions. Adversaries will likely change tool C2 signatures over time or construct protocols in such a way as to avoid detection by common defensive tools. |
ID | Data Source | Data Component | Detects |
---|---|---|---|
DS0029 | Network Traffic | Network Traffic Content |
Monitor for network data for uncommon data flows (e.g., a client sending significantly more data than it receives from a server). Processes utilizing the network that do not normally have network communication or have never been seen before are suspicious. Analyze packet contents to detect communications that do not follow the expected protocol behavior for the port that is being used. |