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.


Go back to menu.

See Also


Check also the following modules related to this module:

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.