I'm wanting implement a protection to my driver that block any attempt of change settings, like for example Microsoft Windows Defender do. Also found a security software of a Brazilian bank that have a NDIS 6 network driver called "wsddntf.sys" that also have this protection, but this last, in my tests on Windows 7 i can change these settings successfully, already on Windows 10 my attempt was unsuccessfully because of this protection (similar to Microsoft Windows Defender on previous link, that like can be see image, is easy note that also is runnig on Windows 10).
Then, how i also can achieve this? Is some new Windows kernel api available on from Windows 10 that i don't know for example? also if exist this implementation, could show me a code example please?
Thank's in advance!