How protect a .EXE againt Process Termination ?
-
Hi ! I want to make some kind of Process/application/EXE that cannot be terminated using the task manager. for the security purpose. Thank you Sunil Patel
Sunil123 wrote:
for the security purpose
I think you might want to rethink your security strategy.
Upcoming FREE developer events: * Developer Day Scotland Recent blog posts: * Follow up on hiring a software developer * The Value of Smaller Methods My website | blog
-
Hi ! I want to make some kind of Process/application/EXE that cannot be terminated using the task manager. for the security purpose. Thank you Sunil Patel
Sunil123 wrote:
I want to make some kind of Process/application/EXE that cannot be terminated using the task manager. for the security purpose.
Sounds to me like you are trying to create some sort of a virus. If not I agree with the previous reply, in that you should change your security strategy.
Pete Soheil DigiOz Multimedia http://www.digioz.com
-
Sunil123 wrote:
I want to make some kind of Process/application/EXE that cannot be terminated using the task manager. for the security purpose.
Sounds to me like you are trying to create some sort of a virus. If not I agree with the previous reply, in that you should change your security strategy.
Pete Soheil DigiOz Multimedia http://www.digioz.com
yes, it seems some what difficult. but i found that some system process that can not deleted using the taskmanager. when i try to do so it gives Unable to Terminate Process The operation could not be completed. The operation is not valid for this process. so I am looking for some what like this. Thank You.
-
Hi ! I want to make some kind of Process/application/EXE that cannot be terminated using the task manager. for the security purpose. Thank you Sunil Patel
There is generally no legitimate need to do this. There are some of the critical operating system processes that are protected like this but user processes shouldn't need to do this.
Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[Forum Guidelines] [Articles] [Blog]
-
yes, it seems some what difficult. but i found that some system process that can not deleted using the taskmanager. when i try to do so it gives Unable to Terminate Process The operation could not be completed. The operation is not valid for this process. so I am looking for some what like this. Thank You.
Sunil123 wrote:
but i found that some system process that can not deleted using the taskmana
That's because they're running either as part of the kernel or are running under the System account, which you cannot use yourself. There is no way to do what you're describing in a user-level application.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
Sunil123 wrote:
but i found that some system process that can not deleted using the taskmana
That's because they're running either as part of the kernel or are running under the System account, which you cannot use yourself. There is no way to do what you're describing in a user-level application.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
I have seen some other process that also can not be deleted using the taskmanager. like some anti virus program's process.
These applications have typically been allowed to modify the kernel that give them systemwide privileges. There was a whole furore when Vista was released because it prevented AV programs from doing precisely that.
Deja View - the feeling that you've seen this post before.
-
I have seen some other process that also can not be deleted using the taskmanager. like some anti virus program's process.
Yep. These are services that have been installed and allowed to run as part of the kernel. Users cannot stop system services. Also, you have never seen a USER LAUNCHED process with this ability.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007