How To Be A Mozillian; How To Work In Community

That was the title of my session at the recent Mozilla All Hands. It’s an introduction for new Mozillians, particularly MoCo employees, as to how we do things at Mozilla, and why.

Thanks to our excellent video team, it was recorded and is now available as a WebM video. I should say that the recording was at my request, it happened without a lapel mic, and the relatively poor quality of the video should not be seen as a reflection on the standards or professionalism of our excellent videographers :-) Still, I hope it’s good enough to watch.

The talk outline is as follows:

Working as part of an open source community is very unlike working at a company. So how do you do both at once? How do you wear two hats, and what’s the relationship between the two? Or is it a matter of hats at all?

In this presentation you will learn:

  • Why Mozilla is unlike anywhere else you’ve ever worked
  • The skills you need to do your job well and efficiently in the open
  • When, how, how much and with whom to communicate
  • How to empower other community members
  • Techniques for dealing with trolls, time-wasters, the angry and the apathetic
  • How to reap the rewards of openness, get things done and retain your sanity
  • Why getting this right is vital to our success

“Outstanding Requests” Whining

We want to take some action about outstanding requests (review, approval, feedback, etc.) in Bugzilla. Leaving requests outstanding for a long time is particularly demotivating to new contributors. There is a plan.

One action we are taking is that we will be enhancing Bugzilla to send out weekly emails to anyone who has an outstanding request older than 7 days, listing the bugs on which all their requests can be found. A sample of such an email can be found below. So we want to warn you to expect it, and we hope that this gentle reminder will encourage people to keep their turnaround times short.

We have written a draft guide to what is and isn’t acceptable community practice in responding to requests. Review of this document, and whether the community norms it attempts to establish are realistic, would be appreciated.

The metrics team plan to roll out some Bugzilla metrics very soon, which will enable us to track how successful this drive is.

Sample request whine mail:

Here are your outstanding requests older than 7 days:

review
------

  Bug 1: Hollywood Bowl has majority market share (76 days old)
    http://bmo-4.0.localhost/show_bug.cgi?id=1

  Bug 11: Lane 12 keeps racking up only nine pins (75 days old)
    http://bmo-4.0.localhost/show_bug.cgi?id=11

  Bug 12: Bowling ball holes are too small (71 days old)
    http://bmo-4.0.localhost/show_bug.cgi?id=12

  Bug 13: Pins keep getting racked upside down (65 days old)
    http://bmo-4.0.localhost/show_bug.cgi?id=13

wanted
------

  Bug 3: Vending machine does not accept 10p pieces (8 days old)
    http://bmo-4.0.localhost/show_bug.cgi?id=3

To see all your outstanding requests, visit:
http://bmo-4.0.localhost/request.cgi?action=queue&requestee=email@example.com&group=type

For guidance on handling requests, see:
https://wiki.mozilla.org/BMO/Handling_Requests

How To Say Goodbye To Twelve Million Dollars

“We want to emphasize that the bankruptcy filing by DigiNotar, which was primarily a certificate authority, does not involve VASCO’s core two-factor authentication business,” said Jan Valcke, VASCO’s President and COO. “While we do not plan to re-enter the certificate authority business in the near future, we expect that we will be able to integrate the PKI/identity verification technology acquired from DigiNotar into our core authentication platform. As a result, we expect to be able to offer a stronger authentication product line in the coming year to our traditional customers.”

The entire press release sends a very clear message. And that is: “Investors, please stop selling VASCO stock!”

It’s interesting that just after the 19th of July, the day the DigiNotar breach was discovered internally, there is a significant fall of VASCO stock on a larger-than-normal volume. 1/4 of the share value was lost – that’s a significant decrease. It would be interesting to know who exactly decided to sell at that point…

Watch It And Weep

This YouTube video, from the newly-released Fox-IT report into the DigiNotar compromise, demonstrates the extent of the failure. Every red dot is an OCSP hit for the *.google.com certificate, indicating that someone in Iran was successfully MITMed, giving the attacker access to their private Google data. There were over 300,000 unique IPs over the course of a month (August 4th to 29th). See page 8 of the report.

Build Tool Name Shortage

This is a public service announcement. If you plan to write a build tool, please note that there is a rapidly developing shortage of prefix letters. As of this writing, the following names are already taken:

