Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make the feature 'Replace Task Manager' of Process Explorer?

Process Explorer has a nice feature Replace Task Manager

enter image description here

I just wondered how Mark Russinovich implements this.
What trick is used for implementing this?

like image 606
Benjamin Avatar asked Sep 14 '11 12:09

Benjamin


1 Answers

You can use ProcMon to find out how it's done...

To save you the bother, ProcExp is defined as the debugger of taskmgr.exe in Image File Execution Options on the registry. This means ProcExp is launched before taskmgr starts to run, no matter how taskmgr was launched. Then, ProcExp can easily close task manager and show itself.

like image 105
eran Avatar answered Oct 10 '22 06:10

eran