Run-time call stack verification
Abstract
Run-time call stack verification is used to determine that a code module has been called by a legitimate caller. A return address on the stack indicates where execution is to return upon execution of the next return instruction, and this return address is indicative of where the code module was called from. The code module may determine that the call is allowed, or disallowed, based on the location of the return address. A calling convention is provided that allows the code module to be called through an intermediary, while also preserving the original return address that was in effect at the time the intermediary was called and also resisting modification to the call stack during the time that the original return address is being verified.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 67.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a runtime environment comprising a first program module, at least one second program module and a call stack, a method of invoking a desired method associated with a desired second program module, comprising: in a third program module associating each of a plurality of stubs respectively with each of a plurality of methods associated with the at least one second program module, wherein each stub comprises a code segment performing a unique non-standard calling convention into the at least one second program module, wherein each stub includes at least a first instruction to push function par
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 67 total)
References Cited — Backward Prior Art (26)
Non-Patent Literature (2)
- Nitta et al., "Security Verification of Programs with Stack Inspection," 2001, ACM, p. 31-40.
- Rabek et al., "Detection of Injected, Dynamically Generated, and Obfuscated Malicious Code," 2003, ACM, p. 76-82.