module

Execute .NET Assembly

Disclosed
N/A
Created
2020-04-14

Description

This module executes a .NET assembly in memory. It
reflectively loads a dll that will host CLR, then it copies
the assembly to be executed into memory. Credits for AMSI
bypass to Rastamouse (@_RastaMouse)

Author

b4rtik

Platform

Windows

Architectures

x64, x86

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 post/windows/manage/execute_dotnet_assembly
msf post(execute_dotnet_assembly) > show actions
...actions...
msf post(execute_dotnet_assembly) > set ACTION < action-name >
msf post(execute_dotnet_assembly) > show options
...show and set options...
msf post(execute_dotnet_assembly) > run

Title
NEW

Explore Exposure Command

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