Mitigating just-in-time spraying attacks in a network environment
Abstract
An example method for mitigating JIT spraying attacks in a network environment is provided and includes protecting an output of a just-in-time (JIT) compiler against attacks during application execution at least by intervening from outside the application into a JIT page generated by the JIT compiler in a memory element of a host. In a specific embodiment, the intervening can include rewriting the JIT page. In specific embodiments, the method can further include generating a shadow page corresponding to the JIT page in the memory element. The method can further include randomly choosing at least one block of instructions in the JIT page, moving the at least one block of instructions to the shadow page, and replacing the at least one block of instructions in the JIT page with at least one of invalid opcodes and halt instructions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 7.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method, comprising: protecting an output of a just-in-time (JIT) compiler against attacks during application execution at least by intervening from outside the application into a JIT page generated by the JIT compiler in a memory element of a host; generating a shadow page corresponding to the JIT page; randomly choosing at least one block of instructions in the JIT page; moving the at least one block of instructions to the shadow page; and replacing the at least one block of instructions in the JIT page with at least one of invalid opcodes and halt instructions.
- Claim 2Depends on #1
The method of claim 1 , wherein the intervening comprises rewriting the JIT page.
- Claim 3Depends on #2
The method of claim 2 , wherein the intervening further comprises entering the JIT page triggered by a fault in the JIT page.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (3)
- Adnan Bouakaz, "Predictability of Just in Time Compilation," Research Master's degree in Computer Science, Jun. 2010, 48 pages.
- Piotr Bania, "JIT spraying and mitigations," Computing Research Repository-CORR , vol. abs/1009.1 (2010), 5 pages.
- Piotr Bania, “JIT spraying and mitigations,” Computing Research Repository—CORR , vol. abs/1009.1 (2010), 5 pages.