Edge goes high CPU when injected via user-mode
Posted: Thu Jan 11, 2018 11:47 pm
I have an issue at the moment, on some Windows 10 Fall Creators Update machines, where after our DLL is injected into Microsoft Edge it uses a really high amount of CPU (between 80-100%). This happens via the user-mode injection when Edge is already started and we start our product. If Edge starts later and the kernel injection kicks in, it does not have a problem.
The strange thing is that this behaviour does not happen on all similar systems, and looking at ProcMon Edge is in a loop access a set of registry keys. Where it normally accesses a few hundred registry values without our DLL injected, it is access the same 20 values millions of times a minute, which is where I think the CPU usage might be coming from.
The versions of our product's that I can reproduce this issue with, span back a number of MadCodeHook releases, so its nothing new.
Just wondering if anyone else has seen a similar issue?
The strange thing is that this behaviour does not happen on all similar systems, and looking at ProcMon Edge is in a loop access a set of registry keys. Where it normally accesses a few hundred registry values without our DLL injected, it is access the same 20 values millions of times a minute, which is where I think the CPU usage might be coming from.
The versions of our product's that I can reproduce this issue with, span back a number of MadCodeHook releases, so its nothing new.
Just wondering if anyone else has seen a similar issue?