Skip to content

arsium/ShellCodeLoaderDlang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

ShellCodeLoaderDlang

A class to load shellcode in memory written in D.

How does it work ?

It uses NTApi to load and call the shellcode if loaded. For demo, I use a simple csharp app displaying a messagebox converted in shellcode with https://github.com/TheWover/donut.

How to use it ?

Just instance a new class like :

Loader l = new Loader(your_shellcode_array);
l.Load();

and then call your shellcode :

l.CallFromAThread();//or l.Call

Functions Added :

  • NtAllocateVirtualMemory
  • NtWriteVirtualMemory
  • NtProtectVirtualMemory
  • GetCurrentProcess

What is the difference between 'Call' and 'CallFromAthread' ?

  • 'Call' :
    Image description

  • 'CallFromAthread' :
    Image description

Sources :

About

A class to load shellcode in memory written in D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages