Giter Site home page Giter Site logo

dennisbabkin / injectall Goto Github PK

View Code? Open in Web Editor NEW
116.0 5.0 29.0 346 KB

Tutorial & a blog post that demonstrate how to code a Windows driver to inject a custom DLL into all running processes. I coded it from start to finish using C++ and x86/x64 Assembly language in Microsoft Visual Studio. The solution includes a kernel driver project, a DLL project and a C++ test console project.

Home Page: https://dennisbabkin.com/blog/?i=AAA10800

C++ 55.01% C 15.59% Assembly 29.40%
assembly-language cpp dll-injection kernel-driver low-level-programming visual-studio windows x86-64 x86-assembly

injectall's Introduction

InjectAll

Credit: I want to thank Rbmm for providing his code as the basis for this solution.


This is the source code for my video tutorial that demonstrates how to code a Windows driver to inject a custom DLL into all running processes. I coded it from start to finish using C++ and x86/x64 Assembly language in Microsoft Visual Studio. The solution includes a kernel driver project, a DLL project and a C++ test console project.

What is the purpose of this? There's no purpose. It's just a tutorial to show how to code it.

For more details please check my blog post.

Or watch the entire playlist on YouTube (about 16 hours long):

InjectAll - Coding Windows Driver To Inject DLL Into All Processes Using Visual Studio C++ & Assembly Language | Windows | Kernel | Win32 | x86 | x64

Build Instructions

To build this solution you will need Microsoft Visual Studio 2019, Community Edition with the following installed:

  • Desktop Development with C++ to build C++ projects.
  • Windows 10 SDK to build user-mode components.
  • Windows 10 Driver Kit to build kernel-mode driver.

Submit suggestions & bug reports here.

injectall's People

Contributors

dennisbabkin 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

injectall's Issues

Failed to allocate memory

//Alloc memory
DLL_STATS* pDStats = (DLL_STATS*)ExAllocatePool2(ALLOC_TYPE_OnLoadImage, sizeof(DLL_STATS), TAG('kDSm'));

Since ExAllocatePoolWithTag is deprecated, i use ExAllocatePool2 now, but it failed to allocate memory.

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.