This shows you the differences between two versions of the page.
isc:labs:05 [2024/11/03 23:00] florin.stancu |
isc:labs:05 [2024/11/04 10:43] (current) florin.stancu |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Lab 05 - Application Security ====== | ====== Lab 05 - Application Security ====== | ||
+ | |||
+ | ===== Objectives ===== | ||
+ | |||
+ | * Call conventions & stack structure | ||
+ | * Buffer overflow vulnerabilities | ||
+ | * Using pwndbg & pwntools to facilitate exploit development | ||
===== Resources ===== | ===== Resources ===== | ||
- | *[[https://dhavalkapil.com/blogs/Buffer-Overflow-Exploit/|Buffer overflow explained]] | + | * [[https://dhavalkapil.com/blogs/Buffer-Overflow-Exploit/|Buffer overflow explained]] |
- | *[[https://dhavalkapil.com/blogs/Shellcode-Injection/|Shellcode explained]] | + | * [[https://dhavalkapil.com/blogs/Shellcode-Injection/|Shellcode explained]] |
+ | * [[https://chatgpt.com/share/67279837-b05c-800e-a60a-6629ef3dd7f7|ChatGPT's record for stack structure & buffer overflow]] //(same length, but why bother read the opinion of some anonymous industry expert when you got the popular AI kid parroting the same stuff, right?)// | ||
===== Setup ===== | ===== Setup ===== | ||
- | * [[:isc:info:virtualmachine|Open a lab VM instance]] on [[https://cloud.grid.pub.ro|OpenStack]], use the **m1.medium** flavor for 2GB of RAM (required by ''pwndbg'' :(( ). | + | * [[:isc:info:virtualmachine|Open a lab VM instance]] on [[https://cloud.grid.pub.ro|OpenStack]], use the **m1.medium** flavor for 1.5GB of RAM (required by ''pwndbg'' :(( ). |
**If you're not using the OpenStack VM**: | **If you're not using the OpenStack VM**: | ||
Line 37: | Line 44: | ||
{{:isc:labs:stack_layout.png?700}} | {{:isc:labs:stack_layout.png?700}} | ||
+ | |||
+ | Also check out one of the resources linked on top ^^ ! | ||
<note tip> | <note tip> |