System for detecting call stack tampering
US9268559B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Jul 31, 2013 |
| Grant date | Feb 23, 2016 |
| Priority date | — |
| Expiry date | Jul 31, 2033 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F2212/251
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
The invention relates to a method for detecting a subroutine call stack modification, including the steps of, when calling a subroutine, placing a return address at the top of the stack; at the end of the subroutine, using the address at the top of the stack as the return address, and removing the address from the stack; when calling the subroutine, accumulating the return address in a memory location with a first operation; at the end of the subroutine, accumulating the address from the top of the stack in the memory location with a second operation, reciprocal of the first operation; and detecting a change when the content of the memory location is different from its initial value.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.