DNS
ℹ️ Informations¶
- 🌐 Website: HackTheBox
- 📚 Module: Footprinting
- 🔗 Link: DNS
❓Question¶
Interact with the target DNS using its IP address and enumerate the FQDN of it for the "inlanefreight.htb" domain.
📋 Walkthrough¶
Let's do some digs!
Answer
ns.inlanefreight.htb
❓Question¶
Identify if its possible to perform a zone transfer and submit the TXT record as the answer. (Format: HTB{...))
📋 Walkthrough¶
You have to try axfr
in all DNS you find in your digs.
Answer
HTB{*******************************}
❓Question¶
What is the IPv4 address of the hostname DC1?
📋 Walkthrough¶
The answer is in the output of previous answer
Answer
10.***.**.**
❓Question¶
What is the FQDN of the host where the last octet ends with "x.x.x.203"?
📋 Walkthrough¶
Here we have to do some sub-subdomain enumeration... from previouses answers, we discovered some dns like in******
or ***
. Let's try enum one of these.
dnsenum --dnsserver 10.129.205.130 --enum -p 0 -s 0 -o subdomains.txt -f /usr/share/seclists/Discovery/DNS/fierce-hostlist.txt ***.inlanefreight.htb
Answer
*****.***.inlanefreight.htb