CSE 351 Section 5 More Stack Stuff (selected slides by Tom Bergan) - - PowerPoint PPT Presentation

cse 351 section 5
SMART_READER_LITE
LIVE PREVIEW

CSE 351 Section 5 More Stack Stuff (selected slides by Tom Bergan) - - PowerPoint PPT Presentation

CSE 351 Section 5 More Stack Stuff (selected slides by Tom Bergan) Written HW #2 Due tomorrow at 5PM Try not to use late days on the written assignments, save them for the labs Questions? Stack review Lab 3 - Buffer Overflows


slide-1
SLIDE 1

CSE 351 Section 5

More Stack Stuff

(selected slides by Tom Bergan)

slide-2
SLIDE 2

Written HW #2

  • Due tomorrow at 5PM
  • Try not to use late days on the written

assignments, save them for the labs

  • Questions?
slide-3
SLIDE 3

Stack review

slide-4
SLIDE 4
slide-5
SLIDE 5
slide-6
SLIDE 6
slide-7
SLIDE 7
slide-8
SLIDE 8
slide-9
SLIDE 9
slide-10
SLIDE 10
slide-11
SLIDE 11
slide-12
SLIDE 12
slide-13
SLIDE 13
slide-14
SLIDE 14
slide-15
SLIDE 15
slide-16
SLIDE 16
slide-17
SLIDE 17
slide-18
SLIDE 18
slide-19
SLIDE 19
slide-20
SLIDE 20
slide-21
SLIDE 21
slide-22
SLIDE 22
slide-23
SLIDE 23

Lab 3 - Buffer Overflows

slide-24
SLIDE 24

Bufbomb Introduction

  • Several stages
  • Practice analyzing stack organization
  • Practice with buffer overflows
slide-25
SLIDE 25

Bufbomb Introduction

GDB commands from today:

gdb bufbomb set args -u <username> break getbuf run disas display $rsp stepi x /40x ($rsp - 40) (show the 40 bytes above rsp) break *(&getbuf + 12) (create a breakpoint at 12 bytes after the start of getbuf) continue

slide-26
SLIDE 26
slide-27
SLIDE 27
slide-28
SLIDE 28
slide-29
SLIDE 29
slide-30
SLIDE 30
slide-31
SLIDE 31