×

DYNAMIC MEMORY PROTECTION

  • US 20200133885A1
  • Filed: 10/02/2019
  • Published: 04/30/2020
  • Est. Priority Date: 10/29/2018
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method of generating code files adjusted to apply dynamic memory protection, comprising:

  • receiving at least one code file comprising a plurality of routines, the at least one code file was created for execution by at least one processor using a dynamic memory region supporting run-time dynamic allocation of memory blocks;

    adjusting the at least one code file by;

    analyzing the at least one code file to identify at least one exploitation vulnerable routine of the plurality of routines, andadding a memory integrity code segment configured to detect, upon execution completion of the at least one vulnerable routine, a write operation exceeding from a memory space of at least one of a subset of most recently allocated blocks of a plurality of blocks allocated in the dynamic memory region to a memory space of an adjacent one of the plurality of blocks using at least one of a plurality of markers inserted in the dynamic memory region in at least one boundary of each of the blocks of the subset; and

    outputting the at least one adjusted code file;

    wherein, in runtime, in case the write operation is detected, the memory integrity code segment causes the at least one processor to initiate at least one predefined action.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×