Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
dotNetPELoader — A C# PE loader for x64 and x86 PE files. | Kitploit
Tools/GitHubGitHub/iss4cf0ng/dotnetpeloader
ExploitationPenetration TestingBinary AnalysisRed TeamingPayload Development
GitHubiss4cf0ng/dotnetpeloader

dotNetPELoader

A C# PE loader for x64 and x86 PE files.

View Repository
57526 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Website
Share

dotNetPELoader

status language license release

Security Notice

Recently, I discovered an unofficial modified version of this project being redistributed outside of this repository.

After reviewing the files, I identified additional hidden components and script-loading behavior that do NOT exist in the official source code.

Please be aware:

  • The unofficial distribution includes extra executable and script-loading elements that are NOT part of the original source code.
  • The official releases of this project are published ONLY in this repository.
  • Official releases do NOT contain additional batch files, hidden loaders, or embedded script components.

I am not affiliated with any third-party redistribution of this project.

For safety reasons:

  • If you encounter repackaged builds containing unexpected executables or loaders, do not run them.
  • Only download releases directly from this repository.
  • Review the source code before building whenever possible.

PoC for analysis: https://iss4cf0ng.github.io/2026/02/24/2026-2-24-UnofficialRedistribution/

Download Tool

Introduction

A C# PE loader for x64 and x86 PE files.

Recently, when I was developing a fileless execution method for DuplexSpy RAT version 2, I could hardly find a C#-based x86 PE loader.
Most existing implementations I found were x64-only, such as the one developed by Casey Smith . Therefore, I decided to develop a C#-based x86 PE loader myself.

This console application allows you to load either x86 or x64 PE files into memory. First, it reads the file bytes from the specified file path, then determines the architecture of both the loader and the target PE file.

An x64 PE cannot be loaded by an x86 loader, and vice versa.

Features

  • Load x86 PE in x86 process
  • Load x64 PE in x64 process
  • Handles relocation and import resolving
  • Fully written in C#

If you find this project useful, a ⭐ would be appreciated.

Usage

root@kitploit:~
dotNetPELoader.exe --x64 x64_file.exe
dotNetPELoader.exe --x86 x86_file.exe
dotNetPELoader.exe --coffee

Demonstration

x64 - mimikatz

If you try to load an x86 PE while the loader is an x64 loader, an exception will be thrown:

root@kitploit:~
dotNetPELoader.exe --x64 mimikatz

x86 - mimikatz

root@kitploit:~
dotNetPELoader.exe --x86 mimikatz