H3XAOperational intelligence
Live analytical pictureEvidence before assessment
TypeTechnique
External ID—
First seen2026-08-14
Last seen2026-08-14

Confidence

—

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-functional code instead of analyzing the main code. It also may hinder detections that rely on static code analysis due to the use of benign functionality, especially when combined with [Compression](https://attack.mitre.org/techniques/T1027/015) or [Software Packing](https://attack.mitre.org/techniques/T1027/002).(Citation: ReasonLabs)(Citation: ReasonLabs Cyberpedia Junk Code) No-Operation (NOP) instructions are an example of dead code commonly used in x86 assembly language. They are commonly used as the 0x90 opcode. When NOPs are added to malware, the disassembler may show the NOP instructions, leading to the analyst needing to step through them.(Citation: ReasonLabs) The use of junk / dead code insertion is distinct from [Binary Padding](https://attack.mitre.org/techniques/T1027/001) because the purpose is to obfuscate the functionality of the code, rather than simply to change the malware’s signature.

26 recorded

Relationships

mitigatesMitigation
subtechnique-ofTechnique
uses
from ANELLDR
Malware
uses
from APT32
Group
usesGroup
usesMalware
uses
from FatDuke
Malware
uses
from FIN7
Group
usesMalware
usesGroup
usesMalware
uses
from Goopy
Malware
uses
from Kimsuky
Group
usesMalware
uses
from Maze
Malware
usesGroup
uses
from NOOPLDR
Malware
uses
from Pony
Malware
usesMalware
usesMalware
uses
from SamSam
Malware
usesMalware
usesMalware
uses
from XTunnel
Malware
uses
from yty
Malware
uses
from ZeroT
Malware
3 external

References

mitre-attack
T1027.016
open
ReasonLabs
https://cyberpedia.reasonlabs.com/EN/dead%20code%20insertion.html
open
ReasonLabs Cyberpedia Junk Code
https://cyberpedia.reasonlabs.com/EN/junk%20code.html
open