DynOP: Blow Away the Cobwebs in NX Bypassing with Dynamic-Source Gadget Oriented Programming
Automated gadget-chain synthesis is central to code-reuse exploitation, a core technique for bypassing exploit mitigations such as non-executable (NX). Existing automated solutions typically rely on restrictive assumptions, including the availability of large, fully controllable stack memory regions or gadgets that directly manipulate the stack pointer register. These assumptions rarely hold in practical exploitation scenarios. As such, specialized gadgets are required to facilitate exploitation, and we term these components dynamic-source gadgets. Widely prevalent in programs and endowed with richer semantics, it serves as a valuable asset for generating target gadget chains under constrained conditions. The data flow of dynamic-source gadgets is governed by runtime register states and context-dependent memory values. However, the flexible data-sourcing characteristic of these gadgets gives rise to an unwieldy constraint space and a combinatorial explosion of the search space. This renders existing automated methods inapplicable to this scenario. In this paper, we introduce DynOP, a framework that automates the inference and synthesis of attack chains by leveraging dynamic-source gadgets .To achieve this, we design a Virtual Controllable Memory (VCM) mechanism with layout correction, a backward constraint propagation solver, and a context-aware filtering mechanism. These innovations transform dynamic-source gadgets into viable building blocks for synthesis, effectively expanding the semantic boundary of usable gadgets. Consequently, DynOP supports diverse attack primitives and adapts to complex memory environments. We evaluate DynOP against state-of-the-art techniques on both ROP benchmarks and 9 real-world vulnerabilities. Our framework consistently outperforms state-of-the-art tools across both overwritable and non-overwritable stack memory layouts, successfully synthesizing attack chains where prior methods fail while achieving a significant improvement in efficiency. We demonstrate its practicality through end-to-end exploits for multiple vulnerabilities, validating that the framework can effectively breach current defense systems.
- Link
- https://www.semanticscholar.org/paper/3352af13c51b53254e197b34a3b0b55c293ee442
- Found by
- Semantic Scholar
- Authors
- Hong-Zhi Guo, Rui-Peng Wang, Shi-Wen Ou, Song-Tao Yang, Yu Chen, Tai-Yan Wang, Ze-Xiang Zhang, Yu-Wei Li, Yang Li, Zu-Lie Pan
- Categories
- benchmark, evaluation
- Published
- 2026-11-14
- Last seen by the radar
- 2026-11-15
- Citations
- 0
- Influential citations
- 0
- Radar score
- 40.35 / 100 (how it is scored)
- Why it scored so
- Matched: benchmark, evaluat; Primary record: Semantic Scholar
- Related links
- https://doi.org/10.1145/3830454.3832579