Pointguard: method and system for protecting programs against pointer corruption attacks
Abstract
To protect computer programs against security attacks that attempt to corrupt pointers within the address space of the program, the value of a pointer is encrypted each time the pointer is initialized or modified, and then the value is decrypted before use, i.e., each time the pointer is read. Preferably, the encrypting and decrypting steps are effected by instructions generated by a compiler during compilation of the program. One convenient method of implementing the encrypting and decrypting steps is by XOR'ing the pointer with a predetermined encryption key value, which could be specially selected or selected at random.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 32.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of protecting an application computer program during execution outside of a special environment against pointer corruption attacks, the application computer program implemented using the C programming language, the method comprising the steps of: identifying a function; implementing a protected version of the function, the protected version of the function including: encrypting values of all data pointers each time the values of the data pointers are modified; and decrypting the encrypted value of at least one data pointer before use each time the data pointer is read; and exporting t
- Claim 2Depends on #1
A method according to claim 1 wherein said en
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 (20)
Non-Patent Literature (5)
- Cowan, "StackGuard"www.unsenix.org/events/sec01/full-papers/frantzen/frantzen-html, May 12, 2001.
- Cowan, Crispin, "ImmuniX OS Security Alert", Linux Weekly News, 1999, pp. 1-2.
- Cowan, Crispin, "Immunixing Open Source", WireX Communications, Inc., 2000, pp. 1-3.
- Cowan, Crispin, "Immunixing Open Source: The Other Reason Source Availability Helps Security", WireX Communications, Inc., 2000, pp. 1-59.
- Cowan, Crispin, "StackGuard-protected Linux and a New StackGuard Compiler", www.redhat.com/archives/linux-security/1998-September/msg00007.html , Aug. 27, 1998.