News for hackers. Stuff that matters.
Re:Heartbleed is about to get worse, and it will slow the In... by falcolas on Tuesday April 15, 2014 @08:05PM (#7595126)
Nothing really new here - just the acknowledgement that the ability to steal private ssl keys requires a massive effort to replace those keys.

"If anything is compromised, assume everything is compromised."

Our keys have been updated (and the old certs revoked), our servers patched, our sessions expired, and passwords expired. Mitigation more or less complete. Helps we're running a very small site, for sure, but the steps were clear from the beginning.

Re:Heartbleed is about to get worse, and it will slow the In... by gvb on Tuesday April 15, 2014 @08:42PM (#7595275)
But have you revoked your old primary keys? Everybody that was vulnerable to Heartbleed should revoke their old primary keys so that web browsers no longer trust those potentially stolen keys. If they are not revoked and a Bad Guy stole your primary key(s), they can create a fake web site that identifies itself as your web site and all web browsers would trust it as legitimate, complete with the little green "you can trust me" padlock.

The CloudFlare challenge proved that the primary keys could be stolen.

There were millions of vulnerable sites (the internet is approaching a billion total web sites, and a significant number of them were vulnerable). The revocation list method used by browsers does not scale well with those kinds of numbers.

[1] http://news.netcraft.com/archives/category/web-server-survey...

Re:Heartbleed is about to get worse, and it will slow the In... by falcolas on Tuesday April 15, 2014 @09:45PM (#7595532)
Yup, as part of the cert re-issue, we revoked the previous cert. Could have been more explicit there, sorry.
Re:Heartbleed is about to get worse, and it will slow the In... by schrodinger on Tuesday April 15, 2014 @09:30PM (#7595468)
Doesn't rekeying result in the old certificate based on the compromised private key being revoked?
Re:Heartbleed is about to get worse, and it will slow the In... by mpyne on Tuesday April 15, 2014 @09:49PM (#7595550)
No, presenting a certificate that has been rekeyed does not mean that the old certificate stopped being cryptographically valid.

In fact the old cert will always be cryptographically valid, which is why a separate revocation list has to be created as a positive acknowledgement that the old cert, though valid, should not be trusted.

Re:Heartbleed is about to get worse, and it will slow the In... by schrodinger on Tuesday April 15, 2014 @11:20PM (#7595891)
I understand that, but I thought in practice most CAs will automatically revoke the former certificate when rekeying. It sounds like godaddy does, at least.
Re:Heartbleed is about to get worse, and it will slow the In... by mpyne on Wednesday April 16, 2014 @02:22PM (#7599510)
That's up to the CA. It seems that StartSSL doesn't automatically revoke an old one even with rekeying.
Re:Heartbleed is about to get worse, and it will slow the In... by lmz on Tuesday April 15, 2014 @10:18PM (#7595666)
Do the browsers actually use revocation checking?
Re:Heartbleed is about to get worse, and it will slow the In... by falcolas on Wednesday April 16, 2014 @09:16AM (#7597521)
Firefox does. Found that out in my development box which I hadn't updated with the new certs, the old certs showed up as revoked and Firefox wouldn't let me proceed.
Re:Heartbleed is about to get worse, and it will slow the In... by sneak on Tuesday April 15, 2014 @11:44PM (#7595982)
Some do, but most of them fail unsafe when the check endpoint is unavailable IIRC.
Re:Heartbleed is about to get worse, and it will slow the In... by mballantyne on Tuesday April 15, 2014 @11:53PM (#7596012)
Do CRLs even work? My understanding is that the only browser that hard-fails to load a page if OCSP is blocked is Chrome for certs in CRLSets. Everyone else is vulnerable to MITM if access to the CRL / OCSP servers is blocked.

I would love to be wrong. Does anyone know if anything has changed for the better since 2011?

http://blog.spiderlabs.com/2011/04/certificate-revocation-be... http://dev.chromium.org/Home/chromium-security/crlsets https://www.imperialviolet.org/2011/03/18/revocation.html

Re:Heartbleed is about to get worse, and it will slow the In... by matt__rose on Tuesday April 15, 2014 @09:32PM (#7595475)
This sentence: "No examples have surfaced of anyone actually exploiting the vulnerability" is incorrect. The Canada Revenue Agency revealed that 900 SINs (canadian equivalent of SSNs, but nowhere near as totemically identifying) were stolen due to the heartbleed bug. http://www.theglobeandmail.com/technology/mounties-chasing-v...
Re:Heartbleed is about to get worse, and it will slow the In... by justinhj on Tuesday April 15, 2014 @09:44PM (#7595525)
In order to know this they must have stored and subsequently analysed the ssl traffic. Something that I would think is quite unusual. So the true scope of data theft is probably much larger.
Re:Heartbleed is about to get worse, and it will slow the In... by simcop2387 on Tuesday April 15, 2014 @09:54PM (#7595577)
They might have turned on that logging when the bug was announced so that they'd have an idea of the threat they were under while updating.
Re:Heartbleed is about to get worse, and it will slow the In... by thisisdave on Tuesday April 15, 2014 @09:46PM (#7595539)
I thought that sentence was referring specifically to vulnerable certificates.
Re:Heartbleed is about to get worse, and it will slow the In... by 001sky on Tuesday April 15, 2014 @08:29PM (#7595217)
According to Paul Mutton, a security consultant at the Web services company Netcraft. Checking a site’s identity will take vastly longer.

“If a certificate authority has to revoke 10,000 certificates, that entry will have 10,000 certificates on it,” Mutton said. “And if browsers have to download that . . . we’re talking hundreds of megabytes.”

It’s roughly the equivalent of having to download 30 minutes’ worth of standard-definition video just to view a single Web page.

> is this accurate?

Re:Heartbleed is about to get worse, and it will slow the In... by ams6110 on Tuesday April 15, 2014 @09:16PM (#7595401)
I don't know much about how CRLs work, or what the "authoritative" clearinghouse for the CRL list is (if any) but ideally your browser only needs to download the bulk list once, then based on checksums or timestamps should just download diffs since the last version it had.

Basically we need a git repo for CLRs.

Re:Heartbleed is about to get worse, and it will slow the In... by PeterWhittaker on Tuesday April 15, 2014 @10:07PM (#7595622)
It's not accurate: They are making the same mistake as in other recent HN articles, that the entire certificate (1k-2k) is listed on the CRL.

It's not. It's serial number, a timestamp, maybe one or two other things. 10,000 certs is maybe 40,000 bytes on a RL.

Re:Heartbleed is about to get worse, and it will slow the In... by kijin on Tuesday April 15, 2014 @10:16PM (#7595663)
No, you won't have to re-download the revocation list every time you open a web page. That would be ridiculous.

But if you want to be really secure, you might want to check the revocation list every time you see a new certificate.

Re:Heartbleed is about to get worse, and it will slow the In... by nitrogen on Tuesday April 15, 2014 @08:39PM (#7595259)
Would it be possible to use a probabilistic data structure (e.g. Bloom filter) to create a privacy-enabled CRL as a service?
Re:Heartbleed is about to get worse, and it will slow the In... by daeken on Tuesday April 15, 2014 @08:46PM (#7595293)
I don't see why not, especially because you already have the old key signature/fingerprint to use when pushing it into the Bloom filter. Seems like a perfect case for it, actually.
Re:Heartbleed is about to get worse, and it will slow the In... by gvb on Tuesday April 15, 2014 @08:47PM (#7595301)
You could distrust any certificate that was signed before April 7 (or some slightly later date). It might be easier to do that and whitelist the good "pre-apocalypse" certificates. The nice thing about doing this is that your whitelist will inherently go to zero as certificates time out and get renewed (typically 1-3 years?).

The hard thing would be to generate an accurate whitelist.

Re:Heartbleed is about to get worse, and it will slow the In... by computer on Tuesday April 15, 2014 @09:41PM (#7595510)
Doesn't work, since rekeyed certificates are often (mostly?) backdated to have the same valid-from date as the old certificate.

I updated my key and certificate, and for the browser-visible certificate metadata only the fingerprint changed.

Re:Heartbleed is about to get worse, and it will slow the In... by jerf on Tuesday April 15, 2014 @09:49PM (#7595555)
For all that you've heard about the disaster side, there's also a huge number of sites that weren't affected. Whitelisting wouldn't help much.
Re:Heartbleed is about to get worse, and it will slow the In... by mygrant on Tuesday April 15, 2014 @09:01PM (#7595345)
We had certs that were only used and present on machines that were not vulnerable, and therefore did not replace or revoke them. Please don't do this.
Re:Heartbleed is about to get worse, and it will slow the In... by nathanvanfleet on Tuesday April 15, 2014 @09:36PM (#7595489)
Furthermore servers that weren't even using OpenSSL or the particular version(s) that were susceptible. What is the actual percentage of servers that needed to react to this?
Re:Heartbleed is about to get worse, and it will slow the In... by 3pt14159 on Tuesday April 15, 2014 @09:40PM (#7595506)
I dunno... Probably worth it from a netsec point of view.
Re:Heartbleed is about to get worse, and it will slow the In... by kijin on Tuesday April 15, 2014 @10:21PM (#7595682)
The situation would be much more manageable if browser vendors provided an online service that quickly allows individual certificates to be checked against the latest revocation list from all trusted CAs. There should be no need for each user to download the full revocation list, since most people will never visit 99.9% of the websites in that list.

Until now, revocation lists were small enough that this was not a problem. But it's probably time to fix that.

There are already third-party add-ons like Perspectives that check the certificates you see against those seen by other people. Chrome already knows which Google certs are valid or not. There's no reason why Mozilla, for example, shouldn't make something like this an official security feature of Firefox, too.

Re:Heartbleed is about to get worse, and it will slow the In... by astrange on Wednesday April 16, 2014 @01:27AM (#7596274)
This is OCSP. Chrome removed their support for it, but I think Firefox might check it.
Re:Heartbleed is about to get worse, and it will slow the In... by sitkack on Tuesday April 15, 2014 @09:39PM (#7595503)
1)

Lets just call a do-over, EVERYONE generate new private keys and request new certs. Any cert created before April 10 2014 will be considered suspect.

2)

Create a bloom filter for revoked certs. Have a remote cert revocation server/cache so I don't need to have a 50MB file of revocations.

Re:Heartbleed is about to get worse, and it will slow the In... by jerf on Tuesday April 15, 2014 @09:52PM (#7595564)
False positives are a problem for a Bloom filter. You could conceivably create one for a given registrar, though, which could in theory create a Bloom filter, iterate through all the certs it has issued, and then list out the certs that the Bloom filter issues false positives for, but are still valid. However, it's too late to put that into play. Nobody ever expected to have to revoke this quantity of certs. (In hindsight, that was obviously wrong. Something like this was going to happen someday. But this is exactly the sort of thing that's very easy to argue away, because nobody wants to be convinced that this amount of work will be necessary.)
Re:Heartbleed is about to get worse, and it will slow the In... by the_ancient on Tuesday April 15, 2014 @09:49PM (#7595554)
while the problem is wide spread, it is no where near enough to say "all certs after 4/10 are suspect"

There are an ever larger number of certs not impacted by this event.

Re:Heartbleed is about to get worse, and it will slow the In... by justinhj on Tuesday April 15, 2014 @09:47PM (#7595542)
Question: with a stolen private key don't you still have the problem that is has the host name in it? So to truly spoof a browser you need to compromise the domain and serve a site from within it?
Re:Heartbleed is about to get worse, and it will slow the In... by mpyne on Tuesday April 15, 2014 @09:50PM (#7595557)
It depends on what you're going after, but if you're just targeting a local subnet, that's what a "man-in-the-middle" attack is for.

What is probably easier is somehow redirecting the DNS entry for the target site to point to your malware-serving site, which has happened before as well.