xxxxxyyyy / Nim-RunPE

A Nim implementation of reflective PE-Loading from memory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nim-RunPE

A Nim implementation of reflective PE-Loading from memory. The base for this code was taken from RunPE-In-Memory - which I ported to Nim.

The technique itself it pretty old, but I didn't find a Nim implementation yet. So this has changed now. :)

alt text

If you plan to load e.g. Mimikatz with this technique - make sure to compile a version from source on your own, as the release binaries don't accept arguments after being loaded reflectively by this loader. Why? I really don't know it's strange but a fact. If you compile on your own it will still work:

alt text

My private Packer will also get weaponized with this technique - but all Win32 functions will be replaced with Syscalls there which will make the technique stealthier + signature changes of course.

About

A Nim implementation of reflective PE-Loading from memory

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Nim 100.0%