Buffer Overflows
Another form of creating a buffer overflow occurs in the dynamically allocated data in the heap at runtime. Stack and heap attacks are technically both buffer overflows, but they work differently.
Buffer overflow exploits are not new. Though they are one of the major reasons that computers become infected with worms and viruses in the present day, buffer overflow exploits were associated with the damage done by the Morris worm back in 1988. Buffer overflow exploits were also associated with the damage done by the Blaster worm of 2003.
Generally, buffer overflow exploits attack programs written in C and C++, such that a maliciously intended application attempts to take over the program with an excessively large amount of data hiding executable code. After the overflow crashes the victimized program, the malicious code executes its purpose. The most common executions are the deletion of data and the conversion of the affected PC into a zombierelaying spam or adversely impacting other computers.
In an ideal world, buffer overflow exploits would not occur. But then again, programmers have not written perfect software in the past, and they no doubt will continue to err into the future. Java programs, in fact, are slower performing but do not allow for buffer overflow exploits. Moreover, the 2004 Windows XP Service Pack 2 provides another good defense against these exploits. In the latter, there is special no execute code (or NX flag) that when run on compatible processors prevents code from running in the areas of memory where the buffer overflow attacks are supposed to occur.
A number of tools let crackers exploit vulnerabilities in software. For example, Digital Monkeys Buffer Syringe is a simple tool that permits buffer overflow exploits.
See Also: Code or Source Code; Cracking; Exploit; Stack-Smashing.
Browse dictionary entries near Buffer Overflows
- buffer
- Buffalo wings
- buffalo robe
- buffalo grass
- buffalo fish
- buffalo bug
- Buffalo Bill
- buffalo berry
- buffalo beetle
- buffalo
- buffer state
- buffet
- Buffett, Warren
- buffing wheel
- bufflehead
- buffo
- Buffon
- buffoon
- bufotenine
- bug
