Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Firefox Mozilla Security

How the Mozilla Sniffer Backdoor Was Discovered 201

An anonymous reader writes "Mozilla pulled one of their Firefox add-ons earlier this week for containing a backdoor which stole passwords from its users. Netcraft has taken a closer look at how the rogue extension worked, and how it was discovered by chance rather than through any code review process. Mozilla are working on a new security model to stop this kind of backdoor happening again."
This discussion has been archived. No new comments can be posted.

How the Mozilla Sniffer Backdoor Was Discovered

Comments Filter:
  • by Tar-Alcarin ( 1325441 ) on Thursday July 15, 2010 @09:22AM (#32912364)

    there is no way some rogue developer could hide password stealing code in them.

    And since Opera is not open source, there is no way to be sure of that.

  • by Hijacked Public ( 999535 ) on Thursday July 15, 2010 @09:24AM (#32912374)
    And Firefox is open source, and there is no way to be sure of it.
  • by silanea ( 1241518 ) on Thursday July 15, 2010 @09:24AM (#32912378)

    [...] Opera comes build-in with all the features I need [...]

    FTFY. I prefer Firefox's way of offering a basic browser and moving extended or niche features to optional extensions to monolithic blocks like Opera. Of course there is a risk associated with this model, but in my case the benefits far outweigh that risk.

  • by bsDaemon ( 87307 ) on Thursday July 15, 2010 @09:26AM (#32912400)

    Unless you go through all the code yourself, there's no way to be sure of anything. And unless you're uber-bad-ass, its going to be really hard to understand every line in a massive code-base someone else wrote, let alone all they all play together. So, even if you do your own audit, you can't really be sure. Life's a bitch, isn't it?

  • Comment removed (Score:1, Insightful)

    by account_deleted ( 4530225 ) on Thursday July 15, 2010 @09:29AM (#32912446)
    Comment removed based on user account deletion
  • by FuckingNickName ( 1362625 ) on Thursday July 15, 2010 @09:31AM (#32912464) Journal

    Do you mean to say that, when I install a Firefox add-on, Firefox won't give a list of requested privileges? Why has it taken 30 years for people who think in Unix security terms to not catch up to the VMS "fine-grained privileges to executables for users" security model?

    The whole regular user / root thing is awful. Microsoft is still doing it wrong because, while the NT kernel may approach the right idea, it builds atop it a mess of get-out-of-jail-free paths.

    It's not impossible.

    (1) By default, allow nothing;

    (2) Never allow everything - require software to specify exactly what it needs;

    (3) Classify permissions so the user is alerted more violently for more risky permissions - this may depend on the circumstances (e.g. a browser add-on usually shouldn't be asking for the same sort of privileges as backup software);

    (4) Software which needs an unusually privileged environment may benefit from auditing and signing, but never make this compulsory because this pisses off everyone;

    (5) But, by default, refuse in such circumstances and indicate why. The user needs to make a conscious effort to override a reasonable set of auto-refusal defaults;

    (6) Distinguish explicitly between once, occasional, time-limited and forever permissions. To take a particularly insidious example: iPhones ask if you want to give permission for your app to read your GPS location. This isn't permission for the next 15 minuts or day; it's permission forever. That is wrong. Looked at from the other end, don't do a Vista and ask every time. This is worse than not asking at all.

    More thoughts, guise?

  • by Ephemeriis ( 315124 ) on Thursday July 15, 2010 @09:39AM (#32912558)

    This is why I love that Opera comes build-in with all the features you need and a lot more

    As a geek, I enjoy complexity to an extent. It's cool to have a gadget with lots of nifty features and shiny buttons. But even I'll admit that at some point it can become unwieldy.

    I personally prefer a basic browser with a plug-in model that allows me to extend the functionality in whatever way I feel necessary. That way I can add all the shiny buttons I want, without having to deal with the unwieldy stuff that other people want.

    Not only are they made using the same quality standards and conventions, there is no way some rogue developer could hide password stealing code in them.

    Actually, there is.

    One of the Opera developers could go rogue. Or some machine in their development environment could be compromised, which could lead to the distributed software being compromised.

    And since Opera is not open source, we'd have to rely on the Opera developers themselves to find the issue. An open source model means that basically anyone with the time/inclination/skills can go in and take a look at the code.

  • by jcochran ( 309950 ) on Thursday July 15, 2010 @09:48AM (#32912658)

    Unless you go through all the code yourself, there's no way to be sure of anything.

    Only thing that can be made about that statement is to point to a nice little presentation by Ken Thompson. Take a look at 'Reflections on Trusting Trust'. Almost certain you haven't seen it given your comment.

  • by Anonymous Coward on Thursday July 15, 2010 @09:49AM (#32912678)

    This is where the "many eyes" comes into play for open source...

  • by bunratty ( 545641 ) on Thursday July 15, 2010 @09:56AM (#32912752)
    They had it coming, but some users really are dumb enough to fall for it. This is why Mozilla is also going to make it even harder to find unreviewed add-ons [mozilla.com].

    Having unreviewed add-ons exposed to the public, even with low visibility, has been previously identified as an attack vector for hackers. For this reason, we’re already working on implementing a new security model for addons.mozilla.org that will require all add-ons to be code-reviewed before they are discoverable in the site.

  • by bjourne ( 1034822 ) on Thursday July 15, 2010 @09:57AM (#32912770) Homepage Journal
    Well, I like most people, run random executables but only if they are retrieved from trusted sources. Any package I install from my distros repository can potentially contain malicious code but I trust that the distro maintainers keep their stuff clean. I used to trust Firefox extensions downloaded from addons.mozilla.org in the same way, but not so anymore. That's why Chrome's and Opera's software models with built-in features over addons are superior to FF. Because you only have to trust one party instead of dozens of plugin authors.
  • by Runaway1956 ( 1322357 ) on Thursday July 15, 2010 @10:21AM (#32913192) Homepage Journal

    Uhhhmmmm - yeah, I think. I guess I'm a freetard. Now and then, I'll fire up Wireshark, and just watch the traffic. Yeah, I can see that my deviant son is browsing a porn site. I can see that the wife is checking her email and the banking. I can see that the other kid is looking for car parts. And - the other other kid is playing games. But, why on earth does he have packets going to http://xxx.xxx.xxx.xxx/ [xxx.xxx] ??? That isn't a game site - he's not browsing, or there would be a lot more packets. Hmmmmm. A little checking, and I holler at him. "Have you installed anything lately? Have you done a virus scan on your stupid Windows laptop? What is this site?" He looks at it, tells me it's nothing HE ever heard of, goes back to his machine, and does some checking. An hour or so later, he admits that he was testing some stupid schitz that one of his buddies recommended. One of the features happens to be a trojan.

    I don't bother making reports - I guess if I did, I might get my name attached to some zero day thingy. Hmmmm. That might not be good either. The better known you are, the harder it is to stay anoynymous when you really WANT to be anonymous!

  • by cdrudge ( 68377 ) on Thursday July 15, 2010 @10:24AM (#32913262) Homepage

    Would it have been so hard to have written "Mozilla pulled one of their Firefox add-ons, Mozilla Sniffer, earlier this week..." in the summary though.? Most of the people here have a hard enough time reading the summary, let alone the actual article linked to.

  • by Karellen ( 104380 ) on Thursday July 15, 2010 @10:27AM (#32913314) Homepage

    I have a feeling that the Mozilla guys don't think in Unix security terms. Mozilla/Firefox is targetted more heavily towards Windows than Linux, and it shows in a lot of places that a lot of the developers think that way too.

    e.g. The use/implementation of "profiles", which are a work-around to the problem of running on a system that does not support multiple user accounts (well), or where it is expected that multiple users use the same user account. Last I used Mozilla and Firefox on Windows, these were still pretty prominent. They're also included in Unix-based builds, where they're mostly pointless, instead of being IFDEFed out by default on those platforms.

    See also the automatic updater. This is required on Windows, which does not have a centralised update system for 3rd party apps, and assumes each user will install their own copy of the software, or will have write privs to system software locations, or will have the Administrator password. It's redundant and useless on most Unices/Linux distros, but the code is still included by default.

    It also prefers to bundle its own copies of 3rd party libraries, common practice on Windows where dependency handling doesn't exist, and 3rd parties generally do not bother to try to maintain backwards ABI compatibility between DLLs. Again this is contrary to the Unix way of doing things, where dependencies are well defined, and library authors take pains to ensure backwards-compatible ABIs. But still Mozilla software ships private copies of 3rd party libraries by default on Unix.

    Mozilla software appears to be primarily written for Windows by Windows-based developers. Yes, it does work on Unix/Linux systems, but that's not how the developers think, and it shows.

  • by DroppedAtBirth ( 776511 ) on Thursday July 15, 2010 @10:34AM (#32913462) Homepage
    The addon was called "Mozilla Sniffer", and people still installed it? I would understand if this was some functionallity hidden in a valid sounding addon but its called "Mozilla Sniffer". User FAIL.
  • by stephanruby ( 542433 ) on Thursday July 15, 2010 @10:41AM (#32913578)
    It was portraying itself as a security extension. If you think about it, that makes sense. Most anti-virus packages give you so many false positives flagging all the legitimate network tools, security tools, debugging tools, etc, that you're installing on your machine. You tend to disregard those warnings yourself when you know you're installing a security tool.
  • by kyrio ( 1091003 ) on Thursday July 15, 2010 @10:52AM (#32913792) Homepage

    History is retarded, I've had it disabled since I first started using browsers with the "feature". Bookmarks should also be an add-on since most home users really don't need it to save their Facebook and Hotmail links.

  • by sexconker ( 1179573 ) on Thursday July 15, 2010 @12:00PM (#32914712)

    And since Opera is not open source, there is no way to be sure of that.

    So slashdot. So retarded.

    When was the last time YOU PERSONALLY read and understood EVERY LINE OF CODE you run?

    Did you fabricate your own CPU too?

    Shit being open source isn't some magic blanket of security. In fact, just the opposite: People blindly trust open source code thinking "someone else reviewed it". Who? Do you know their name? Do you know their review process? Do you know they're competent, and not just some 19 year old in a dorm room killing time between beer runs and WoW raids?

    If Opera maliciously fucks you over, guess what - you have someone who is legally culpable. If your repository gives you a lemon, oh well!

  • by NoOneInParticular ( 221808 ) on Thursday July 15, 2010 @12:42PM (#32915224)
    This [xcott.com] then should be the contest for you!
  • by shish ( 588640 ) on Thursday July 15, 2010 @12:53PM (#32915362) Homepage

    I prefer Firefox's way of offering a basic browser and moving extended or niche features to optional extensions to monolithic blocks like Opera

    Theoretically, I prefer that too; but somehow opera with more features than the entire mozilla suite is still smaller, faster, and more stable than a barebones firefox :/

  • by dannys42 ( 61725 ) on Thursday July 15, 2010 @01:05PM (#32915566)

    Every line of source code? That's just silly. Who can be sure of anything that way? I inspect every packet going into and out of the computer by hand.

2.4 statute miles of surgical tubing at Yale U. = 1 I.V.League

Working...