Skip to content

C# code to run shellcode in a sneaky way

Notifications You must be signed in to change notification settings

slamj1/SneakyExec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSharp-Shellcode

I got inspired by @vysecurity and his FSharp Shell code (https://github.com/vysec/FSharp-Shellcode) to try and get it to 0 detections on virus total.

So I hacked together a few peices of code from:

tl;dr;

C# code to compile another C# code from string and run shellcode

Usage

Same as Vincents code: Replace with 32 bit shellcode if compiling as 32 bit, and 64 bit if compiling as 64 bit.

note: because this code compiles another program using the C# compiler, the new compiled binary will touch disk at a temp folder location so it might get detected by an AV

For educational purposes only!

About

C# code to run shellcode in a sneaky way

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%