How to Install and Uninstall dnsmap Package on Kali Linux

Last updated: November 24,2024

1. Install "dnsmap" package

This guide let you learn how to install dnsmap on Kali Linux

$ sudo apt update $ sudo apt install dnsmap

2. Uninstall "dnsmap" package

Please follow the steps below to uninstall dnsmap on Kali Linux:

$ sudo apt remove dnsmap $ sudo apt autoclean && sudo apt autoremove

3. Information about the dnsmap package on Kali Linux

Package: dnsmap
Version: 0.36-3
Installed-Size: 256
Maintainer: Debian Security Tools
Architecture: amd64
Depends: libc6 (>= 2.34)
Size: 27364
SHA256: 4d0a497fc2140b4ac90a0c31848f8a4932da5dfe67abff09f1f9f5a0a858179b
SHA1: 181bccfc3dba089545ffe70ff2910243c3d5fe9d
MD5sum: 3e7ab77504e5bfc2a9d1a014a8940fc8
Description: DNS domain name brute forcing tool
dnsmap scans a domain for common subdomains using a built-in or an external
wordlist (if specified using -w option). The internal wordlist has around 1000
words in English and Spanish as ns1, firewall servicios and smtp. So will be
possible search for smtp.example.com inside example.com automatically. Results
can be saved in CSV and human-readable format for further processing. dnsmap
does NOT require root privileges to be run, and should NOT be run with such
privileges for security reasons.
.
dnsmap was originally released back in 2006 and was inspired by the fictional
story "The Thief No One Saw" by Paul Craig, which can be found in the book
"Stealing the Network - How to 0wn the Box".
.
dnsmap is mainly meant to be used by pentesters during the information
gathering/enumeration phase of infrastructure security assessments. During the
enumeration stage, the security consultant would typically discover the target
company's IP netblocks, domain names, phone numbers, etc.
.
Subdomain brute-forcing is another technique that should be used in the
enumeration stage, as it's especially useful when other domain enumeration
techniques such as zone transfers don't work (I rarely see zone transfers being
publicly allowed these days by the way).
.
Fun things that can happen:
.
1) Finding interesting remote access servers
(e.g.: https:://extranet.example.com).
2) Finding badly configured and/or unpatched servers
(e.g.: test.example.com).
3) Finding new domain names which will allow you to map
non-obvious/hard-to-find netblocks of your target organization
(registry lookups - aka whois is your friend).
4) Sometimes you find that some bruteforced subdomains resolve to internal IP
addresses (RFC 1918). This is great as sometimes they are real up-to-date
"A" records which means that it is possible to enumerate internal servers
of a target organization from the Internet by only using standard DNS
resolving (as opposed to zone transfers for instance).
5) Discover embedded devices configured using Dynamic DNS services
(e.g.: IP Cameras). This method is an alternative to finding devices via
Google hacking techniques.
.
This package provides two possible commands: dnsmap and dnsmap-bulk.
.
This program is useful for pentesters, ethical hackers and forensics experts.
It also can be used for security tests.
Description-md5:
Homepage: https://github.com/resurrecting-open-source-projects/dnsmap
Section: net
Priority: optional
Filename: pool/main/d/dnsmap/dnsmap_0.36-3_amd64.deb