SIP Username Enumerator (UDP) - Metasploit
This page contains detailed information about how to use the auxiliary/scanner/sip/enumerator metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: SIP Username Enumerator (UDP)
Module: auxiliary/scanner/sip/enumerator
Source code: modules/auxiliary/scanner/sip/enumerator.rb
Disclosure date: -
Last modification time: 2017-07-24 06:26:21 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 5060
List of CVEs: -
Scan for numeric username/extensions using OPTIONS/REGISTER requests
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/sip/enumerator
msf auxiliary(enumerator) > show options
... show and set options ...
msf auxiliary(enumerator) > set RHOSTS ip-range
msf auxiliary(enumerator) > exploit
Other examples of setting the RHOSTS option:
Example 1:
msf auxiliary(enumerator) > set RHOSTS 192.168.1.3-192.168.1.200
Example 2:
msf auxiliary(enumerator) > set RHOSTS 192.168.1.1/24
Example 3:
msf auxiliary(enumerator) > 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/sip/enumerator auxiliary module looks in the msfconsole:
msf6 > use auxiliary/scanner/sip/enumerator
msf6 auxiliary(scanner/sip/enumerator) > show info
Name: SIP Username Enumerator (UDP)
Module: auxiliary/scanner/sip/enumerator
License: Metasploit Framework License (BSD)
Rank: Normal
Provided by:
et <[email protected]>
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
BATCHSIZE 256 yes The number of hosts to probe in each set
CHOST no The local client address
CPORT 5060 no The local client port
MAXEXT 9999 yes Ending extension
METHOD REGISTER yes Enumeration method (Accepted: OPTIONS, REGISTER)
MINEXT 0 yes Starting extension
PADLEN 4 yes Cero padding maximum length
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 5060 yes The target port
THREADS 1 yes The number of concurrent threads (max one per host)
Description:
Scan for numeric username/extensions using OPTIONS/REGISTER requests
Module Options
This is a complete list of options available in the scanner/sip/enumerator auxiliary module:
msf6 auxiliary(scanner/sip/enumerator) > show options
Module options (auxiliary/scanner/sip/enumerator):
Name Current Setting Required Description
---- --------------- -------- -----------
BATCHSIZE 256 yes The number of hosts to probe in each set
CHOST no The local client address
CPORT 5060 no The local client port
MAXEXT 9999 yes Ending extension
METHOD REGISTER yes Enumeration method (Accepted: OPTIONS, REGISTER)
MINEXT 0 yes Starting extension
PADLEN 4 yes Cero padding maximum length
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 5060 yes The target port
THREADS 1 yes The number of concurrent threads (max one per host)
Advanced Options
Here is a complete list of advanced options supported by the scanner/sip/enumerator auxiliary module:
msf6 auxiliary(scanner/sip/enumerator) > show advanced
Module advanced options (auxiliary/scanner/sip/enumerator):
Name Current Setting Required Description
---- --------------- -------- -----------
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/sip/enumerator module can do:
msf6 auxiliary(scanner/sip/enumerator) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the scanner/sip/enumerator auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(scanner/sip/enumerator) > 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.
Method not found.
Here is a relevant code snippet related to the "Method not found." error message:
63: when 'REGISTER'
64: data = create_probe(ip,testext,'REGISTER')
65: when 'OPTIONS'
66: data = create_probe(ip,testext,'OPTIONS')
67: else
68: print_error("Method not found.")
69: return
70: end
71:
72:
73: begin
Unknown error: <E.CLASS> <E>
Here is a relevant code snippet related to the "Unknown error: <E.CLASS> <E>" error message:
93: end
94:
95: rescue ::Interrupt
96: raise $!
97: rescue ::Exception => e
98: print_error("Unknown error: #{e.class} #{e}")
99: ensure
100: udp_sock.close if udp_sock
101: end
102: end
103:
Go back to menu.
Related Pull Requests
- #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
- #5059 Merged Pull Request: Yard doc corrections
- #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:
- post/multi/gather/aws_ec2_instance_metadata
- auxiliary/scanner/sip/enumerator_tcp
- auxiliary/scanner/sip/options
- auxiliary/scanner/sip/options_tcp
- auxiliary/scanner/sip/sipdroid_ext_enum
- exploit/windows/sip/aim_triton_cseq
- exploit/windows/sip/sipxezphone_cseq
- exploit/windows/sip/sipxphone_cseq
- auxiliary/dos/scada/siemens_siprotec4
- auxiliary/server/capture/sip
- auxiliary/voip/sip_deregister
- auxiliary/voip/sip_invite_spoof
Authors
et
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.