Private Sub NoClose(sender As Object, e As FormClosingEventArgs) Handles MyBase.FormClosing
e.cancel = true
End Sub
Can still be ended with Process.Kill() or through the task manager. Without resorting to DKOM and drivers there's no real way to do this that I know of.
Originally Posted by Jason
Can still be ended with Process.Kill() or through the task manager. Without resorting to DKOM and drivers there's no real way to do this that I know of.
True. This at least stops it from trying to close through the program
Originally Posted by Jason
Can still be ended with Process.Kill() or through the task manager. Without resorting to DKOM and drivers there's no real way to do this that I know of.
This might work. Not sure tho
Code:
If e.CloseReason = CloseReason.TaskManagerClosing Then
e.cancel = true
end if
wait nvm.. it wouldn't
set up a background thread on an infinite while loop that taskkills "taskmgr.exe" and "cmd.exe" if it sees them and then sleeps 50 ms's and checks again.
Originally Posted by LilGho$t
set up a background thread on an infinite while loop that taskkills "taskmgr.exe" and "cmd.exe" if it sees them and then sleeps 50 ms's and checks again.
Except when someone has custom task manager tools
It sounds to me like OP is looking for a VB.net rootkit. Sorry to burst your bubble, but you're not going to get far.
cant understand the thread
Originally Posted by -Hero-
cant understand the thread
Don't post then, simple stuff.
Originally Posted by DawgiiStylz
Except when someone has custom task manager tools
Ehh, i'm assuming most people don't
Well, you could add a loop to kill task manager and CMD. Can disable closing through the program too, but there are a few ways to get around this, like custom task tools.
Originally Posted by LilGho$t
Ehh, i'm assuming most people don't
If I had a process running that was killing cmd.exe and tskmngr.exe you can be damn sure I would.
Originally Posted by Jason
If I had a process running that was killing cmd.exe and tskmngr.exe you can be damn sure I would.
well no shit, but if the person is dumb enough to download and run this, we can assume their too dumb to have their own task manager.
Originally Posted by Rainbowdash
Well, you could add a loop to kill task manager and CMD. Can disable closing through the program too, but there are a few ways to get around this, like custom task tools.
I'm so fucking glad you can read everyone's posts and repeat it all in 1 post. Thank you for restating everything and gaining 1 more post count while not helping the conversation at all.
Well, if you feel like scanning the processes of the computer for processes started by "Administrator" you could close *some* custom Task Managers that require Administrator rights/Started as Administrator.