Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

as you probably know the problem with SSL based DDoS attacks is, that the traffic cannot be analysed and filtered by a DDoS mitigation service provider such as Prolexic, Akamai, Radware, etc. without having the key to decrypt the traffic.

I recently spoke with on of the above mentioned companies employees (Lets say company A) and they said that the only way is to use one of their products, wich is located in your network and its purpose is to deliver content via ssl and send all traffic in plaintext to the defense solution (same company, also internal network) which then in turn gives the filtered "good traffic" to your internal webservers.

Other companies have the approach that you handout your ssl key to them, so they can decrypt and analyze your traffic and pass the clean traffic on to your servers.

Company A stated, that the later is a absolute nogo and that it shouldn't even be considered. Problem is, their solution can only filter as much traffic as your infrastructure and their appliance can handle while cloud solutions have much higher capacities.

So the question is, is there another way of mitigating SSL based DDoS attacks, is handing out your ssl key really that bad and why?

I know that there already was a question on "storing keys in the cloud - trusting the cloud provider vs. your own laptop, etc." so I'm sorry if some of this is a duplicate, but the answers there didn't really answer my question.

Hope you can help me with this

share|improve this question

3 Answers 3

up vote 2 down vote accepted

Let's clear up a couple of misconceptions:

  • DDoS mitigation partners cannot work unless they can decrypt traffic

Yes, they can - they just can't do it as well, as the content is not visible, so the solutions which work on traffic flow will still work.

  • Handing your key to a 3rd party is a bad thing

Not necessarily. In fact this is extremely common for large corporates - who typically have their infrastructure managed by 3rd parties anyway. What it does do is require that you replace some of your technical controls with contractual controls, and that you take greater oversight/audit responsibilities over the 3rd party.

Mitigation of the threat of the 3rd party misusing the key, or not protecting it is a straightforward one to assess and then provide a solution for.

share|improve this answer
    
could you explain how DDoS mitigation on encrypted traffic works - doesn't it all just look like rubbish? –  mohrphium Nov 13 '13 at 17:03
    
Traffic flow patterns, as I mentioned in the answer. Not content, which all looks like rubbish, as you say. –  Rory Alsop Nov 13 '13 at 19:38
    
Thanks about the info, I think I have to read up on flow patterns :) –  mohrphium Nov 14 '13 at 9:50

SSL DDoS Attacks should be divided into two -

  • Protocol misuse attacks - Such attacks exploit the protocol being used and can cause denial of service effect without completing the creation of secure connection (SSL in our case). A good example can be the THC-SSL-DOS which can be used to create repeating 'renegotiation' in the same connection, though never completing the creation of a secure channel.
    Protocol attacks, like the one mentioned above, do not require having keys. They can be mitigated with relatively simple protection measures as IPS signature, enforcement of server settings, or even dedicated DDoS appliances Pravail/Riorey/DefensePro/NSFocus/etc.

  • SSL Traffic Floods - Here I refer to data that is being passed over the created secure channel. Without further information, these magnificent mitigation devices cannot distinguish between valid connections to malicious connections. They cannot even issue web challenge in an attempt to try and assess source legitimacy. So you are either stuck with nothing or some rate-limit protection - prone to false actions.

So, what can be done - Some appliances can be fed with the certificates or be connected to another appliance from same family (DefensPro-Alteon / Pravail-VSS) - where the sister product opens the encryption, and ddos device does what it does and the flow is allowed to continue or is blocked. Radware can issue a challenge on the initial encrypted request (and only on it). Arbor can continuously inspect encrypted traffic, and block suspicious traffic (no challenge). As long as you keep these machines at your place, the risks are rather low.

Some cloud services offer you to give them your keys. Not very recommended practice. However, Prolexic lately published they can live with temp-short-lived keys to achieve the same. This might be a sufficient solution, considering all other limitations and restrictions when dealing with secured (encrypted) traffic.

And last - is it bad to provide your key? In a very basic manner - Your key is important to secure your communications. If someone has your key she can theoretically 'read' your communications, or impersonate to you while communicating with others. However, as someone answered before me, you can practice sharing or having copies of your keys at different places. Depends on your infrastructure, on who manages your network, etc. Above all it relates to TRUST. If you trust this 'born yesterday' DDoS protection in the cloud service - go a head, give them your keys :). There are companies that can be trusted and that put many efforts into complying with all regulatory requirements. It doesnt provide 100% insurance, but frankly, nothing does.

share|improve this answer

All the vendors are going to give you the same answer: you need to hand over your key to them either for a cloud-based security product, or for a box that they supply that sits in your network. Either way you cannot completely mitigate the threat that the have your keys.

The alternative is to mitigate the threats posed by individual attacks by:

  • Keeping your systems and applications up to date: many previously serious ddos attacks have been eliminated by OS and software updates
  • Modifying your configurations: you can often tweak OS and applications to be much more resilient
  • Offload SSL computations: there are several solutions in this area, often load balancers have crypto engines that can do the work

What you really need to do is perform (or have somebody perform) a threat analysis to find out your biggest concerns, then look for solutions to those. It may be a vendor solution is your best way forward, or you may be able to do just fine using tactical, zero or low cost solutions.

share|improve this answer
1  
Why should a provider have the SSL key if I use their appliance in my network? Assuming the appliance doesn't secretly phone home of course. –  mohrphium Nov 13 '13 at 13:33
1  
As you say @mohrphium, it could phone home. Given recent news it wouldn't surprise me if companies were collecting that data. They could encapsulate it in messages requesting software updates and you'd never know as it's all closed source. –  GdD Nov 13 '13 at 16:01
    
good point... thanks for the input :) –  mohrphium Nov 13 '13 at 17:03
    
Unfortunately I can't choose both your answers as "the answer". Thanks for your answer, especially the point of modifying configurations since I kinda tended to "outsource and don't think about it anymore". But of course we still have to take a look at our own configs. –  mohrphium Nov 14 '13 at 9:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.