Wednesday, March 18, 2009

Buffer Overflows Stack and Heap Manupulation

Many overflows occur when the program receives more data than it expects . The types of overflows are

  1. Stack overflows .
  2. Integer overflows.
  3. Heap overruns.
  4. Format string attacks.
  • Stack overflows : occur when variable size data is copied into fixed length buffers located on the program stack without any bounds checking.

  • Integer overflows: Integer overflows occur when a specific data type or CPU register meant to hold values within a certain range is assigned a value outside that range.

  • Heap overruns: Heap overrun occurs when data is written on outside of the space(Heap)

  • Format string attacks :Format string attacks occur when the %n parameter of the format string is used to write data outside the target buffer




No comments:

Post a Comment