That leaves only ‘a’, ‘l’ and ‘s’ in the Basic Latin alphabet.

Our advance knowledge of upcoming projects suggests that letter exhaustion could occur as soon as February 2012. We are attempting to move to a Unicode-based naming system to provide room for expansion, permitting names like €make, ☮make, and ♥make. In the mean time, we advise attempting greater naming creativity.

Message To Iranians

I have just read part of the unreleased Fox-IT report on DigiNotar, which should be published in full soon. This should already have been obvious from what is publicly known, but if you are in Iran, you should:

  • Update your browser and/or Windows (in Firefox: go to Firefox menu | Help | About Firefox)
  • log out of and back into every email and social media service you have (to invalidate any captured cookies) – particularly ones on this list
  • change your password for each of those sites

Anyone: feel free to publicize this.

Updated DigiNotar CN List

I don’t work on Sundays, but the list of confirmed misissued DigiNotar certs is now up to 531, with a mix of the following CNs:

*.*.com
*.*.org
*.10million.org
*.android.com
*.aol.com
*.azadegi.com
*.balatarin.com
*.comodo.com
*.digicert.com
*.globalsign.com
*.google.com
*.JanamFadayeRahbar.com
*.logmein.com
*.microsoft.com
*.mossad.gov.il
*.mozilla.org
*.RamzShekaneBozorg.com
*.SahebeDonyayeDigital.com
*.skype.com
*.startssl.com
*.thawte.com
*.torproject.org
*.walla.co.il
*.windowsupdate.com
*.wordpress.com
addons.mozilla.org
azadegi.com
Comodo Root CA
CyberTrust Root CA
DigiCert Root CA
Equifax Root CA
friends.walla.co.il
GlobalSign Root CA
login.live.com
login.yahoo.com
my.screenname.aol.com
secure.logmein.com
Thawte Root CA
twitter.com
VeriSign Root CA
wordpress.com
www.10million.org
www.balatarin.com
www.cia.gov
www.cybertrust.com
www.Equifax.com
www.facebook.com
www.globalsign.com
www.google.com
www.hamdami.com
www.mossad.gov.il
www.sis.gov.uk
www.update.microsoft.com

I’d be interested to know if there are any clients in which those first two certs would actually work.

Batches were signed on the 10th, 18th and 20th of July. I have no expiry date information for the expanded list.

There are two new intermediates I haven’t seen before: “Koninklijke Notariele Beroepsorganisatie CA” and “Stichting TTP Infos CA”. Any info about those would be appreciated.

DigiNotar Compromise: PostScript

[Update 2011-09-05: To be clear, I posted this because it was funny, not because I have anything against Wikipedians, or the Dutch Wikipedia community. Also, I was asking for Dutch-speaking people to help with the program we had for warning webmasters; I was not asking for them to put anything on or make changes to the Dutch Wikipedia.]

Once we decided to remove DigiNotar’s root certificate from our trusted store, I started a crowdsourced effort to warn webmasters who were using certificates which chained to this root. This required Dutch-speaking people to read Dutch websites and work out how to contact the webmaster. This is a partial and slightly tweaked transcript of some of my attempt to persuade the occupants of the wikipedia-nl channel on FreeNode to help:

(21:31:51) gerv: This organization has issued an unknown number of bad certificates to evil people,
(21:31:56) gerv: perhaps like the government of Iran.
(21:32:07) gerv: That government is now using those certificates to spy on Iranians.
(21:32:47) Brimz: gerv: do write the article first and than we act
(21:32:54) gerv: Er, what?
(21:32:56) Brimz: this is wikipedia you know
(21:33:02) Brimz: it's all about articles here
(21:33:05) gerv: Let me put it another way.
(21:33:11) gerv: If you guys don’t help me,
(21:33:14) Brimz: let me put it in another way
(21:33:17) gerv: tomorrow morning the Dutch people will wake up
(21:33:21) gerv: and 700 of their websites,
(21:33:25) gerv: including a lot of Government websites,
(21:33:25) Brimz: this channel is only about wikipedia
(21:33:27) gerv: won’t work any more,
(21:33:35) Brimz: we don't care
(21:33:39) gerv: and I’m hoping you care enough about your countrymen
(21:33:40) gerv: to help.
(21:33:48) Brimz: we only care about the encyclopedia
(21:33:59) Brimz: sorry
(21:34:00) gerv: Really?
(21:34:05) Brimz: yes
(21:34:06) gerv: No friends, family, tulips, canals, love, sunsets?
(21:34:12) Brimz: we are very narrow minded people

DigiNotar Compromise

On Monday August 29th at 6.30pm BST Mozilla was informed by Google about a misissued certificate for *.google.com which was being used in active attacks on users in Iran. This certificate was chained to the root of the Dutch CA “DigiNotar”. Since that notification, I have been part of the Mozilla team working on our response.

The Compromise

DigiNotar discovered evidence of compromise of their systems on the 19th of July, but decided not to inform embedders of their root, including Mozilla. We have now been given details of 247 certificates, covering 23 CNs, which were misissued around this time, from a number of different DigiNotar intermediate certificates, including their EV intermediate. (These are the ones Chrome has explicitly blacklisted.)

Mozilla has a spreadsheet of certificate data from the certificates, but not copies of the certificates themselves. It seems that the attackers tried to make their certificates as like the genuine ones as possible by filling in the correct company names and locations. This data suggests that misissuances continued to occur for at least 1 day after the date DigiNotar tell us the compromise was discovered. These 247 certificates were all short-life, and expired by the 19th of August. The data we have contains revocation dates (in some cases, from as late as 27th July), but we have not been able to confirm that the certificates actually were revoked. Given that they have now expired, the revocations could perhaps have been removed from the CRLs. However, a survey of existing certificates on the web suggests that it was standard DigiNotar practice, for all their certificates except for their EV certificates, not to put any revocation information in their certs – either CRL Distribution Points or OCSP servers. Given that the attackers may well have used standard DigiNotar certificate profiles to generate the certificates, it is highly likely that many of the rogue certificates did not contain revocation information. However, DigiNotar have been unresponsive to requests for clarification on this point.

The CNs concerned were as follows:

*.10million.org
*.balatarin.com
*.google.com
*.logmein.com
*.microsoft.com
*.mossad.gov.il
*.skype.com
*.torproject.org
*.walla.co.il
*.wordpress.com
addons.mozilla.org
azadegi.com
DigiCert Root CA
Equifax Root CA
friends.walla.co.il
login.yahoo.com
Thawte Root CA
twitter.com
VeriSign Root CA
wordpress.com
www.cia.gov
www.facebook.com
www.sis.gov.uk

If that had been it, we might never have known. However, it has now emerged that DigiNotar had not noticed the full extent of the compromise, because for one particular intermediate certificate (the DigiNotar Public 2025 CA, the “2025 intermediate”), the attackers had managed to hide the traces of the misissuance – perhaps by corrupting log files. It is from this intermediate that the *.google.com certificate which recently came to light was issued. This certificate was issued on the 10th of July, a week before the 247, and is not a short-life cert. Up to now, due to the lack of logging, DigiNotar has been unable to determine how many certificates were misissued from this intermediate, or what their CNs or serial numbers were. (And not knowing their serial numbers makes it impossible to revoke them.) From looking at OCSP requests for unknown serial numbers, it seems there are at least 4, but there could be many more. This, to me, shows a greater level of sophistication; it is at least possible (but entirely speculative) that an initial competent attacker has had access to their systems for an unknown amount of time, and a second attacker gained access more recently and their less subtle bull-in-a-china shop approach in issuing the 247 certificates triggered the alarms. [Update 2011-09-05 18:10: given the patterns of issuance emerging, this now seems less likely.]

Our Response

After we were informed by Google of the problem, we attempted to contact DigiNotar. We were unable to open a channel of communication with them until the middle of the following morning, European time. When I called them, I was not particularly impressed at being told I would be called back, and then not being, and also at being referred to a PR person for Vasco, DigiNotar’s parent company. Incidentally, it is my personal view that public statements by both Vasco and DigiNotar (translation) about the extent of and effect of this compromise have been, at best, incomplete and at worst actively misleading.

