Slashdot Mirror


Reflecting on Linux Security in 2003

LogError writes "Here's a look at some interesting happenings with Linux security in 2003 with comments by Bob Toxen (one of the 162 recognized developers of Berkeley UNIX and author of "Real World Linux Security") and Marcel Gagne (President of Salmar Consulting, Inc. and author of "Linux System Administration - A User's Guide" and "Moving to Linux")."

52 of 167 comments (clear)

  1. It's been great by puffing_billy69 · · Score: 2, Informative
    I've heard about vulnerabilities in a timely manner, and been able to patch them similiarly.

    I haven't been r00t3d.

    Sweet.

    --
    printf("%s@yahoo.co.uk\n", uid[569754].name);
    1. Re:It's been great by danidude · · Score: 3, Insightful

      I haven't been r00t3d.

      Too bad Debain can't say the same thing :)
      Sorry, couldn't resist. I'm a Debain user myself, and I think the wayt they handled the thing was very brave and honest.

      --
      - no sig.
  2. Nice idea (?) by Elie+De+Brauwer · · Score: 5, Interesting

    Quote from the article: SecurityFocus columnist Hall Flynn notes that he doesn't understand why Linux vendors that put so much time and money into creating security patches distribute them for free. --> Just imagine the amount of e-mail worms there could be out there if people would have to pay for outlook updates.

    1. Re:Nice idea (?) by The+One+KEA · · Score: 5, Insightful

      Forcing people to pay for security updates would be so incredibly stupid that it would guarantee the insecurity of even more Internet-connected machines than right now. I think that security updates for ANY OS or application, irregardless of the status of its source code, should be free and available for everyone.

      --
      SCREW THE ADS! http://adblock.mozdev.org/ Proud user of teh Fox of Fire - Registered Linux User #289618
    2. Re:Nice idea (?) by wo1verin3 · · Score: 2, Insightful

      It is however within the authors rights to release a non-GPL version of the software that doesn't have the same bug or exploit.

    3. Re:Nice idea (?) by Mostly+a+lurker · · Score: 4, Interesting
      I think that security updates for ANY OS or application, irregardless of the status of its source code, should be free and available for everyone.

      I am not disagreeing, but there is an implied assumption in your post: that fixes are always available. A serious security issue will rapidly be fixed in any widely used open source product. With closed source products, provision of a fix is at the whim of the vendor, and serious security exposures can sometimes go months without a fix.

    4. Re:Nice idea (?) by The+One+KEA · · Score: 2, Interesting

      I think you just agreed with me....

      What I was trying to say was that irregardless of whether or not the OS or application in question has source available or not, when a security problem is discovered involving one of those items, the fix should be written, tested and made freely available without expectation of renumeration. Especially in the case of OSS security fixes.

      I don't mean to beat a dead horse here, but that's another advantage of open source: when security problems appear, the fixes for those problems are more likely to be available.

      --
      SCREW THE ADS! http://adblock.mozdev.org/ Proud user of teh Fox of Fire - Registered Linux User #289618
    5. Re:Nice idea (?) by kfg · · Score: 2

      Well I don't understand why a software vendor might think it reasonable to charge to correct inherent design flaws in their product.

      We're not talking upgrades here, more like a recall.

      There are aspects of the software industry that would be considered just plain daft, or even criminal, in any other.

      KFG

    6. Re:Nice idea (?) by Cody+Hatch · · Score: 4, Interesting

      Mmm, your close. More correct would be:

      Forcing people to pay for security updates would be stupid IF it guaranteed the insecurity of a greater number of Internet-connected machines.

      You are, of course, assuming that a smaller percentage of people will install the available patches if they have to pay - which is obviously true. You are also assuming that nobody will be lured to write a patch for an unsolved vulnerability by the thought of large piles of cash, which is obviously incorrect.

      To put it another way, by limiting the price to zero, you will cause a shift in both the quantity demanded and the quantity supplied. When there is a shift in both, you can make no conclusions about the net effect on the equilibrium point. :-)

      In *general*, it would be quite silly to charge for a patch to Apache - but its easy to imagine a specific case (maybe a remote root exploit) where volunteers might be able to deliver a patch in 36 hours, but someone might be willing to pay for a patch delivered in 12 hours[1], even knowing that another 24 hours would give them a comparable patch for free.

      In that situation, how could you possibly argue that banning payment (meaning there won't be any patch for the full 36 hours) possibly do any good? Or for an even better example, what about for a program so old and/or obscure it simply won't BE patched if someone doesn't pay?

      [1]: Feel free to substitute your own times if it makes the example seem more realistic to you. Hours, days, weeks, minutes.

    7. Re:Nice idea (?) by Elektroschock · · Score: 2, Informative

      Securityfocus belongs to Microsoft, that seems to be very likely. They don't seem to be experts in It security.

  3. Re:IP Theft and The Linux Community by ottawanker · · Score: 4, Informative

    They even have documents that give a step by step procedure for stealing the Microsoft fonts and installing them on Linux systems! Notice in particular the instructions for the Tahoma font.

    http://www.tldp.org/HOWTO/mini/FDU/truetype.html


    Your link is bad, it should be
    http://www.ibiblio.org/pub/Linux/docs/HOWTO/other- formats/html_single/FDU.html#TRUETYPE

    Also, from the HOW-TO, "TrueType is a registered trademark of Apple Computer, Inc.", not Microsoft. I'm not sure if the 'Tahoma' font in particular is property of Microsoft.

    Just thought that you should know.

  4. Re:IP Theft and The Linux Community by xirtam_work · · Score: 3, Informative

    Actually TrueType is an Apple invention and the trademark is properly credited. The Tahoma font is the property of Microsoft, as is Arial and many other fonts.

  5. Re:Head, meet Sand by divide+overflow · · Score: 3, Interesting

    > From the looks of things, they still have a while to go. IMO, Linux people talking about security is like that saying about people who live in glass houses.

    Note that many if not most of the vulnerable programs shown in your link to securitytracker.com are not related to the Linux kernel nor part of most Linux distributions. This makes for a potential "apples to oranges" comparison with Windows vulnerabilities.

  6. Re:Head, meet Sand by t0ny · · Score: 4, Interesting
    Apparently you missed that story last month regarding the hack which exploited a Kernel bug. This effected ALL distros, since it was a kernel exploit.

    Also, the page for Windows doesnt just list OS components either. So, as far as security tracker goes, it IS apples to apples. One can also argue that IIS is not really a Windows component, since it is an optional service. But thats the way they organize their site. If you dont like it, talk to Security Tracker; Im sure they would be happy to hear from you!

    --

    Manipulate the moderator system! Mod someone as "overrated" today.

  7. Re:IP Theft and The Linux Community by Anonymous Coward · · Score: 2, Insightful
    .. Linux community seems to take pride in stealing anything they can get their hands on and breaking laws designed to protect IP at the same time. ..
    Linux community has absolutely no respect for the property of others and will resort to any type of clandestine tactics to steal whatever isn't cemented down all in the good name of Linux.

    Oops .. s/Linux( community)+/Microsoft/ ..

    .. Microsoft seems to take pride in stealing anything they can get their hands on and breaking laws designed to protect IP at the same time. ..
    Microsoft has absolutely no respect for the property of others and will resort to any type of clandestine tactics to steal whatever isn't cemented down all in the good name of Microsoft.

    There, now accords with reality, as documented in various trial records.

    .. the day Linux wrote the kernel.

    A kernel that wrote itself. Cool!

  8. Best security fix in Linux: 'tar' by jkrise · · Score: 4, Interesting

    A simple backup-restore utility that allows users to backup all their filesystems, and restore them in the event of a crash. A separate unnmounted filesystem to store the 'image' - no worm can get past this simple strategy. A major security breach? Simple:

    1. Remove network cable (OR) Internet connection.
    2. Boot from tomsrtbt
    3. Mount backup partition(s)
    4. Run simple restore script.
    5. Reboot and enjoy!

    Can any other OS do this, with off-the-OS tools?

    -

    --
    If you keep throwing chairs, one day you'll break windows....
    1. Re:Best security fix in Linux: 'tar' by puffing_billy69 · · Score: 4, Informative
      Unless you've been 0wnz3d for weeks, and simply restore the trojans and rootkits with a restore, unless you're using some md5ing on your /etc and other things, or tripwire or whatever.

      --
      printf("%s@yahoo.co.uk\n", uid[569754].name);
    2. Re:Best security fix in Linux: 'tar' by Storm · · Score: 2, Insightful

      The problem with this approach is that most compromises are not detected immediately. Most are found days, weeks or months after the actual breakin. Meanwhile, the compromised files are faithfully backed up. This means that restoring from backup will most likely place the same compromised files in place.

      You could set up your backup script to md5sum or a similar mechanism to check files, but it still requires "situational awareness" to know what the differences are and why these diffs occurred. Most diffs are innocuous, caused by upgrading packages, changing passwords, etc. An intrusion detection system (e.g. Samhain, Integrit, Tripwire, AIDE) does similar functions on the live files, and is a must-have security tool, and must be properly employed (e.g. database on "safe" media).

      Security? Hell, if it were easy, anybody could do it.

      --
      --Storm
    3. Re:Best security fix in Linux: 'tar' by utahjazz · · Score: 4, Insightful

      The breaches that do real damage are ones where private info is stolen, like all the custmers' credit card numbers.

      Tar your way out of that.

  9. Re:Head, meet Sand by C10H14N2 · · Score: 4, Interesting

    Don't throw stones inside your modded linux box?

    Right, Check.

    As for security, that would explain why my Linux boxes have for years been under constant attack from compromised Windows machines without incident.

  10. At least nobody claimed it was "objective" by bmajik · · Score: 5, Insightful

    Oh boy! An article which takes 1 authors clearly subjective feelings, piles on the anecdotes, and pronounces evidentiary conclusions!

    From reading this, it would appear that Gagne is pretty much what happens when you give a linux zealot some airtime. I'll comment on just a few things i got a kick out of:

    At some point, I expect users to upgrade to newer releases or take some responsibility for patching their own systems. What's a reasonable period of time? I'd say 34 to 36 months. At some point, any reasonable users should understand that the best way to ensure continued support is to upgrade to something more recent."

    but then we have

    The beauty of the open source model is that an opportunity exists for creating fixes for old releases. Not so for the users of Windows 95 or 98 who have no source code to go back to when the next critical flaw is uncovered.

    So which is it ? Do we expect people to upgrade after 36 months, or do we take any opportunity to mention that we think Microsoft sucks (of which everyone in the audience is perfectly aware)

    "Frankly, it seems incredible that this is even open to debate.

    There's that objective analysis shining through. Definitely not the words of someone pushing a beleif as opposed to an argument :)

    One need only read the newspapers, listen to the radio, watch television or work in an office where Windows is widely used

    Which papers would those be ? The ones that manage to not mention that FSF, Debian, and Gentoo all had their Root file distribution servers OWNED in the same year ?

    has nothing to do with Microsoft's market penetration.

    riiiiiiiight. Let me tell you what. if windows update gets owned, you will hear about it in the papers, and on the news, etc. And it wont be because of the magnitude of the issue - because it happend to the FSF, Debian, _and_ Gentoo _first_. When something goes wrong with microsoft software, it hits the whole internet. It's a market share issue.

    It doesn't hurt that at its very core, Linux is designed with security in mind.

    What do the original UNIX authors have to say about designing UNIX from the ground up with security in mind ? A history of linux will show a few things, I think.

    • UNIX evolved over time. almost no attention was paid to security initially - was it even multi-user initially?!
    • linux wasn't designed with security in mind - it was cloned from a system which had security evolved and grafted onto it (unix). secutiy is about trying to get perfect code out of imperfect people, and moreover, trying to get perfect designs out of imperfect people. NT _Was_ designed from the ground up with security in mind. The security training happening recently at MS had a lot more to do with sloppy coding and thinking about security at every layer of the platform then it did with redesigning NT's security features (which are actually quite advanced)
    • remember when anyone could remotely kill a linux box with the right udp packets ? was that security by design ?

    No need here for launching a security initiative after years of neglect."

    Or, said another way - "not too much new ground to cover making a freeware clone of 25 years of operating system research!"

    Despite the fact that I do not run a Microsoft computer in this office,

    why am i listening to your opinion of MS software again ?

    costs in terms of data loss, damage, and lost productivity in the last three years alone runs into the billions of dollars. This is documented fact

    Really ? which documents ? Where are the documents that talk about how much money business MAKE by leveraging software - Microsoft software. If, overall, MS software is hurting business financially, why dont they go back to notebook paper ? Why not use linux ?

    This article is pretty much a non-article.

    --
    My opinions are my own, and do not necessarily represent those of my employer.
    1. Re:At least nobody claimed it was "objective" by Space+cowboy · · Score: 4, Insightful

      Agreed, the "article" was horribly biased, and you rightly cast aspersions on the author's integrity, but normally when critiquing someone in this way, you might also point out the glaring errors in *what* (s)he says, as well as showing *why* what (s)he says is wrong. I'm not sure anything he says is *wrong* per-se (at least on the linux front - I don't know enough about the win32 side to comment). I do think it needed to be couched in a more balanced article though...

      As for your points about ssh, yep they're security products, that's why the instant someone finds something wrong, it's important to broadcast that info far and wide. No-one (should, at least) expects the code to be perfect because it has an extra 'S' in the name. We do expect a careful approach to security, and an open one too. I don't believe you do yourself much credit with this argument - it's about ssh anyway, not Linux.

      I doubt WU has been owned by anyone, but if it had been, the sensible approach to take would be for the perpetrator to contact MS and tell them they've just distributed X million 'delete-the-system' virii to their customers, and it'll cost 100 million dollars to get the 'undo' key... It would then all be dealt with quietly. Open source is ... unlikely ... to follow this route :-)

      Simon.

      --
      Physicists get Hadrons!
    2. Re:At least nobody claimed it was "objective" by warmcat · · Score: 4, Informative

      I was trying to decide whether to mod you as Flamebait when I went back and looked at your posting history to look for troll footprints.

      '' I agree with you completely, and i work for microsoft :)''

      You could have mentioned that you are a MSFT employee in your impassioned defense of MSFT here. I have Box Toxen's ''Linux Security'' book, its pretty interesting. But your post seems to be a big ''we're all as bad as each other so ignore the fact I am evil'' astroturf.

      Something you might want to chew on is the different value proposition of being given control of sources for software for free, vs being trained into a dependent monkey for whatever MSFT give you. Merry Christmas!

    3. Re:At least nobody claimed it was "objective" by X-Phile · · Score: 2, Interesting

      At some point, I expect users to upgrade to newer releases or take some responsibility for patching their own systems. What's a reasonable period of time? I'd say 34 to 36 months. At some point, any reasonable users should understand that the best way to ensure continued support is to upgrade to something more recent."

      but then we have

      The beauty of the open source model is that an opportunity exists for creating fixes for old releases. Not so for the users of Windows 95 or 98 who have no source code to go back to when the next critical flaw is uncovered.

      So which is it ? Do we expect people to upgrade after 36 months, or do we take any opportunity to mention that we think Microsoft sucks (of which everyone in the audience is perfectly aware)

      You will notice that he said "an opportunity exists". That's ultimately what the open source model is all about, the opportunity to do something, the opportunity to change something. Whether people pick up the ball and run is up to them, but at least they are given the opportunity

      Your points on UNIX history and security are intersting

      UNIX evolved over time. almost no attention was paid to security initially - was it even multi-user initially?!

      User and network security were unknown concepts at the time. That's like saying that we should have been preparing for the AIDS epidemic in the 70's

      Linux wasn't designed with security in mind - it was cloned from a system which had security evolved and grafted onto it (unix).

      The security concepts were copied from UNIX to Linux, but the application level security, and the newly discovered types of programming errors (most, but not all buffer overflows, etc) were "coded out" so to speak.

      remember when anyone could remotely kill a linux box with the right udp packets ? was that security by design ?

      Remember when anyone could halt any Windows box with some fragmented IP information in TCP headers? Did MS forsee this and code to avoid it? Interesting how you're condemming Linux and OSS for not doing so.

      As for the OpenSSL and OpenSSH stuff, ok, I'll give you those ones =)

      I'd argue that with each year of Windows, we've only seen improvements. does it then follow that there's only a bright future ahead ? If so, how is linux "better" in this regard ? How is this news ?

      When any company _innovates_ (embraces and extends, rapes and pillages, whatever), they are marching into new territory, and the territory is unknown. New innovations mean new possibilities for logic and programming errors for the first company to leap into that territory. The Linux community usually sees the innovations that MS, Apple, etc, are coming up with, and adopt it, without a lot of the inherent security issues and usability problems. That's not to say that there are no security issues, but a lot of the obvious ones are worked out.

      MS has in the past put the users experience above the users security, and as a desktop OS, this has worked for them, but they need to take a deeper look at application security, which is the reason why worms and virii are plaguing them to this day.

      My $0.02 CDN.
      --
      "Well you're not Fiona Apple, and if you're not Fionna Apple, I don't give a rat's ass."
    4. Re:At least nobody claimed it was "objective" by mbrinkm · · Score: 2, Interesting

      First

      costs in terms of data loss, damage, and lost productivity in the last three years alone runs into the billions of dollars. This is documented fact
      Really ? which documents ?

      From 2001 - CNN Survey: Costs of computer security breaches soar

      • http://www.cnn.com/2001/TECH/internet/03/12/csi. fbi.hacking.report/">

      Second

      With every year since the birth of Linux we've only seen improvements so I think there's only a bright future ahead.
      I'd argue that with each year of Windows, we've only seen improvements.

      How can you actually believe that we have only seen improvements with Windows? Yes, there have been improvements in functionality and capability, but by no means has there ONLY been improvements. Tying a HTML interpreter's code to the OS'es kernel is not only an abuse of the OS'es monopoly, but also an ignorant way to package additional functionality. Or, how about adding functionality for admin purposes that is accessible to anyone on the Internet when the computer is connected to the Internet.

      Spammers slip ads through Windows
      • http://news.com.com/2100-1001_3-962483.html

      By the way - CNET is owned by Microsoft.

      How do I shut that service off without downloading a patch? I don't need the service, I don't want the service and I see it as redundant since I can e-mail updates or, this is novel, pick up the f-ing phone and call the person and tell them the message.

      PS - I run both Linux (Red Hat - for now) and MS at home on two separate computers - does that give me credibility in your eyes?
      --
      "Don't worry about people stealing an idea. If it's original, you will have to ram it down their throats." --Howard Aike
    5. Re:At least nobody claimed it was "objective" by Anonymous Coward · · Score: 2, Interesting

      [qoute]
      * UNIX evolved over time. almost no attention was paid to security initially - was it even multi-user initially?!
      [/qoute]

      Yes. Unix was created for the specific purpose of multiusering operating system. It was designed in a era were you had big mainframes with lots of little terminals and you shared everything.

      The main difference between it and other OS designed in that era (and why it is still around) is that it is designed to be completely portable OS, thru the extensive use of C. Meaning that you could develope the code on a Vax, and recompile it to work on a x86 workstation without having to completely rewrite it.

      Everything is has a specific job. It's designed in the layered approch were each program has a specific job to do and that's it. You can ramdomly replace any part of the OS with any other program as long as it correctly takes the inputs and makes the correct outputs.

      One of the Major issues with MS security is that it is a model of a OS that was based on pure Single User enviroment, and MS basicly said that if users want security they would pay extra for it. This sucks for MS users because the OS is so tightly integrated that repairing or replacing any part of the OS can result in unpredictable issues with another subsystem that you would think would be entirely unrelated. So fixing the bad designs of the past 10 years or so is nearly impossible without a complete rewrite. And MS can't even do that.

      [qoute]
      * linux wasn't designed with security in mind - it was cloned from a system which had security evolved and grafted onto it (unix). secutiy is about trying to get perfect code out of imperfect people, and moreover, trying to get perfect designs out of imperfect people. NT _Was_ designed from the ground up with security in mind. The security training happening recently at MS had a lot more to do with sloppy coding and thinking about security at every layer of the platform then it did with redesigning NT's security features (which are actually quite advanced)
      [/qoute]

      I don't know what NT was designed from the ground up. But your issues about linux are unfounded and steam from ignorance. Linux is not a clone, it was designed as a posix-compatable kernel, internelly it operates very differently from a *BSD or system-V operating system. What you see lots of times is fairly cosmetic similarities. It is designed to be compatable with Unix stuff because it's a excellent and proven design, not be a clone. It's similar to saying that Mozilla is a clone of Explorer, which is absured.

      [qoute]
      * remember when anyone could remotely kill a linux box with the right udp packets ? was that security by design ?
      [/qoute]

      Sure, you could similar things with all windows OSes. Think about this: The same RPC vunerabilities affected all OSes from win9* to NT to WinXP. This means that a great deal of the code from WINDOWS 95 is still being used in Windows XP.

      If the head developers involved in SMB protocol are any idication about the depth of understanding of the vague programming mess that is windows, they couldn't match the knowledge that the to the head SAMBA developers had about their own OS!

      THis is not encouraging. Seems to me that while linux continually rewrites and audit's it's code and is continously improving it's design, while Windows developers are faced by a morass of undocumented features and black-box programs were nobody is completely sure on how they operate anymore.

    6. Re:At least nobody claimed it was "objective" by michael_cain · · Score: 2, Interesting
      UNIX evolved over time. almost no attention was paid to security initially - was it even multi-user initially?!

      I believe that the answer to this is, yes, it was multi-user from the beginning. Remember, UNIX was initially developed in an era when computers were physically large and so expensive that it was a basic assumption that more than one person would use the machine. It was also intended to be a time-sharing system, so was designed with the idea that more than one person would be using it at the same time. Certainly by the time that UNIX came out of the research groups and into more common usage at Bell Labs, there were security features.

      There were security bugs, too. As is the case today, some of those involved the default configurations. At some point, the default when you logged in was that your tty device was writeable by the world. On at least one occasion, this led to a spate of problems where one user, pissed off at something another user had done, would run a command like

      $ cat /bin/* >/dev/tty3 &

      where the offending user was logged in on tty3. Binary, interleaved with the output you expected to get, dumped to your terminal at 300 cps, was annoying. Users learned quickly to build a variety of checks and corrections into their .profile file.

      Geez, knowing that makes me feel OLD.

    7. Re:At least nobody claimed it was "objective" by mbrinkm · · Score: 2, Interesting
      I'm sorry I mistook this

      "We had warned the Justice Department and the court that removing all of those files would not result in a workable product, but that's what the DOJ demanded," Murray said.
      • http://www.internetwk.com/news/news1230-6.htm


      To mean that IE was tied to the Kernel - I should have said "Tied to the fluff that they wrap together in a tangled mass of buggy code brought to us by the innovative thinkers at Microsoft"
      --
      "Don't worry about people stealing an idea. If it's original, you will have to ram it down their throats." --Howard Aike
  11. Security by dexterpexter · · Score: 5, Insightful

    In my experience with both Operating Systems, I have often found that a lot of the insecurity lies with the user. Again, this is just my observations and not hard fact, but I have found that the average Linux user is more aware and technologically savvy than the average Windows user. Linux has traditionally served as a geek playground whereas Windows seeps into the marketplace on new-from-the-store PCs and thus is usually the first operating system most people learn on. My mother, who would "never try an operating system like 'Linus'" is just as oblivious to the necessity of a good firewall on her machine. In fact, before I intervened, she nor any of her friends even had one. Worse, they were under the opinion that you can not retrieve email without Outlook, and that Internet Explorer was the internet. That might sound preposterous to you or I, but I have found this to be true of many casual PC owners. So, beyond security problems inherent in code are problems inherent in the user as well.

    Linux is also very community-minded (hence, the "Open Source Community.") We vehemently defend Linux and thus have greater stock in its success. Now, I do not subscribe to the idea of thousands of users pouring over the source code and fixing security holes, but I will assert that the small number of users who actually contribute to the community do a fine job of it, and are extremely dedicated. What Open Source offers is the ability to pour over the code, even if most of us don't take advantage of this. M$ developers are usually money-driven and thus focus more on how fast they can get a product on the shelves than how rock-solid they can make it. Linux developers seem to take more pride in their product as, since many of them donate their work, all they really have is that pride to guard. You won't find the Linux community only putting out one large, obscure patch a month and then declaring "AHA! We have less patches than M$." ;) Hmmm... that seems vaguely familiar. :)

    If I had to put my money down on which one was more secure, my money would go on Linux.

    -dexterpexter

    --

    *-*-*-*-*-*-*-*
    "We are Linux. Resistance is measured in Ohms."
  12. Re:Head, meet Sand by dexterpexter · · Score: 2, Interesting

    Ahhh, but the difference is that if I throw a stone and break my little glass Linux house, I have the ability to fix it... for free. That is the beauty of Open Source.

    --

    *-*-*-*-*-*-*-*
    "We are Linux. Resistance is measured in Ohms."
  13. Re:Head, meet Sand by windows · · Score: 5, Insightful

    It's an unpleasant truth, but Bill Gates was right when he suggested that perfect bug-free, unexploitable code is impossible. There are going to be vulnerabilities, no matter how much of an effort you make to keep them out of code.

    Security has to be achieved through firewalling, shutting off unnecessary services, keeping software up to date with the latest security-related patches, and some common sense on the part of the user. In my experience, a lot of Linux users are every bit as ignorant as their Windows counterparts when it comes to security. I know plenty of people who don't know what daemons are running on their computers, who don't keep their software updated, and who don't follow basic common-sense security procedures. Unfortunately, there's the perception among a lot of people that just running Linux makes them secure. They feel they don't need to bother with things such as firewalls, because they're invincible. Even among their Windows counterparts, firewalls are considered a necessary tool for security.

    There's a basic competence needed to run Linux. Unfortunately, beyond that, many users are clueless when it comes to security.

    Linux doesn't lend itself to many of the problems Windows does. But that's only part of being secure.

    Linux distributions shouldn't come with lots and lots of services enabled by default. We complain at Microsoft because a lot of users have IIS running on their machines and just aren't aware of it. Many Linux distributions are just as guilty as Microsoft here.

    If we want to make Linux more secure, we need to fix the two biggest vulnerabilities - the default settings of many Linux distributions and the user.

  14. Re:Security by bmajik · · Score: 5, Insightful
    M$ developers are usually money-driven and thus focus more on how fast they can get a product on the shelves than how rock-solid they can make it

    do you have any substantiation of this ?

    You may have heard something about software engineering, but if not, i'll tell you. The later you discover a bug, the more expensive it is.

    Lets take some examples.

    • Developer writes code with bug. Next day, tester finds bug and tells developers. Cost to fix ? - low, because code is fresh in developers mind, and the impact is roughly 1 tester and 1 developer.
    • Developer writes code with bug. Bug isn't found because tests dont cover it yet. Developers code lives on for weeks. Other code is written which uses that code. Dependant behaviors make their way into other parts of system. Finally, test is written and run which finds bug. Now we've got a problem. Developer has to figure out where the hell the bug is. Then developer has to figure out what the cause is. Then developer has to consider the impact to any code which has been written since the bug was introduced. Developer has to come up with a fix that fixes the original bug but doesn't introduce a new bug.
    • developer writes a bug. This but isn't caught until Beta 1. Bug prevents product from installing on 1/8th of real-world customer machines. 1/8th of most important customers have worst possible product experience - they cant install product. All existing CD's with this build need to be destroyed (they're garbage). developer needs to drop everything they're doing (the're working on beta 2 by now), crack open the beta 1 code (it was forked off for stabilization and may already have been removed from beta 2 tree), and propose a fix. developer thinks about everything that might possibly depend on code with bug. developer has to come up with a fix that unbreaks 1/8th of users, but doesn't break any other users.
    • bug makes it into shipping product. userbase is now entire planet. bug prevents product from installing on 1/8th of computers. sales expectations are missed by at least 12.5%. Customer satisfaction is down by at least 12.5%. Developer stops working on version n+1, cracks open the code for the shipped product, and begins investigating a fix for SP1. Customers with support contracts are going insane because their business is down. single-customer fixes (QFEs) must be prepared on 24hr schedule to unblock customers. these patches are customer specific and are separate from what gets rolled into SP (the minimum amount of code change to unblock a customer is what we're talking about - not generally suitable for wide deployment). The developer may need to do one QFE for each major customer (they may have slightly different failure modes ?)

    I think you get the idea. If a bug makes it out into the public, it will cost microsoft at least $100,000, at a minimum.

    So, do you think bugs make it into the code because the emphasis is on cranking out software quickly, without caring about the quality ?

    --
    My opinions are my own, and do not necessarily represent those of my employer.
  15. Re:IP Theft and The Linux Community by sould · · Score: 4, Insightful

    My God you are a useless troll.

    You say:

    a step by step procedure for stealing the Microsoft fonts and installing them on Linux....

    Then you link to http://corefonts.sourceforge.net/

    Which has a copy of the microsoft licesne the fonts were obtained under:

    Reproduction and Distribution. You may reproduce and distribute an unlimited number of copies of the SOFTWARE PRODUCT; provided that each copy shall be a true and complete copy, including all copyright and trademark notices.....


  16. SSH and SSL by PacoTaco · · Score: 4, Funny

    I think it's ironic that the two things I had to patch most often this year were OpenSSH and OpenSSL. What does that first 'S' stand for again?

    1. Re:SSH and SSL by LucidityZero · · Score: 2, Funny
      What does that first 'S' stand for again?
      Shaky? Suspect? Speculative?
      --
      Sig.i>
    2. Re:SSH and SSL by evilquaker · · Score: 2, Funny
      I think it's ironic that the two things I had to patch most often this year were OpenSSH and OpenSSL. What does that first 'S' stand for again?

      SCO?

      --
      To within half a percent, pi seconds is a nanocentury. -- Tom Duff
    3. Re:SSH and SSL by jc42 · · Score: 4, Interesting

      I think it's ironic that the two things I had to patch most often this year were OpenSSH and OpenSSL.

      Well, I'd think that this is a Good Sign. The term "secure" doesn't really mean that no holes exist. That's hardly likely. What it really means is that no holes are known. Or, a hole was just discovered, and we're working furiously to fix it.

      The fact that these patches came out really mean that the OpenSS[HL] crowd is 1) actively looking for problems, and 2) fixing them rapidly. In particular, they don't hide the problems behind a shield of secrecy, and they don't collect patches into sets to be released when the PR people decide it's appropriate.

      If their patches taper off, it will be time to take a skeptical look, to make sure that people are still actively attacking the OpenSS* code and trying to poke holes. If this process stops, we should worry. If people are still studying and attacking the code, but failing to find holes, we'll know we're in good shape.

      But we aren't quite there yet. So the patches are a Good Thing.

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  17. Re:Security by dexterpexter · · Score: 5, Interesting

    I absolutely agree with every point in your bulleted list. But the short answer is yes, I do believe that bugs make it into code because of emphasis on cranking out software quickly. It would seem illogical to do so, true, but the sad truth is that it happens and I have watched in horror as it has happned at the place at which I work. When the CEO comes in screaming "ship it! ship it!" and you are given very little alternative, that is exactly what happens. And yes, it does cost more money to repair the bugs later than sooner, but management knows no logic, and developers many times get no say in when their project ships.

    Jack Ganssle gave a very nice keynote speech at the recent Boston Embedded Systems Conference that touched on those very same problems. We all know better, but it still happens. And no, not just at M$. However, when you can crank out a new OS every couple of years and the sheep still buy it despite knowing that the OS is unstable, then why not?

    Some of the security holes that we have seen come from M$ products (and other products as well!) show the lack of real testing... problems that never should have been seen by the end user.

    --

    *-*-*-*-*-*-*-*
    "We are Linux. Resistance is measured in Ohms."
  18. Re:Security by azaris · · Score: 4, Insightful

    In my experience with both Operating Systems, I have often found that a lot of the insecurity lies with the user. Again, this is just my observations and not hard fact, but I have found that the average Linux user is more aware and technologically savvy than the average Windows user.

    This is a simple result of the law of large numbers. If we assume "technological savvy" is normally distributed within the population then very small samples can have on average very high "savviness" rates. Once the sample size grows the average "savviness" goes down and approaches the mean (which in today's world is still quite low) asymptotically.

    Linux has traditionally served as a geek playground whereas Windows seeps into the marketplace on new-from-the-store PCs and thus is usually the first operating system most people learn on.

    And herein lies the problem of making blanket statements: yes, most people who are not experienced with computers do run Windows at home. Of course they're going to get infected with something! They lack the experience to mitigate risks and to know what they should never do. DOS didn't have one tenth of the complexity of the latest versions of Windows and stupid DOS users still got viruses all the time.

    Linux is also very community-minded (hence, the "Open Source Community.") We vehemently defend Linux and thus have greater stock in its success.

    I'm pretty sure a bunch of CS majors deriding SCO on /. won't help Linux kernel development all that much or attribute to any possible success.

    M$ developers are usually money-driven and thus focus more on how fast they can get a product on the shelves than how rock-solid they can make it. Linux developers seem to take more pride in their product as, since many of them donate their work, all they really have is that pride to guard.

    You are Eric S. Raymond and I claim my free-as-in-beer Tux merchandise.

    You won't find the Linux community only putting out one large, obscure patch a month and then declaring "AHA! We have less patches than M$." ;) Hmmm... that seems vaguely familiar. :)

    Naturally, since you won't find the "Linux community" putting out any patches at all, ever. They're always put out by individuals or by companies/devteams that simply wish to produce the best possible product for their users.

    If I had to put my money down on which one was more secure, my money would go on Linux.

    The best way to keep you computer system secure is to make sure it's not run by idiots. How do you accomplish this? Make sure it's as complicated as possible[1]. For a long time Unix had this going for it, which means that Unix administrators had to have a lot experience coupled with knowledge and consequently would usually run a secure network.

    By comparison, since "any idiot can run a MS network", then idiots were hired to run MS networks, with predictable results.

    [1] The same principle actually works on a broader scale. Intrinsically hard topics tend to gather a more knowledgeable crowd while idiots flock to the easy topics like politics, religion and such. Which usually means that the level of discussion over political topics is far lower than that, say, for hard sciences.

  19. Re:Head, meet Sand by bmajik · · Score: 2, Informative

    minor nitpick. if you read the link you posted, you'll see that there's infact no WebDAV code in ntdll.dll (why would there be ?)

    WebDAV depends on some code in ntdll.dll, and it looks like you can feed WebDAV goop that it happily uses to exploit the BO in ntdll.dll.

    So, webdav is the attack vector to remotely get at a problem in ntdll.dll. it's not substantially different than php triggering a bug in kmalloc() :)

    --
    My opinions are my own, and do not necessarily represent those of my employer.
  20. Re:Security by dexterpexter · · Score: 2, Insightful

    I am not sure if you are attempting to argue with me or not, but it sounds like you are actually agreeing/clarifying points that I actually meant, but are better said by you.

    I am sure that the average Linux user was at some point technologically unsavvy, but you usually find that individuals who migrate from Windows to Linux are those users with at least some grasp on what they are doing. However, that does not change the end result, that being that the average Linux user probably has some idea of how to "secure" their computer. Now, as Linux desktops become more popular, we will find that these numbers will change. However, I would feel a lot more confident running an unpatched Open Source product than an unpatched Microsoft one, although doing either is tempting fate.

    I did take the time to point out that contributors to the Linux community are far fewer than those who use Linux. However, it still holds true that the few people who do contribute, do an excellent job at it. Anyone disagree with this? I, for one, am impressed with the thankless work that they do.

    And the "any idiot can run a MS network" fits perfectly in with my point that the insecurity, often times, lies in the user/administrator. *Laughs* Do Microsoft certifications even mean anything anymore? Or are there big wigs out there who use terms like "paradigm" and phrases like "thinking outside the box" that still get impressed with shiny stones and MS Certs?

    As I said, same point (with an argumentative tone), better said by you.

    --

    *-*-*-*-*-*-*-*
    "We are Linux. Resistance is measured in Ohms."
  21. Hoooeee!!! Hooray for linux! by Anonymous Coward · · Score: 2, Insightful

    Now don't break your arm patting yourselves on the back. That article hasn't really stated ANYTHING new or anything of even mild interest. Yeah Steve Ballmer said windows was as secure as linux, did anyone actually BELIEVE the guy? Maybe the non-techies, but this article is really only going to be read by /.ers which is the epitome of geeky techs. What point did this article actually have other than calling the kettle black?

  22. Short on facts by iron_weasel · · Score: 2, Interesting

    I found the article not very informative.
    It had a lot of verbiage but thats about all.
    'Someone said this, someone said that, yada yada.'

    Exactly how many holes were there? How many known of are still there? "Where's the beef?"

  23. Re:One thing's for sure.. by Elektroschock · · Score: 4, Informative

    Listen what Ms say in its advertisements about Linux Server security:

    Take a look at the german MS advertisement

    - no GUI for linux server on old hardware
    - authentification with uncrypthed text as default
    - no Kerberos support
    - no smartcart authentification support
    - no public key infrastructure with directory service
    - no default cryptho file system

    translated "the protection of sensitive business data can only partiell be done with Linux"

    - bug fixes by "free will" contributors (may be okay for hobby applications, not for sensitive business data)
    - few professional trained specialists

    - Linux as a problem and cost trap

    --- don't tell me this is FUD :-)

  24. Re:Security by John_Sauter · · Score: 4, Insightful
    So, do you think bugs make it into the code because the emphasis is on cranking out software quickly, without caring about the quality ?
    The parent has an eloquent description of the software development process from the point of view of fixing bugs. The conclusion is obvious: it costs less to fix bugs sooner rather than later, and every software development manager agrees with this. However, the reality is that software is coded quickly, without regard for quality or testing, and shipped as soon as possible.

    Why? There is an unvoiced feeling among software managers that they had better get the product on the shelves by Christmas or their careers will suffer. In the extreme, they become yes-men, telling their bosses only what is pleasing, with no regard for the truth. Too many yes-men and the company crashes because top management is not aware of problems until it is too late to fix them.

    The solution? Software product managers must have the intelligence to recognize when their product needs more time, and the courage to tell their superiors the bad news. To encourage that behavior, top management needs to be tolerant of bad news, and not limit the careers of their subordinates who bring it.
    John Sauter (J_Sauter@Empire.Net)
  25. Re:Security by evilquaker · · Score: 4, Insightful
    When the CEO comes in screaming "ship it! ship it!" and you are given very little alternative, that is exactly what happens. And yes, it does cost more money to repair the bugs later than sooner, but management knows no logic...

    There most certainly is logic. I know because I've been in that situation. While I'm not a CEO and I'm not in the software industry, I have released a product with "bugs" which we'll try to work around or fix eventually. So I think I understand the desire to ship things before they're "ready".

    It comes down to two simple words: market share. Every day, people are making decisions and buying products that serve their needs. If they're not buying your product, then they're buying your competitor's product. Moreover, if you don't have a relatively recent product, you start to lose mindshare. It's very possible to release a product so late that even though it's the best, no one cares anymore: they all bought a competitor's product and are locked in to it. So in a very real sense, every day you delay the release date is costing you money.

    Thus, you need to balance the desire to ship a product with no bugs with the desire to have a product in the market now. And the way to choose when to do that is to balance the monetary costs and try to release the product when the cost is minimized.

    --
    To within half a percent, pi seconds is a nanocentury. -- Tom Duff
  26. Rebuttal to MS by bhtooefr · · Score: 2, Insightful

    - XFree86 will run on a lot of stuff. However, why do you need a GUI? Last I checked, you were developing a better CLI...
    - SSH?
    - No Microsoft proprietary Kerberos support. There's Kerberos, just not MS Kerberos.
    - I'm pretty sure it's there, and if not, someone can whip it up quickly.
    - Hmm... Samba, anyone?
    - I thought most of them WERE crypto...
    - The "free will" contributors do a better job and go through more of a review process than your patches, thank you very much
    - That's just pure BS
    - No. Initial cost is much less than Windows, and TCO would have to be less.

  27. Implications of this concept: by Crypto+Gnome · · Score: 5, Insightful

    Terry Pratchett (in his many and various Discworld novels) overed this quite clearly.

    The Patrician privatised everything.
    I mean everything
    All the usual goings on in a big city (eg crime) were arranged much like insurance is today (in our world).

    Unfortunately (you knew I was going to say that).... The Fire Department got into the insurance business (have to raise money somehow) - specifically FIRE insurance.

    This ended up with them having such pleasant conversations (amongst themselves) while walking down the main business streets.

    My My. Such lovely Old Buildings. Wonderful WoodWork. Would be such a shame if one of them should catch fire. Would prolly burn most of the city down. Oh Dear! What a disgrace that would be.

    Basically, in our world, most people recognise that such a situation (ie charging to fix something that you should not have broken in the first place) would very rapidly lead to (essentially) rampant wholesale uncontrolled extortion.

    If a company were to charge you for security and other bug fixes, they would then have a strong financial incentive to produce shoddy bug ridden software and frequent updates.

    Product quality would decrease, and administration overhead would increase.

    It's the same issue with charging for software subscriptions. What is their incentive to produce another updated version with new features? After all they've already got your money.

    A Software Subscription (with ALL updates FREE for 5 YEARS !!!!) does nothing more than make software updates come out once every 5 years.

    --
    Visit CryptoGnome in his home.
  28. Re:Head, meet Sand by t0ny · · Score: 3, Insightful
    Not only that, but to address this poor analysis...

    Baloney. IIS comes on every Windows CD-ROM and is used by lots of Microsoft apps. And there's plenty of bugs that cross boundaries thanks to Microsoft's blurring the distinction between OS and application...like that WebDAV bug in ntdll.dll that was exploitable via IIS [microsoft.com].

    Where to begin?

    1. Just because it comes on the CD-Rom does not make it any less of an optional component. If I started ranking on security flaws on some of the obscure, minor, optional programs what come with the varios Linux distros, you would just change song and say "hey, nobody uses that" or "its just optional, nobody is forcing them to use it". Just a tip- pick one story, and stay with it. It makes you look less hypocritical.

    2. Used by other apps- MS cannot be held responsible for non-MS apps causing holes in the security. To claim otherwise is lunacy, and throws the whole issue of personal responsibility out the windows. I am responsible for what *I* do, but to hold me responsible for what people I work with do? Thats absurd.

    3. You mentioning the WebDAV exploit demonstrates your lack of knowledge in how Windows uses DLLs. I try to always get my expert opinions from experts, so please stop spewing nonsense about things you dont really understand. Just because you are on a mailing list doesnt make you knowledgeable, or an expert.

    Also, your former gripe regarding no kernel exploits, of which there were some, is just as valid if you want to talk about Windows. So why dont YOU stop talking about apples and oranges? You cant have it both ways.

    --

    Manipulate the moderator system! Mod someone as "overrated" today.

  29. Re:Head, meet Sand by t0ny · · Score: 2, Insightful
    Yes, if your time is worthless, than it IS free.

    is that the beauty of unemployment?

    --

    Manipulate the moderator system! Mod someone as "overrated" today.

  30. Re:IP Theft and The Linux Community by swillden · · Score: 2, Funny

    Why on earth any sane person would want to take a bitching game machine like X-box and ruin it by installing Linux is a mystery to me.

    We know you don't understand.

    Your lack of understanding doesn't cause us to lose any sleep, though. We're fine with it.

    --
    Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  31. Re:Security by man_of_mr_e · · Score: 2, Insightful

    What you say is true, but the person you are responding to also has a point. Products of all kinds (not just software) are often shipped with known defects (and many unknown ones) for a variety of reasons. Ed Yourdon in one of his books (either "Deathmarh" or Rise and Resurection of the American Programmer, I don't remember which) advocates that there's such a thing as "good enough" software. This is software that isn't perfect, but is cheaper and faster to market than a competitors that strives for perfection. This is one way that the US has dominated the software market for the last 20+ years and fought off the off-shore invasions that Yourdon predicted in his book "The decline and fall of the american programmer".

    Frankly, "good enough" software is still the norm for most things, but the bar for "good enough" has risen quite substantially in the public network world due to the exponensial increases in penetration attempts (and successes).

    Closed source commerical companies aren't the only ones to do this either. Look at most Open Source software, which pretty much ships something as soon as it can compile and then slowly morphs into a solid product. Frankly, you're never going to find all the bugs in your software in the lab. It has to be exposed to the billions of permutations of end-user systems to find most of the problems. A good example was the 2.4 kernel, which was still going through major "beta" changes up until about 2.4.14, despite supposedly being "stable".