Current location: Hot Scripts Forums » Programming Languages » Visual Basic » hide process


hide process

Closed Thread
  #1 (permalink)  
Old 03-20-05, 10:34 AM
mike_wilson mike_wilson is offline
Newbie Coder
 
Join Date: Mar 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
hide process

Is it possible to hide a a process from the process list so process scanners cannot find it? I have seen some programs mask the names like rename the process to explorer to hide it.
  #2 (permalink)  
Old 03-20-05, 11:53 AM
koncept
Guest
 
Posts: n/a
yes it is possible, some will question what the use of this is, since i have been there before....

Code:
Private Declare Function RegisterServiceProcess Lib _
	"kernel32.dll" (ByVal dwProcessId As Long, _
	 ByVal dwType As Long) As Long
	 ''
	 '
	 ''The GetCurrentProcessId function returns the process identifier of the calling process.
Private Declare Function GetCurrentProcessId Lib _
   "kernel32.dll" () As Long
 
	RegisterServiceProcess GetCurrentProcessId, 0
	App.TaskVisible = False
that should do it
  #3 (permalink)  
Old 03-20-05, 12:42 PM
mike_wilson mike_wilson is offline
Newbie Coder
 
Join Date: Mar 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
RegisterServiceProcess API is not available on NT based operating systems, error: Cant find Dll entry point.
  #4 (permalink)  
Old 03-20-05, 01:03 PM
mike_wilson mike_wilson is offline
Newbie Coder
 
Join Date: Mar 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
yes there is a way to do it with RegisterServiceProcess API but this only works on 9x as you stated and the following error on NT based: Cant find Dll entry point.

My friend is testing a process scanner to check what programs are running and he said if anything is run it will be picked up, I said if the process is hidden then it wont be found by his scanner which is what im trying to do.

I got some code which will hide the process and rename them to different process names such as explorer etc, I have being trying to change this so it will hide an external exe, Ive attached it if anyone wants a look.

thx for any help
mike
Attached Files
File Type: zip icanhide.zip (6.2 KB, 3111 views)
Closed Thread

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Process Control Data on the Web stardog589 ASP.NET 0 01-20-05 02:45 PM
Hide menubar of current page studenteye JavaScript 1 10-15-04 08:56 AM
is there any script which can hide a column vk123 JavaScript 1 08-30-04 11:11 PM
Need to hide web address in Java PopUp JAllard15 JavaScript 4 12-24-03 05:05 PM
kill process script. Krolo PHP 5 08-07-03 02:46 PM


All times are GMT -5. The time now is 01:14 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.