Computing.Net > Forums > Programming > Launch secure process

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Launch secure process

Reply to Message Icon

Name: xscript
Date: November 21, 2005 at 03:48:56 Pacific
OS: Windows XP
CPU/Ram: NA
Comment:

Hi,

I am using VB6 to write an application that needs to be deployed on a number of PC's.

I need to find a way to ensure that the process is launched securely so that it cannot be deleted by the user using the task manager.

At the moment, the process is launched by the current user.

My first solution was to call the process csrss.exe (a genuine system process), so that when a user tries to end the process through task manager the O/S reports that it cannot close it because it is a critical process. However, the virus guards running on the PC's detect the process name as a virus, so I need to find another way of securely running the process.

How do you create a program that will run as a system process, or launched by the 'system' user? Or is there another way to securely run a process that cannot be deleted by the current user.

ps: The users that should not be able to delete the process have only 'user' rights, it is fine for administrators to delete it if they want to.

Many Thanks

Xscript



Sponsored Link
Ads by Google

Response Number 1
Name: xscript
Date: November 21, 2005 at 14:51:19 Pacific
Reply:

Has anyone got any ideas?

Is it possible to launch a program as the system account or that cannot be deleted by users with just 'user' rights?

Any help appreciated,

Xscript



0

Response Number 2
Name: Dr. Nick
Date: November 21, 2005 at 16:11:38 Pacific
Reply:

It sounds like you know what you need to do. The end goal should be to create the process under the SYSTEM account so that even members of the Administrator group do not have rights to kill it via Task Manager.

One way would be to make the process a service. I'm not very familiar with how to do this in Visual Basic, but if you can get it done then it's easy to make it run in the SYSTEM context.

You've said you're using VB, but you might get some ideas from C++. Look here for some possible ideas if you don't want to use a service.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Launch secure process

Pipeline and IO buffer problem ... www.computing.net/answers/programming/pipeline-and-io-buffer-problem-/6956.html

running .exe file by C# www.computing.net/answers/programming/running-exe-file-by-c/12335.html

VBScript to launch a secure website login www.computing.net/answers/programming/vbscript-to-launch-a-secure-website-login/20230.html