HackingThings / SneakyExec

C# code to run shellcode in a sneaky way

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:C# 100.0%