SIPDroid Extension Grabber - Metasploit
This page contains detailed information about how to use the auxiliary/scanner/sip/sipdroid_ext_enum metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: SIPDroid Extension Grabber
Module: auxiliary/scanner/sip/sipdroid_ext_enum
Source code: modules/auxiliary/scanner/sip/sipdroid_ext_enum.rb
Disclosure date: -
Last modification time: 2018-09-15 18:54:45 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): -
List of CVEs: -
This module exploits a leak of extension/SIP Gateway on SIPDroid 1.6.1 beta, 2.0.1 beta, 2.2 beta (tested in Android 2.1 and 2.2 - official Motorola release) (other versions may be affected).
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/scanner/sip/sipdroid_ext_enum
msf auxiliary(sipdroid_ext_enum) > show targets
... a list of targets ...
msf auxiliary(sipdroid_ext_enum) > set TARGET target-id
msf auxiliary(sipdroid_ext_enum) > show options
... show and set options ...
msf auxiliary(sipdroid_ext_enum) > exploit
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/sipdroid_ext_enum auxiliary module looks in the msfconsole:
msf6 > use auxiliary/scanner/sip/sipdroid_ext_enum
msf6 auxiliary(scanner/sip/sipdroid_ext_enum) > show info
Name: SIPDroid Extension Grabber
Module: auxiliary/scanner/sip/sipdroid_ext_enum
License: Metasploit Framework License (BSD)
Rank: Normal
Provided by:
Anibal Aguiar <[email protected]>
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
FNLPORT 59159 yes The final probe port
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT no Remote port to probe
STRTPORT 59150 yes The start probe port
Description:
This module exploits a leak of extension/SIP Gateway on SIPDroid
1.6.1 beta, 2.0.1 beta, 2.2 beta (tested in Android 2.1 and 2.2 -
official Motorola release) (other versions may be affected).
References:
http://www.securityfocus.com/bid/47710
https://seclists.org/fulldisclosure/2011/May/83
Module Options
This is a complete list of options available in the scanner/sip/sipdroid_ext_enum auxiliary module:
msf6 auxiliary(scanner/sip/sipdroid_ext_enum) > show options
Module options (auxiliary/scanner/sip/sipdroid_ext_enum):
Name Current Setting Required Description
---- --------------- -------- -----------
FNLPORT 59159 yes The final probe port
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT no Remote port to probe
STRTPORT 59150 yes The start probe port
Advanced Options
Here is a complete list of advanced options supported by the scanner/sip/sipdroid_ext_enum auxiliary module:
msf6 auxiliary(scanner/sip/sipdroid_ext_enum) > show advanced
Module advanced options (auxiliary/scanner/sip/sipdroid_ext_enum):
Name Current Setting Required Description
---- --------------- -------- -----------
CHOST no The local client address
CPORT no The local client port
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/sipdroid_ext_enum module can do:
msf6 auxiliary(scanner/sip/sipdroid_ext_enum) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the scanner/sip/sipdroid_ext_enum auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(scanner/sip/sipdroid_ext_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.
Ringing message received but no user/gateway sent...
Here is a relevant code snippet related to the "Ringing message received but no user/gateway sent..." error message:
87: origin = /o=\w+\@[\w+\.]+/.match(msg[0])
88:
89: if not origin.nil?
90: print_good(/\w+\@[\w+\.]+/.match(origin.to_s).to_s)
91: else
92: print_status("Ringing message received but no user/gateway sent...")
93: end
94:
95: data = create_probe(datastore['RHOST'], 'CANCEL', @branch, @tag, @callid)
96: udp_sock.put(data)
97: strtport = fnlport + 1
Tested all ports got no response, try a bigger port range.
Here is a relevant code snippet related to the "Tested all ports got no response, try a bigger port range." error message:
102: end
103: end
104: rescue ::Exception => e
105: disconnect_udp
106: if strtport == fnlport
107: print_status("Tested all ports got no response, try a bigger port range.")
108: end
109: ensure
110: if strtport == fnlport and not rcv.nil?
111: print_status("Tested all ports got no response, try a bigger port range.")
112: end
Tested all ports got no response, try a bigger port range.
Here is a relevant code snippet related to the "Tested all ports got no response, try a bigger port range." error message:
106: if strtport == fnlport
107: print_status("Tested all ports got no response, try a bigger port range.")
108: end
109: ensure
110: if strtport == fnlport and not rcv.nil?
111: print_status("Tested all ports got no response, try a bigger port range.")
112: end
113: disconnect_udp
114: strtport += 1
115: end
116: end
Go back to menu.
Related Pull Requests
- #10649 Merged Pull Request: Fix http://seclists.org links to https://
- #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
References
See Also
Check also the following modules related to this module:
- auxiliary/scanner/sip/enumerator
- auxiliary/scanner/sip/enumerator_tcp
- auxiliary/scanner/sip/options
- auxiliary/scanner/sip/options_tcp
- 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
- auxiliary/scanner/http/meteocontrol_weblog_extractadmin
- auxiliary/scanner/http/replace_ext
- auxiliary/scanner/http/wp_nextgen_galley_file_read
- auxiliary/scanner/printer/canon_iradv_pwd_extract
- auxiliary/scanner/sap/sap_mgmt_con_extractusers
- auxiliary/admin/http/dlink_dir_645_password_extractor
- auxiliary/admin/http/dlink_dsl320b_password_extractor
- auxiliary/admin/http/netgear_soap_password_extractor
- auxiliary/admin/http/zyxel_admin_password_extractor
- auxiliary/admin/networking/cisco_asa_extrabacon
- auxiliary/admin/vmware/vcenter_offline_mdb_extract
- auxiliary/admin/vxworks/apple_airport_extreme_password
- auxiliary/client/sms/send_text
- auxiliary/gather/external_ip
- auxiliary/gather/konica_minolta_pwd_extract
- auxiliary/gather/memcached_extractor
- auxiliary/gather/natpmp_external_address
- auxiliary/gather/redis_extractor
- auxiliary/gather/wp_ultimate_csv_importer_user_extract
- auxiliary/gather/wp_w3_total_cache_hash_extract
- auxiliary/gather/xerox_pwd_extract
- auxiliary/sqli/oracle/dbms_export_extension
Authors
Anibal Aguiar <anibal.aguiar[at]gmail.com>
Version
This page has been produced using Metasploit Framework version 6.2.4-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.