Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Exploi'ng

 Simple  Buffer  Overflows  on  


Win32  

Vivek  Ramachandran  
SWSE,  SMFE,  SPSE,  SISE,  SLAE,  SGDE  Course  Instructor  

Cer'fica'ons:                          hNp://www.securitytube-­‐training.com    
 
Pentester  Academy:    hNp://www.PentesterAcademy.com    

©SecurityTube.net  
Calcula'ng  the  Loca'on  of  RET  Overwrite  

©SecurityTube.net  
TCP  Echo  Server  

©SecurityTube.net  
Vulnerable  Code  

©SecurityTube.net  
Find  RET  Posi'on  

Low  Memory   Low  Memory   Low  Memory  

Local   AAAAAAAAA A1A2  


Variables  +   AAAAAAAAA A3A4  
Others   AAAAAAAAA   A5A6  

EBP  
(Frame   AAAA   A7A8  
Pointer)  

RETURN  
AAAA   A9AA  
Address  

0x11111111   AAAA   ABAC  

-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐   High  Memory   -­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐   High  Memory   -­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐   High  Memory  

©SecurityTube.net  
Pentester  Academy  

©SecurityTube.net  

You might also like