DNS Spoofing Helper Service - Metasploit
This page contains detailed information about how to use the auxiliary/server/dns/spoofhelper metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: DNS Spoofing Helper Service
Module: auxiliary/server/dns/spoofhelper
Source code: modules/auxiliary/server/dns/spoofhelper.rb
Disclosure date: -
Last modification time: 2020-05-12 22:15:21 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): -
List of CVEs: -
This module provides a DNS service that returns TXT records indicating information about the querying service. Based on Dino Dai Zovi DNS code from Karma.
Module Ranking and Traits
Module Ranking:
- normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.
Basic Usage
msf > use auxiliary/server/dns/spoofhelper
msf auxiliary(spoofhelper) > show targets
... a list of targets ...
msf auxiliary(spoofhelper) > set TARGET target-id
msf auxiliary(spoofhelper) > show options
... show and set options ...
msf auxiliary(spoofhelper) > exploit
Go back to menu.
Msfconsole Usage
Here is how the server/dns/spoofhelper auxiliary module looks in the msfconsole:
msf6 > use auxiliary/server/dns/spoofhelper
msf6 auxiliary(server/dns/spoofhelper) > show info
Name: DNS Spoofing Helper Service
Module: auxiliary/server/dns/spoofhelper
License: Metasploit Framework License (BSD)
Rank: Normal
Provided by:
hdm <[email protected]>
ddz <[email protected]>
Available actions:
Name Description
---- -----------
Service Run DNS spoofing server
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
SRVHOST 0.0.0.0 yes The local host to listen on.
SRVPORT 53 yes The local port to listen on.
Description:
This module provides a DNS service that returns TXT records
indicating information about the querying service. Based on Dino Dai
Zovi DNS code from Karma.
Module Options
This is a complete list of options available in the server/dns/spoofhelper auxiliary module:
msf6 auxiliary(server/dns/spoofhelper) > show options
Module options (auxiliary/server/dns/spoofhelper):
Name Current Setting Required Description
---- --------------- -------- -----------
SRVHOST 0.0.0.0 yes The local host to listen on.
SRVPORT 53 yes The local port to listen on.
Auxiliary action:
Name Description
---- -----------
Service Run DNS spoofing server
Advanced Options
Here is a complete list of advanced options supported by the server/dns/spoofhelper auxiliary module:
msf6 auxiliary(server/dns/spoofhelper) > show advanced
Module advanced options (auxiliary/server/dns/spoofhelper):
Name Current Setting Required Description
---- --------------- -------- -----------
VERBOSE false no Enable detailed status messages
WORKSPACE no Specify the workspace for this module
Auxiliary Actions
This is a list of all auxiliary actions that the server/dns/spoofhelper module can do:
msf6 auxiliary(server/dns/spoofhelper) > show actions
Auxiliary actions:
Name Description
---- -----------
Service Run DNS spoofing server
Evasion Options
Here is the full list of possible evasion options supported by the server/dns/spoofhelper auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(server/dns/spoofhelper) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
Go back to menu.
Error Messages
This module may fail with the following error messages:
Check for the possible causes from the code snippets below found in the module source code. This can often times help in identifying the root cause of the problem.
spoofhelper: <E.CLASS> <E> <E.BACKTRACE>
Here is a relevant code snippet related to the "spoofhelper: <E.CLASS> <E> <E.BACKTRACE>" error message:
91: end
92: end
93:
94: # Make sure the socket gets closed on exit
95: rescue ::Exception => e
96: print_error("spoofhelper: #{e.class} #{e} #{e.backtrace}")
97: ensure
98: @sock.close
99: end
100: end
101: end
Go back to menu.
Related Pull Requests
- #13443 Merged Pull Request: Add descriptions to auxiliary modules Actions
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #2525 Merged Pull Request: Change module boilerplate
- #1228 Merged Pull Request: MSFTIDY cleanup #1 - auxiliary
Go back to menu.
See Also
Check also the following modules related to this module:
- auxiliary/admin/netbios/netbios_spoof
- auxiliary/server/netbios_spoof_nat
- auxiliary/spoof/arp/arp_poisoning
- auxiliary/spoof/cisco/cdp
- auxiliary/spoof/cisco/dtp
- auxiliary/spoof/dns/bailiwicked_domain
- auxiliary/spoof/dns/bailiwicked_host
- auxiliary/spoof/dns/compare_results
- auxiliary/spoof/dns/native_spoofer
- auxiliary/spoof/llmnr/llmnr_response
- auxiliary/spoof/mdns/mdns_response
- auxiliary/spoof/nbns/nbns_response
- auxiliary/spoof/replay/pcap_replay
- auxiliary/voip/sip_invite_spoof
- exploit/windows/fileformat/winrar_name_spoofing
- post/linux/manage/dns_spoofing
- post/osx/gather/password_prompt_spoof
- exploit/multi/http/splunk_mappy_exec
- exploit/multi/http/splunk_upload_app_exec
- auxiliary/server/dns/native_server
- auxiliary/admin/dns/dyn_dns_update
- auxiliary/dos/dns/bind_tkey
- auxiliary/dos/dns/bind_tsig
- auxiliary/dos/dns/bind_tsig_badtime
- auxiliary/fuzzers/dns/dns_fuzzer
- auxiliary/scanner/dns/dns_amp
- auxiliary/vsploit/malware/dns/dns_mariposa
- auxiliary/vsploit/malware/dns/dns_query
- auxiliary/vsploit/malware/dns/dns_zeus
- auxiliary/dos/mdns/avahi_portzero
- auxiliary/scanner/mdns/query
- exploit/osx/mdns/upnp_location
Authors
- hdm
- ddz
Version
This page has been produced using Metasploit Framework version 6.1.27-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.