Patents
US 9,015,834 B2#15801523 Most CitedActiveUnited States (USPTO)Utility

Mitigating just-in-time spraying attacks in a network environment

7Forward Citations (#15801523 Global)
0.6/yrCitation Velocity (#12426353 Global)
1.53Citation PageRank (#22155706 Global)
5Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

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)

  1. 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.

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the intervening comprises rewriting the JIT page.

  3. 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 ↗

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.