Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Describes MITRE ATT&CK T1027.016, where adversaries insert junk or dead code to obfuscate malware, with testing and detection checks.
65% 83%+17 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 15 of 23 without it.
3 of 3 safety checks passed
Not used yet
Sub-technique of: T1027
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 or Software Packing.
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.
The use of junk / dead code insertion is distinct from Binary Padding because the purpose is to obfuscate the functionality of the code, rather than simply to change the malware’s signature.
Platforms: Linux, macOS, Windows
Identify Attack Surface: Determine if the target environment is susceptible to Junk Code Insertion by examining the target platforms (Linux, macOS, Windows).
Assess Existing Defenses: Review whether mitigations for T1027.016 are in place. If defenses are absent or misconfigured, this technique may be exploitable.
Execute Test: Use tools and methods described in the MITRE ATT&CK page and external references below.
Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.