Question: Problem 6 Defensive Programming a) Explain how a function's return address which is saved on the memory can be overwritten/modified in a stack buffer overflow

Problem 6 Defensive Programming a) Explain how a function's return address which is saved on the memory can be overwritten/modified in a stack buffer overflow attack. How could this be utilized by a hacker to run his desired program? b) In defensive programming, an important rule is not to assume anything of the future usage of your program. Incorrect handling of program input is one of the most common failings in software security. List two concerns for any input of which invalid handling will lead to security problems. c) Explain how the least previlege principle can be applied in defensive programming
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
