Slashdot Mirror


Due Diligence?

ekr writes "The OpenSSL remote buffer overflows discovered at the end of July got a lot of press here on /. But how many people actually fixed their machines? I decided to study this question, and the results are kind of depressing. Two weeks after the release of the bug, over two thirds of the servers I sampled were still vulnerable. Even two weeks after the Slapper worm was announced, a third of the total servers were vulnerable. The paper can be found here in PDF or Postscript."

202 comments

  1. One word: Liability by Real+World+Stuff · · Score: 0, Troll

    Unless there is liability accountability, people will continue to be lazy. This frequently happens when no-talent hack spend 8 hours a dat hiding from their inflated resumes.

    --
    If we don't fight for ourselves no one will.
  2. It's not just laziness... by Anonymous Coward · · Score: 5, Insightful

    Many systems administrators aren't full-time and have other responsibilities. Keeping up-to-date with every security patch is very time consuming and sometimes management doesn't understand this and doesn't allocate resources for it as long as things are "working".

    1. Re:It's not just laziness... by dfn5 · · Score: 5, Insightful
      Unfortunately keeping up with patches is a very important part of any security strategy. I am all for letting companies do things their way, but if admins don't allocate more time to security and patching then I'm afraid the government will do more than just recommend actions for Security on the Internet and will start mandating stuff. I for one don't want that to happen.

      Bottom line? Improve your security while you still have the rights to do it yourself.

      --
      -- Thou hast strayed far from the path of the Avatar.
    2. Re:It's not just laziness... by wandernotlost · · Score: 2

      There's no excuse for this. I'll refrain from saying that everyone should just use Debian, because that's not really true, but my system was patched within a few hours with a simple apt-get, with almost no effort on my part.

      What I will say is that more distributions and operating systems should implement systems like apt, and vendors should keep up with patches as well as the Debian security team does. It really shouldn't be a big effort on any administrator's part. (Though that doesn't absolve administrators from having to be mindful of security issues.)

    3. Re:It's not just laziness... by robnsara · · Score: 1

      Amen, brother. With economics like they are, I'm sitting at work as sole administrator of 60 Win2k servers and 8 Linux servers. Trying to keep them all up to date is a nightmare...

      Though, I must say. On those Linux servers, I am able to keep up my patches and the like much easier than on the Windows boxes... The reason? NO REBOOT! (unless I've got a kernel to replace) NO DOWNTIME TO SCHEDULE! Hooray!

      I've got Windows webservers that sometimes go weeks without updates because I can't convince the business folks to let me schedule an outage of the production systems. Thank goodness they just started building a redundant server farm so I can knock servers down one at a time for updates.

    4. Re:It's not just laziness... by Anonymous Coward · · Score: 0

      We don't have enough time for GOD. Why would we have enough time for patching SSH bugs?

      Go ahead mod me down if it hurts your mind to think about God. Like antibacterial spray on a wound.

    5. Re:It's not just laziness... by unoengborg · · Score: 1

      Most distros have systems like apt-get.
      The problem is that when a package for those systems are available, the bug has already bin around for a some time. While the situation is much better than in windows. Microsoft usually spend the same time denying a problem the same time Linux distributers do trying to package a fix. Still, it might be too slow.

      You really have to go for the tar archives or even cvs changes that the developers of the offending package usually release very quickly, often within hours when a vulnerabily becomes known.

      The problem is how can we ensure that the fix really is a fix and not a trojan put out by sombody else. The MD5 check sums that often acompanies the source code for download only verifies that the file you get over the internet actually is the one you intended to download.
      This isn't enough. We need to make sure that the code really comes from the developer himself.
      (I assume that we trust him, or we wouldn't have installed the program in the first place)

      So to be sure developers need to digitally sign their code. But the signature is of little value if you can't associate it with a specific person or organization with any certainty.

      My idea is that RSA certificates for e-mail could be used. Such certificates can be aquired from e.g. Thawte inc free of charge. In the Thawte Freemail system a subject to be certified is required to in person show a photo ID to at least two notaries that verify his identity.

      In this system we would have a way to make sure that we get the real thing when we download something. Provided developers keep the passwords to their private keys to themselves.

      --
      God is REAL! Unless explicitly declared INTEGER
    6. Re:It's not just laziness... by frenetic3 · · Score: 2

      What a naive comment. You'd be amazed at the number of computers with medical, financial, academic, or other critical records on public IPs, especially since a technology like OpenSSL facilitates putting sensitive info like that online because it's "secure."

      There are tons of recent examples of computers accidentally storing critical info and records out in the open, much less secured by a barrier like OpenSSL.

      --
      "Where are we going, and why am I in this handbasket?"
    7. Re:It's not just laziness... by unoengborg · · Score: 2

      It's not a private matter, just as airplane hijackings are not a private matter.

      By gaining access to many hosts on the net an attacker may launch distributed attacks against specific targets.

      Imagine if sombody took down all top level DNS servers in such an attack. Today internet is part of the information infrastructure government and press use to communicate with the citizens. And if that information channel is at risk, governments will act.

      --
      God is REAL! Unless explicitly declared INTEGER
    8. Re:It's not just laziness... by Anonymous Coward · · Score: 0

      God is dead, ask Nietzsche.

    9. Re:It's not just laziness... by passthecrackpipe · · Score: 2, Insightful

      My rule of thumb: If it is not something I want the whole world to find out about, it doesn't go on the computer. Period.

      --
      People who think they know everything are a great annoyance to those of us who do.
    10. Re:It's not just laziness... by kraksmoka · · Score: 2, Insightful

      absolutely right. i have a network engineer friend, we always joke that if you want to completely secure a machine, hit the button! the net was made for information dissemination, not information protection

      --
      "You never want a serious crisis to go to waste." - Rahm Emanuel
    11. Re:It's not just laziness... by Anonymous Coward · · Score: 0

      The internet has a large and growing impact on national productivity. dfn5 is right to fear the goverment might over reach in trying to protect security. We all seem to agree would be a bad thing.

    12. Re:It's not just laziness... by NDPTAL85 · · Score: 1

      You're incredibly narrow minded. The government vary rarely needs a "legitimate" interest or reason to do anything. If it wants to do something and very few people object to it, then it will be done, simple as that.

      We've got Federal regulations for everything from tobacco advertising to the pricing of milk in the North easy. We can all live without electricity or cars as well, yet the government regulates those. You sound like some sort of mindless libertarian who can't concieve of why the government would want to be involved in anything that isn't a direct obvious threat to a person's life.

      If the government wants to regulate the security of internet servers, I don't see much of anything getting in its way.

      --
      Mac OS X and Windows XP working side by side to fight back the night.
    13. Re:It's not just laziness... by mbogosian · · Score: 2

      It doesnt affect the actual living-or-death state of actual real people.

      Read as: it doesn't negatively affect the bonuses of the company execs or the board.

    14. Re:It's not just laziness... by NDPTAL85 · · Score: 1

      Denial is one of the main tenents of Libertarianism. Just deny there's any thing that needs to be regulated and your arguments start to make sense.

      Everything works fine, nothing is broken, its working as designed. You sound like a battered wife talking to the cops with two black eyes and a fat lip trying to defend her husband.
      I'm not saying the internet is completely broken, but its not working perfectly either. And its a hell of a lot more than just some machines connected together. Its becoming the center of our very economy.

      Jobs, lives, lifestyles, entertainment, information, education....etc all involve the internet. Thats a bit more than just some machines connected together.

      With the prevelance of Windows servers going unpatched, each one is a risk to everyone else on the internet. If Microsoft can't clean up its act, and the system administrators who run these trouble prone servers can't "find the time" to keep them patched and up to date then I see the government cracking down very hard at some point in the future.

      When a simple script kiddie can take control of a few hundred or thousand home machines or office machines, turn them into zombies and use them in brutual Denial of Service attacks on any innocent target, DNS root servers, ecommerce sites, a residential IP with very little chance of being caught and brought to justice I don't see how you can claim that "everything works fine".

      Wipe the "government can't do anything right so it shouldn't do anything at all" sentiment out of your eyes so you can see the reality of the situation.

      --
      Mac OS X and Windows XP working side by side to fight back the night.
    15. Re:It's not just laziness... by Anonymous Coward · · Score: 0

      Yeah, and tulips were the center of Dutch economy (the largest in the world) for a time.

  3. this is why... by mr_gerbik · · Score: 5, Funny

    This is why I run Windows 3.11. No worries about falling behind and not installing the latest fixes.

    1. Re:this is why... by Anonymous Coward · · Score: 1, Funny

      Similarly, I gave my mother in law BeOS 5 PE.

    2. Re:this is why... by Anonymous Coward · · Score: 2, Interesting

      I recently did some work for a colo client with an unpatched stock FreeBSD 2.6 machine. It was in perfect condition (everything worked fine, no hidden files, no core dumps, nothing funny in the logs going back months). No only that, but all the default old-skool services were running like rexec or whatever. My mouth was hanging open in disbelief but apparently it never got hacked (or it got hacked so well I couldn't find anything). The red hat linux machines on the same lan that are supposedly kept up-to-date by the clients get hacked regularly.

      I'm starting to wonder if installing linux 0.99 wouldn't be such a bad idea.....

    3. Re:this is why... by Malcolm+Scott · · Score: 1
      Similarly, I gave my mother in law BeOS 5 PE.
      What had she done to you, that you should punish her thus?
  4. I wiped my OpenBSD boxes, reinstalled, patched by JimmytheGeek · · Score: 3, Interesting

    I noticed connection attempts from Korea just after the announcement and decided it was time to nuke the the boxes from orbit. Not much point in having an O-BSD box you are only mostly sure of.

    I had some angst with RedHat boxes, though. The update mechanism didn't change the reported version number of OpenSSH. Annoying.

    1. Re:I wiped my OpenBSD boxes, reinstalled, patched by WatertonMan · · Score: 3

      I don't understand why you felt OpenBSD was less secure than Redhat in this regard. You can patch the software on OpenBSD fairly easily. Heavens, I've updated our OpenBSD box's Apache several times now.

    2. Re:I wiped my OpenBSD boxes, reinstalled, patched by Anonymous Coward · · Score: 0

      strange.

      why are you assuming that he replaced the bsd boxes with redhat?

      i read the post as " scenario 1: bsd boxes were suspect so he reinstalled" REINSTALLED means bsd goes back on.

      "scenario 2 he was dealing with was some redhat boxes, but he was unhappy with those because the up2date did not increment the ssh version"

    3. Re:I wiped my OpenBSD boxes, reinstalled, patched by JimmytheGeek · · Score: 2

      The redhat boxes were different- they occupy a different niche. The oBSD boxes remain, and my (attempted) point about the redhat ones is that they are harder to patch, or at least it's harder to be confident in the patch level, because the updated openssh rpm has an obsolete version designation.

      I think openbsd is wonderful and I buy their swag to support them. I've offered to mirror, but I think they might have enough.

    4. Re:I wiped my OpenBSD boxes, reinstalled, patched by Anonymous Coward · · Score: 0

      #1 -- it did. It changed the patch number, because it wasn't really OpenSSH 0.96, it was a patched 0.92. Redhat doesn't use a stock OpenSSH install, just like they don't use a stock kernel.

      #2 -- OpenSSH wasn't vulnerable. It was recommended to upgrade anyway, since it was possible that future functionality could potentially expose the bug.

  5. That is because by Neck_of_the_Woods · · Score: 1, Funny


    The servers you sampled are administered by MCSEs'. Come one now, you know that this has to be the case, because no Linux admin could ever be lazy enough not to patch his system, this is the sole right of a paper MCSE.

    Yea that was me pointing at you, the long haired pasty white guy with the god complex. You have become your own worst enemy. You have become lazy and ignorant because no one knew linux and you could rule. We guess what, with getting into the big league comes the price of being exposed.

    Better brush up and get on the stick because yes a lot of MCSEs are lazy, no good, paper test taking gimps but your more dangerous. You take the assumption that you are secure, but as more eyeballs look at your systmes as linux gains marketshare you going to have the same issues.

    Depressing no? Enjoy the ride, your in the spot light now my friends just like the windows guys....get to your patches like a good boy.

    --
    Neck_of_the_Woods
    #/usr/local/surf/glassy/overhead
    1. Re:That is because by Anonymous Coward · · Score: 0

      MCSE as in Master of Computer Science and Engineering?

    2. Re:That is because by Doomrat · · Score: 1

      Ahh. Looks like somebody failed his MCSE.

  6. time by Anonymous Coward · · Score: 0

    like admins have time for such fiddle faddle chores...

  7. Vulnerability Check by Karamchand · · Score: 1, Interesting

    How does one check if a server is vulnerable without actually "breaking in", i.e. make oneself liable to prosection?
    I skimmed through the PDF but could not find anything about this.
    Thank you.

    1. Re:Vulnerability Check by Anonymous Coward · · Score: 0

      The easy way: Version strings. This method fails when the version isn't bumped up by the patch in the great security by obscurity tradition. If there are other indications that the vulnerability has been removed, then there's no reason not to increase the version, so if the version remains the same, chances are that there is no other way but the shady way: You break in but try to cause no data-modification or denial of service. Especially the latter has been a problem already in the seemingly simple case of testing mail servers for open relays.

    2. Re:Vulnerability Check by James_G · · Score: 5, Informative
      How does one check if a server is vulnerable without actually "breaking in", i.e. make oneself liable to prosection? I skimmed through the PDF but could not find anything about this.

      Well if you'd read the PDF instead of skimming it, you would have seen this:

      Thus, we can simply connect to the HTTPS server and issue a HEAD request. The server responds with an HTTP header containing the Server: field and hence the answer we desire:

      Server: Apache/1.3.26 (Unix) mod_ssl/2.8.10 OpenSSL/0.9.6

      They then went on to verify that SSLv2 is not disabled, but they mention later in the paper that on only 10 hosts was this done.

      Theoretically you could change the response to report the more recent version which would make this check innacurate, but why would anyone bother doing that? Far easier to just upgrade OpenSSL.

    3. Re:Vulnerability Check by FattMattP · · Score: 4, Interesting
      I can't believe that you got modded up for just saying "I didn't read the article." If you had bothered to read it and not skim it, you would have found the description of how they check it on page five:
      The patches provided by the OpenSSL project do not change the version number. As a consequence, we cannot simply examine at the advertised version number in order to determine whether or not they have been applied. However, due to the nature of the SSLv2 problem, it's still relatively straightforward to determine whether or not a server is vulnerable and therefore by excluding servers which advertise a newer version number identify whether or not a given server has been patched.

      [snip]

      It's possible to determine whether OpenSSL has been patched by generating a CLIENT-MASTER-KEY which is one octet too long. It's easy to see that in a patched version, this falls afoul of the length check shown in Figure 5. The result is a handshake error.
      This right under the section called "Detecting Vulnerable Servers." Maybe you should read the article next time before you post.
      --
      Prevent email address forgery. Publish SPF records for y
    4. Re:Vulnerability Check by Anonymous Coward · · Score: 0

      Easy. You pay me $150/hr, and I'll come in with my Dynasecure Professional-Grade High-speed Vulnerability Sensor and check it out. Shouldn't take more than 3 hours, tops.

    5. Re:Vulnerability Check by 5r · · Score: 0

      That's why I allways try to modify this lines in src/include/httpd.h under the Apache source tree wheh I compile: #define SERVER_BASEPRODUCT "Apache" #define SERVER_BASEREVISION "1.3.27" Oh, yeah!! And be sure to set ServerTokens to "Min" in your Apache config. file.

    6. Re:Vulnerability Check by AugstWest · · Score: 2

      One installs and runs nessus, updates the plugins and scans one's servers weekly.

      One also tends to sleep well at night afterwards.

    7. Re:Vulnerability Check by DVega · · Score: 4, Interesting
      To check the version number on the "Server" field of the HTTP Reply is not enough. Some patched versions did not change this header. On the PDF they explain on page 5 that they discovered a way to check the vulnerability without crashing the server.
      " It s possible to determine whether OpenSSL has been patched by generating a CLIENT-MASTER-KEY which is one octet too long. It s easy to see that in a patched version, this falls afoul of the length check shown in Figure 5. The result is a handshake error. In an unpatched version of OpenSSL, the server overruns the key_arg with whatever the extra byte is. However, as we shall now show, this overrun is harmless."
      --
      MOD THE CHILD UP!
    8. Re:Vulnerability Check by Karamchand · · Score: 1

      I found this part, thank you. Sorry I cannot express it better. I meant if the SSL version check, and the SSL2 = enabled check fails - how do you check then?

    9. Re:Vulnerability Check by Karamchand · · Score: 2

      Thank you for your answer and sorry I cannot express myself better.
      Actually I did really _read_ the parts you quoted. My question was more about laws. Doesn't probing if it is vulnerable (i.e. actually "playing the attack") count as attacking?

      THIS was what I was asking. But thanks for beeing so friendly and trying to allege me I am a stupid cocksucker.
      Cheers.

    10. Re:Vulnerability Check by Karamchand · · Score: 1

      ServerTokens Prod is the littlest setting for the normal compile. Of course if you changed the source (e.g. applied the patch available in the apache.org contrib area) this doesn't apply..

    11. Re:Vulnerability Check by Karamchand · · Score: 1

      Though I actually don't really care:

      I can't believe that I get modded down just for you saying "his posting sucks"

      Think about it.

    12. Re:Vulnerability Check by myowntrueself · · Score: 2

      Is there any reason, aside from debugging and diagnostics, to present the world with accurate information about the versions I run?

      I sure as hell can't think of any.

      In fact I am going to go over my system here and make damn sure that I stop any such foolishness...

      --
      In the free world the media isn't government run; the government is media run.
    13. Re:Vulnerability Check by passthecrackpipe · · Score: 2

      I bet you don't allow ICMP through your firewall either.....

      --
      People who think they know everything are a great annoyance to those of us who do.
    14. Re:Vulnerability Check by wytcld · · Score: 2
      You can easily have your servers report no more than:

      Server: Apache/1.3.26

      Set ServerTokens to "min" in httpd.conf. Why tell anybody anything you have no use in their knowing? Sure, there are other ways they can test your vulnerability. But some of them will look here first, and just go elsewhere if you're not baiting them with what they're looking for.

      --
      "with their freedom lost all virtue lose" - Milton
    15. Re:Vulnerability Check by myowntrueself · · Score: 2

      I'd forgotten that one,
      as soon as I get this pineapple up my ass I'll be on it!

      --
      In the free world the media isn't government run; the government is media run.
    16. Re:Vulnerability Check by FattMattP · · Score: 1
      I can't believe that I get modded down just for you saying "his posting sucks"
      Then maybe you should think harder. Your post contained no value. It shouldn't have been modded up in the first place. Once people realized that they modded your post based on the value of its content. Read the article next time before just spouting off at the mouth and maybe you'll get modded up based on the value of your contribution to the conversation.
      --
      Prevent email address forgery. Publish SPF records for y
    17. Re:Vulnerability Check by Karamchand · · Score: 1
      You still haven't understood it...
      • It obviously was of value to the moderators - otherwise they would not have modded it up. Neither is everyone who disagrees with you wrong, nor does the slashdot moderation system ensures that "correct" or "scientificly good" or whatever comments get modded up - but comments the moderators like, for whatever reason.
        I guess they liked it because they thought "hey that's an interesting question" - whethet you agree with them does not matter.
      • While I did not read the complete document I actually read the part about checking for vulnerabilities - but I could not find an answer to my question. Perhaps my question was not phrased that well - I am sorry for this but with a little bit good will (which you obviously do not have) one certainly could understand it.
    18. Re:Vulnerability Check by FattMattP · · Score: 2
      It obviously was of value to the moderators - otherwise they would not have modded it up.
      The inverse is also true. If your post contained content that people found valuable, then it would have stayed at a high moderation status. It didn't. Whether I "get it" or not is irrelevant, particularly because I didn't do any moderation of your post.
      --
      Prevent email address forgery. Publish SPF records for y
  8. Check using Lynx by Anonymous Coward · · Score: 0

    lynx -mime_header http://www.YOURSERVER.com

    Should be 0.9.6g or better.

  9. Securing OpenSSL by Exmet+Paff+Daxx · · Score: 5, Interesting
    Some points to consider:
    • Fear. Most Linux users are probably reeling in shock from the recent trojan inserted by elite hacking group ADM into the libpcap distribution. The old standby argument that 'checking the MD5 signatures' will save you has become null & void; ADM replaced the MD5 signatures too. The only reason the trojan was detected was because of the Google cache! This kind of thing probably has most users afraid to move to anything recently released that hasn't been extensively peer reviewed.
    • Ignorance. Since the Slapper worm only contains offsets for a handful of platforms, many flavors of Linux are 'immune' to automated infection. While blackhat groups have offsets for nearly every implementation of Apache/SSL in existence (yes, even you x86 Solaris people), this threat isn't considered 'immediate' enough to justify the third point:
    • Sloth. Upgrading your OpenSSL isn't as easy as it could be. You actually have to recompile Apache with ./configure flags to link it to the new version of OpenSSL which you just recently downloaded (it's not trojaned... right?). Sounds easy, but for a production server that hasn't been touched in a year, this tends to make people really nervous

    All of this points to the fact that there is a fundamental flaw in the way that the Open Source community is securing their software. Putting MD5 signatures on the same server that the software is available from isn't even close to secure - Dave Aitel of Immunity Security keeps hammering on this point in BugTraq. And we're going to see even more of this 'Upgrade Fear' as more and more distributions get trojaned - Slash is probably next on the list.

    We need to look at existing, successful solutions to this problem (like Windows Update) and catch up. Now.
    --
    If guns kill people, then CmdrTaco's keyboard misspells words.
    1. Re:Securing OpenSSL by Psiren · · Score: 4, Informative

      Upgrading your OpenSSL isn't as easy as it could be.

      Any decent distribution will do this work for you. That's what they're for after all. My Debian box was updated no more than 24 hours after I read about the problem, requiring nothing more that an apt-get update on my part.

    2. Re:Securing OpenSSL by 5r · · Score: 0

      I see you have a very good point about upgrading "base" software (software that other programs relays on). We have over here some serious issues with production servers that nobody knows exactly how they're working. Let alone trying to update OpenSSL. It could take weeks to get it working. On the other hand, I really don't see how is more secure to update using Microsoft scheme. As far as I understand, if someone brokes on Bill's servers, they would propagate bogus packages, in fact binary bogus packages, making the detection one hundred times more difficult. IMHO ...

    3. Re:Securing OpenSSL by Albanach · · Score: 4, Interesting
      There's also the issue of those running servers who, sensibly, have either gcc set to non executable, or simply have no compiler installed. It's much more difficult to compile code when there isn't a compiler, and with no gcc available, slapper can't do an awful lot.

      Sure something else might come along that can, but as you point out, if you're running a server that's been up a year, changing things is never comfortable, and if you know slapper isn't going to infect you, there's much less motivation.

    4. Re:Securing OpenSSL by Anonymous Coward · · Score: 1, Informative

      The bogus update problem is really no problem at all when you use cryptographic signatures: If there is an update, the distributor signs the update with his private key and the update process checks that the signature matches the data and is from a know authorized distributor. The public key which is used to check the update is distributed with the initial install media, so it should be out of the hackers' reach. The distributor would of course have to make sure that his key doesn't get compromised, but that should not really be an issue when smartcards or other separate/disconnected machines are used to sign the updates. This method is already in use today, but many projects still rely on MD5-checksums which the hacker can produce just as easily as the project owners.

    5. Re:Securing OpenSSL by Flarners · · Score: 4, Interesting
      My Debian box was updated no more than 24 hours after I read about the problem, requiring nothing more that an apt-get update on my part.
      That's exactly the problem the parent poster was trying to highlight! Sure, you can blindly trust that the Debian servers are secure and un-trojanned and let apt-get install it without so much as checking a key signature. Even if you do configure apt to check the signature, it fetches the public key from the same server as the packages. Thus, an attacker can easily trojan your machine with man-in-the-middle or DNS attacks, sending you to an update site with a trojanned package signed with his own public key. If someone sneaks into the real debian servers, subverting apt-get is as easy as:
      • Upload new "developers" key signature.
      • Sign trojanned package with new signature.
      • Upload trojanned package.
      and it's Game Over. Of course, Red Hat and Mandrake's solutions aren't much better. The key needs to be stored with a trusted entity like Verisign, which is how Windows Update and other commercial-grade updating systems ensure the integrity of their packages. You've never heard of Windows Update being trojanned, have you?
      --
      "The problem with the French is that they don't have a word for 'entrepeneur'." -George W. Bush
    6. Re:Securing OpenSSL by schulzdogg · · Score: 5, Insightful
      The old standby argument that 'checking the MD5 signatures' will save you has become null & void; ADM replaced the MD5 signatures too. The only reason the trojan was detected was because of the Google cache! This kind of thing probably has most users afraid to move to anything recently released that hasn't been extensively peer reviewed.

      False. From the HLUG website (the group that discovered the trojan):
      Thanks to Antioffline.com for hosting us, and Gentoo's Portage system for catching the trojaned files via checksums.

      Putting MD5 signatures on the same server that the software is available from isn't even close to secure



      This is true though.

    7. Re:Securing OpenSSL by mwalker · · Score: 3, Insightful

      Sure something else might come along that can, but as you point out, if you're running a server that's been up a year, changing things is never comfortable, and if you know slapper isn't going to infect you, there's much less motivation.

      That's exactly what the Blackhats of the world wanted to hear. Of course, they can use the exploit on you, log in, download their BINARY rootkits that don't need a compiler, and use your bandwidth to rape innocent sites like Slashdot with DoS attacks. After deleting your logs, they'll install a sniffer to see what other systems they can compromise using your NIC's visibility, and finally they'll deface your web site and pipe /dev/urandom onto your hard drive's raw interface.

      Have fun!

      It's really a damned shame you don't have a way of getting a securely signed OpenSSL update. While Debian has signature and key checking, it's all on a single point of failure server. You really need a trusted key that comes with the install media, but so far the only O/S which supports this is Windows. People who use Free software don't get install media and are pretty much up the creek...

    8. Re:Securing OpenSSL by Anonymous Coward · · Score: 0
      The public key which is used to check the update is distributed with the initial install media, so it should be out of the hackers' reach.

      You are so right! It's too bad the only O/S which supports this is Windows. Hopefully some day Linux will catch up.
    9. Re:Securing OpenSSL by Anonymous Coward · · Score: 0

      Some Linux distributions use this method too. It's in the RPM package format.

    10. Re:Securing OpenSSL by Flowers · · Score: 0, Offtopic

      Windows Update is a trojan. </obligatory aniti-MS sentiment>

      --
      Somehow, detached from my actual behavior, this innocence burdens me still.
    11. Re:Securing OpenSSL by Anonymous Coward · · Score: 0

      Oh REALLY? Which Linux distributions have a Verisign cert on their install media which they use to sign all their upgrades with? Which one is that? Is that the --verisign flag on RPM? Do tell!

    12. Re:Securing OpenSSL by doozer · · Score: 1

      Actually, with Debian Security advisories, they DSA email includes the package md5sum

      So unless they managed to break into the mailserver, and also my home machine and my laptop
      and change the email sent out and also the emails I received, I can use this as a known
      good source for package verification.

      So, yes, they might be able to access the archive server and replace the package, but it won't
      have the fingerprint I was told it would have.

    13. Re:Securing OpenSSL by halftrack · · Score: 2

      Thus, an attacker can easily trojan your machine with man-in-the-middle or DNS attacks, sending you to an update site with a trojanned package signed with his own public key.
      (...)
      The key needs to be stored with a trusted entity like Verisign, which is how Windows Update and other commercial-grade updating systems ensure the integrity of their packages.


      I find this a weak argument. A man in the middle attack would only get slightly harder if they put keys and packages on different (trusted) servers. Their just harder to fake than one server systems, but by monitoring regular patterns between all servers and a client you'd be able to assemble the right phony proxy (or whatever the cracker's using.)

      --
      Look a monkey!
    14. Re:Securing OpenSSL by Anonymous Coward · · Score: 0

      Redhat. The verification command is rpm -K.

    15. Re:Securing OpenSSL by Anonymous Coward · · Score: 0

      lalalalalalalalalalala opensourcerules lalalalalalalalala icanthearyouwithmyfingersinmyears lalalalalalalala

    16. Re:Securing OpenSSL by zogger · · Score: 2

      --wish I knew more about this stuff. Looking at this and trying to get a handle on it. Seems to me the biggest problem is the "whole" key is used for verification, and it doesn't matter where it's stored as it's vulnerable in transit. Well, why can't the key be split into coming from several places? And if the parts don't match and make sense, the entire transaction gets flagged as bogus.

      In other words no one place is trusted with the entire verification, one source or path might get compromised, but all of them simultaneously would take quite the effort. And perhaps if the keyholders were on a freenet sort of arrangement?

    17. Re:Securing OpenSSL by Anonymous Coward · · Score: 0

      Damnit, stop troling. The Documentation for rpm -K clearly states that the first step is to download a PGP certificate, which means that a) it's not verisign and b) it didn't come with your install media.

      Quit lying to all these people, some of them might believe you, and that's dangerous.

    18. Re:Securing OpenSSL by Anonymous Coward · · Score: 0

      http://www.europe.redhat.com/documentation/rhl8. 0/rhl-sg-en-8.0/s1-security-updates-website.php3:

      If you do not have the Red Hat, Inc. GPG key installed, install it from a secure, static location such as an official Red Hat Linux distribution CD-ROM.

      It doesn't matter if it's a verisign certificate. If you trust the installation medium, you have no reason not to trust the public key on it, signed by a CA or not.

    19. Re:Securing OpenSSL by Anonymous Coward · · Score: 0

      if you combine "rn" in my font, it looks like "m". "Flarners" = "Flamers". probably a troll.

    20. Re:Securing OpenSSL by rcw-home · · Score: 4, Informative
      You've never heard of Windows Update being trojanned, have you?

      No, but they have been cracked before:
      http://www.attrition.org/security/commentary/ms16. html

      It doesn't take a whole lot of imagination to come up with some very scary scenarios of what could have been put there instead of "Hacked by Chinese!" After all, how many people visiting Windows Update are running versions of IE without known run-arbitrary-code security holes?

    21. Re:Securing OpenSSL by John+Hasler · · Score: 2

      > ...a trusted entity like Verisign...

      "Trusted"? ROFLMAO.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    22. Re:Securing OpenSSL by Anonymous Coward · · Score: 1, Informative

      You actually have to recompile Apache with ./configure flags to link it to the new version of OpenSSL which you just recently downloaded

      I don't. That's the beauty of shared libraries and shared Apache modules.

    23. Re:Securing OpenSSL by drunken+monkey · · Score: 2, Interesting

      The only thing I've used the MD5 sig is for verifying download completeness. That and generating a session id string using a secret string in combination with publicly known strings.
      But that secret string is as good as the security of the server it exists in.

      I have higher degree of trust for the gpg key that comes on the RedHat CD's from official RedHat boxes. Nothing against other distro's, RedHat is just an example.

      narbey

      --
      -- "The evil stops here" -Petr
    24. Re:Securing OpenSSL by drunken+monkey · · Score: 1

      I've installed gpg sigs from the redhat install media.

      narbey

      --
      -- "The evil stops here" -Petr
    25. Re:Securing OpenSSL by buchanmilne · · Score: 1

      I don't know how Redhat operates, but Mandrake update packages are only signed with the Mandrake security GPG key, which ships on the installation CD and is installed into root's keyring. If you can't trust the isntallation CD, then you have bigger problems. This is a good reason to buy a distro ...

      All advisories are signed with this key, so you have some way of ensuring you do have the correct key.

      Mandrake update / urpmi does not automatically install new keys (were you implying that apt will??)

      So, on recent versions of Mandrake (where urpmi checks the sigs on packages), you can simply have 'urpmi.update updates; urpmi --auto-select --auto --update' in cron, and the only problem you will have is if the secteam managed to get trojaned source from the orginal site, and this fact wasn't discovered in testing.

    26. Re:Securing OpenSSL by David+Jao · · Score: 1
      Of course, Red Hat and Mandrake's solutions aren't much better.

      This blanket statement is unjustified.

      Fetching the public key from the same server as the packages is useless. But Redhat and Mandrake don't do it that way. With Redhat and Mandrake the public key is available on the physical installation media (i.e. retail CDs). Trojaning a retail CD takes a lot more work than trojaning a public key on a remote server.

      I personally think the danger from trojans is much less widespread than you and others think, but that's a subject for another day. It certainly is no excuse for not updating openssl, since the old openssl already has a known confirmed remote root hole.

    27. Re:Securing OpenSSL by passthecrackpipe · · Score: 3, Informative

      You really should get out more. There are distro's that include a trusted key on the install media, and yes, people who use Free Software do get install media. If you don't have anything factual to see, silence will become you.....

      --
      People who think they know everything are a great annoyance to those of us who do.
    28. Re:Securing OpenSSL by jeremyp · · Score: 2

      You coul fix the MD5 thing if you are a distributor by maintaining copies of the MD5 sigs on a secure internal server and automatically comparing them to the ones on the distribution server every few minutes. If a compromise is detected, the distro server is shut down and somebody is paged to fix it. Meanwhile everybody who has downloaded the software since the last integrity check is informed by e-mail (anonymous ftp captures e-mail addresses).

      Haven't figured out what to do about mirrors yet.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
    29. Re:Securing OpenSSL by Anonymous Coward · · Score: 0

      The key needs to be stored with a trusted entity like Verisign

      Who says I trust Verisign? I'll put more trust in my peers than some self appointed trustee, thank you very much.

    30. Re:Securing OpenSSL by j7953 · · Score: 1
      The key needs to be stored with a trusted entity like Verisign

      Huh? Why is Verisign a "trusted entity" and the Debian server operators are not? One cannot crack Verisign's servers and exchange the keys? One cannot become the man-in-the-middle between a user and the Verisign servers?

      Sure, it's harder to break into both Debian's and Verisign's systems in order to deploy a trojan, but unless you get the code handed over personally from the developer, you'll never have 100% security.

      You've never heard of Windows Update being trojanned, have you?

      No, but you're naive if you think it cannot happen.

      "In mid-March 2001, VeriSign, Inc., advised Microsoft that on January 29 and 30, 2001, it issued two VeriSign Class 3 code-signing digital certificates to an individual who fraudulently claimed to be a Microsoft employee. The common name assigned to both certificates is 'Microsoft Corporation'." (Microsoft Security Bulletin MS01-017)

      --
      Sig (appended to the end of comments I post, 54 chars)
    31. Re:Securing OpenSSL by mjt5282 · · Score: 1

      I would hope that most distros' update mechanisms use PKI tech and a trusted root certificate chained content signing cert like Marimba's sophisticated infra system or Microsoft's Windows Update.

      Marimba worked very hard to build a update infra that remains secure and tamperproof even if the transmitter server was cracked. The content signing certicates can't be easily switched because of the PKI technology (and the fact that the PKI enabled agents would notice the tampering as well).

      Of course, hobbyists have a hard time affording quality content certs and building out tamperproof update infra but profit seeking companies should have no excuse.

    32. Re:Securing OpenSSL by ken_i_m · · Score: 1

      MD5 checksums are only good for checking that the download process did not corrupt the file. More and more developers are using gpg or pgp to sign the checksums. So, this one should be labelled ignorance not fear.

      The bullet labelled ignorance does not parse to a logical argument.

      Sloth should be relabelled - if you can't do this sort of stuff with ease you have no business being a sys-admin.

      Hardware is cheap. Having a development box for testing and compiling should be a given in this day and age.

      There are many tools that provide much better control than Windows Update (loser) for example Red Hat Up2date Agent, Red Carpet, RPM, Ports, and on and on. Again if you are not competent enough to use this tools you have no business being a sys-admin (they are very easy to use).

      If a company wants a person to do both sys-admin and some other task then they need to make sure that said individual is qualified to do both tasks. Now we are starting to get to some of the real underlying problem. Most companies (that fall into this category) don't have a job description for a sys-admin and thus don't have a clue what a qualified one looks like. This is where certs such as those from LPI or Red Hat come into play. They do not replace ignorance on the employers part but may act as a general guide for the clueless in hiring someone who may be qualified to actually do the work as it should be done. Of course, the best guide is demonstrated hands-on experience. (We have all met the comp-sci prof we would not let touch our server.)

      I think, therefore, ken_i_m

    33. Re:Securing OpenSSL by TheLink · · Score: 3, Insightful

      "The key needs to be stored with a trusted entity like Verisign, which is how Windows Update and other commercial-grade updating systems ensure the integrity of their packages. You've never heard of Windows Update being trojanned, have you?"

      0) How are you sure it hasn't already been trojaned?

      1) Verisign just _claims_ to say the entity is who they claim they are, not that the entity is trustworthy.

      2) Verisign screw up - certs issued to wrong people see Microsoft Security Bulletin MS01-017.

      3) Microsoft screw up- there was an issue where the wrong types of certs could be used as CA certs. [Microsoft Security Bulletin MS02-050]

      4) Network Solutions is part of Verisign. NS is not known to be very security conscious. If someone screwed both the certs and the DNS most people wouldn't notice.

      5) Windows Update could become a trojan itself- make sure you read the EULA. e.g. one day you might see stuff like:
      "You acknowledge and agree that Microsoft may automatically check the version of the OS Product and/or its components that you are utilizing and may provide upgrades or fixes to the OS Product that will be automatically downloaded to your computer"

      And how sure are we that it will do it correctly?

      Also note that Microsoft has recently said that they may break some apps.

      So if windows update automatically downloads stuff which breaks some of your apps, it starts getting hard to distinguish it from a trojan.

      --
      I'm not saying Open Source is more trustworthy either. Most software isn't secure. Most Open Source software isn't secure. Most were never designed with security in mind - look at PHP - many of the features that make PHP PHP are actually bad for security. Look at ISC's range of software, see the history and the design/architecture of the software.

      Unfortunately there are only very few who can program securely, and C just makes things worse - even fewer of the few can program securely in C.

      --
    34. Re:Securing OpenSSL by stevey · · Score: 1
      Putting MD5 signatures on the same server that the software is available from isn't even close to secure

      True, which is why I sign all of my releases with GPG nowadays. It's a little bit more effort for people to verify them now, but those that want to won't mind the extra work I'm sure.

      I started doing this some time ago, after the last round of trojans - So far I've not actually seen many people download my gpg key from the site, but enough people have downloaded the signatures that I'm sure some checking is going on.

      Thankfully it only takes one person to get a false signature and the word would quickly spread.

    35. Re:Securing OpenSSL by Sri+Lumpa · · Score: 1


      That was also my thought when I read it.

      Why don't the big distributions encrypt their MD5 sums (maybe they do and I don't know it)?

      If you use two servers for data and sum you double the work of the crackers but if you use encryption you make their work exponentially hard because they need to find your private key to fake the encrypted MD5 sum.

      While some people may think that the GPG public key can also be changed to one by the attacker the difference is that the MD5 sum change with each release, makinbg it impossible to know if the new one is genuine whereas the key doesn't, so you just need to get the good key once, not each time.

      Well, congratulations for making the necessary effort. I hope many more developers will in the future.

      --
      "The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers." Bill Gates,
    36. Re:Securing OpenSSL by Anonymous Coward · · Score: 0

      Remind me to shiver in my boots when someone easily performs a man-in-the-middle or DNS attack.

      Oh, and you've never heard of anyone running an MD5 checksum on the Windows Update source, have you?

      It's only been two years since Microsoft publicly admitted their source control servers for Windows XP being compromised, along with they still don't know what elese. I'm sure it's never happened since.

  10. Servers should disable themselves... by tjansen · · Score: 2, Interesting

    IMHO the right way is to write a system that disables servers automatically if a vulnerability is known and the administrator did not fix it in n days. Either the functionality is integrated into the daemons, and they check (via http, mail, whatever) every day whether they are affected by a problem. Or each system should run a daemon that controls all server software.
    It should warn the admin before it turns the server off, of course, but a broken unmaintained server is always better than a hacked server.

    1. Re:Servers should disable themselves... by aridhol · · Score: 3, Interesting
      What happens when the author's website becomes obsolete? Security may be up-to-date, but you now have a bad webpage. Will the server shut itself down, or let you run with a possible compromised server? Also, consider the effect if the timing is set in the source. The first of every (month|year|week) will show an enormous load on the update server. What happens when the software can't talk to the update server? Assume everything's fine? When someone hacks the update server with a new, trojaned form, suddenly everybody will have it. Check the server's logs, you now have a list of compromised hosts.

      Other than that, it's a good idea...

      --
      I can't say that I don't give a fuck. I've just run out of fuck to give.
    2. Re:Servers should disable themselves... by Anonymous Coward · · Score: 0

      Perfect attack vector for massive denial of service.

    3. Re:Servers should disable themselves... by 0xA · · Score: 2
      I don't really like this idea.

      I didn't update the version of OpenSSH on a few of my boxes when the last advisory came out. I wasn't using a vulerable configuration (CHAP disabled) so I didn't really see it as an immediate danger.

      Stuff like auto updates also has issues for the same reason. I can't think of an easy replacement for a resposible admin.

    4. Re:Servers should disable themselves... by Anonymous Coward · · Score: 1, Funny

      It would be fair as well if trojaned softwares warned us. Some kind of disclamer like "The software you are about to install is trojaned. Would you like to continue? [Yes|No]". This way we would sleep better at night actually *knowing* that our server got rooted.

    5. Re:Servers should disable themselves... by tjansen · · Score: 1

      You could prevent this if you have several providers for the information (for example the distributions) and you sign the information.

    6. Re:Servers should disable themselves... by tjansen · · Score: 1

      What happens when the information is not available is a policy issue that should be configured on a per-server base, as long as the defaults are reasonable. I guess that a server that can not access a HTTP source is not connected to the internet, and thus not such a large danger.

    7. Re:Servers should disable themselves... by tjansen · · Score: 2

      I dont care if responsible admins turn the option off. But the majority of servers are more or less umaintained. The majority of people doesn't care for security advisories, and those people can be protected by reasonable defaults that cause the server to deactivate itself if it is a danger for the (obviously naive) owner.

      And BTW, dont forget that not only the owner of the server is harmed when a hacker compromises a server and starts a distributed DOS attacks...

    8. Re:Servers should disable themselves... by aridhol · · Score: 2

      Not necessarily. Maybe the HTTP source is being blocked. Maybe there's been a routing failure. Maybe the HTTP source is just offline. Your server is still vulnerable.

      --
      I can't say that I don't give a fuck. I've just run out of fuck to give.
  11. Missing Correlation by VernonNemitz · · Score: 2, Insightful

    How sure are you the the administrators of the servers you sampled are also Slashdot readers? While certainly some laziness could explain your statistics, what of good old-fashioned lack of communcations? Just because a message warning about a security hole was sent out, doesn't mean it got received, or even read in a timely manner. Besides, maybe most of those administrators were taking three-week vacations just then!

    1. Re:Missing Correlation by ekr · · Score: 1

      How sure are you the the administrators of the servers you sampled are also Slashdot readers?

      I'm not, but this bug got extremely wide coverage, including writeups on CNET.
      That said, I think this kind of misses the point, which is that for whatever reason a large number of machines don't get upgraded even following the release of extremely serious security flaws.

  12. We Fixed Ours by Shackleford · · Score: 2, Interesting

    I worked at an ISP at the time that this was happening and we were quite well aware of these vulnerabilites. We often referred to CERT when looking for vulnerabilities that may have affected us. It was through sites like those that we found out about the problems with OpenSSL and we made the necessary changes. I'm not sure why it was found that many others didn't do what was necessary. Perhaps there are many admins that don't understand that they need to keep themselves up to date on these matters, and of course, they are often busy with many other tasks. It's not easy being an admin. Maybe that's why there is a System Administrator Appreciation Day.

  13. Should have upgraded by Hegemony · · Score: 5, Informative

    I didn't and paid for it. Within about 3 hours time, some bastard got in, created a superuser, DoS'd nasa.gov, spawned a few irc servers, and started scanning other IP's for the same exploit. Damn they work fast.

    1. Re:Should have upgraded by Anonymous Coward · · Score: 0

      JOO R 0WN3D B17CH!!!

  14. When to Patch by Crispin+Cowan · · Score: 5, Interesting
    Readers interested in this topic may be interested in this paper that we presented last week at USENIX LISA 2002:
    Timing the Application of Security Patches for Optimal Uptime

    Steve Beattie, Seth Arnold, Crispin Cowan, Perry Wagle, and Chris Wright
    WireX Communications, Inc. http://wirex.com
    and
    Adam Shostack
    Informed Security http://www.informedsecurity.com
    Security vulnerabilities are discovered, become publicly known, get exploited by attackers, and patches come out. When should one apply security patches? Patch too soon, and you may suffer from instability induced by bugs in the patches. Patch too late, and you get hacked by attackers exploiting the vulnerability. We explore the factors affecting when it is best to apply security patches, providing both mathematical models of the factors affecting when to patch, and collecting empirical data to give the model practical value. We conclude with a model that we hope will help provide a formal foundation for when the practitioner should apply security updates.
    Crispin
    ----
    Crispin Cowan, Ph.D.
    Chief Scientist, WireX Communications, Inc.
    Immunix: Security Hardened Linux Distribution
    Available for purchase
    1. Re:When to Patch by ekr · · Score: 2, Interesting

      Indeed. In fact, I cite your paper in mine. :)

      Interestingly, if you look at the curves of people's behavior, you can see that the algorithm they're apparently following is pretty different from the one you recommend. Namely, people who are going to upgrade do so pretty much right away (mostly within 10-14 days of the stimulus that seems to have forced them to upgrade). The second interesting observation is that a substantial number of people seem to wait for a vulnerability to be released before they upgrade. One question that would be interesting to ask in the context of best practices would be how long on average vulnerabilities circulate before they are announced.

  15. Methodology... by Anonymous Coward · · Score: 0

    What methodology was used for this. Typically vendors patch a problem but don't "force" and upgrade on their customers. Just looking at (external version numbers) isn't going to tell you for sure..

    (Mind you I'm not doubting most systems were not patched.. its just you may be getting false positives.)

  16. I hate waterloo as well, Adam Brock is the worst by Anonymous Coward · · Score: 0

    prof ever. No, I'm just kidding, he's pretty interesting, his talks on the VAX really get me excited.

  17. MS way by SavingPrivateNawak · · Score: 2, Insightful

    That's why MS wants to make apps that upgrade themselves automagically

    It's not a bad idea after all, too bad you can't trust MS on anything (They use a good idea bundled with a bad one and a EULA that grants them too much)

    1. Re:MS way by Anonymous Coward · · Score: 0

      Well, "we" use a license which tells the user that he can take the source and run, but that's usually all there is. Where MS says their software may do this suspicious sounding stuff, we tell the users nothing.

  18. Who should be worried? by JanusFury · · Score: 0, Troll

    Who should be worried about this bug? What does it affect, in particular? I'm guessing just specific webserver configurations, but do I need to patch the Linux distro I just put on this box to dual-boot? If so, how difficult is it - I'm barely getting used to Linux and the idea of recompiling a bunch of system libraries and updating lots of software doesn't sound very good to me ;)

    --
    using namespace slashdot;
    troll::post();
  19. Gentoo! by tercero · · Score: 0, Troll

    For Gentoo users it's as easy as:
    emerge update
    emerge -u world

    It took my Athlon 800 system >2 minutes to be fixed. I can understand the liability about why not to upgrade and apply security holes, but as IT pros, we have to weigh out the evils of this world and pick the best path for our users.

    1. Re:Gentoo! by op00to · · Score: 3, Funny

      >2 minutes? Like an hour?

  20. Damn MCSEs by davinciII · · Score: 5, Funny

    See, this is exactly what happens when you hire a bunch of paper MCSEs to run your........

    wait, did you say Linux?

    1. Re:Damn MCSEs by LostCluster · · Score: 2, Interesting

      But I've said it before. Linux is now getting to the point that the clueless people who poorly run Windows boxes are now moving over to Linux. These admins are too lazy or clueless to properly secure ANY operating system, no matter how well it's designed.

    2. Re:Damn MCSEs by spectecjr · · Score: 1

      But I've said it before. Linux is now getting to the point that the clueless people who poorly run Windows boxes are now moving over to Linux. ... and joining the clueless people who were already running Linux in droves.

      Running Linux is not, and never has been, an IQ test. Patience test, perhaps. But it's not a measure of intelligence.

      Think of it as how having a low Slashdot ID doesn't in any way make you 'cool'.

      --
      Coming soon - pyrogyra
    3. Re:Damn MCSEs by messiertom · · Score: 2

      Yes, but it's a nice coincidence that most /.'ers with low ID #s are cool :)

  21. ... and my friend by roly · · Score: 0

    And my friend's server, using OpenSSL 0.9.6 as well as old OpenSSH/Apache/PHP/etc was rooted (Proberbly via OpenSSL) and someone started using it to DoS someones server. Sigh.

    --
    "With Microsoft, you get Windows. With Linux, you get the full house" - unknown
  22. Due diligence. by Black+Parrot · · Score: 5, Informative


    This is too easy, folks. Subscribe to your distro's update announcement list, read your mail daily, and apply the relevant patches promptly.

    It's really not that hard. A typical update for me is:

    1. read mail
    2. ncftpget whatever.rpm
    3. rpm -Uhv whatever
    4. read rest of mail
    By far the most time-consuming part is waiting for the RPM to download. Some say that it's even easier for source-based distros.

    --
    Sheesh, evil *and* a jerk. -- Jade
    1. Re:Due diligence. by VirexEye · · Score: 1

      It's a bit more complicated than that as you would also either need to update apache using RPM's (no fun) or recompile it from source. Tack on about 30 more commands to those 4 and you might get somewhere...

    2. Re:Due diligence. by Mr_Icon · · Score: 2
      1. read mail
      2. ncftpget whatever.rpm
      3. rpm -Uhv whatever
      4. read rest of mail

      You forgot:
      2.5. rpm --checksig whatever.rpm

      YES. DO IT.

      --
      If you open yourself to the foo, You and foo become one.
  23. Run right out and get nessus. by AugstWest · · Score: 5, Informative

    If you haven't yet, you should definitely check out nessus.

    It'll scan your machiens for known vulnerabilities and give you pointers on how to go about taking care of any that it finds. It's also got built-in updating to pull in the latest exploits.

    The clients are even getting pretty spiffy these days, and the project has matured very rapidly.

  24. And then the updater gets hacked by phorm · · Score: 2

    This could be a nightmare in itself. What happens if the update server gets hacked... then all of a sudden you have systems either auto-trojaning themselves - or shutting down everywhere.

    Not really a good idea... an equivilient to *gasp* "windows update" for terminal would be nice (RH8 has one, if you pay for or try RHN), where it automatically gives you a list of updates available and allows you to pick them in a dselect-style (debian) format, or something similar.

    1. Re:And then the updater gets hacked by tjansen · · Score: 2

      I think that you can prevent this kind of problem if you make the number N large enough. If you, for example, wait 7 days before you turn the server off (and just send a mail to the admin immediately), you can still prevent most worms.
      Shutting the server down is only the last resort, when the sysadmin does not react.
      The most important advantage is, that the admin knows a) that there is a bug that affects a server he is responsible for and b) he gets a complete list of all affected machines.

    2. Re:And then the updater gets hacked by jroysdon · · Score: 1

      RHN is free for one system per email. Hrmm, sendmail aliases anyone?

  25. Have we grown complacent? by mao+che+minh · · Score: 5, Insightful

    Perhaps Linux users and administators have grown overly comfortable due to the long reign of tight security and lack of virii? Until rather recently, disclosed security advisories for FOSS could be neglected for substantial periods of time without worry. The world's hackers mostly took aim at easily exploitable IIS and Exchange servers, flimsy Win32 email clients, and major routers (like AT&T backbone routers to Asia and such). Largely ignored were the hordes of vulnerable web and mail Linux/BSD servers on campus networks and elsewhere (mostly left vulnerable due to neglect, not inherent OS issues). However, the desire to orchestrate large scale DDoS attacks and an exponential increase in the use of Linux systems has caused many hackers to take interest in conquering new grounds.

    All of these years of rock solid security has made us complacent. We have to remember that, while Linux and OSS may be inherently secure, and Linux's modular design works as a fail safe against complete failure, we are still just as vulnerable if we don't remain vigilant.

    1. Re:Have we grown complacent? by AugstWest · · Score: 4, Insightful

      Perhaps Linux users and administators have grown overly comfortable due to the long reign of tight security and lack of virii?

      I think this is a complete fallacy. Most default Linux installations, when left alone on a cable/DSL connection, have been hackable for years now. I can remember when I installed RedHat 6.2 on my gateway machine without having time to do the updates, and before midnight that night the box had been hacked.

      I think that a lot of Linux users don't even realize when they've been hacked, either. Even the automated scan-and-exploit tools these days are becoming quite good at getting themselves installed on a system quietly. Unless you watch your logs on a daily basis, you often have no idea what is actually going on with your system.

    2. Re:Have we grown complacent? by Anonymous Coward · · Score: 0

      I took the appropriate steps. Now I wear a seat belt while administering Linux.

    3. Re:Have we grown complacent? by Anonymous Coward · · Score: 0
      Perhaps Linux users and administators have grown overly comfortable due to the long reign of tight security and lack of virii
      *PLONK*
    4. Re:Have we grown complacent? by kscguru · · Score: 1
      I couldn't agree more... When I first set up my new server (which I had been playing with for serveral months behind NAT) on the Internet, it got hit with Slapper w/in 24 hours. I had taken an update the night before, but didn't issue /sbin/service httpd restart - (foolish me - so used to Windows informing me I have to restart that I assumed Linux didn't) - woke up the next moring and hit ps, found 1hr of CPU time for a ".cinik" proces... and spent the better part of the morning cleaning up that. And the IRC server and backdoor that came over wget while I was deleting the files. Slapper gone w/in a few hours... (it took a while before I was sure there wasn't a root problem)

      Then, a week later, I got a (very polite :) e-mail from a sysadmin in Slovakia telling me I had portscanned his machines, and I probably had a Slapper infection.

      I keep wondering, if I hadn't hit "ps" that morning just to verify my new server was working right, would I have found the worm at all? Or would I have ended up with a rootkit?

      The real reason I think Linux is so dangerous, and why I can't advocate anyone using it, it that Linux is so very easy to set up - yet it's a very powerful OS that requires a certain level of skill to secure. Honestly, it's like giving my mother a free copy of WinNT 4 and telling her to upgrade from Win3.1. Yes it's an upgrade, she gets something very useful for free, but I'm probably not doing the world a favor - I don't go around giving bazookas to kids either.

      --

      A witty [sig] proves nothing. --Voltaire

  26. The window by Lemmy+Caution · · Score: 2
    That is correct. That is how you fix it.

    However, some people take vacations, or go on project, or the such. Some people even sleep, and a window of vulnerability of only a few hours can create a serious problem. Your advice is perfect for those situations which need it the least - where the system is regularly serviced by a nearly-constantly-available administrator. This by no means covers all situations.

    1. Re:The window by karlm · · Score: 2

      On my RH server, I have it set up every 6 hours to do an up2date followed by an autoupdate. I'm out of sync with the official website on average 3 hours. Granted, it's not a high-traffic site, so I don't have to worry too much even if updates do go awry.

      --
      Copyright Violation:"theft, piracy"::Anti-Trust Violation:"thermonuclear price terrorism"<-Overly dramatic language.
    2. Re:The window by 0xA · · Score: 2

      This is scary though. What if you get a broken package from up2date? Or if that package bvreaks something else?

    3. Re:The window by Mandi+Walls · · Score: 3, Informative
      that's the point of up2date. Neither of those things will happen.

      up2date runs with gpg signatures on all packages

      and it checks all dependencies. And, since the packages are built by a company trying to guarantee you can run oracle on your box rather than a couple of dudes in a basement, the packages and their dependencies are correct and current.

      :)

      --mandi

    4. Re:The window by jroysdon · · Score: 3, Informative

      I've had up2date break a ton of things when it installs a newer version. ypbind and xinetd are two that bit us recently. They both installed and initially tested fine, but there were subtle changes that broke other things (securenets on ypbind, and all our ssl-based email services like spop3 and simap with xinetd). Easy enough to fix, but not something you want automated when you're on vacation.

      We have a cron job at 4am that mirrors the RH update directories (only downloads changes) and then emails us if there are changes. Then we install and test them on a test non-production server to verify first, then install on the production boxes, plus we already have the update(s) on a local box so 'rpm -Fvh ftp://localupdateserver/whatever.rpm' goes really fast (especially when you have a couple dozen boxes to maintain).

    5. Re:The window by 0xA · · Score: 2

      I don't buy it, this is just too dangerous. Redhat may have done a very good job to date but it still could happen. Of course being a Windows admin as well I have a knee jerk fear of updates and patches so that could be spilling over to the Linux part of my brain.

  27. FreeBSD binary updates by Cleveland+Steamer · · Score: 2, Informative
    From page 4 of the PDF:
    • As should be noted from Figure 4, updating on Linux was rather easier than updating on *BSD, since all of the *BSD updates required compilation, either of the base system or from the ports/packages collection.
    Huh?

    # pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/A ll/openssl-0.9.6g.tgz

    Binaries installed -- no compilation required!

    1. Re:FreeBSD binary updates by ekr · · Score: 1

      Hmm... Do the .so-s install in /usr/lib? If not, then it's still possible that you won't completely displace the existing shared libraries. With the port you needed to specify OVERWRITE_BASE to get this to happen.

  28. Weird misconception by dfn5 · · Score: 5, Insightful
    I find that other admins patch by necessity. i.e. If something is broke, then patch it. If not leave it alone.

    However, I read a stat somewhere that said that a large majority of security breaches could have been prevented by merely keeping up with patches. Therefore my philosphy is to create a patch schedule. And because I'm on Solaris things like OpenSSL are 3rd party to the OS, therefore I upgrade immediately. I rebuilt my solaris RPMs of OpenSSL that day and had it deployed to all my machines. Other things like GnuPG, IPFilter, OpenSSH, apache, sendmail, etc... they all need to be upgraded ASAP.

    So all you Slashdot readers who posted that you have nothing to do but read Slashdot in that downsizing article, get off your butts and start patching. That should keep you busy full time.

    --
    -- Thou hast strayed far from the path of the Avatar.
    1. Re:Weird misconception by mao+che+minh · · Score: 5, Insightful

      Yes. I think that services like the "Red Hat Network" will greatly benefit end users and admins alike in this respect. Having a service that organizes errata (updates) and informs you what the current security threats are, and then shows you what systems you own/administer are vulnerable is very helpful. It gives end users an almost hands-free way of keeping themselves safe (as safe as they can in terms of updates, anyways), and can point out things that admins might have missed. I really like it.

    2. Re:Weird misconception by mjt5282 · · Score: 1

      CERT claims 95% of routine break-ins can be avoided by diligent patching. See this from NIST.GOV : http://csrc.nist.gov/publications/nistbul/bulletin 10-02.pdf

  29. The Barcella method saved my bacon by HamNRye · · Score: 1, Troll

    Wow, I just read this after reading that article about sh*tty programming, and Michael Barcella saved my bacon. I have decided not to install any patches because:

    I can't understand what the he** this program is doing. It's all just "use stdio.h"... WTF?? You wackos can read this stuff??

    It is not written in perl, ruby, python, JavaScript or some other high level language. MB told me that C/C++ is evil. I believe him.

    While I was trying to read it, a friend came up and pointed at the screen. Rule #3, no pointers.

    Finally, I did not see the official seal of the united states in the upper left corner of my text editor. I never do, but after reading MB's column, I look for it.

    However, I can't post this message because I am leaving the inet services off until I can understand all of the source for my TCP-IP stack. After that, I'm gonna tackle the source for Telnet.

    WooT!
    ~Hammy

  30. False by mwalker · · Score: 3, Redundant
    Thanks to Antioffline.com for hosting us, and Gentoo's Portage system for catching the trojaned files via checksums.

    Gentoo had the OLD checksums, which is the reason it was caught. Everyone who checked the new checksums got owned. The Gentoo suspicions were confirmed by checking the Google cache.

    Gentoo basically caught this because they were so far behind the curve that they still had the old distribution. While it's a great argument not to use Gentoo, this kind of security-through-being-behind accident is not a security process, nor is it repeatable, nor should it be considered a success of the checksum system.
    1. Re:False by Anonymous Coward · · Score: 3, Informative

      Not sure how gentoo does things, since I tend to avoid cults, but the point here isn't that they were behind the curve, or old. It is that they had checksums of the correct (untrojaned) archives on a different server/media. Thus when somebody tried to build, the modifed archive was caught. Your post is just stupid and wrong. Additionally the OpenSSH trojan was caught in the same way, only via the FreeBSD port system which includes the checksums as part of the port. If the downloaded archive doesn't match the checksum, you get a warning. It is a security process, in that by seperating the checksums from the archives you can verify them without trusting the checksum from the same repository as the archive itself. With a sufficiently strong checksum this will catch *all* third party, substitution, trojan attempts.

    2. Re:False by Anonymous Coward · · Score: 2, Informative
      I'm afraid you've misunderstood. libpcap 0.7.1, for instance, was released at least four months ago (and probably much more, as it's four months since it was merged to the relatively conservative FreeBSD.) Talking about an "old distribution" and a "new distribution" only causes confusion - there is no new distribution, there was no version number increment, so the file should not have changed. When the checksums and file change with no announcement or known reason for the change, it's not a prompt to update your packaging system's checksums, it's a warning that something fishy is going on.

      No right-minded packaging system would have merged in the MD5 changes from the site on blind faith without at least giving the old and new files a cursory diff. The only people that were fooled by the weak strategy of modifying the server's MD5sum file are people who used the equally weak strategy of downloading it at the same time as the file. Everybody with a reasonable checksum-checking build system is safe.

    3. Re:False by Ozric · · Score: 1

      I don't know about the facts of this case, but that is NOT how Gentoo's Portage system works.

      I have the MD5 files for all the packages in my portage tree right NOW. If I install a package it download and checks the tar.gz up against MY MD5 digest files.if != we catch the mismatch package. At that point one would start searching for the problem.

      You see the MD5 and the packages are downloaded at seperate times. I get my portage tree from one place and my packages from another mirror. Not perfect, but much better for Gentoo then you let on. And Gentoo DOES keeps the MD5 files for older packages on file..

      Lastly:
      Gentoo is the most uptodate, bleeding edge DISTRO bar only LSF. But 2 days later I will still win with a simple emerge rsync

  31. Re:cause linux/oss/unix admins are all talk by Trelane · · Score: 1

    Umm, 137 is netbios-ns, the netbios name service, which is for SMB/CIFS names, which is Windows Networking. Looks like somebody's scanning Windows Shares. Might want to pick a better port to laugh about. :)

    --

    --
    Given enough personal experience, all stereotypes are shallow.
  32. Re:Vulnerability Check - An easy way by jdonnici · · Score: 2

    Thus, we can simply connect to the HTTPS server and issue a HEAD request.

    One easy way I discovered to do this, assuming you've got the curl library installed, is to issue this from the command line:

    curl -I [your_url__or_hostname_here]

    Probably old hat to most of this group, but it proved an easy way to check several servers quickly. It's also handy if you want to make sure that your changes to Apache's httpd.conf (for ServerTokens and ServerSignature) actually "took".

  33. Downstream Liability by sczimme · · Score: 5, Informative


    In the same vein, readers might be interested in a presentation we did at RSA 2002; the topic was Downstream Liability for Attack Relay and Amplification

    (A two-page summary is available here.)

    We described a scenario in which an intruder compromised a system, used it as a jumping-off point, and subsequently caused damages to an individual. The paper focuses on the legal side of things; IANAL but the other two authors - Tim Rosenberg, J.D. and Ron Plesco, J.D. - are.

    I also state my opinion, which is that "...patches should be installed no later than ten (10) calendar days after release of the patch by the vendor". Discuss.

    --
    I want to drag this out as long as possible. Bring me my protractor.
  34. Annoying Picky APT Correction by MyHair · · Score: 1

    My Debian box was updated no more than 24 hours after I read about the problem, requiring nothing more that an apt-get update on my part. [link to Debian APT HOWTO added by me]

    Um, I hope you did an apt-get upgrade , too, otherwise you have only a nice list of updated software that hasn't been installed on your Debian box.

  35. So you're the asshole ... by The+AtomicPunk · · Score: 2, Funny

    ... that keeps probing my servers!!

  36. Click 'Install' by KFury · · Score: 3, Interesting

    On the mac, I just set 'Suftware Update; to run daily, and I click 'install' when it says there's a security fix.

    By default, users only have to click one button (the default button) to keep their Mac-flavored BSD secure.

    And they don't have to subscribe to mailing lists or be security geeks. They could be your mom and still get it right.

    Not trying to rip on your mom.

    I don't even know her!

    No, seriously. That wasn't me, that time at the Quaker Steak n Lube!

    1. Re:Click 'Install' by KFury · · Score: 2

      Err, that would be 'Software Update,' not 'suftware update.' The stuff about moms was right, though.

    2. Re:Click 'Install' by Pinky · · Score: 1

      Oddly enough, my mom refuses to install updates since she doesn't know what they do. She has been running 10.1.2 for ages even though the updaters bugs her to update it.

      Change == bad.

      THat being said. The MacOS updater is a good thing. It's nice to know you don't need to worry about technical triva to have a safe system.

      Blip- you system is unsecure.. would you like me to fix this

      CLick yes.

      YOur system is now secure again..

      AHhhh... so nice.

    3. Re:Click 'Install' by mlk · · Score: 1

      You mean just like with Window?

      If a little icon pops up in my deskbar, click it, press install hey-mr-presto updated Windows box.

      --
      Wow, I should not post when knackered.
  37. Flawed Flawed Flawed by Anonymous Coward · · Score: 0

    Most distros back port the patch to the version they were shipping. This is to keep the ABI from changing and reduce/elminate the massive amounts of turmoil that would occur if they revved to an entire new version.

    The end result is that you see the 'old' vulernable version, but in actuality, you are seeing the 'old' version with patch applied.

  38. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  39. Honeypots by ThePlumber2 · · Score: 0

    Wonder how many honeypots he hit?

    --
    Thanks, Steve
  40. methodology in paper is flawed by wuchang · · Score: 3, Insightful

    The paper looks at version numbers but does not account for back patches to old versions that fix the bug. I'm running a patched Mandrake https server which returns a version of 2.8.7/0.9.6c. Slapper requests correctly return an error message. What the paper needs to do is issue the exploit itself to determine whether or not things have been patched. Otherwise, the author overcounts the vulnerable systems out there.

    1. Re:methodology in paper is flawed by ekr · · Score: 1

      This is roughly what I did. Section 4.2 describes how to remotely and harmlessly detect whether patches have been applied.

  41. Or the lack of certs in OpenSSL so no one checks. by tz · · Score: 4, Informative

    I also checked the browsers, mainly command line a little while ago when the IE cert chain vulnerability was found. Most (wget, links, lynx) didn't bother to check the chain. Some didn't check anything at all, so any proxy server could spoof any page.

    If you can see https://www.amazone.com, your browser is badly broken. amazone.com points to amazon.fr - but you should match the cert to the DNS.

    Opera on the Zaurus was also vulnerable. Apple doesn't install any certificates in their OS X or Darwin OpenSSL directory.

    One thing that happened between SSLeay (the original project) and OpenSSL is that the certificate chains were NOT installed by default, so everyone had a library, but no way of checking certificates since you require root certificates to check the site certificate. A second thing, probably worse is that the old default was to return an error if the certificate couldn't be validated. Now the default is TO GIVE NO ERROR IF THE CERTIFICATE CANNOT BE CHECKED. It would be better to give an error that would have to be overridden, which would cause developers to have to take a look and to actively disable security.

    Curl was the only one that included any checking, but it required manually installing certs and specifying an option to turn it on. It would SILENTLY connect to SSL sites without security.

    Mozilla was fine, and Konqueror fixed any problem it had, but the Opensource community should be embarrassed since the rest of the browsers security was not just flawed like IE, but DISABLED without any notice to this effect or NONEXISTENT.

  42. Windows vs Linux/BSD security by geekee · · Score: 1

    Given all the crap posted yesterday claiming MS software was terrible with regard to security, I find this somewhat amusing. I was going to say then that the sysadmin patching the system is more of a security bottleneck than whether you're running Linux/BSD or Windows in most practical respects. This seems to confirm that fact. Also makes the optional automatic patching feature of Winodws look very attractive, despite all the paranoid comments I read yesterday.

    --
    Vote for Pedro
    1. Re:Windows vs Linux/BSD security by Anonymous Coward · · Score: 0

      BSD is NOT effected!
      Only LINUX

      WANKER!

  43. distributing trust? by martin-boundary · · Score: 1
    So you're saying that apt-get clients always trust the debian servers to be right.

    But why not make the trust symmetric? If I apt-get upgrade my packages, my client could compare all the MD5 hashes corresponding to my installed packages, checking that they are the same as those provided by the server during the apt-get update. If there's a discrepancy, my client automatically notifies the Debian server there's a problem: either I've got a trojaned package or they do. It's up to Debian security to figure out which. Meanwhile, my apt-get client tells me that my package could be compromised and do I want to disable it? This way, if there's one good and one bad version of the same package out there, it'll get found out eventually.

  44. Decent Distributions by Vagary · · Score: 2

    If only we could all use decent distributions...

    I'm sitting here on my beautiful, instantly up-to-date Debian box with a terminal open to a Solaris production server. Now I'm sure there's some way to get the binary distribution of Apache to install, but I'm not sure I'll be able to actually figure it out in less time then it would take me to configure and compile the source. Of course who knows how long that will take if I have to hunt down the Solaris packages for all those "useless" tools like a C compiler that aren't installed by default.

    Yes, my 31337 h4x0r friends, this is one box that won't ever be secure until I convince the boss that SPARCs should be running Linux.

  45. Re:Or the lack of certs in OpenSSL so no one check by /dev/trash · · Score: 1

    Define broken.
    I just loaded the site you gave on Mozilla,IE and Opera and I was presented with a dialog with each that warnedme that the cert was not matching.

  46. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  47. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  48. gah by nomadic · · Score: 3, Funny

    But how many people actually fixed their machines? I decided to study this question, and the results are kind of depressing.

    If you're depressed by that, you might want to see a psychiatrist. I mean, you shouldn't have that kind of reaction to such a minor issue.

  49. Why we keep getting these bugs by billstewart · · Score: 2
    The ISS folks send out their periodic newsletter about new vulnerabilities. It's pretty depressing, not just because the number of bugs - but because most of them are the SAME BUGS - BUFFER OVERFLOWS. How long have buffer overflows been a known security risk? Why are we still putting up with them?
    • They were certainly well-known when I was in college in the mid 70s, but the PL/C dialect of the PL/I checkout compiler corrected mistakes like that at run-time. (OK, it often fixed them incorrectly, but at least least it wouldn't overrun an array.) And our professors dinged us for writing programs where that happened, and made us run the programs on input decks that were maliciously designed to check for programs that overflowed their buffers.
    • They were certainly well-known when K&R wrote their books on C which warned you to be careful about bounds checking when using pointers and arrays.
    • They were certainly well-known in the early 80s when everybody started complaining that the gets() and scanf() routines made it easy to overrun buffers on input when you weren't doing it by hand.
    • They were certainly well-known in the late 80s when the Morris Worm wandered around a lot of the machines in the internet.
    • They were certainly well known when the C++ string-handling libraries were designed to NOT overrun buffers, and when Java was designed to not even have pointers, and had array objects that checked bounds for you.
    • There are enough software engineering CASE tools that try to find problems more complex than lint() looks for, though perhaps array bounds checking isn't something they check effectively.
    I like C - I really like it. It's time to stop using it. It's time to stop shipping code that has array bounds problems, and security code that hasn't been proofread for them. And it's time to stop using programs that run as root when they don't need to. This isn't the 80s any more.

    There are other bugs out there - a popular attack is to try to abuse dotdots in path names, which there's more excuse for forgetting to check, and there are things like race conditions that are genuinely hard to check for (e.g. what happens when somebody's ripping up your temp files while your program is running), though checking return codes on system calls and doing something appropriate about failures is a good start.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
    1. Re:Why we keep getting these bugs by rootmonkey · · Score: 1

      First of all there is no way C is going away. Second C++ has the same problems, many times the C++ string library is not used because it is very inefficient, (very easy to see if you profile your code). It basically comes down to responsibility on the programmer's part. Many don't think about bounds checking, many trust themselves not to overrun their buffers or they think the extra checking is a performance hit not worth it. All of which are very bad practices. So even *if* C went away (which it won't) the problem is bad practices by the programmer, trying to change that isn't going to be easy.

      --

      Yes but every time I try to see it your way, I get a headache.
    2. Re:Why we keep getting these bugs by Anonymous Coward · · Score: 0

      I agree... it all boils down to bad programming, and should we really be forcing the compiler to correct the mistakes of bad programmers??

      I guess we need to make cars drive themselves, because there's an awful lot of bad drivers out there... of course, then you'd have a computer driving the car... want to trust the code of a bad programmer instead???

      Take a look at windows... can't get good performance out of your GUI in usermode? Rather than spend programming time trying to streamline things, just integrate the behemoth of code into the kernel... oh, that causes security problems? well, just release another service pack. Oh, there are basic flaws in Win32... uhh... well, can't fix that now, so lets just not mention it.

    3. Re:Why we keep getting these bugs by Anonymous Coward · · Score: 0
      I like C - I really like it. It's time to stop using it. It's time to stop shipping code that has array bounds problems, and security code that hasn't been proofread for them. And it's time to stop using programs that run as root when they don't need to. This isn't the 80s any more.
      Excellent solutions! You have slayed buggy software! You are my hero.
  50. The problem is they don't. by BoomerSooner · · Score: 2

    And frequently the patches cause more problems that they fix. This is why my company has switched to OSS/Linux (eat that GNU).

    If you are a MS server admin you are always double checking TechNet and the other available sources because the delay between the patch on TechNet and the WindowsUpdate (critical area) can be as long as 3 weeks sometimes. Now that's sorry as can be. Lockdown tool is a joke.

  51. Sysadmins need to pursue intrusion attempts by wowbagger · · Score: 3, Interesting

    I know of a Linux system that logs and reports intrusion attempts by CodeRed/Nimda, Slapper, et. al., and mails a report to a system admin every morning.

    The system admin wasn't pursuing these reports. I asked why.

    His response - "Well, those are attempts to exploit a Windows server, and this is a Linux box, so they don't matter."

    I made the counterpoint "If one of your system was infected, wouldn't you want to be told about it?"

    If every systems admin would take the time to track down the Code Red attempts on their systems, and notify the responsible parties whereever possible, then a lot of the unpatched systems would be shut down (if not by their administrators, then by the ISP supplying connectivity).

    I just don't understand an admin with an attitude like that.

    1. Re:Sysadmins need to pursue intrusion attempts by vanyel · · Score: 2

      "If one of your system was infected, wouldn't you want to be told about it?"

      Yes, I would. But how many of these reports did your sysadmin get? Probably quite a few, daily. What would his manager say if he spent most of his time helping other people administer their systems instead of doing his job? If it's an occasional occurrence, you can help, but the infections are endemic, and helping a few is unlikely to change anything, as there are thousands of new virus cultures sold every day...

  52. I got bit by the cinik worm . . . by Yeechang+Lee · · Score: 1

    . . . but that was my fault because I had upgraded OpenSSH to a non-stock Red Hat 7.3 version. Thus up2date didn't upgrade it, because to it it would have been a downgrade. I'm just lucky cinik is very easily cleaned up. First and only such incident in seven years of running a Linux box 24x7.

    Ironically, this never happened before up2date, because I was forced to read every single errata announcement. Now I'm doing it again, but at least up2date and/orc rc will take care of the gruntwork.

  53. Obligatory reply. by TheLink · · Score: 2

    Dad? Is that you?

    I'm surprised you didn't get that one yet :).

    --
  54. My apache is unpatched... by Anonymous Coward · · Score: 0

    then again, its behind my firewall, and I'm not running HTTPS, only HTTP. Very funny to watch the log though... within the 1st day, I was hit about 6 times by one IP trying to access it as an IIS server (I guess) and get it to run "cmd DIR C:"

    Planning to rebuild the whole box soon, upgrading to the latest and greatest NetBSD 1.6. (its 1.5.2 now).

  55. We didn't patch SSL by melonman · · Score: 1

    ...because, although it is installed, we don't use it at present, so fixing it didn't seem like a priority. Also, the Cobalt patch was incompatible with our recompiled Apache setup, and Cobalt still hadn't released the source code last time I looked. (I'm sure this isn't right wrt open source licencing, but what are we going to do, sue?) So, if you probed our machine, we are in the 'security risk' list, but I don't think we should be.

    --
    Virtually serving coffee
  56. Suggestions? by TheLink · · Score: 2

    Seriously, what would you suggest?

    I personally dislike C - programming securely in C feels like clearing a minefield inch by inch.

    So any suggestions?

    Haven't seen docs on programming securely in Lisp. Many Lisp coders like to mix data and code, that seems scary, but I'm very very new to Lisp so is that safe? There's little out there to suggest it is or isn't.

    Forth seems to have about the same problems as C - buffer overflows. Data-code mixing (but a Forth coder said a solution is to keep dictionaries separate).

    Many of the other languages are more high level, very useful and recommended for certain apps, but not suitable for the low level system programming area.

    The languages have to be able to hook to C apps very easily.

    --
  57. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  58. Why don't you count again by Anonymous Coward · · Score: 0

    And this time count the number who were patched in September when an exploit on Linux was discovered. Because there was no known vulnerability on Linux (or Win32) in July, and if you had Apache, even on BSD, you could avoid it with blowchunks or some other way of chunk filtering. Oh, and OpenSSH was never vulnerable. You can still use pre .92 safely.

  59. So you're the server ... by Anonymous Coward · · Score: 0

    ... that keeps probing my asshole!!