Interlinking routines with differing protections using stack indicators
Abstract
Corruption of program stacks is detected by using guard words placed in the program stacks. A called routine executing on a processor checks a guard word in a stack frame of a calling routine. The checking determines whether the guard word has an expected value. Based on determining the guard word has an unexpected value, an indication of corruption of the stack frame is provided. Some routines, however, may not support use of guard words. Thus, routines that are interlinked may have differing protection capabilities. In this situation, a determination may be made as to whether a caller routine supports guard word protection. Based on determining that the caller routine supports guard word protection, the called routine verifies the guard word.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 46 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer program product for facilitating execution of routines of a computing environment, said computer program product comprising: a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for performing a method comprising: determining by a called routine executing on a processor of the computing environment whether a caller routine supports guard word protection, the called routine being called by the caller routine and supporting guard word protection; based on determining that the caller routine supports guard word protection, verifyin
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 10,904,291 B1 | Low-overhead software transformation to enforce information security policies | 2021 | 10 |
References Cited — Backward Prior Art (46)
Non-Patent Literature (5)
- Corliss, et al., "Using DISE to Protect Return Addresses From Attack," ACM SIGARCH Computer Architecture News-Special Issue: Workshop on Architectural Support for security and Anti-Virus, vol. 33, Issue 1, Mar. 2005, pp. 65-72.
- Corliss, et al., “Using DISE to Protect Return Addresses From Attack,” ACM SIGARCH Computer Architecture News—Special Issue: Workshop on Architectural Support for security and Anti-Virus, vol. 33, Issue 1, Mar. 2005, pp. 65-72.
- Cowan, et al., "StackGuard: Automatic Adaptive Detection and Prevention of Buffer-Overflow Attacks," Proceedings of the 7th USENIX Security Symposium, Jan. 1998, pp. 1-16.
- Duvalsaint et al., "Caller Protected Stack Return Address in a Hardware Managed Stack Architecture," U.S. Appl. No. 15/443,534, filed Feb. 27, 2017, pp. 1-66.
- Duvalsaint et al., "Providing Instructions to Protect Stack Return Addresses in a Hardware Managed Stack Architecture," U.S. Appl. No. 14/989,459, filed Jan. 6, 2016, pp. 1-67.