Do you really want “bank grade” security in your SSL? Danish edition06 May 2015
I recently saw an article on /r/programming called Do you really want “bank grade” security in your SSL? Here’s how Aussie banks fare. The author used the Qualys SSL Labs test to determine how good Aussie banks’ SSL implementations really are. I thought the article was great, and gave good, actionable feedback. At the time of writing this two of the banks listed have already improved their SSL scores.
It got me thinking: how well (or badly) do banks in Denmark fare? We put our trust - and our money - in these banks, but do they really deserve it? The banks I’ll be testing come from the list of systemically important banks, more commonly known as “Too big to fail.” The list consists of:
- Danske Bank
- Jyske Bank
- DLR Kredit
The Qualys SSL Labs test gives an overall grade, from A to F, but also points out any pressing issues with the SSL configuration. To score well a site must:
- Disable SSL 3 protocol support as it is obselete and insecure
- Support TLS 1.2 as it is the current best protocol
- Have no SHA1 certificates (excluding the root certificate) in the chain as modern browsers will show the site as insecure
- Disable the RC4 cipher as it is a weak cipher
- Support forward secrecy to prevent a compromise of a secure key affecting the confidentiality of past conversations
- Mitigate POODLE attacks, to prevent attackers downgrading secure connections to insecure connections
To make this as realistic as possible, I’ll be testing the login pages.
So I’ve got my list of sites, and my test all sorted. Let’s dive right in!
|Bank||Grade||SSL 3||TLS 1.2||SHA1||RC4||Forward Secrecy||POODLE|
1Nordea’s SSL certificate is SHA256, but they use an SHA1 intermediate certificate
2DLR receives a C overall, as only its SSL implementations are vulnerable to POODLE, but not its TLS implementation
3Nykredit would pass, but they provide an unnecessary certificate which is signed using SHA1
Only one bank, Danske Bank, managed to get an A (though it is an A-). This is mostly due to the lack of forward secrecy support. If they fix this they can increase their rating to an A. They are also the only bank to enable TLS 1.2 support, and disable the RC4 cipher.
Nordea comes in second, managing a B, with some very odd results. They only support the TLS 1.0 protocol, but the list of server preferred cipher suites starts with RC4 (which is insecure). The server also sent a certificate chain with an MD2 certificate in it!
DLR Kredit achieves a C, despite the fact they are vulnerable to POODLE, because only their SSL 3 implementation is vulnerable. Their certificate is signed using SHA1, but stranger still their server didn’t send any intermediate certificates. DLR Kredit is also the only bank which is vulnerable to the CRIME attack. This allows an attacker to read secure cookies sent by the server. Disabling TLS compression is all that is required to mitigate this.
Jyske Bank and Sydbank appear to use the same server configuration as their results are equally bad. They both have disabled SSL 3, and have a complete certificate chain signed using SHA256, but fail on all other tests. In addition, both banks are intolerant to TLS versions, meaning if their websites are badly written they may stop working when new TLS versions comes out.
Finally we have Nykredit, who fares worst of all. Their server sent unnecessary certificates, signed using SHA1, which causes them to fail this test. They only support TLS 1.0 and SSL 3, but their server’s preferred cipher is RC4. Most worrying is the lack of support for secure renegotiation. This vulnerability is nearly 5 years old, and allows a man-in-the-middle to inject arbitrary content to an encrypted session.
Overall it’s not looking too good. A lot of Denmark’s biggest banks are not as secure as they would have you believe. Many are vulnerable to a lot of different avenues of attack - the most worrying being POODLE. These results are similar to those in Troy Hunt’s original article, and just go to show that just because something is “bank grade” doesn’t necessarily mean that it’s actually good.