Giter VIP home page Giter VIP logo

dnll-injector's Introduction

Dynamic (Not) Linked Library Injector

Simplistic multipurpose dll injector utilizing Microsoft Detours.

dnll-injector is a console application for injecting dlls into 32/64-bit processes. It can create processes while injecting dlls into the import table or inject dlls into running processes.

How to use

Basics:

  1. Pass the path to the process's executable to dnll-injector.exe, be that via cmd or dragging and dropping.
  2. A file called dnll-injector-target.txt will be created, containing the path to the executable.
  3. The path inside the file is used for any further invocations of dnll-injector. It can be overriden by passing other executables.

Injecting into an existing process:

After the target path has been set (or is specified as an argument), any path to any dll passed to dnll-injector will be used to attempt an injection. Keep in mind 32 and 64-bit process and dll incompatibility. If multiple processes with the same name exist, you'll be prompted to choose one by its process id (PID).

Creating and injecting into a process:

If the target executable isn't currently running, dnll-injector will attempt to create a process with the input dlls. Note that the input dlls' entrypoint will be called, executing all of its code. Some dlls are not meant to be loaded this early. Follow the Microsoft guidelines for dllmain contents.

IMPORTANT:

To be able to create a process with injected dlls, all of them NEED TO EXPORT AT LEAST ONE FUNCTION. You can copy the following function into your dll:

__declspec(dllexport) void dummyExport() {}

The function contents do not matter as it will not be called, it is only used for the import table injection.

WARNING:

I AM NOT RESPONSIBLE FOR ANY POTENTIAL DAMAGES CAUSED BY THIS TOOL OR ITS MISUSE

dnll-injector's People

Contributors

dasaav-dsv avatar

Stargazers

 avatar

Watchers

 avatar

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.