// MITRE ATT&CK

T1027.016 · Junk Code Insertion

🎯 Stealth LinuxmacOSWindows Sub-technique

Sub-technique of T1027 · Obfuscated Files or Information.

Adversaries may use junk code / dead code to obfuscate a malware’s functionality. Junk code is code that either does not execute, or if it does execute, does not change the functionality of the code. Junk code makes analysis more difficult and time-consuming, as the analyst steps through non-funct...

How to detect & mitigate it

Detecting Junk Code Insertion starts with your SIEM/EDR telemetry. Write a detection rule with the Sigma generator, analyze suspicious logs in the log analyzer, and place the technique on your coverage with the ATT&CK matrix.

Related techniques

Source: MITRE ATT&CK®. ATT&CK is a registered trademark of The MITRE Corporation. Content for educational purposes.