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)
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_assemblymsf undefined(dotnet_assembly) > show actions ...actions...msf undefined(dotnet_assembly) > set ACTION < action-name >msf undefined(dotnet_assembly) > show options ...show and set options...msf undefined(dotnet_assembly) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub