Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 49 guests and 1 member online
 
Advertisement

You are here: Home arrow Resourcesarrow Toolsarrow Tunneling Alternatives
EH-Net
May 24, 2013, 02:08:46 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Tunneling Alternatives  (Read 2379 times)
0 Members and 1 Guest are viewing this topic.
sil
Hero Member
*****
Offline Offline

Posts: 549



View Profile WWW
« on: November 08, 2010, 08:08:06 PM »

Alright, so I read T_Bone's thread on stunnel and for a moment I was about to respond to a completely different topic because of the word stunnel. With that said, I decided to just fork a new thread on tunneling. Or rather, alternative methods to tunnel. This isn't anything new per-se more of a reminder slash refresher slash "oh yea I remember now!" slash "wth is this I've never seen it before."

Quote
tunnel: 1. (Engineering / Civil Engineering) (tr) to make or force (a way) through or under (something) to tunnel a hole in the wall to tunnel the cliff

In our case, we'll reshape this definition to: "To make or face a way through a network under the radar" AKA, covert tunneling. (http://www.google.com/search?q=covert+tunnel)

Why and when do you need tunnels all depends on what it is you're trying to accomplish. In the case of T_Bone's post, he solely needed a method to fingerprint a webserver. Personally, I would have just visited the site using a proxy which to an extent is a tunnel via way of a proxy. This is because my information is under the radar. The Proxy's information is visible not mine. While stunnel is popular, in fact tunneling through ssh and ssl is rather popular it also is outdated and detectable in ginormous enterprise networks (ginormous is actually a word you know: http://www.merriam-webster.com/dictionary/ginormous). Most firewalls can detect SSL tunneling before it leaves therefore when in an engagement on large networks, what alternatives can you think of? Here are three to play with with my personal favorite being ICMP tunnels. Who doesn't allow ICMP on the OUTBOUND connection? What about DNS queries. Anyhow, here are three alternative programs to play with if you haven't seen or heard of them.

http://gray-world.net/pr_msnshell.shtml
http://www.dnstunnel.de/
http://www.cs.uit.no/~daniels/PingTunnel/
Logged

H1t M0nk3y
Hero Member
*****
Offline Offline

Posts: 865



View Profile
« Reply #1 on: November 09, 2010, 07:00:35 AM »

Sil, I am in the category "oh yeah I remember now!".

I have studied them for CEH last year, but I have never used them (only SSH tunnel...).

These techniques are indeed very interesting!
Logged

OSCP, GPEN, GWAPT, GSEC, CEH, CISSP
sil
Hero Member
*****
Offline Offline

Posts: 549



View Profile WWW
« Reply #2 on: November 09, 2010, 07:34:24 AM »

ssl tunneling is old hat. Because firewalls are capable of intercepting, checking and modifying ssl tunnels, chances are you could end up with zero route out. This is where something like an ICMP tunnel would come in handy, but again, think like an admin. For example, if you're tasked with defending/analyzing network/security information, an ICMP tunnel would be easily noticed as well (just less likely). This is because as an admin/engineer, if you started seeing megs or gigs of ICMP traffic, you'd want to know what's going on...

For this, you rate limit the amount of ICMP traffic you're sending OUT your tunnel. E.g., go old school and make your tunnel send out say 64k of traffic every N amount of seconds. Solely enough to get you what is NECESSARY. Not what you *what*.

Remember, in a pentest situation, your goal is to provide "proof" not come around and say: "I exfiltrated your entire infrastructure over ICMP!" Defeats the purpose. If you can accomplish it and repeat it, there is no need to go overboard. E.g., an ICMP tunnel sporadically pulling an internally visible webpage/document suffices for proof of concept/accomplishment.

Same goes for DNS tunneling. The issue with DNS tunneling is, if your network is using internal DNS servers, you'd be hit as external lookups are likely disabled. Your tunnel goes nowhere.
Logged

T_Bone
Full Member
***
Offline Offline

Posts: 199


View Profile
« Reply #3 on: November 09, 2010, 09:09:09 AM »

@Sil

I think I am going to write a proposal detailing why you should consider having an apprentice based in the uk Smiley
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.075 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.