Standard Encoding

T1132.001

Sub-technique of T1132 Data Encoding.View on attack.mitre.org

About this technique

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. Some data encoding systems may also result in data compression, such as gzip.

Detection rules4

Rules on DetectionCode tagged with T1132.001.

Sigma4

RuleLevelLog source
DNS Exfiltration and Tunneling Tools Executionhighwindows / process_creation
Gzip Archive Decode Via PowerShellmediumwindows / process_creation
Suspicious FromBase64String Usage On Gzip Archive - Process Creationmediumwindows / process_creation
Suspicious FromBase64String Usage On Gzip Archive - Ps Scriptmediumwindows / ps_script

Splunk0

No Splunk rules are mapped to this technique yet.

Groups11

Software114

Show 90 more

Campaigns1

Procedure examples126

Groups11

Used byProcedure example
GroupAPT19

An APT19 HTTP malware variant used Base64 to encode communications to the C2 server.

GroupAPT33

APT33 has used base64 to encode command and control traffic.

GroupAPT42

APT42 has encoded C2 traffic with Base64.

GroupBRONZE BUTLER

Several BRONZE BUTLER tools encode data with base64 when posting it to a C2 server.

GroupHAFNIUM

HAFNIUM has used ASCII encoding for C2 traffic.

GroupLazarus Group

A Lazarus Group malware sample encodes data with base64.

GroupMuddyWater

MuddyWater has used tools to encode C2 communications including Base64 encoding.

GroupPatchwork

Patchwork used Base64 to encode C2 traffic.

View all 11 groups examples

Software114

Used byProcedure example
MalwareADVSTORESHELL

C2 traffic from ADVSTORESHELL is encrypted, then encoded with Base64 encoding.

MalwareAstaroth

Astaroth encodes data using Base64 before sending it to the C2 server.

MalwareAutoIt backdoor

AutoIt backdoor has sent a C2 response that was base64-encoded.

MalwareBabyShark

BabyShark has encoded data using certutil before exfiltration.

MalwareBackdoor.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.

MalwareBADNEWS

BADNEWS encodes C2 traffic with base64.

MalwareBisonal

Bisonal has encoded binary data with Base64 and ASCII.

MalwareBLINDINGCAN

BLINDINGCAN has encoded its C2 traffic with Base64.

View all 114 software examples

Campaigns1

Used byProcedure example
CampaignJuicy Mix

During Juicy Mix, OilRig used a VBS script to send the Base64-encoded name of the compromised computer to C2.

References2

  1. Wikipedia Binary-to-text Encoding Open source
    Wikipedia. (2016, December 26). Binary-to-text encoding. Retrieved March 1, 2017.
  2. Wikipedia Character Encoding Open source
    Wikipedia. (2017, February 19). Character Encoding. Retrieved March 1, 2017.

Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.