Definition
What is instruction substitution?
Instruction substitution is an obfuscation technique that replaces standard low-level instructions with alternative sequences that compute the same result in a more complicated way.
When an attacker reads decompiled or disassembled code, they rely on recognizing common patterns: a simple comparison, a basic arithmetic operation. Instruction substitution removes those recognizable patterns.
The result is functionally identical. The same inputs produce the same outputs. But the obvious shape of each operation is gone, so the code resists both manual reading and automated pattern matching.
