Hello Everybody,

This is my first post to daniweb.
i am a c# programmer and working on a spy killer project all alone.

I have developed the code for finding spy ware, adware mallicious code in the system registry, drive, memory process currently executing.

But i don't have any idea how to detect if a process is running as hidden process in the system( not even displayed in the task manager). I m preety much stuck here.

I want to find out how, if an process is hidden(say abc.exe), if it is hidden then how to display it in the task manager process/application list. Kill the process.

I have tried to figure it out bt no luck.

I would appreciate if you could help me in the same.

You can try the following :

System.Diagnostics.Process pr = new System.Diagnostics.Process();
bool isRunning = pr.HasExited;

i have already tried the process class.
but it cannot check a hidden process status,

i have some idea abt it, A process is hidden by manipulating the process list at the kenel level and a user space process can't detect if so.

But, Thanks anyway. :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.