Skip to main content


Showing posts from 2015

Buffer Overflow And Exploits

Buffer: Well buffer is nothing,but small amount of memory used for temporary storage of data, usually to compensate for different in processing or transmitting speeds of two connected devices,such as computer and a Printer or any devices. Stack: The stack is an area of memory that holds temporary data followed by LIFO(Last In First Out) data structure where items are “pushed” and “popped” onto them. The data is placed on the stack by PUSH operation and removed by POP operation. Let's do same thing by doing some illustration below. First PUSH operation PUSH 1 PUSH 2 PUSH 3 After PUSH Operation: The below is how looks stack after PUSH operation happened Second POP operation: POP EAX POP EBX POP ECX After POP operation: The below is how look like in the stack after POP operation happened in the stack So the following things we have concluded: The current location of  the stack pointer can be accessed at any given time by accessing the stack  pointer register (ESP). The current base of