Posts

Showing posts from May, 2015

[Wargame] Pwn001 writeup

This is my first writeup and also my first time dealing with stack canary. I will go in as detail as I can to test my understanding. Cuz this is my first time so correct me if I’m wrong. Prerequisite: _Understand buffer overflow vulnerability. _Basic asm.  First load the binary into IDA. .text:000000000040089A                 push    rbp .text:000000000040089B                 mov     rbp, rsp .text:000000000040089E                 push    rbx These lines are just common function prolog. The next few lines set up the stack canary. .text:00000000004008A3                 mov   ...