Vulnerability & Exploit Database

Back to search

DNS BailiWicked Host Attack

This exploit attacks a fairly ubiquitous flaw in DNS implementations which Dan Kaminsky found and disclosed ~Jul 2008. This exploit caches a single malicious host entry into the target nameserver by sending random hostname queries to the target DNS server coupled with spoofed replies to those queries from the authoritative nameservers for that domain. Eventually, a guessed ID will match, the spoofed packet will get accepted, and due to the additional hostname entry being within bailiwick constraints of the original request the malicious host entry will get cached.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

auxiliary/spoof/dns/bailiwicked_host

Authors

  • I)ruid <druid [at] caughq.org>
  • hdm <x [at] hdm.io>

References

Reliability

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/spoof/dns/bailiwicked_host msf auxiliary(bailiwicked_host) > show actions ...actions... msf auxiliary(bailiwicked_host) > set ACTION <action-name> msf auxiliary(bailiwicked_host) > show options ...show and set options... msf auxiliary(bailiwicked_host) > run

Related Vulnerabilities

Related Modules