module

Regsvr32.exe (.sct) Application Whitelisting Bypass Server

Disclosed
2016-04-19
Created
2018-05-30

Description

This module simplifies the Regsvr32.exe Application Whitelisting Bypass technique.
The module creates a web server that hosts an .sct file. When the user types the provided regsvr32
command on a system, regsvr32 will request the .sct file and then execute the included PowerShell command.
This command then downloads and executes the specified payload (similar to the web_delivery module with PSH).
Both web requests (i.e., the .sct file and PowerShell download and execute) can occur on the same port.

Authors

Casey Smith
Trenton Ivey

Platform

Windows

Architectures

x86, x64

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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.