

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


4 th^ Programming Assignment. DUE on 04/ Points: 100 These questions were adapted from a buffer overflow lab experiment originally developed by W. Byrd, at the University of Maryland, Baltimore County [1]. He has generously allowed us to use it in our courses.
You have received word that Dr. Evil has hatched another dastardly plan to take over the campus (as a springboard for taking over the World!). Dr. Evil is planning to break into a new computer-controlled safe. Once he steals the campus funds, terrible things will follow. Most ominously, parking rates will skyrocket. Fearing a faculty revolt, the chief of security has asked you to examine the C program that controls the safe. Learning Objectives Analyze source code to identify a possible buffer overflow. Analyze and explain how stack smashing exploit code works. Describe how a stack smashing buffer overflow attack works. Examine the stack and describe how stack smashing changes the stack. Directions
and without sending the output of open to the program. a) Examine the stack, how does it change when the output of open is sent to it?
Dr. Evil failed all of his exams in his algorithms class, yet still managed to earn an ‘A’ for the course. The chief security officer suspects that Dr. Evil cheated by exploiting an unknown vulnerability in the instructor's “Easy Grader” grading program, but the instructor thinks that something else might be the problem. Given your success with the computer controlled safe software, the chief security officer has asked you to examine the Easy Grader program, look for vulnerabilities, and decide if Dr. Evil could have changed his course grade for algorithms. Learning Objectives Understand other categories of buffer overflow attacks. Analyze the effects compiler options can have on protection mechanisms. Directions