Automation · API / MCP 中文

Technique note · T1027.001

Binary Padding

Adversaries may use binary padding to add junk data and change the on-disk representation of malware. This can be done without affecting the functionality or behavior of a binary, but can increase the size of the binary beyond what some security tools are capable of handling due to file size limitations. Binary padding effectively changes the checksum of the file and can also be used to avoid hash-based blocklists and static anti-virus signatures. The padding used is commonly generated by a function to create junk data and then appended to the end or applied to sections of malware. Increasing the file size may decrease the effectiveness of certain tools and detection capabilities that are not designed or configured to scan large files. This may also reduce the likelihood of being collected for analysis. Public file scanning services, such as VirusTotal, limit the maximum size of an uploaded file to be analyzed.

ATT&CK T1027.001 platforms — Status Active Version 20.1

Adversaries may use binary padding to add junk data and change the on-disk representation of malware. This can be done without affecting the functionality or behavior of a binary, but can increase the size of the binary beyond what some security tools are capable of handling due to file size limitations. Binary padding effectively changes the checksum of the file and can also be used to avoid hash-based blocklists and static anti-virus signatures.1 The padding used is commonly generated by a function to create junk data and then appended to the end or applied to sections of malware.2 Increasing the file size may decrease the effectiveness of certain tools and detection capabilities that are not designed or configured to scan large files. This may also reduce the likelihood of being collected for analysis. Public file scanning services, such as VirusTotal, limit the maximum size of an uploaded file to be analyzed.3

  1. ESET OceanLotus
  2. Securelist Malware Tricks April 2017
  3. VirusTotal FAQ

Groups using this technique

GroupNameCountry
grp_g0002Moafee—
grp_g1024Akira—
grp_g0126Higaisa—
grp_g0065LeviathanChina
grp_g0094KimsukyDPRK
grp_g0060BRONZE BUTLER—
grp_g0016APT29Russia
grp_g0040Patchwork—

Claims

No public claim points at this technique yet.

Auto-ingested and not human-reviewed; confidence and validity read by citation.