Effectively finding vulnerabilities in web applications by debugging the source code
Grzegorz Niedziela
whoami
Agenda
Where to find source code?
Where to find source code of closed-source apps?
How to do Code Review - The Offensive Security Way, Shubham Shah, https://www.youtube.com/watch?v=fb-t3WWHsMQ
Python example
| Static code analysis | Running the app | Debugging |
Time investment before testing | You can start as soon as you access the code | You need to setup the environment | You need to setup the environment + debug |
What do you need to start testing? | The code | The code + setup instructions (docker is enough) | The code + setup + debugging setup |
Do you need to understand what the code does? | You need to understand exactly what the code does | You don’t need to know the code | You need less understanding of what the code does |
How the testing looks? | You need to evaluate the code in your head | Use Burp, like blackbox testing | You use Burp + see what the code does |
When to do what?
Setup - Kibana example
Installation:
Starting
launch.json
Setup - smokescreen example
Setup - smokescreen example
Setup - smokescreen example
Case study - Stripe SSRF
Case study - Stripe SSRF
My approach
Where to start?
Thank you
Survey: