ATT&CK Reference
Portfolio

TA0005 · DEFENSE EVASION

Junk Code Insertion

T1027.016Sub-technique of Obfuscated Files or InformationLinux · macOS · Windowsattack.mitre.org

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.

Detect it with

No MITRE detection guidance published. Build coverage from the parent technique and your own telemetry.

Why it matters on shift

Junk Code Insertion is one of the concrete ways adversaries achieve defense evasion. Recognising it in telemetry lets you name the technique in your ticket and pivot to what came before and after.

What to look for next

After defense evasion, the next tactic is usually Credential Access. Search your telemetry for the transition before closing the ticket.

Kill-chain context

← beforePrivilege EscalationDefense Evasionafter →Credential Access