Control flow integrity
Abstract
One embodiment provides an apparatus. The apparatus includes collector circuitry to capture processor trace (PT) data from a PT driver. The PT data includes a first target instruction pointer (TIP) packet including a first runtime target address of an indirect branch instruction of an executing target application. The apparatus further includes decoder circuitry to extract the first TIP packet from the PT data and to decode the first TIP packet to yield the first runtime target address. The apparatus further includes control flow validator circuitry to determine whether a control flow transfer to the first runtime target address corresponds to a control flow violation based, at least in part, on a control flow graph (CFG). The CFG including a plurality of nodes, each node including a start address of a first basic block, an end address of the first basic block and a next possible address of a second basic block or a not found tag.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus comprising: control flow graph (CFG) generator circuitry to generate a CFG for a target application, wherein the CFG comprises a plurality of nodes that each includes a start address of a first basic block, an end address of the first basic block, and a next possible address of a second basic block or a not found tag; collector circuitry to, during execution of the target application, capture processor trace (PT) data from a PT driver, the PT data comprising a first target instruction pointer (TIP) packet comprising a first runtime target address of an indirect branch instruction
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,016,773 B2 | Processor trace extensions to facilitate real-time security monitoring | 2021 | 0 |
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- Abad et al., "On-Chip Control Flow Integrity Check for Real Time Embedded Systems", 2013, IEEE, pp. 26-31.
- Abadi et al., "Control-Flow Integrity Principles, Implementations, and Applications", 2009 ACM, 40 pages.
- Intel 64 and 1A-32 Architectures Software Developer's Manual, vol. 3 (3A, 3B, 3C and 3D), System Programming Guide, Jun. 2016, Chapter 36.
- International Search Report and Written Opinion issued in PCT Application No. PCT/US2017/049499, dated Dec. 11, 2017, 11 pages.
- Kruegel et al., "Static Disassembly of Obfuscated Binaries", Aug. 2004, The USENIX Association, 16 pages.