Ethical Hacking: #10 Reverse TCP

by asokawotulo on 27/06/2019

Typically during a communication between a client and a server involves the client sending a request to the server and the server replying with a response. However, with a reverse TCP connection what happens is that you want to have the server send the client a request and the client will then give a response. This is done in order to bypass any of the firewalls that are in place if you’re using a forward connection.

As a result using a reverse TCP connection you are able to run commands that the target server will then execute. Unfortunately, the user that you are going to use will be limited to the user that will execute the reverse TCP connection.

Ex:

The reverse shell script was executed using the apache user and thus we have access as the apache user

asoka.watulo@binus.ac.id

Comments are closed.