Rapid7 Vulnerability & Exploit Database

HTA Web Server

Back to Search

HTA Web Server

Disclosed
10/06/2016
Created
05/30/2018

Description

This module hosts an HTML Application (HTA) that when opened will run a payload via Powershell. When a user navigates to the HTA file they will be prompted by IE twice before the payload is executed.

Author(s)

  • Spencer McIntyre

Platform

Windows

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/misc/hta_server
msf exploit(hta_server) > show targets
    ...targets...
msf exploit(hta_server) > set TARGET < target-id >
msf exploit(hta_server) > show options
    ...show and set options...
msf exploit(hta_server) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;