Method and apparatus for protecting memory stacks
Abstract
Method and apparatus for protecting processing elements from buffer overflow attacks are provided. The apparatus includes a memory stack for, upon execution of a jump to subroutine, storing a return address in a first location in a stack memory. A second location separate from the stack memory for storing an address of the first location and a third location separate from the stack memory for storing the return address itself are included. A first comparator upon completion of the subroutine, compares the address stored in the second location to the first location in the stack memory and a first interrupt generator provides an interrupt signal if locations are not the same. A second comparator looks at the return address stored in the third location and the return address stored in the first location in the stack memory and has a second interrupt generator for generating an interrupt signal if addresses are not the same. A further method and apparatus for protecting processing elements from buffer overflow attacks includes a memory stack for, upon execution of a jump to subroutine in a first processor, storing a return address in a first location in a stack memory and a second loca
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 32.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of protecting processing elements from buffer overflow attacks, the method comprising the steps of: upon execution of a jump to subroutine, storing a return address in a first location in a stack memory; storing an address of the first location in a second location separate from the stack memory; storing the return address itself in a third location separate from the stack memory; upon completion of the subroutine, comparing the address stored in the second location to the first location in the stack memory; if equal, comparing the return address stored in the third location to the re
- Claim 2Depends on #1
A method as claimed in claim 1 wherein if the address stored in the second location and the first location address in the stack memory are not
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 32 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (3)
- Chiueh et al., "RAD: A Compile-Time Solution to Buffer Overflow Attacks", (C) 2001 IEEE, p. 409-417.
- Fetzer, et al., "Detecting Heap Smashing Attacks Through Fault Containment Wrappers", (C) IEEE 2001, p. 1-10.
- Forrest et al., "Building Diverse Computer Systems", (C) 1997 IEEE, p. 67-72.