reDuh - TCP Redirection over HTTP

What Does reDuh Do?
reDuh is actually a tool that can be used to create a TCP circuit through validly formed HTTP requests.
Essentially this means that if we can upload a JSP/PHP/ASP page on a server, we can connect to hosts behind that server trivially

What is it for?
a) Bob.Hacker has the ability to upload / create a JSP page on the remote server
b) Bob.Hacker wishes to make an RDP connection to the server term-serv.victim.com (visible to the web-server behind the firewall)
c) The firewall permits HTTP traffic to the webserver but denies everything else
d) Bob.Hacker uploads reDuh.jsp to http://ubuntoo.victim.com/uploads/reDuh.jsp
e) Bob.Hacker runs reDuhClient on his machine and points it to the page: $ java reDuhClient ubuntoo.victim.com 80 /uploads/reDuh.jsp
f) Bob.Hacker administers reDuhClient by connecting to its management port (1010 by default)
g) Once connected, Bob.Hacker types: [createTunnel]1234:term-serv.victim.com:3389
h) Now Bob.Hacker launches his RDP client, and aims it at localhost:1234
reDuhClient and reDuh.jsp will happily shunt TCP until they are killed..

The system can handle multiple connections, so while RDP is running, we can use the management connection (on port 1010) again, and request [createTunnel]5555:sshd.victim.com:22
Bob.Hacker can now ssh to localhost on port 5555 to access the sshd on sshd.victim.com (while still running his RDP session)
You can download reDuh here:
Download reDuhClient (the local proxy)
Download reDuhu Server Pages (JSP/PHP/ASP)

Article written by AUTHOR_NAME

WRITE_ABOUT_YOURSELF