HTTP Client Information Gather - Metasploit
This page contains detailed information about how to use the auxiliary/gather/browser_info metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: HTTP Client Information Gather
Module: auxiliary/gather/browser_info
Source code: modules/auxiliary/gather/browser_info.rb
Disclosure date: 2016-03-22
Last modification time: 2020-10-02 17:38:06 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): -
List of CVEs: -
This module gathers information about a browser that exploits might be interested in, such as OS name, browser version, plugins, etc. By default, the module will return a fake 404, but you can customize this output by changing the Custom404 datastore option, and redirect to an external web page.
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/gather/browser_info
msf auxiliary(browser_info) > run
This module is also supported by Browser Autopwn 2.
To load it from Browser Autopwn 2, here's how:
msf > use auxiliary/server/browser_autopwn2
msf auxiliary(browser_autopwn2) > set INCLUDE_PATTERN browser_info
INCLUDE_PATTERN => browser_info
msf auxiliary(browser_autopwn2) > exploit
Go back to menu.
Msfconsole Usage
Here is how the gather/browser_info auxiliary module looks in the msfconsole:
msf6 > use auxiliary/gather/browser_info
msf6 auxiliary(gather/browser_info) > show info
Name: HTTP Client Information Gather
Module: auxiliary/gather/browser_info
License: Metasploit Framework License (BSD)
Rank: Normal
Disclosed: 2016-03-22
Provided by:
sinn3r <[email protected]>
Available actions:
Name Description
---- -----------
WebServer A web server that collects information about the browser.
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
Retries true no Allow the browser to retry the module
SRVHOST 0.0.0.0 yes The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
SRVPORT 8080 yes The local port to listen on.
SSL false no Negotiate SSL for incoming connections
SSLCert no Path to a custom SSL certificate (default is randomly generated)
URIPATH no The URI to use for this exploit (default is random)
Description:
This module gathers information about a browser that exploits might
be interested in, such as OS name, browser version, plugins, etc. By
default, the module will return a fake 404, but you can customize
this output by changing the Custom404 datastore option, and redirect
to an external web page.
Module Options
This is a complete list of options available in the gather/browser_info auxiliary module:
msf6 auxiliary(gather/browser_info) > show options
Module options (auxiliary/gather/browser_info):
Name Current Setting Required Description
---- --------------- -------- -----------
Retries true no Allow the browser to retry the module
SRVHOST 0.0.0.0 yes The local host or network interface to listen on. This must be an address on the local machine or 0.0.0.0 to listen on all addresses.
SRVPORT 8080 yes The local port to listen on.
SSL false no Negotiate SSL for incoming connections
SSLCert no Path to a custom SSL certificate (default is randomly generated)
URIPATH no The URI to use for this exploit (default is random)
Auxiliary action:
Name Description
---- -----------
WebServer A web server that collects information about the browser.
Advanced Options
Here is a complete list of advanced options supported by the gather/browser_info auxiliary module:
msf6 auxiliary(gather/browser_info) > show advanced
Module advanced options (auxiliary/gather/browser_info):
Name Current Setting Required Description
---- --------------- -------- -----------
CookieExpiration no Cookie expiration in years (blank=expire on exit)
CookieName __ua no The name of the tracking cookie
Custom404 no An external custom 404 URL (Example: http://example.com/404.html)
JsIdentifiers no Identifiers to preserve for JsObfu
JsObfuscate 0 no Number of times to obfuscate JavaScript
ListenerComm no The specific communication channel to use for this service
SSLCipher no String for SSL cipher spec - "DHE-RSA-AES256-SHA" or "ADH"
SSLCompression false no Enable SSL/TLS-level compression
SendRobots false no Return a robots.txt file if asked for one
URIHOST no Host to use in URI (useful for tunnels)
URIPORT no Port to use in URI (useful for tunnels)
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 gather/browser_info module can do:
msf6 auxiliary(gather/browser_info) > show actions
Auxiliary actions:
Name Description
---- -----------
WebServer A web server that collects information about the browser.
Evasion Options
Here is the full list of possible evasion options supported by the gather/browser_info auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(gather/browser_info) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
HTML::base64 none no Enable HTML obfuscation via an embeded base64 html object (IE not supported) (Accepted: none, plain, single_pad, double_pad, random_space_injection)
HTML::javascript::escape 0 no Enable HTML obfuscation via HTML escaping (number of iterations)
HTML::unicode none no Enable HTTP obfuscation via unicode (Accepted: none, utf-16le, utf-16be, utf-16be-marker, utf-32le, utf-32be)
HTTP::chunked false no Enable chunking of HTTP responses via "Transfer-Encoding: chunked"
HTTP::compression none no Enable compression of HTTP responses via content encoding (Accepted: none, gzip, deflate)
HTTP::header_folding false no Enable folding of HTTP headers
HTTP::junk_headers false no Enable insertion of random junk HTTP headers
HTTP::no_cache false no Disallow the browser to cache HTTP content
HTTP::server_name Apache yes Configures the Server header of all outgoing replies
TCP::max_send_size 0 no Maximum tcp segment size. (0 = disable)
TCP::send_delay 0 no Delays inserted before every send. (0 = disable)
Go back to menu.
Related Pull Requests
- #14213 Merged Pull Request: Add disclosure date rubocop linting rule - enforce iso8601 disclosure dates
- #13443 Merged Pull Request: Add descriptions to auxiliary modules Actions
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8695 Merged Pull Request: Fix #8675, Add Cache-Control header, also meta tag for BAP2
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6700 Merged Pull Request: Add aux module to gather browser information.
Go back to menu.
See Also
Check also the following modules related to this module:
- auxiliary/gather/browser_lanipleak
- auxiliary/server/browser_autopwn
- auxiliary/server/browser_autopwn2
- post/windows/gather/forensics/browser_history
- auxiliary/dos/windows/browser/ms09_065_eot_integer
- auxiliary/dos/android/android_stock_browser_iframe
- auxiliary/gather/android_browser_file_theft
- auxiliary/gather/android_browser_new_tab_cookie_theft
- auxiliary/gather/android_stock_browser_uxss
- auxiliary/gather/samsung_browser_sop_bypass
- auxiliary/gather/huawei_wifi_info
- auxiliary/gather/xymon_info
- auxiliary/scanner/afp/afp_server_info
- auxiliary/scanner/kademlia/server_info
- auxiliary/scanner/misc/ib_service_mgr_info
- auxiliary/scanner/printer/printer_version_info
- auxiliary/scanner/quake/server_info
- auxiliary/scanner/sap/sap_icf_public_info
- auxiliary/scanner/sap/sap_soap_rfc_system_info
- auxiliary/scanner/steam/server_info
- auxiliary/gather/hikvision_info_disclosure_cve_2017_7921
- auxiliary/gather/zookeeper_info_disclosure
- auxiliary/scanner/http/infovista_enum
- auxiliary/scanner/http/ntlm_info_enumeration
- auxiliary/scanner/http/wp_mobile_pack_info_disclosure
- auxiliary/scanner/sap/sap_router_info_request
- exploit/linux/http/dlink_dspw215_info_cgi_bof
- exploit/linux/misc/asus_infosvr_auth_bypass_exec
- exploit/multi/http/zpanel_information_disclosure_rce
- post/android/gather/sub_info
Authors
- sinn3r
Version
This page has been produced using Metasploit Framework version 6.2.29-dev. For more modules, visit the Metasploit Module Library.
Go back to menu.