×

Method of relocating the stack in a computer system for preventing overrate by an exploit program

  • US 5,949,973 A
  • Filed: 07/25/1997
  • Issued: 09/07/1999
  • Est. Priority Date: 07/25/1997
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer system including an operating system executable thereon, a program executable under said operating system, a stack associated with said program, said stack composed of memory that is executable, said stack having a stack pointer associated therewith, said stack memory located at a first location in memory and having a memory return address placed thereon, a method of preventing stack override in the computer system, said method comprising the steps of:

  • moving the contents of the stack to a second location in memory, said second location being a random memory address, the contents of said stack being moved intact;

    modifying said stack pointer in accordance with said random memory address;

    modifying the memory contents of the former stack located at said first location such that no executable code remains therein; and

    wherein upon each launch of said program a new random memory address is generated and the contents of said stack moved in accordance thereto.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×