Code Monkey home page Code Monkey logo

runpe-in-memory's Introduction

RunPE-In-Memory

Run 32bit/64bit copy of Exe File in memory like an Application Loader.

usage: peLoader("path/to/exe/file", "arg1, arg2, arg3, ...")

Video Demo

See Demo On Youtube.

runpe-in-memory's People

Contributors

aaaddress1 avatar lz1y avatar ph4ntonn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

runpe-in-memory's Issues

Memory issue. Runs 80% of the time then a memory problem happens.

Thank you very much for your work. I'm having a memory issue. Whenever I run my program, 80% of the runs work. The other 20% I received an error message.

I think this is a memory issue. Anyone have advice so I can get this fixed? Thanks

Application unable to start correctly. (0xc00000005)

dont work on some exe

exe produced by visual studio has sections : .text .rdata .data .pdata .reloc successfully loaded without error

but exe has : .tls section or exe that has custom name section, your run pe is aborted, exit quiet and error.
but upx was successfully load exe that has .tls or custom section name.

i was setup tls callback to call tls function before load exe entrypoint, but result is still name, an error occured

an error occurend (none notification), just exit (aborted) silently

do you have an idea

Pass Another Process as Argument

I could not understand that how to pass another process as argument ( To which Payload process will replace )

Forexample
peLoader( OriginalexePath , PayloadexePath)

Could you please help me in understanding the same?

the main process exits unexpectedly

Hello, this is a awesome project. I find a problem when I load the 32bit.exe test file, it works, however when the 32bit.exe ends normally, the main process exits too, is it possible to create a new process to load the pe file? Or any ways to let the main process continue to execute?

Does not handle certain files (notepad.exe) due to Forwarded functions/GOT/PLT?

Certain programs will not load (eg. crash).
However, what is interesting is if you use the address returned from LoadLibraryA("...notepad.exe"), and then treat that memory as the file you mapped (or fopen/read in, whatever), it works.

Many PE loaders have this issue... LoadLibrary is doing some kind of fixup-magic .

String Iterators in range are from different containers

Issue Description

  1. Configuration : Debug / x86

  2. Argument Passed:
    RunPEinMemory.cpp
    peLoader("C:\\Windows\\System32\\notepad.exe",L"C:\\Windows\\System32\\notepad.exe");

  3. Output
    Console_Output.txt

  4. Error Image:

Capture

  1. Line of Failing:
    fixIAT.hpp : masqueradeCmdline
    auto b = string(wstring(sz_masqCmd_ArgvWidh[i]).begin(), wstring(sz_masqCmd_ArgvWidh[i]).end());

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.