Skip to content

thec0nci3rge/PS_with_inline_csharp_compilation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

PowerShell - Inline C# compilation payload template

At the time of writing, the Havoc C2 Framwork is fairly new and still in a pre-release state. I was interested in testing 5pider's work - so I prepared a lab & exploited a fully patched Windows 11 client. In order to do so, I wanted to use the inline C# compilation capability of PowerShell, as I saw it recently in John Hammond's video.

The setup of Havoc and the payload preparation can be read in my blog post. The payload template code can be found here. Please don't use it for any malicious intent.

A video of this can be seen on YouTube

As always, any feedback is appreciated - thanks guys!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published