After consultation among the Mozilla security group, it was decided to remove the DigiNotar root certificate from our trusted root store, and make sure that all certificates issued by them were no longer trusted. We decided to take this action based on the fact that we no longer had sufficient confidence in its trustworthiness. A number of factors over the past two days have contributed to that loss of trust:

  • We were not informed when the breach and misissuance was first discovered in mid-July
  • Misissuance occurred from multiple intermediates, suggesting a wide compromise
  • Dating evidence suggests that DigiNotar’s response to this initial compromise was not sufficiently robust or complete
  • Six weeks of investigation between then and now were not enough for DigiNotar to discover the additional misissuances from the 2025 intermediate; it was revealed only by an active attack
  • Their internal systems do not have sufficient logging to know the number of misissued certificates from the 2025 intermediate, or their serial numbers, or the names of the sites concerned
  • Probable lack of revocation information in some of the certificates
  • Their website was hacked 2 years ago, multiple times, and they didn’t notice
  • They have issued a press release containing statements which were, at best, misleading, concerning the extent of the breach (it does not mention the initial breach, only the issues with the 2025 intermediate)
  • One statement told their users it is 99.9% safe to override browser certificate warnings

Various DigiNotar intermediate certificates had been cross-signed by other trusted CAs. In order to achieve full blocking, we implemented code which checks for DigiNotar’s name in the certificate chain. Any certificate issued after 1st July 2011 is blocked with no possibility of override. Any certificate issued before that date is blocked, but the user has the option to override the block and visit the site anyway. Those other CAs have now revoked the intermediates, and our upcoming patch will specifically add them as “untrusted” in our certificate store.

PKIoverheid

DigiNotar is also a participant in the “PKIoverheid” (“PKIgovernment”) PKI run by the Dutch Government, the certificates for which chain up to one of two root certs owned by that government – the “Staat der Nederlanden” roots. These are also trusted by Firefox, having gone through the inclusion process in their own right. DigiNotar controlled two intermediate certificates in this hierarchy (one for each root), and issued SSL and personal certificates from them.

Our initial patch also blocked DigiNotar-issued certificates below this root. However GovCERT, the Dutch CERT (“Computer Emergency Response Team”), indicated that they had made an assessment of the DigiNotar systems and it was their belief that the machines used for issuing certs in this PKI were not compromised. Therefore, the Dutch government requested that these certificates in their PKI continue to be trusted, and assumed responsibility for that decision. We decided to grant their request, and so added a few lines of code to exempt certificates in this separate hierarchy. (In fact, this code had a bug, and did not cover both of the roots in question.) This action was in line with what Google and Microsoft were doing at the time, although, because they used different technical means for the block, they did not need to write specific code for the exemption.

It has recently emerged, due to a report from a 3rd party security company, Fox-IT, that this confidence was misplaced, and the next Mozilla security update will remove this exemption. There are questions here for the Dutch government and, particularly, GovCERT, as to how they felt confident to give us the assurances they did. We were offered some of them in writing; in hindsight, we should have taken them up on that offer.

Webmaster Notification

In order to reduce the impact of this removal, the EFF SSL Observatory data was used to gather a list of sites who might be using affected certificates from the DigiNotar root, and crowdsourced an effort to contact the webmasters and send them a warning email. Thanks to the Mozilla Dutch localization team and Bits of Freedom in the Netherlands for their help with publicising this. By the time we decided to extend the block to the Staat der Nederlanden roots, DigiNotar and the Dutch government had already started contacting affected sites, so we have not expanded this effort.

Note: I am at a wedding today and so may not be around to answer questions about this before Monday.

Blog Moved

After eight years of kind hosting at MozillaZine, I have now moved this blog to its own host. Many thanks to Kerz and the crew :-) They are now trying to ease their way out of the blog hosting business, and I appreciate their patience while I got my act together.

I have imported all the old posts and comments, and made quite a bit of effort to make sure all links still work – even those from 2004/2005 when Movable Type generated pages with names like 005643.html. MozillaZine just sends everything to blog.gerv.net, and the mapping happens on my side. This work was made substantially easier by the “Canonical URLs” feature of WordPress, so thanks to Mark Jaquith. I’ve also switched my FeedBurner feed over, so people using that shouldn’t see any differences (although the last 10 or 15 posts might get duplicated in some clients. If you are subscribing to this blog, please use that feed.

If you find a broken link somewhere on the web or an a post here, please let me know and I will look into it.

The look and feel is vaguely the same; my time to work on that was limited.