CSS quiz 4 aktu
Q:1. If we talk about control hijacking, which of the following is true ? 1. In Buffer overflow attacks, stack based attacks are more common than heap based attack. 2.-> Integer overflow attacks is not a type of control hijacking. 3. Format string vulnerabilities are used to prevent control hijacking. 4. All of the above Reason : I nteger overflow occurs when you attempt to store inside an integer variable a value that is larger than the maximum value the variable can hold. Q:2. If we mark the stack and heap segement as non executable, 1. No code will execute. 2. return-oriented programming will also not be able to exploit it. 3.-> we can prevent overflow code execution. 4. All of the above. Reason : If we mark the stack and heap segement as non executable, we can prevent overflow code execution. because Overflow code execution can be prevented by marking the stack and heap segments as non-executable . Q:3. ...