TechRepublic : A ZDNet Tech Community

IT Security

Host: Chad Perrin
Contact

There are several reasons why Firefox is the Web browser of choice for many of us. Providing a safe Web surfing experience is one of the more important ones. I’d like to offer some tips that will make surfing the Web with Firefox even safer.

——————————————————————————————————————-

It’s important to easily determine whether a Web site that should be using https, actually is. When Firefox first came out it used a method that was easily discernible. The address bar would turn yellow and a lock icon would appear on the right-hand side of the address bar:

That feature was replaced by a small blue frame surrounding the Web site’s favicon in the third version of Firefox. Additionally, clicking on the blue field reveals more information about the Web site’s SSL certificate:

I’m not particularly convinced the new approach is better. It’s easy to miss whether the site is using https or not, especially if the favicon is blue. Also, I’ve read that the blue frame and most favicons are easy to forge.

As to why the change, my guess would be that Firefox developers thought Extended Validation (EV) certificates were going to become the norm and focused on a way to better display the EV information. I think they succeeded, placing the Web-site’s name in a green frame is very distinguishable:

It’s a nice concept, but the use of EV certificates isn’t that prevalent, which kind of defeats the whole purpose. If my memory serves me correctly, less than one percent of all Web sites using SSL have EV certificates. It’s understandable though. By design, the vetting process is more in-depth, which drives up the cost of obtaining an EV certificate.

A well-kept secret

A good friend of mine let me in on what I’d call a hidden gem and I wanted to pass it along. It’s not perfect, but it certainly helps increase awareness of whether a Web site is using https or not. Besides it’s simple to do:

  1. Type about:config in the address bar.
  2. Firefox will display the following warning.
  3. Click on the “I’ll be careful, I promise” button.
  4. Enter “browser.identity.ssl_domain_display” (minus quotes) in the Filter box.
  5. Double click on entry, which opens a dialogue box.
  6. Change the entry from zero to one.

What this does is change the appearance of how the address bar displays information for Web sites using regular SSL certificates. As you can see below, except for the frame being blue instead of green it looks identical to what’s displayed by a Web site using an EV certificate. This should help reduce the risk of confusing secured Web sites with unsecured ones.

Revisit Perspectives

In August of 2008, I wrote an article about a Firefox add on called Perspectives. I’m not going to rehash the details; suffice it to say that I highly recommend installing it. Then forget about it. The application works quietly in the background making sure SSL certificates are valid. Now that I said that, I want to revise the configuration I used in the initial article, even though it makes Perspectives a bit noisier.

The two changes I’d like to propose are:

  • Uncheck the default setting of “Allow perspectives to automatically override security errors”.
  • Change “When to Contact Notaries” from the default to “Contact Notaries for all HTTPS sites”.

Perspectives isn’t perfect and the above changes may give additional false positives, but using the new settings will increase security while surfing the Web.

SSL Blacklist

Firefox version three checks a certificate’s revocation status using the online certificate status protocol. There’s a problem with that though. Like EV certifications the use of this protocol is very limited. In a somewhat ironic twist, all SSL certificates do contain information about where to obtain a certificate authority’s certificate revocation list, but Firefox isn’t setup to use them. Hmmm, this means Firefox isn’t capable of knowing whether a majority of existing SSL certificates are valid or not.

Màrton Anka seeing this deficiency developed the SSL Blacklist add on for Firefox. The application detects and reports on weak/revoked certificates or those that are still using the weak MD5 hash algorithm.

NoScript: a favorite

If you follow my articles, you will know that I think highly of Giorgio Maone’s Firefox add on NoScript. Giorgio realized that a vast majority of malicious Web sites use JavaScript exploits to leverage control of a victim’s computer. So he developed NoScript, which gives the user control on whether to allow or disallow execution of certain JavaScript code that NoScript deems as possibly harmful.

As you might guess, it’s a fairly noisy add on. NoScript is going to ask you quite often on whether you trust the site enough to allow JavaScript code execution. If that’s too granular, you have the option to change the setting “Scripts Globally Allowed (dangerous) from the default of disabled to enabled.

