System and method for detecting stack pivot programming exploit
Abstract
Systems, methods and media are shown for detecting a stack pivot programming exploit that involve extracting return addresses from a call stack from a snapshot of a running program and, for each extracted return address, identifying a stack frame and following frame from stack pointer information, checking whether the stack is consistent with the type of stack generated by the operating system and architecture conventions, and alerting that a stack pivot is likely if an anomaly in stack layout is found. Some examples involve determining whether the stack frame and following frame follow consistently in one of ascending or descending addresses. Some examples involve, given a consistent directional polarity and metadata about the directional polarity of the stack specified by one of the microarchitecture, operating system, software, or other configuration, determining whether the observed directional polarity corresponds to the expected directional polarity.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for detecting, by a computer processor, a stack pivot programming exploit, the computer-implemented method comprising computer-implemented operations for: extracting return addresses from a call stack from a snapshot of a running program; and for at least one extracted return address: identifying a stack frame and following frame from stack pointer information by either: identifying the location of the stack frame and the following frame using a stack pointer and base pointer, or generating a block graph of program control flow using a disassembler to determine in
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,003,764 B2 | System and method for exploiting attack detection by validating application stack at runtime | 2021 | 1 |