ARRIS / Motorola SBG6580 Cable Modem SNMP Enumeration Module - Metasploit


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

Module Overview


Name: ARRIS / Motorola SBG6580 Cable Modem SNMP Enumeration Module
Module: auxiliary/scanner/snmp/sbg6580_enum
Source code: modules/auxiliary/scanner/snmp/sbg6580_enum.rb
Disclosure date: -
Last modification time: 2020-06-11 13:09:25 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 161
List of CVEs: -

This module allows SNMP enumeration of the ARRIS / Motorola SURFboard SBG6580 Series Wi-Fi Cable Modem Gateway. It supports the username and password for the device user interface as well as wireless network keys and information. The default community used is "public".

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/sbg6580_enum
msf auxiliary(sbg6580_enum) > show options
    ... show and set options ...
msf auxiliary(sbg6580_enum) > set RHOSTS ip-range
msf auxiliary(sbg6580_enum) > exploit

Other examples of setting the RHOSTS option:

Example 1:

msf auxiliary(sbg6580_enum) > set RHOSTS 192.168.1.3-192.168.1.200 

Example 2:

msf auxiliary(sbg6580_enum) > set RHOSTS 192.168.1.1/24

Example 3:

msf auxiliary(sbg6580_enum) > 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/sbg6580_enum auxiliary module looks in the msfconsole:

msf6 > use auxiliary/scanner/snmp/sbg6580_enum

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

       Name: ARRIS / Motorola SBG6580 Cable Modem SNMP Enumeration Module
     Module: auxiliary/scanner/snmp/sbg6580_enum
    License: Metasploit Framework License (BSD)
       Rank: Normal

Provided by:
  Matthew Kienow <[email protected]>

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    2c               yes       SNMP Version <1/2c>

Description:
  This module allows SNMP enumeration of the ARRIS / Motorola 
  SURFboard SBG6580 Series Wi-Fi Cable Modem Gateway. It supports the 
  username and password for the device user interface as well as 
  wireless network keys and information. The default community used is 
  "public".

References:
  https://seclists.org/fulldisclosure/2014/May/79
  http://www.arrisi.com/modems/datasheet/SBG6580/SBG6580_UserGuide.pdf
  OSVDB (110555)

Module Options


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

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

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

   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    2c               yes       SNMP Version <1/2c>

Advanced Options


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

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

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

   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/sbg6580_enum module can do:

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

Auxiliary actions:

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

Evasion Options


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

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

<IP> does not appear to be a SBG6580.


Here is a relevant code snippet related to the "<IP> does not appear to be a SBG6580." error message:

200:	          line << sprintf("%s%s: %s\n", k, " "*([0,width-k.length].max), v)
201:	        }
202:	
203:	        print_line(line)
204:	      else
205:	        print_error("#{ip} does not appear to be a SBG6580.")
206:	      end
207:	
208:	    rescue SNMP::RequestTimeout
209:	      print_error("#{ip} SNMP request timeout.")
210:	    rescue Rex::ConnectionError

<IP> SNMP request timeout.


Here is a relevant code snippet related to the "<IP> SNMP request timeout." error message:

204:	      else
205:	        print_error("#{ip} does not appear to be a SBG6580.")
206:	      end
207:	
208:	    rescue SNMP::RequestTimeout
209:	      print_error("#{ip} SNMP request timeout.")
210:	    rescue Rex::ConnectionError
211:	      print_error("#{ip} Connection refused.")
212:	    rescue SNMP::InvalidIpAddress
213:	      print_error("#{ip} Invalid IP Address. Check it with 'snmpwalk tool'.")
214:	    rescue SNMP::UnsupportedVersion

<IP> Connection refused.


Here is a relevant code snippet related to the "<IP> Connection refused." error message:

206:	      end
207:	
208:	    rescue SNMP::RequestTimeout
209:	      print_error("#{ip} SNMP request timeout.")
210:	    rescue Rex::ConnectionError
211:	      print_error("#{ip} Connection refused.")
212:	    rescue SNMP::InvalidIpAddress
213:	      print_error("#{ip} Invalid IP Address. Check it with 'snmpwalk tool'.")
214:	    rescue SNMP::UnsupportedVersion
215:	      print_error("#{ip} Unsupported SNMP version specified. Select from '1' or '2c'.")
216:	    rescue ::Interrupt

<IP> Invalid IP Address. Check it with 'snmpwalk tool'.


Here is a relevant code snippet related to the "<IP> Invalid IP Address. Check it with 'snmpwalk tool'." error message:

208:	    rescue SNMP::RequestTimeout
209:	      print_error("#{ip} SNMP request timeout.")
210:	    rescue Rex::ConnectionError
211:	      print_error("#{ip} Connection refused.")
212:	    rescue SNMP::InvalidIpAddress
213:	      print_error("#{ip} Invalid IP Address. Check it with 'snmpwalk tool'.")
214:	    rescue SNMP::UnsupportedVersion
215:	      print_error("#{ip} Unsupported SNMP version specified. Select from '1' or '2c'.")
216:	    rescue ::Interrupt
217:	      raise $!
218:	    rescue ::Exception => e

<IP> Unsupported SNMP version specified. Select from '1' or '2c'.


Here is a relevant code snippet related to the "<IP> Unsupported SNMP version specified. Select from '1' or '2c'." error message:

210:	    rescue Rex::ConnectionError
211:	      print_error("#{ip} Connection refused.")
212:	    rescue SNMP::InvalidIpAddress
213:	      print_error("#{ip} Invalid IP Address. Check it with 'snmpwalk tool'.")
214:	    rescue SNMP::UnsupportedVersion
215:	      print_error("#{ip} Unsupported SNMP version specified. Select from '1' or '2c'.")
216:	    rescue ::Interrupt
217:	      raise $!
218:	    rescue ::Exception => e
219:	      print_error("Unknown error: #{e.class} #{e}")
220:	      elog(e)

Unknown error: <E.CLASS> <E>


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

214:	    rescue SNMP::UnsupportedVersion
215:	      print_error("#{ip} Unsupported SNMP version specified. Select from '1' or '2c'.")
216:	    rescue ::Interrupt
217:	      raise $!
218:	    rescue ::Exception => e
219:	      print_error("Unknown error: #{e.class} #{e}")
220:	      elog(e)
221:	    ensure
222:	      disconnect_snmp
223:	    end
224:	  end

Go back to menu.


References


See Also


Check also the following modules related to this module:

Authors


Matthew Kienow <mkienow[at]inokii.com>

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.