HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How To Do Recon: API Enumeration

71,217 views June 27, 2020 56:12

Watch on YouTube
ChannelInsiderPhD

Chapters

Description from the creator

This week we cover how to do API enumeration/API Recon. I show you how to find new API endpoints using tools like Burp Intruder and Ffuf, as well as how to find hidden parameters using Arjun. Including how to act on this data and use it to find bugs!

Did you know this episode was sponsored by Intigriti? Sign up with my link go.intigriti.com/katie I'm so pleased with everyone's positive response to the Intigriti sponsorship and I'm so pleased you folks are finding bugs and even finding your first bugs! Thank you for being awesome!

This episode was due to come out next week, but due to popular demand I have released it early for you folks, hopefully, you'll have some good data this week that you can hack on next week! Sorry for the references to next week's video! In this video we go through some theory first and do a little refresh on what an API is and how they word, then we go into the theory of recon before I do some live demos hacking on a fake API. I'd love to have done this video on a real bug bounty target, but with recon there's a lot I could miss or disclose on accident!

Do you want to support me? Why not buy me a coffee? ko-fi.com/insiderphd
Got questions? I have answers, Tweet at me twitter.com/InsiderPhD

Timestamps
0:00 Introduction to the video & catchup
7:29 Introduction to API enumeration
16:15 Easy API Enumeration
20:01 Creating Wordlists
25:05 DEMO: Burp Intruder
35:07 DEMO: Ffuf
41:38 DEMO: Arjun
48:27 Analysing Arjun results
50:07 DEMO: Practical bug hunting

Commands I run
- Ffuf: ffuf -w wordlist.txt -u 192.168.1.11:8000/api/FUZZ/6 -o output.txt -x 127.0.0.1:8080
- Arjun (-x parameter sends to burp, ignore if you do not want to send requests to burp or you use the original version): python arjun.py -u 192.168.1.11:8000/api/users --post -o data/result.json -x 127.0.0.1:8080

Links to the stuff I talk about
Example APIs
- My Fake API: github.com/InsiderPhD/example-for-devslop
- Twitter: developer.twitter.com/en/docs/tweets/search/api…
- Facebook: developers.facebook.com/docs/graph-api
- Yahoo: developer.yahoo.com/api/

Tools
- Ffuf github.com/ffuf/ffuf
- Arjun (my version) github.com/InsiderPhD/Arjun
- Arjun (original) github.com/s0md3v/Arjun
- Arjun dockerfile gist.github.com/InsiderPhD/f1eaa95b8479b54e8849…

Videos
- Finding Your First Bug: Finding Bugs in APIs youtu.be/yCUQBc2rY9Y
- API Hacking for the Actually Pretty Inexperienced Hacker youtu.be/qqmyAxfGV9c
- Finding Your First Bug: Manual IDOR Hunting youtu.be/gINAtzdccts
- IDOR Hunting With Firefox Containers youtu.be/zeDb9ugIGYs
- (Nahamsec) Creating Wordlists for Hacking, Pentesting & Bug Bounty Hunting Using Seclists, Bigquery, and More! youtu.be/QGbTaxtEQlg

Wordlists
- SecLists: github.com/danielmiessler/SecLists/tree/master/… & github.com/danielmiessler/SecLists/blob/master/…
- Fuzzdb:github.com/fuzzdb-project/fuzzdb/blob/master/di…
- SecLists Raft Words: github.com/danielmiessler/SecLists/blob/master/…

About this tutorial

InsiderPhD published this 56:12 video tutorial on June 27, 2020. It has been watched 71,217 times on YouTube.

Channel
InsiderPhD
Category
Education
Duration
56:12
Published
June 27, 2020
Views
71,217
Likes
1,915

Tags

Share

This tutorial in other languages