Solved

Proxy and Tunneling

Posted on 2014-04-01
3
251 Views
Last Modified: 2014-04-01
I assume the following is true:

I would be ill advised to tunnel (as in SSL) at the application level, but proxy in the DMZ

... because if you tunnel at the app level, as the packets leave the app to the DMZ where the proxy is, the proxy can not truly collect the packets into a message, and based upon the content of that message make decisions, like blocking IP's  from going to certain destinations, or in the case of incoming messages, blocking IP's from coming in.

Therefore you either want to proxy and tunnel at the DMZ level, or proxy and tunnel at the app level, but not proxy at the DMZ, and tunnel at the app level

Is this correct?
0
Comment
Question by:Anthony Lucia
  • 2
3 Comments
 
LVL 38

Expert Comment

by:Rich Rumble
ID: 39970034
You seem to be very interested in proxies and DMZ's... I think your definition of DMZ may be incorrect however. The DMZ is an isolated Network, not a layer in the TCP/IP or OSI stacks, like Application, Link, and Transport etc...
Let's put it this way, a http proxy that scans the traffic for malicious content cannot scan httpS connections, UNLESS the proxy injects it's own SSL certificate between the Client and itself. Effectively the proxy is translating between the two, the end website and the client.
SSL traffic operates at two different layers of the two standard stacks
The SSL/TLS library operates above the transport layer (uses TCP) but below application protocols. In the OSI model it's at layer 6 (presentation).
In both however you can fully view/read the IP information so decisions can still be based on DNS or IP addresses, but not the content unless that content is intercepted and then passed on.
-rich
0
 

Author Comment

by:Anthony Lucia
ID: 39970109
OK, a proxy cant filter out content unless it scans the data.

So why would a proxy NOT scan the data.  IF it doesn't scan the data, wouldn't you simply replace it with port forwarding ?
0
 
LVL 38

Accepted Solution

by:
Rich Rumble earned 500 total points
ID: 39970152
If the content is encrypted, it looks like jibberish. So to get a http proxy to scan httpS secured traffic, the PC has to trust the SSL cert the Proxy uses, and that way the data between the host and the proxy is encrypted, and the proxy can decrypt that traffic, then the proxy makes a connection to where the PC wanted to go, and now the proxy and Gmail (for example) can talk in a way that the proxy can inspect. Think of the proxy as a man in the middle.
The proxy can see IP data not matter what, even if it's not reading the content, the IP is not encrypted otherwise it would not get where it's going. You can make decisions based on IP data, and or DNS data, but unless you can decrypt and look at the contents, you can't really make decisions on content.
An AV-Proxy is like the TSA or Airport screener, using an x-ray machine to look at the contents of your luggage. based on what is seen, actions can be taken. In the case of SSL, it's like putting a lead safe on the belt, if you don't open it for the screener, they will never know what's in it. Trusting the cert from a proxy is like giving the screener a skeleton key that will open any safe that is put on the belt.
-rich
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Article by: btan
Provide an easy one stop to quickly get the relevant information on common asked question on Ransomware in Expert Exchange.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now