Code vs. Data: AI's Disambiguation Hurdle

AI struggles to accurately distinguish executable code from embedded data, especially in self-modifying or polymorphic binaries common in malware, leading to incorrect instruction identification and corrupted decompilation results.

The top 3

  1. Top 3 Obfuscation Tactics Blurring Code/Data: Self-modifying code, opaque predicates, and strategically crafted jump tables are key obfuscation techniques that intentionally make it difficult for AI to distinguish executable instructions from static data, leading to misinterpretations and analysis failures.
  2. AI's Top 3 Decompilation Misidentifications: AI commonly misidentifies jump table entries as executable code, fails to detect dynamically generated or self-modifying code, and misinterprets junk bytes or embedded data within instruction streams as legitimate code, causing "disassembly desynchronization."
  3. Top 3 Compiler Optimizations Blurring Code/Data: Function inlining directly embeds callee code into the caller, interspersing executable logic with data-like constants or strings, complicating AI's ability to delineate distinct code blocks. Constant folding and propagation replace variables with literal values directly in instructions or data sections, causing AI to potentially misinterpret these numerical constants as opcodes or memory addresses. Instruction scheduling and reordering rearrange instruction sequences for performance, which can place data or immediate values in non-contiguous or unexpected locations relative to the code, challenging AI's identification of code versus data segments.

Sources

Open the full topic