I'm writing a BHO and I'd like to execute an external process. If the OS is vista or greater the user may be in protected mode, making my BHO running under a low integrity process.
The external process I'm trying to execute is listed in the IE's Elvation Policy list making it running under normal integrity.
I'd like to check if the process is currently running and create it once only if it's not. Problem is that I can't query a process with a higher integrity than mine when i use : HANDLE hProcess = OpenProcess(PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, dwPID); I'm able to open only the processes that have low integrity.
Is there any other way to query process names from a low integrity process?
Thanks!