Simple Loader

This project is the "Hello World" of Tradecraft Garden projects. It's a simple DLL loader created by refactoring Stephen Fewer's ReflectiveDLLInjection project.

Project Files

Notes

The loader.c file is the core logic of the project and a good starting place for writing other loaders.

loader.h is a lot of the common logic for parsing DLLs, resolving imports, and copying/seting up page permissions. Some common OPSEC moves (e.g., not copying over DLL headers, setting proper page permissions) will require modifying this file and pulling functionality into loader.c.

This loader walks the Export Address Table to resolve GetProcAddress and LoadLibrary functions. The functionality to do this is in resolve_eat.h.

License

This project is licensed under the GNU General Public License version 2 (GPLv2) or later..