Git Product home page Git Product logo

apcinjector's Introduction

APCInjector

APCInjector is a Windows Kernel Driver written in C++ and supports Windows7-32bit.

The driver is waiting for a process to start loading when it does the driver tracks the dll loaded to the process and when ntdll.dll dll is loaded we want to insert the shellcode to the APC queue. After ntdll.dll dll is loaded the driver acquires the process thread, and inserts the injection shellcode to the APC queue that in turn will be executed in user-mode and inject the dll to the selected process.

I used this three sources for this project

Todos

  • Write a logic to receive the processes names and the dll path from the user via Registry, IOCTL.
  • Write code to handle edge cases.
  • Find why the process name acquired by PsGetProcessImageFileName function is limited to 15 characters.
  • Make all the hardcoded parts more dynamic - it has a direct relationship with the first two TO-DOs

License

MIT

disclaimer

I wrote this driver for study purposes only. I don't write drivers, and this is my (more or less), the first driver I ever wrote. Along the way, I deleted and added code so it is not my best work, but still, I think it can help the community.

Free Software, Hell Yeah!

apcinjector's People

Contributors

0r13lc0ch4v1 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.