Docsity

Buffer Overflow, Thesis of Business Accounting

Partial preview of the text

Download Buffer Overflow and more Thesis Business Accounting in PDF only on Docsity!

Running head: BUFFER OVERFLOW 1 Buffer Overflow ISSC 363 Buffer Overflow

A buffer overflow is defined as the product of excessive data feed into a fixed length buffer then the buffer can actually handle. Basically, a buffer overflow is akin to pouring 10 liters of liquid into a can that can hold 6 liters. After the full capacity has been attained, the remaining fluid will spill. This problem is associated with common software coding mistakes which allow attackers to gain unauthorized access to the system. To understand how buffer overflow exploits occur, it is imperative that one first comprehends the stack activities. A stack refers to a form of data structure which stores crucial information for running processes within a computer. Normally, the system will write down little notes for itself which are thereafter stored in the stack. The modus operandi of a stack follows the Last In, First Out structure where data that is stored last is first to be accessed (Skoudis & Liston, 2007). Hence, the system places elements of data on top of other data elements. The final element, which is placed on top of the data stack, will be accessed first, a process commonly referred to as popping the item off the stack. There are different modes of exploiting the buffer overflow. The “trampolining” technique has commonly been used as an attack mode. Using this approach, the attacker will locate a pointer to the vulnerable stack buffer. Thereafter, they will compute the location of the shellcode relative to this buffer and overwrite to jump an instruction, allowing them to change the behavior of the program to suit their needs. Another technique is overwriting the local variable of a different stack frame (Skoudis & Liston, 2007). This is followed by using the function which owns the frame later to access the system. Generally, the techniques used to exploit buffer overflows rely onaltering the execution of the application path through overwriting parts of its memory. The malicious extra data usually contains a code that is designed to make the system behave in a specific manner that will allow the attacker to gain access to information.

References Buffer Overflow. (n.d.). Retrieved from Veracode: https://www.veracode.com/security/buffer- overflow Skoudis, E., & Liston, T. (2007). Gaining Access to Target Systems Using Application and Operating System Attacks. Retrieved from InformIT: https://www.informit.com/articles/article.aspx?p=704311&seqNum=3#:~:text=To %20exploit%20a%20buffer%20overflow,pointer%20in%20a%20single%20package.