Control hijacking attacks Attacker’s goal: Take

Control hijacking attacks Attacker’s goal: Take
1 / 1
Control hijacking attacks Attacker’s goal: Take - slide 1 of 23 Control hijacking attacks Attacker’s goal: Take - slide 2 of 23 Control hijacking attacks Attacker’s goal: Take - slide 3 of 23 Control hijacking attacks Attacker’s goal: Take - slide 4 of 23 Control hijacking attacks Attacker’s goal: Take - slide 5 of 23 Control hijacking attacks Attacker’s goal: Take - slide 6 of 23 Control hijacking attacks Attacker’s goal: Take - slide 7 of 23 Control hijacking attacks Attacker’s goal: Take - slide 8 of 23 Control hijacking attacks Attacker’s goal: Take - slide 9 of 23 Control hijacking attacks Attacker’s goal: Take - slide 10 of 23 Control hijacking attacks Attacker’s goal: Take - slide 11 of 23 Control hijacking attacks Attacker’s goal: Take - slide 12 of 23 Control hijacking attacks Attacker’s goal: Take - slide 13 of 23 Control hijacking attacks Attacker’s goal: Take - slide 14 of 23 Control hijacking attacks Attacker’s goal: Take - slide 15 of 23 Control hijacking attacks Attacker’s goal: Take - slide 16 of 23 Control hijacking attacks Attacker’s goal: Take - slide 17 of 23 Control hijacking attacks Attacker’s goal: Take - slide 18 of 23 Control hijacking attacks Attacker’s goal: Take - slide 19 of 23 Control hijacking attacks Attacker’s goal: Take - slide 20 of 23 Control hijacking attacks Attacker’s goal: Take - slide 21 of 23 Control hijacking attacks Attacker’s goal: Take - slide 22 of 23 Control hijacking attacks Attacker’s goal: Take - slide 23 of 23
Control hijacking attacks Attackers goal: Take over target machine (e.g. web server) Execute arbitrary code on target by hijacking application control flow This lecture: three examples. Buffer overflow attacks Integer overflow attacks

Related Topics

Download this presentation From Below

"Control hijacking attacks Attacker’s goal: Take" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
Control hijacking attacks Attacker’s goal:
Take over target machine (e.g. web server)
Execute arbitrary code on target by hijacking application control flow

This lecture: three examples.
Buffer overflow attacks
Integer overflow attacks
Format string vulnerabilities<br>
02
1. Buffer overflows Extremely common bug.
First major exploit: 1988 Internet Worm. fingerd.





Developing buffer overflow attacks:
Locate buffer overflow within an application.
Design an exploit. Source: NVD/CVE 20% of all vuln.
2005-2007:  10%<br>
03
What is needed Understanding C functions and the stack
Some familiarity with machine code
Know how systems calls are made
The exec() system call
Attacker needs to know which CPU and OS are running on the target machine:
Our examples are for x86 running Linux
Details vary slightly between CPUs and OSs:
Little endian vs. big endian (x86 vs. Motorola)
Stack Frame structure (Unix vs. Windows)
Stack growth direction<br>