wbenny / injdrv

proof-of-concept Windows Driver for injecting DLL into user-mode processes using APC
MIT License
1.11k stars 276 forks source link

Add protection to injection info list and kernel APC queue #19

Open 0xhido opened 4 years ago

0xhido commented 4 years ago

Fixes the issues raise at #13

I've created a FAST_MUTEX and lock it while interacting with InjInfoListHead and ApcRundownProtection which acquired before inserting new Kernel APC to the queue and released after it finished.