module

Malicious Windows Script Host Script File (.wsf)

Disclosed
Jun 25, 1998
Created
Oct 7, 2025

Description

This module creates a Windows Script Host (WSH) Windows Script File (.wsf).

Author

Platform

Windows

Architectures

cmd

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/fileformat/windows_script_host_wsf
msf exploit(windows_script_host_wsf) > show targets
...targets...
msf exploit(windows_script_host_wsf) > set TARGET < target-id >
msf exploit(windows_script_host_wsf) > show options
...show and set options...
msf exploit(windows_script_host_wsf) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.