Sometimes it is useful to connect from distance to your computer. for example your home computer is on Windows, you leave it turned on 24 hours.
During the day at work, you need to start a download or retrieve a document. You connect from distance to your machine and you open a console as if you were in front of your PC! All you've got to do in a console, you can do it remotely from any machine in the monde. Here we will see how to access your PC from distance from any machine using Netcat.
Netcat what is it?
Netcat is a utility to open network connections, either UDP or TCP. There are several operating and is used on the command line systems.
It can be used to determine the status of the ports in the way of a port scan. But the flexibility of this tool allows more exotic uses: file transfers, backdoor, basic proxy server, or instant messaging.
Steps
So first we will create a backdoor, a remote access to a host machine, for it begins by downloading Netcat for Windows. then unzips Netcat in the% SYSTEMROOT% / System32 then run netcat. In the console, type the following command:
nc -L -d -e cmd.exe -p 8800
nc tells windows to nc.exe run with the following arguments
-d tells netcat to not read from standard input.
-L Tells netcat to not close and wait for connections
-e indicates a netcat the program to run (cmd.exe)
-p specifies the port to use (here, port 8800 is chosen but you can choose another)
After running this command you can from any computer connect to the remote station with a single command:
telnet *. *. *. * 8800
*. *. *. * Is the IP address of the remote machine that you need to replace.
And now, you're home! You can do whatever you want: read your files, write files, run a search, run a program, in short you are home. :)
To disconnect, type "logout".
Warning Netcat arrettera turning as soon as the host machine is turned off, and only works if the user types the still netcat command.
To improve our backdor, we will programming the launch of a netcat each time the computer starts,
For this, we will create a service, which is a program running in the background invisibly.
Open the Windows management console (Start, Run and type cmd) and enter the following command:
sc create netcat binPath= c:\system32\netcat.exe start= auto
That's it, now you can connect from distance to your machine at the opening of windows session.
Remember that the best support for this blog is to love and share our articles!
For more news, thank you for subscribe to the blog newsletter to its RSS feed. Please also have a look at Twitter, Google+ or Facebook for other news.
ConversionConversion EmoticonEmoticon