So Long, And No Thanks For The Externalities

And here’s a summary post to round off the series on So Long, And No Thanks For The Externalities (Part 1, Part 2, Part 3). :-)

The concluding points of the paper are that:

  1. We should reduce the cost of security advice to users
  2. We should offer advice whose cost is proportional to the victimization rate
  3. We should retire advice that is no longer compelling
  4. We should prioritize the advice we do give

I agree with all four. 3) and 4) in particular can be hard to persuade people of, particularly geeks and techies who, as well as understanding the advice easily themselves, are often people who like people to have “all the information”. Read some of the comments on my first post about passwords to see examples.

For SSL, I am hoping that we can get to a point where the main piece of security advice on the web is “check the name of the company is correct in the green box”. The EV vetting system should ensure a very low false issuance rate, and the revocation system should ensure minimal damage for any falsely-issued certs. That glance should hopefully take each person a half a second per site. It’s not the 0.36 seconds per user per day which the paper argues for, but it’s a whole lot closer than we are now.

I’m convinced we can’t protect users fully with zero user education. But we should minimise what that education is. And it shouldn’t involve reading URLs.

Certificate Errors

This is the (belated) third of three posts relating to So Long And No Thanks For The Externalities. At least I got them all out in the same decade :-)

First off, the author notes the often-found result that setting a site’s favicon to the lock symbol will help fool users (as will putting a lock in the page body). Although it won’t solve the entire problem, on general principles my view is that (now that tabbed browsing is established as the way everyone browses) we shouldn’t put favicons in the URL bar, only on the tabs. The principle is that the URL bar should be entirely trusted, and not controllable (apart from the contents of the URL, obviously) by the site being visited.

This, incidentally, is an issue with tabs-on-top. It puts the browser-controlled bit of the UI (the URL bar and toolbar) between two page-controlled bits of the UI (the title/favicon, and the page itself). That makes it harder to educate the user about what is trustworthy and what is not. I can’t see any way around the idea that some bits of the UI a user is faced with are trustworthy and some are not (unless you make it all untrustworthy). If there must be this split, keeping a geographical distinction between the two types must help. Logically, I’m a fan of tabs-on-top. But I can see security disadvantages too.

I absolutely agree that a goal of secure website UI design should be to minimise the number of errors encountered, while still maintaining security. Repeated warnings habituate users into ignoring them – although we have made them harder to ignore in recent Firefoxes. I would be very interested in research which looked at whether this has had an impact on the number of bad certificates out there. The trouble is that it’s hard to measure that number, because just because a scanner can’t trace a cert back to its root, that doesn’t mean that the intended users of that website can’t.

Unfortunately, some suggestions people commonly make for eliminating warnings (e.g. “just quietly show an HTTP UI if the cert is self-signed) have security holes at the edge cases.

STS is a great example of a way we can improve security without the user noticing anything different. For sites which use it, it entirely solves the problem raised in Section 5.2, where an attacker can intercept and redirect an initial HTTP request before the HTTPS session is established.

At the end of the section, the author makes the astonishing claim that:

In fact, as far as we can determine, there is no evidence of a single user being saved from harm by a certificate error, anywhere, ever.

Even if that were true, if we removed all certificate errors and just blindly trusted any SSL connection, the situation would change somewhat rapidly. They come close to admit this in the following sentence:

Of course, even if 100% of certificate errors are false positives it does not mean that we can dispense with certificates. However, it does mean that for users the idea that certificate errors are a useful tool in protecting them from harm is entirely abstract and not evidence-based. The effort we ask of them is real, while the harm we warn them of is theoretical.

The assertion that the benefit of certificate errors (a side effect of certificate checking) is not evidence-based is the same as the assertion that forbidding guns and grenades on planes reduces the risk of hijack is not evidence based. No-one wants to try the alternative to gather the evidence!

The fact that most phishing sites don’t use SSL is because users don’t look for SSL or site identity. And that’s a UI and education problem we could fix, if the world put its mind to it. After all, most people now automatically buckle up when they get in a car. And now we have EV, we can build a site identity system on rock rather than sand.

Bugzilla API 0.4 Released

Version 0.4 of the Bugzilla REST API has been released. New in this version:

  • New /count call – get fast bug counts, either singly or in 1D, 2D or 3D tables. Great for stats.

Compatibility Notes:

  • The “count=1” parameter to bug searches to get a count is now deprecated, and will be removed in a future release. Use the above API call instead.
  • The Configuration object’s “groups” hash will soon change to be keyed by ID rather than name (and so the “id” field has disappeared, to be replaced by a “name” field). Tracking bug.

File bugs | Give feedback.

Disabling Inactive VCS Accounts

As part of good security hygiene, Mozilla IT will soon be disabling 650 ‘dormant’ accounts across our three VCS systems (SVN, Hg and CVS). ‘Dormant’ means, in this case, unused for the last 12 months.

We’ve done our best to make this determination correctly; however, there are a few edge cases which are hard to detect. So if you have problems with your account over the next few days, stop by #bmo on irc.mozilla.org. Or alternatively, file a bug in Server Ops with the second-to-top level of urgency. (I think the top one means people get paged.)

There is no intention here to inconvenience anyone or to suggest that people are no longer trusted; if you have an account which was deactivated for dormancy, and you want it to work again, just ask :-) It should happen very quickly.

Speeding Up Your Browser

This is immense:

I need to be clear here: If you have Firebug installed you are probably not getting fast Javascript. Firebug doesn’t have to be active on your current page. If you have the grey icon on your status bar, you have probably disabled the JIT. This is true if you have ever enabled the Console and consequently the Script panels and left them on. This is likely true for most recent versions of Firebug. The quick fix is to disable the Script and Console panels via the mini menu on their respective tabs.

We need to shout about this more loudly!

I just followed those instructions, and my browser suddenly got a whole lot snappier. And I bet there are loads of web developers out there who think “I love developing with Firefox, but when I browse with it, it’s really slow…” These are core opinion formers, and their experience is sucking unncessarily. I’m glad that blog post says there’s now a fix :-)

Gerv Status 2009-12-11

Here’s my status for the last two weeks, which have been spent travelling – first to Toronto and then to Mountain View for an All Hands meeting. I’m also in Mountain View this week; it’s great to be able to spend time with people and not have to rush back to England for something. :-)