Sinisterly
Tutorial Protect Process - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework)
+--- Thread: Tutorial Protect Process (/Thread-Tutorial-Protect-Process)

Pages: 1 2 3


Protect Process - Madara-Uchiha - 07-19-2013

Hey,

I am looking for a snippet which preotects my process, like when trying to kill it in the taskmanager, I like to get the message:

"Access denied, unable to terminate process".
It should not cause a BSOD.
All other snippets I tried before causes a BSOD.
Anyone have an idea? :o


RE: Protect Process - Love - 07-19-2013

Hope you find your answer, I use a Mac so I have no idea.


RE: Protect Process - Anizeb - 07-19-2013

I'm not entirely sure you can just prevent a process from being closed.
But invasive programs usually have a main program that hides away, disguised as another program, and reopens the program itself should it be closed.

Perhaps do some research from there?


RE: Protect Process - Electroalek - 07-19-2013

There is a huge problem with that. That is highly unprofessional(that's what some people say). Try to kill your antiviruses process and respond.


RE: Protect Process - Eternity - 07-19-2013

Like God says the method he describes work as a charm as long as you time it correctly.


RE: Protect Process - Shebang - 07-19-2013

I mean, it's probably not the best way, but you could always just restart the program in the FormClosing() event.


RE: Protect Process - Platinum - 07-20-2013

You could do it with a traditional CMD command while you've taken full ownership or all the files needed. I'm sure most anti-virus programs are going to stop you, might look into the security of TuneUp? Their processes are protected and there's only 1 way to terminate their processes, which I know :>.


RE: Protect Process - Madara-Uchiha - 07-20-2013

That works when I am closing it with red cross on the form, but when trying to kill it via Taskmanager it does not reopen.


RE: Protect Process - Platinum - 07-24-2013

Might take a look into this (I do not take credit for it)
http://visualstudiovb.net/how-to-add-protection-to-your-vb-net-application-using-hwid-tutorial-with-source/


RE: Protect Process - Madara-Uchiha - 07-24-2013

This site is Survey protected. Pls give me a direct link.