Doing so will make NoScripts considerably less intrusive, but any protection from JavaScript vulnerabilities is also removed. On a good note, even with scripts globally allowed you are still afforded protection from ClickJacking.

Final thoughts

There you have it, four tips that I use and recommend to all of my clients. None of them are perfect solutions, but they certainly elevate user security when surfing the Web with Firefox. Let me know if you have any favorite security add ons for Firefox that I may have missed. Also if you have started using Internet Explorer 8, I’d be curious to learn how it compares to Firefox security-wise.

Michael KassnerMichael Kassner has been involved with with IT for over 30 years. Currently a systems administrator for an international corporation and security consultant with MKassner Net. Read his profile or Twitter at MKassnerNet.

Print/View all Posts Comments on this blog

Firefox: Some security tips Michael Kassner | 05/03/09
NoScript *not* recommended Twilight23 | 05/05/09
Interesting Michael Kassner | 05/05/09
Some more details... Twilight23 | 05/06/09
Thank you Michael Kassner | 05/06/09
Doesn't bother me one bit seanferd | 05/06/09
Limit on search engines? Twilight23 | 05/07/09
Excellent seanferd | 05/07/09
Hmm Twilight23 | 05/08/09
Adding a search engine to Firefox's search box gretpass@... | 05/08/09
Great information Michael Kassner | 05/08/09
Ahh, yes seanferd | 05/08/09
A welcome change markyannone | 06/15/09
Yes santeewelding | 05/03/09
Thanks for the vote Michael Kassner | 05/03/09
Thank you, Michael. boxfiddler | 05/03/09
Yo Teach Michael Jay | 05/03/09
I'll try Michael Kassner | 05/03/09
Interesting seanferd | 05/03/09
That's odd about Perspectives Michael Kassner | 05/03/09
Answers seanferd | 05/03/09
Makes sense Michael Kassner | 05/04/09
Duh. :p seanferd | 05/04/09
Upgrade Firefox ocie3@... | 05/05/09
Good point Michael Kassner | 05/06/09
And then be prepared markyannone | 05/07/09
Details, please Michael Kassner | 05/07/09
Firefox update and the breaking and repairing of Flash markyannone | 05/08/09
Sorry, I didn't mean Michael Kassner | 05/08/09
No apology required markyannone | 05/09/09
Michael santeewelding | 05/03/09
Ooh. boxfiddler | 05/03/09
There are Michael Kassner | 05/04/09
Commercial add ons chucknite@... | 05/04/09
I like it Michael Kassner | 05/05/09
RE: FireFox: Some security tips techworxs08@... | 05/05/09
You might Michael Kassner | 05/05/09
New article about EV certs Michael Kassner | 05/05/09
RE: FireFox: Some security tips Agnostic_OS | 05/07/09
Thank you Michael Kassner | 05/07/09
RE: FireFox: Some security tips challigan3@... | 05/07/09
What kind Michael Kassner | 05/08/09
RE: FireFox: Some security tips Ahmadko | 05/12/09
RE: FireFox: Some security tips saj2109 | 06/14/09
RE: FireFox: Some security tips Ron_007 | 07/14/09
Do you Michael Kassner | 07/15/09
MITM against Extended Validation SSL will be demonstrated at BH 2009 Neon Samurai | 07/15/09

What do you think?

White Papers, Webcasts, and Downloads

Recent Entries

TR on Twitter

Archives

TechRepublic Blogs



500 Things Every Technology Professional Needs to Know
Did you know Microsoft's RegClean does not work with XP but you can use shareware to clean your registry? Did you know most wireless access points don't have encryption enabled by default? Did you know there are 500 tidbits of information contained in TechRepublic's 500 Things Every Technology Professional Needs to Know that will help you become a successful IT professional.
Buy Now
Quick Reference: Linux Commands
Reduce stress and speed up resolutions with the easiest command references right at your fingertips. You'll receive a PDF file covering Linux, packed with the most common commands you'll need and use daily.
Buy Now

SmartPlanet

Click Here