Latest / CyberSecurity Summary / Bug Bounty from Scratch: A comprehensive guide to discovering vulnerabilities and succeeding in cybersecurity
Transcript
- 0:00Speaker 1: Imagine getting paid to find like the digital version of
- 0:03Speaker 1: an unlocked door, not to break in, but just to
- 0:07Speaker 1: point it out so the owner can fix it.
- 0:09Speaker 2: Yeah, that's pretty much the gist of ethical hacking and
- 0:12Speaker 2: bug bounties.
- 0:13Speaker 1: It's this really fascinating world where you can sharpen your
- 0:15Speaker 1: cybersecurity skills and well maybe even earn some serious rewards.
- 0:19Speaker 2: Absolutely, and it's a field that's constantly changing, always needing
- 0:24Speaker 2: shirt people to spot those weaknesses that crop up with
- 0:27Speaker 2: new tech companies. See the value in.
- 0:29Speaker 1: It definitely, and that's exactly what we're diving into today.
- 0:33Speaker 1: On the deep Dive. We got some great source material
- 0:35Speaker 1: from a listener, excerpts from bug Bounty from Scratch by
- 0:39Speaker 1: Francisco Javier Santiago Vasquez.
- 0:41Speaker 2: Oh yeah, that sounds useful.
- 0:42Speaker 1: It really looks like it seems perfect for anyone curious
- 0:45Speaker 1: about this or you know, maybe already in it but
- 0:47Speaker 1: wanted to sharpen their game.
- 0:48Speaker 2: Right and looking at the author, Francisco Oscrez, he's got
- 0:52Speaker 2: real hands on experience red teaming pen testing across different industries.
- 0:57Speaker 2: That counts for a lot.
- 0:58Speaker 1: It does. Plus, the book's got endorsements from people like
- 1:02Speaker 1: Muhammad Hadji, big name in bug bounties, and doctor Shifah Cyklwala,
- 1:07Speaker 1: another cybersecurity leader, add some weight, doesn't it?
- 1:10Speaker 2: Yeah, definitely suggests it's a credible resource.
- 1:13Speaker 1: So our mission today is basically to pull out the
- 1:17Speaker 1: essential stuff about bug bounties from this book. What they are,
- 1:21Speaker 1: how they actually work, the kind of skills and tools
- 1:24Speaker 1: you need, and.
- 1:24Speaker 2: Some of the core techniques bug hunters use.
- 1:26Speaker 1: Right exactly. Think of this is like your shortcut to
- 1:29Speaker 1: understanding the basics without getting totally bogged down in detail.
- 1:32Speaker 2: Sounds good, Let's get into it, Okay.
- 1:34Speaker 1: So let's kick things off. What is a bug bounty
- 1:37Speaker 1: in simple terms?
- 1:39Speaker 2: Okay? Essentially, it's when a company puts out an open invitation.
- 1:43Speaker 2: They're basically saying, hey, find security flaws in our systems,
- 1:46Speaker 2: tell us about them, responsibly.
- 1:48Speaker 1: Follow our rules, and we'll reward you exactly.
- 1:51Speaker 2: And that reward it can be cash, sometimes small, sometimes
- 1:54Speaker 2: pretty substantial, depending on how critical the bug is, or
- 1:57Speaker 2: it might be public recognition like getting your on a
- 2:00Speaker 2: hall of fame.
- 2:01Speaker 1: Okay, but how do these companies actually connect with the hackers,
- 2:05Speaker 1: the researchers looking for these bugs. It's not like the
- 2:08Speaker 1: post job ads, is it No?
- 2:10Speaker 2: Not? Usually that's where bug bounty platforms come in. Think
- 2:14Speaker 2: of them as middlemen, like brokers sort of platforms like
- 2:19Speaker 2: hacker one, bug Craft, they're big ones. They connect the
- 2:23Speaker 2: companies running these programs with the security researchers. So researchers
- 2:27Speaker 2: sign up, find programs that fit their skills and get
- 2:31Speaker 2: hunting right.
- 2:32Speaker 1: So a company lists their program on hacker one, for instance,
- 2:35Speaker 1: how does it actually work? Then? What are the steps?
- 2:37Speaker 2: Well, the company first sets out the rules, the terms
- 2:39Speaker 2: of engagement. This includes what kinds of vulnerabilities they care about,
- 2:43Speaker 2: which systems are in scope that's crucial, what you're allowed.
- 2:47Speaker 1: To test, and what you're not allowed to touch precisely.
- 2:49Speaker 2: And they'll also list the rewards for different bug severities.
- 2:53Speaker 2: Then the researchers get to work. If they find something
- 2:55Speaker 2: valid and it's within that defined scope, they write up
- 2:59Speaker 2: a report yes submitted to the platform. The company's security
- 3:03Speaker 2: team reviews it. If they agree it's a real in
- 3:06Speaker 2: scope vulnerability, the researcher gets the reward.
- 3:09Speaker 1: Okay, are all these programs pretty much the same or
- 3:13Speaker 1: do they vary? Oh?
- 3:14Speaker 2: They vary quite a bit. Some are really specific, like
- 3:17Speaker 2: focusing only on their mobile app, maybe an Android or
- 3:19Speaker 2: iOS app, or just one specific API, while others are
- 3:23Speaker 2: broader exactly, some might cover a much wider range of
- 3:26Speaker 2: their digital assets. And then there's a difference between public
- 3:29Speaker 2: and private programs.
- 3:30Speaker 1: Ah okay, what's that.
- 3:32Speaker 2: Public programs are open to basically anyone registered on the platform.
- 3:36Speaker 2: Private ones, though, are invitation only. Usually you get invited
- 3:40Speaker 2: based on your track record, your reputation on the platform.
- 3:42Speaker 1: So proving yourself in public programs can lead to private.
- 3:45Speaker 2: Invites potentially, Yes. And one more type, Vulnerability disclosure programs
- 3:50Speaker 2: or vdps. They're similar. They want you to report vulnerabilities,
- 3:54Speaker 2: but they typically offer recognition, maybe some swag, but not
- 3:57Speaker 2: usually cash rewards.
- 3:59Speaker 1: Got it? So? Okay, someone's listening, Maybe they have some
- 4:02Speaker 1: tech background and they're thinking, hmm, this sounds interesting. What
- 4:06Speaker 1: kind of foundational knowledge is really needed to even start
- 4:09Speaker 1: thinking about this?
- 4:10Speaker 2: Yeah, the book really stresses having a basic grasp of
- 4:15Speaker 2: core computer science concepts, things like networking fundamentals, how systems
- 4:19Speaker 2: generally work.
- 4:20Speaker 1: You don't need to be an expert pen tester.
- 4:22Speaker 2: From day one, no, not at all, but having that
- 4:24Speaker 2: solid base helps you understand how things are built, which
- 4:27Speaker 2: then helps you figure out where they might be weak.
- 4:29Speaker 1: You know, right, makes sense. So you've got that foundation.
- 4:32Speaker 1: You go onto one of these platforms and there are
- 4:34Speaker 1: maybe hundreds of programs. How do you even pick where
- 4:37Speaker 1: to start?
- 4:38Speaker 2: That's a really good question. It's strategic. The book suggests
- 4:42Speaker 2: looking at a few things. First, does the program focus
- 4:46Speaker 2: align with your skills? If you know web apps, well,
- 4:49Speaker 2: maybe start there.
- 4:49Speaker 1: Play to your strengths exactly.
- 4:52Speaker 2: Second, and this is super important, you have to understand
- 4:54Speaker 2: the program's scope, what domains What apps are okay to test,
- 4:59Speaker 2: what's exc implicitly forbidden.
- 5:01Speaker 1: The book mentioned some examples right from hacker own, Snapchat,
- 5:05Speaker 1: and Visa.
- 5:06Speaker 2: Yeah, those are good examples because they show the contrast.
- 5:09Speaker 2: Snapchat apparently gives a really detailed list of what's in scope.
- 5:13Speaker 2: Visa's example in the book is more about illustrating the
- 5:15Speaker 2: reward structure. You know, how much they might pay for
- 5:18Speaker 2: different types of flaws.
- 5:19Speaker 1: And getting that scope wrong is bad news, very bad news.
- 5:23Speaker 2: Testing things that are explicitly out of scope can land
- 5:26Speaker 2: you in serious legal trouble. It's not worth the risk.
- 5:29Speaker 1: Definitely not so scope skills what else? Rewards must play
- 5:36Speaker 1: a part?
- 5:36Speaker 2: Oh for sure? I mean learning is great, the challenge
- 5:39Speaker 2: is fun, but let's be honest, the potential payout is
- 5:41Speaker 2: a big motivator for many people. Looking at the reward
- 5:45Speaker 2: tiers can help you decide where to invest your time.
- 5:47Speaker 2: Makes sense, But beyond the practical stuff, the book really
- 5:50Speaker 2: hammers home the ethical side. The whole idea is think
- 5:52Speaker 2: like a bad guy, but don't be one. Right to
- 5:55Speaker 2: the rules, Absolutely, follow the program rules, strictly, test ethically.
- 5:59Speaker 2: Don't cause disruption, that's non negotiable.
- 6:02Speaker 1: Yeah, you're helping them, not hurting them. Okay. The book
- 6:05Speaker 1: also mentioned identifying critical systems. Why is that important for
- 6:08Speaker 1: a bug hunter?
- 6:09Speaker 2: Well, think about it. If you understand what a company
- 6:12Speaker 2: considers its crown jewels, maybe their main customer database, or
- 6:16Speaker 2: the payment system, or how users log in the really
- 6:20Speaker 2: sensitive stuff exactly, focusing your efforts there means finding a
- 6:24Speaker 2: vulnerability could have a much bigger impact, And the book
- 6:27Speaker 2: points out breaches in those areas cause huge reputational damage,
- 6:31Speaker 2: maybe lose customers, cost a lot of money.
- 6:34Speaker 1: So finding bugs and critical systems is generally more valuable.
- 6:37Speaker 2: Usually, yes, and often those findings carry higher rewards too.
- 6:42Speaker 1: Okay, this is great, We've covered the basics, how programs work,
- 6:45Speaker 1: prep ethics. Now that really hands on part. What tools
- 6:49Speaker 1: and techniques do bug hunters actually use? This is where
- 6:52Speaker 1: it gets exciting for someone wanting to try this.
- 6:55Speaker 2: Right the practical side, The book breaks down the tools
- 6:57Speaker 2: quite nicely. First up, information gathering, This is key.
- 7:00Speaker 1: What kind of tools.
- 7:01Speaker 2: Tools like sublister a mass, DNA s dumpster, subfinder, aquatone.
- 7:06Speaker 2: These are mainly for finding subdomains, discovering all the different
- 7:09Speaker 2: web addresses associated with a company.
- 7:11Speaker 1: Like finding hidden doors and windows.
- 7:13Speaker 2: Kind of Yeah, it increases the potential area you can test.
- 7:16Speaker 2: Then you have standard stuff like who's lookups for domain
- 7:18Speaker 2: ownership info and DNS tools like en slok up or
- 7:23Speaker 2: dig okay.
- 7:24Speaker 1: So mapping out the territory first, what about testing web applications?
- 7:28Speaker 2: Specifically for web stuff. Burps suite is pretty much the standard.
- 7:32Speaker 2: It's mentioned repeatedly as essential. It lets you like intercept
- 7:36Speaker 2: web traffic, mess with it, analyze requests, automate tests. It's powerful,
- 7:41Speaker 2: the go to tool for web hunters largely yes. The
- 7:44Speaker 2: book also mentions wp scan, which is specifically for WordPress sites,
- 7:48Speaker 2: finding known vulnerabilities there, and der search which helps find
- 7:52Speaker 2: hidden folders and files on a web server.
- 7:54Speaker 1: What if you need to look deeper at the network.
- 7:56Speaker 2: Level, then NMP is your friend. Often called the King
- 7:59Speaker 2: of Network scan. It finds live computers, checks for open ports,
- 8:03Speaker 2: tries to identify what services are running on those ports,
- 8:05Speaker 2: even guesses the operating system sometimes.
- 8:07Speaker 1: So NMAP maps the network itself. And if you think
- 8:10Speaker 1: you found something a potential vulnerability.
- 8:14Speaker 2: That's where something like exploit dB comes in handy. It's
- 8:17Speaker 2: a big public database of known vulnerabilities and crucially exploit
- 8:21Speaker 2: code or proof of concepts showing how they can be triggered.
- 8:24Speaker 1: Ah, so you can see how a theoretical vulnerability actually
- 8:27Speaker 1: works in practice exactly.
- 8:29Speaker 2: Understanding the exploit helps you confirm and report the issue effectively.
- 8:33Speaker 2: The book also touches on ossent open source intelligence.
- 8:37Speaker 1: Using publicly available info.
- 8:39Speaker 2: Right tools like multago or showdand can help gather that
- 8:42Speaker 2: and even simple things like clever Google searches Google dorks.
- 8:46Speaker 2: The book gives examples like searching and title index of
- 8:49Speaker 2: password dot txt.
- 8:50Speaker 1: Wow, finding password files just.
- 8:52Speaker 2: With Google sometimes or intex dot username, intex dot password.
- 8:56Speaker 2: It's surprising what gets left exposed sometimes due to simple mistakes.
- 9:00Speaker 1: That really highlights how basic errors can create openings. Okay,
- 9:03Speaker 1: so those are some tools. What about the actual techniques
- 9:05Speaker 1: for finding bugs?
- 9:06Speaker 2: Well, reconnaissance is the foundation, Like we said, gathering info,
- 9:10Speaker 2: identifying services, running, maybe doing initial automated scans to see
- 9:14Speaker 2: if any low hanging fruit pops up.
- 9:16Speaker 1: You can lay the land definitely.
- 9:18Speaker 2: Then the book talks about exploring human errors.
- 9:21Speaker 1: This can be really effective Tawso like.
- 9:23Speaker 2: Checking the robots dot txt file on a website. It
- 9:27Speaker 2: tells search engines what not to index, but sometimes it
- 9:29Speaker 2: points directly to admin pages or sensitive areas developers didn't
- 9:33Speaker 2: want public.
- 9:34Speaker 1: Huh, telling people where the hidden stuff is.
- 9:36Speaker 2: Ironically yeah. Also, using the Wayback Machine the Internet archive,
- 9:41Speaker 2: you can look at old versions of websites. The book
- 9:43Speaker 2: mentions an example where someone found deleted resources on packed
- 9:46Speaker 2: Pubs site. This way old info might still be relevant
- 9:50Speaker 2: or expose something.
- 9:51Speaker 1: It's clever using web history for security.
- 9:54Speaker 2: It can be also just looking for general information leaks,
- 9:57Speaker 2: maybe databases left open, credentials and so code comments.
- 10:01Speaker 1: Right. What other techniques?
- 10:02Speaker 2: Subdomain takeover is another interesting one. Sometimes a company stops
- 10:07Speaker 2: using a subdomain, but the DNS record still points to
- 10:10Speaker 2: a third party service if that service allows you to
- 10:13Speaker 2: claim unused names. You might be able to take over the.
- 10:16Speaker 1: Subdomain and then potentially misuse it.
- 10:18Speaker 2: Potentially, yes, which is why it's a vulnerability. Also, checking
- 10:22Speaker 2: GitHub repositories is common now, looking for apikeys, passwords, or
- 10:28Speaker 2: just badly configured code accidentally pushed.
- 10:30Speaker 1: Publicly developers leaving secrets in the code happens all the time.
- 10:34Speaker 2: I bet more often than you'd think. Local file inclusion
- 10:38Speaker 2: or LFI is another classic web vulnerability, basically tricking the
- 10:42Speaker 2: server into letting you read files It shouldn't like configuration files.
- 10:46Speaker 1: It sounds like a mix of technical skill and being
- 10:48Speaker 1: really observant looking for those small mistakes.
- 10:50Speaker 2: That's a huge part of it. The book also mentions
- 10:53Speaker 2: things like deeper enumeration, trying to find lists of directories, files,
- 10:56Speaker 2: even usernames, and analyzing.
- 11:00Speaker 1: Jobascript file that was a script. Why is that important?
- 11:02Speaker 2: Because they often get overlooked, but they can contain hints
- 11:05Speaker 2: about atis, internal URLs, other interesting bits of information. Sometimes
- 11:10Speaker 2: the code is obfuscated made hard to read, but tools
- 11:14Speaker 2: like beautifier or defogs can help decode it.
- 11:17Speaker 1: Ah, so hidden clues within the script itself interesting.
- 11:20Speaker 2: Definitely worth digging into and Finally, file upload vulnerabilities. Can
- 11:25Speaker 2: someone upload malicious file like a webshow or maybe just
- 11:29Speaker 2: a huge file to crash the server? That's another area
- 11:32Speaker 2: to test. The book even circles back to Google dorking,
- 11:35Speaker 2: like finding WordPress login pages, which could then be a
- 11:39Speaker 2: target for trying to guess passwords like brute forcing. Exactly
- 11:42Speaker 2: that could be the next step.
- 11:43Speaker 1: Okay, wow, lots of tools, lots of techniques. So let's
- 11:47Speaker 1: say you use these, you follow the rules, and you
- 11:48Speaker 1: find something. Okay, real vulnerability. What's next? You can't just
- 11:52Speaker 1: like post it on Twitter? Right?
- 11:53Speaker 2: Absolutely not. Responsible disclosure is key. The book really emphasizes
- 11:57Speaker 2: submitting a high quality report back through the platform.
- 12:00Speaker 1: What makes a report high quality.
- 12:02Speaker 2: Clarity is crucial. You need to explain what you found,
- 12:06Speaker 2: why it's a security risk, the potential impact. You need
- 12:09Speaker 2: to provide a clear proof of concept or.
- 12:12Speaker 1: PC like step by step instructions.
- 12:14Speaker 2: Exactly show them exactly how to reproduce the vulnerability you found,
- 12:18Speaker 2: and ideally maybe suggest how they could fix it.
- 12:21Speaker 1: And do this ethically. Right, don't grab more data than
- 12:24Speaker 1: you need to prove the point.
- 12:25Speaker 2: Absolutely, stay within the program's rules. Respect privacy, only access
- 12:30Speaker 2: what's necessary. To demonstrate the flaw.
- 12:32Speaker 1: And then if all goes well, comes the reward.
- 12:35Speaker 2: Hopefully, Yes, The rewards vary a lot, Like we said,
- 12:37Speaker 2: depends on the company, the platform, and especially the severity
- 12:40Speaker 2: and impact of the bug you found. Critical flaws usually
- 12:43Speaker 2: pay the most.
- 12:44Speaker 1: It feels like this whole area must be changing constantly,
- 12:47Speaker 1: new bugs found, new defenses built, new attack techniques. How
- 12:51Speaker 1: do people keep up?
- 12:52Speaker 2: Yeah, continuous learning is just essential. You can't learn this
- 12:55Speaker 2: once and be done. The booklists a bunch of resources
- 12:58Speaker 2: like what Well. Getting securities certifications can help structure your learning.
- 13:02Speaker 2: Improve skills. Things like cech oscp gpamos do are mentioned.
- 13:08Speaker 2: Keeping an eye on exploit databases like exploitdb tells you
- 13:12Speaker 2: about the latest discovered vulnerabilities.
- 13:14Speaker 1: So staying current on threats right.
- 13:17Speaker 2: And actively using the tools we talked about experimenting Using
- 13:21Speaker 2: security focused operating systems like Collie Linux or Parrot Security
- 13:25Speaker 2: OS helps with that they come pre loaded with lots
- 13:28Speaker 2: of tools.
- 13:28Speaker 1: Sands on practice definitely.
- 13:30Speaker 2: The book also suggests following good security blogs. Sam Curry's
- 13:34Speaker 2: blog gets a mention. Using online training platforms is huge too.
- 13:38Speaker 2: Hack the box, try hack me, Portswigger's web security Academy.
- 13:41Speaker 2: They offer challenges and labs learning by doing exactly, and
- 13:45Speaker 2: even YouTube channels hacker on TV, Live Overflow Ports, Swigger's channel.
- 13:49Speaker 2: They often have great practical content.
- 13:51Speaker 1: So it really is a commitment to ongoing learning. It's
- 13:53Speaker 1: not static, not at all.
- 13:54Speaker 2: The landscape shifts constantly.
- 13:56Speaker 1: Okay, let's try and wrap this up then, Based on
- 13:58Speaker 1: our deep dive into bug bound from scratch, what are
- 14:01Speaker 1: the main takeaways for someone listening?
- 14:03Speaker 2: Well? I think first, bug bounties are a really dynamic
- 14:06Speaker 2: way to learn cybersecurity hands on. You test real systems, sharpen.
- 14:10Speaker 1: Skills, you potentially get paid for it right.
- 14:13Speaker 2: Second, ethics are paramount. It's ethical hacking, follow the rules,
- 14:18Speaker 2: report responsibly. Third, preparation is key. Understand your skills, understand
- 14:24Speaker 2: the program, scope, identify critical systems, don't just.
- 14:27Speaker 1: Jump in blindly.
- 14:28Speaker 2: Yeah. Fourth, you need the right tools and techniques reconnaissance,
- 14:33Speaker 2: web testing, network scanning, knowing where to look for common flaws.
- 14:38Speaker 2: And finally, communication matters, write clear, detailed reports.
- 14:42Speaker 1: It definitely sounds challenging, but also yeah, potentially very rewarding.
- 14:45Speaker 1: You're helping make things more secure exactly.
- 14:47Speaker 2: It's a way to contribute positively while building your own expertise.
- 14:51Speaker 2: Hopefully this chat gave you the listener a good overview
- 14:54Speaker 2: without being too overwhelming. Maybe sparks some ideas.
- 14:56Speaker 1: Yeah, absolutely so. If this did peak your interest, maybe
- 15:00Speaker 1: how's the time to explore further, check out one of
- 15:02Speaker 1: those platforms, Perhaps try a tool like endmap or burp
- 15:04Speaker 1: suite on a test system, or read up on a
- 15:07Speaker 1: technique like LFI.
- 15:08Speaker 2: And maybe a final thought to leave you with. In
- 15:10Speaker 2: a world that's so reliant on digital systems and where
- 15:14Speaker 2: threats are everywhere, is this kind of ethical hacking, this
- 15:18Speaker 2: bug bounty approach actually becoming one of the most crucial
- 15:21Speaker 2: ways we defend ourselves collectively.
- 15:24Speaker 1: That a really interesting question to ponder. Is it becoming
- 15:26Speaker 1: essential food for thought? Okay, thanks for joining us on
- 15:29Speaker 1: this deep dive. We'll catch you on the next one.