Book Image

Bug Bounty Hunting Essentials

By : Carlos A. Lozano, Shahmeer Amir
Book Image

Bug Bounty Hunting Essentials

By: Carlos A. Lozano, Shahmeer Amir

Overview of this book

Bug bounty programs are the deals offered by prominent companies where-in any white-hat hacker can find bugs in the applications and they will have a recognition for the same. The number of prominent organizations having this program has increased gradually leading to a lot of opportunity for Ethical Hackers. This book will initially start with introducing you to the concept of Bug Bounty hunting. Then we will dig deeper into concepts of vulnerabilities and analysis such as HTML injection, CRLF injection and so on. Towards the end of the book, we will get hands-on experience working with different tools used for bug hunting and various blogs and communities to be followed. This book will get you started with bug bounty hunting and its fundamentals.
Table of Contents (20 chapters)
Title Page
Copyright and Credits
About Packt
Contributors
Preface
Index

The sub-domain takeover


We will discuss different types of sub-domain takeovers in the following sections.

CNAME takeovers

The most common scenario when taking over a sub-domain is when the domain is available. In this case, malicious users just need to register the domain; pointing to it will be available while the CNAME register works.

To identify these available domains, you can use common register services such as GoDaddy however, we recommend using RiskIQ (https://www.riskiq.com/), which is a passive DNS tool that provides more information – including changes – on registers.

Manually accessing a domain using a web browser, or doing more exploration in RiskIQ, is essential. This is because when a domain expires, the registrant marks it as available even if it navigates to an internal website. RiskIQ helps in these cases because it can show you a domain's historic changes, as shown in the following screenshot:

NS takeover

A name server (NS) record stores the DNS servers authorized by a domain...