Hi, I've protected a usermode process using ObRegisterCallbacks and I strip all the handles to prevent dll injection from usermode and it works fine if I load my driver after the process is started but if I load my driver first and then start the process it won't start because it's stripping the handles.
So my question is how would one filter out all other processes but the host process itself and only deny opening handles to other processes ?
So my question is how would one filter out all other processes but the host process itself and only deny opening handles to other processes ?