Giter VIP home page Giter VIP logo

dll-injection's Introduction

Dll-Injection

This program can injects DLL into running processes using thread hijacking. No remote thread is created, only existing thread is used for injection.

The injector injects shellcode into the target process, and then a running thread in the target process is hijacked to execute the injected code. The injected code calls the LoadLibrary function to load the DLL.

Usage: ZwInjector [PID] [DLL name]

Flow of injection

  1. Parse the DLL name and the target process ID from command line.

  2. Allocate buffer for the shellcode and DLL name.

  3. Copy the shellcode to the buffer.

  4. Copy the DLL name to the end of shellcode.

  5. Open the target process handle.

  6. Allocate memory in the target process.

  7. Find a running thread to hijack.

  8. Get the context of the target thread.

  9. Write the eip register to the shellcode.

  10. Write the address of LoadLibrary to the shellcode.

  11. Write the shellcode and DLL name to the target process.

  12. Hijack a running thread in the target process to execute the shellcode.

  13. The hijacked thread executes the shellcode. The shellcode calls the LoadLibrary function to load the DLL.

  14. The shellcode returns, and the thread continue to execute its own code.

FOR EDUCATIONAL ONLY USE WITH YOUR OWN RISK

Please Support My Ass on YouTube : https://www.youtube.com/channel/UC1Hu0kEfFYR1075s6WPr91w

Kesimpulannya ialah program ini dapat menginject Running Processes Menggunakan Thread Hijaccking, dan menggunakan Injector yang akan menginject shellcode ke Running Processes.

Created By Ardean Bima Saputra [Zwinject]

My Portofolio : astrobox.epizy.com

dll-injection's People

Contributors

ardeanx 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.