Threaticon
Toggle sidebar

You're viewing a limited, public preview. Log in for full access.

Log in User Guide
Log in Get started
Attack Patterns T1027.001 — Binary Padding
T1027.001

Binary Padding

Stealth
TLP:CLEAR

Description

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.(Citation: ESET OceanLotus) 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.(Citation: Securelist Malware Tricks April 2017) 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, limits the maximum size of an uploaded file to be analyzed.(Citation: VirusTotal FAQ)

MITRE ATT&CK Detection Strategies
1

DET0553 Detection Strategy for Obfuscated Files or Information: Binary Padding
AN1529 Linux

Detects abnormal creation of binary files with significant size that are subsequently executed or accessed by non-standard users.

auditd:SYSCALL auditd:SYSCALL linux:osquery
AN1530 macOS

Monitors for anomalous binary files written to disk with padded size and subsequent execution by user or service context.

macos:unifiedlog fs:fsusage
AN1528 Windows

Detects the creation or execution of padded binary files (e.g., large size but minimal legitimate content) followed by process execution or lateral movement from the host.

WinEventLog:Security WinEventLog:Security WinEventLog:Sysmon

Details

Platforms
Linux
Macos
Windows
Added
May 2, 2026
Leaving Threaticon

This link opens an external site that isn't part of the platform.