Awesome security audit

Awesome Sec Audit

This fully accredited security auditing service used by 500 of the Fortune 500 will fully audit your security environment.

Shocking online security practices

Right when you thought security couldn't get any worse

This blog will be short and sweet because a few images say it all.

I've spent a lot of time trying to educate people on being careful with credentials. It really doesn't help when I try to place a purchase with a "legitimate" supplier, and, after handing over valid credit card details, I get this:

mwave purchase

Not only is it not a troll, it's well documented in their FAQ:

mwave purchase

The frustrating part is not that they do this. It's that they apply the charge to your card a day before giving you this prompt, leaving you begging for refunds when you refuse.

Yes, I've spoken to them. They don't see an issue.

Addenum

Despite promises to keep this short, here are a few additions I'm compelled to add:

  • Mwave have indicated a refund will be forthcoming, once this is escalated to someone with authority. Although they were fairly non-comittal about this, I don't currently have a reason to believe I won't see the money.
  • Mwave actually do accept Paypal. If I had known about this situation, I would have just used that. My Paypal usually has a low limit card attached, and this was supposed to be the low friction method of placing a larger order.
  • American Express have been shown these images. Well, the direct URLs. They were very professional about ensuring the refund is forthcoming.
  • Please, please, stop insisting that I should report this to the PCI council for immediate action. They are not an enforcement agency.

The improving state of SSL deployment

Increase in SSL use

There have been a number of blogs lately regarding the increasing SSL deployment across the Internet. Rather than review another survey, I noted this same pattern by its impact on my monitoring service.

Certificate Transparency - Background

To attack a number of the weaknesses in the SSL/CA system, a service known as Certificate Transparency was developed.

In order to provide immediate, actionable monitoring from the CT system, I launched CT_advisor in November 2015. This service alerts you the moment a certificate is issued for your domain. Several commercial services have since disrupted this space with a paid version of the same thing. As a side effect of this, I've been watching the major transparency logs quite closely since.

There's been a lot of discussions around mass increases of SSL's pervasiveness across the web recently, such as from the great Let's Encrypt team. Here in the transparency, we've seen further evidence of this.

A capable monitor

CT_Advisor is designed with Erlang's "let it crash" mentality in mind. When it polls a monitoring server, it limits the amount of certificates it will grab in an cycle. That number has always sat at 32, meaning, when some form of failure occurs, no more than 32 certificates need to be reprocessed.

This was particularly important in the early days, as there were a lot of certs that didn't fit the template I originally built the service to handle, which showed up in logs.

The original polling interval was set to ten seconds, and then shortly afterwards, configured to one minute. What I'm saying is, parsing a maximum of 32 records every minute was perfectly capable in the early days.

At some point this was reduced to 30 seconds, and then 15, and until recently, this was sufficient to handle polling all logged certificates.

Suddenly lagged

Last week I logged onto the service backend, and found it was more than two million certificates behind in its parsing. The reason here, is the explosion of certificates in the CT logs.

You can use this URL to identify the one millionth certificate in a given monitor. For our discussions, we're referring to the Google Aviator log. We're starting at a million because it's a number some time after the initial ingest into the monitor. We can see the certificate logged on 2013-09-30.

Certificate 5,000,000 was logged on 2014-11-29, taking over a year to get another four million certificates logged.

The ten millionth certificate was logged on 2015-10-13. With just under a year producing five million certificates.

Fifteen million came along at 2016-04-25, roughly demonstrating a halving of the time taken to hit the next five million.

Let's Encrypt very clearly kicked into play at this point, with 2016-06-10 being the logging date of certificate number twenty million, less than two months from the earlier block. This is well reflected in their own graphs on issuance.

The pattern continues:

  • 2016-08-05 to reach 25000000
  • 2016-09-22 to reach 30000000
  • 2016-10-19 to reach 38000000

Not necessary "number of certificates"

There are a few things to consider in reviewing these numbers. Firstly, Let's Encrypt's short lifespan means a lot more certificates issued. Secondly, not every certificate is guaranteed to be logged, but more responsible CAs are ensuring that happens.

Cloudflare are also notable, as their SAN certificates need to be reissued every time another user signs up to a free plan.

Finally, believe it or not, S/MIME certificates are a thing that show up in certificate transparency logs from time to time.

But that's still an increase

Even with average certificates coming down from two years for legacy vendors, to three months for LE, eight million certificates logged in less than a month is something unprecedented.

One of the major causes in the last two months track back to cPanel launching the AutoSSL feature, which automates Let's Encrypt certificates to all the cPanel users that never had access to it.

In short, there are an awful lot more websites using SSL, than there were a few years ago.

Closing remarks

I'll leave you with classic community responses in regards to CT Advisor.

  • This guy claims "fraudulent SSL certificates" are a vulnerability but can't even quote a CVE. What an embarrassment to the security industry.

  • Anyone who understands SSL will know it's not possible to get a fraudulent certificate. This service might as well claim to monitor time travellers because it'll never happen. The fact he thinks otherwise shows what an amateur he is.