question

testtest-7970 avatar image
0 Votes"
testtest-7970 asked

AppCertDLLs does not work in GUI apps, why?

Hi, I was trying to automatically inject a dll to every process (including GUI) whenever it is started by a user . My DLL hooks DoDragDrop method of winapi and communicates with server to decide allow or disallow the drag & drop process. I use easyhook (particularly this tutorial for hooking part. I created a gist for my code : Gist


In this url it says: Doesn’t work reliably against GUI applications. Stick to console apps. No wonder it didn't work in microsoft edge, and chrome.
I also tried code parts in these urls:
first
second
Finally , I already certificated my dll.

Is there any other way apart from appcertdlls? Thank you in advance.

Edit: I can't use appinitdlls, some users might have secure boot enabled.

Edit2: Seems like dlls in some tutorials is under system32 this, and this , and I moved mine under system32 too, but it did not
work.


windows-api
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers