Slashdot Mirror


CERT: Sendmail Distribution Contained Trojan Horse

Scoria writes "According to a CERT advisory published this afternoon, the public distribution of Sendmail 8.12.6 contained a trojan horse from September 28 to October 6. For more detailed information, please consult advisory CA-2002-28." This sounds very much like what happened to OpenSSH.

324 comments

  1. But that's okay... by Anonymous Coward · · Score: 5, Funny

    As long as you could also get the source to the Trojan, as well... right?

    1. Re:But that's okay... by Anonymous Coward · · Score: 0

      gaybookworld? (!)

    2. Re:But that's okay... by tundog · · Score: 0

      The important thing to notice here is that this trojan existed a matter of days before being picked up. That's open source at work.

      --
      All your base are belong to us!
  2. Over a week? by Anonymous Coward · · Score: 4, Interesting


    Many eyes = better security but only when many > 0

    1. Re:Over a week? by Anonymous Coward · · Score: 0
      Many eyes = better security but only when many > 0


      What amazes me is I wasn't even aware anyone really used Sendmail anymore. There's so many better alternatives.. qmail, postfix, exim, hell, anything but sendmail. That's like people that still continue to use BIND, UW-IMAP, and WUFTPD. I guess some people never learn.

    2. Re:Over a week? by Wdomburg · · Score: 5, Informative

      >What amazes me is I wasn't even aware anyone
      >really used Sendmail anymore.

      What amazed me is I wasn't even aware anyone really used Unix anymore. Man, look at all the security holes in *that* software's history.

      Sendmail hasn't had a remote exploit in over two years. Named has had a single advisory posted against it (a DoS) since the 9.x series was released.

      Matt

    3. Re:Over a week? by enneff · · Score: 2, Informative

      Packages like djbdns and qmail make service configuration trivial, as it should be.

      Last time I checked you need to devote some serious time and brain power to properly setting up sendmail.

    4. Re:Over a week? by Anonymous Coward · · Score: 0

      Last time I checked you need to devote some serious time and brain power to properly setting up sendmail.

      The same has been said about Windows vs. UNIX.

    5. Re:Over a week? by Anonymous Coward · · Score: 0
      Last time I checked you need to devote some serious time and brain power to properly setting up sendmail.

      The same has been said about Windows vs. UNIX.

      no it hasnt. to *properly* set up any OS, serious time is needed.

      the whole reason windows seems more hackable is b/c windows makes it easy to get up and running without taking the time necessary to properly get up and running.

    6. Re:Over a week? by Wdomburg · · Score: 5, Informative

      >Packages like djbdns and qmail make service
      >configuration trivial, as it should be.

      It really depends on what you're doing with them.

      First off, installing either usually involves compiling from source, due to the restrictive licensing.

      The software also isn't built to start under native Unix facilities like init or xinetd, so you either need to deal with installing and configuring ucspi and tcpserver, or hacking the source.

      The lack of standards support in qmail also ends up requiring patching in a lot of common configurations, further complicating things. And honestly, configuring qmail isn't exactly a dream - permissions issues are easy to miss, a lot of configuration data requires compilation to a binary format, and configuration data is spread across a fairly large number of files and is hardly in the most intuitive of formats, e.g.:

      +foo.com-:foo.com:500:500:/domains/foo.com:-::

      Djbdns can either be very easy (simple case) or a pain in the ass.

      For starters, there are a lot of standards it doesn't bother starting (IXFR, NOTIFY, TSIG, DNSSEC, etc). So interoperability with other servers is at best suboptimal.

      Even if you're going to run a pure djbdns environment, there's no built in facility to transfer zone data, so you also need to either install and configure the axfr-dns program or install and configure rsync and ssh or some other method of copying the zone data to the remote server. In either case the propogation isn't automatic, so you'll probably want to write your own scripts to automate this.

      Doing split-dns is a lot less intuitive than in BIND, in my opinion. You can add location tags to entries in the database, but the format only allows one per entry, so if you have different location definitions, you need to add the data multiple times (or store your data in a different format and process it into what tinydns-data expects). And those location tags are limited to only two characters, which prevents any meaningful name.

      >Last time I checked you need to devote some
      >serious time and brain power to properly setting
      >up sendmail.

      When did you last check? The mid-ninties?

      Configuring Sendmail since the switch to m4 files is *trivial* for most setups.

      What's even better is that, since Sendmail is under a permissive license, virtually all versions of Unix offer it by default, pre-installed and with a basic configuration.

      For example, if you're doing a single domain setup the extent of your configuration on Red Hat would be adding your domain name to the /etc/mail/local-host-names, and commenting out "DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')".

      Want mail sent to phil@mydomain.net to go to bob instead?? Simple, add "phil@mydomain.net bob" to /etc/mail/virtuserstable. Want to send all the mail in the domain? Change it to "@mydomain.net". Want to create dummy accounts named mydomain-USERNAME? Make the line "@mydomain.net mydomain-%1".

      And on Red Hat you don't even have to deal with compiling the database files, since the init scripts do it for you. Just run "/sbin/service sendmail restart".

      Matt

    7. Re:Over a week? by Anonymous Coward · · Score: 0

      Last I checked, installing sendmail was as easy as selecting it during install, and then selecting "normal SMTP/always connected" when asked.

    8. Re:Over a week? by Anonymous Coward · · Score: 1, Informative

      OK, I'll bite and start the religious war.

      > The software also isn't built to start under native Unix
      > facilities like init or xinetd, so you either need to deal with
      > installing and configuring ucspi and tcpserver, or hacking
      > the source.

      Not true. It's simple to run qmail out of inetd; it simply isn't recommended because most implementations of inetd suck.
      tinydns and dnscache do their own listening (since they require a persistent process and/or use UDP). axfrdns can also be run out of inetd, although the provided method for configuring it assumes daemontools/ucspi-tcp.

      > a lot of [qmail] configuration data requires compilation to a
      > binary format

      Which is different from sendmail's aliases building how? Clearly some data requires fast lookup, and therefore some sort of advanced binary format. You can either have an editor which manipulates the binary format directly, or you can have an easy to read text format that gets converted to a binary format.

      *ALL* of the alternatives discussed (qmail, djbdns, sendmail, and BIND) choose the latter approach.

      > and configuration data is spread across a fairly large
      > number of files

      I (and DJB) consider this to be a feature. If you want to add a
      an SMTP domain to receive mail for, would you rather type 'echo mydomain.com >>/var/qmail/control/rcpthosts' or would you rather write a tool to find the 'rcpthosts' section of the config file (which now needs extra text to denote each section) and add the entry there?

      As another example, sendmail's config is moving toward this, but they're burdened by the legacy sendmail.cf file. Configuration now comes from many different m4 files. However, rather than have sendmail read them directly, it's "compiled" into the sendmail.cf (wasn't that also what you were complaining about previously?)

      > and is hardly in the most intuitive of formats, e.g.:
      > +foo.com-:foo.com:500:500:/domains/foo.com:-::

      DJB file formats are typically designed to be easy to for programs to parse, create, or edit. They may not be "intuitive" but I find they are easy to make sense of, because they attempt to specify information in the format closest to the conceptual format. Config files are typically tables, with newlines delimiting each row. Some files (rcpthosts) have only a single column, while others use colon-delimited columns (tinydns/root/data). The only thing that isn't intuitive is that you need to know what each column is for (though this is easily specified in documentation).

      And the best part is that it's simple to generate these formats, so if I want to implement special logic (say, for every domain in a list, point the A record for www.domain, their MX record, and their NS records at a particular IP), it's trivial to generate the format using existing tools.

      > For example, if you're doing a single domain setup the
      > extent of your configuration on Red Hat would be adding
      > your domain name to the /etc/mail/local-host-names, and
      > commenting out
      > "DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,
      > Name=MTA')".

      Qmail:
      echo domain >>/var/qmail/control/rcpthosts
      # don't run qmail-smtpd on 127.0.0.1! With daemontools,
      # this would be:
      cd /service/qmail-smtpd
      rm /service/qmail-smtpd
      svc -dx . log

      There are similar responses for your other examples, but I won't belabor the point.

    9. Re:Over a week? by Zeinfeld · · Score: 1, Flamebait
      What amazed me is I wasn't even aware anyone really used Unix anymore. Man, look at all the security holes in *that* software's history.

      The computer security industry has tended to regard the Linux community obsession with Microsoft security holes as a case of people living in glass houses throwing stones.

      Sendmail has been notorious for security bugs from the very first release. There was a time when over half of all CERT advisories related to sendmail.

      It is like that idiot Forrester who went as far as the Supreme Court trying to get Lautenberg kicked off the ballot because he was substituted 35 days before the ballot - missing the 51 day deadline. According to the New York Times Forrester was himself substituted 40 days before the primary election, missing the same exact deadline he now claims to be sacrosanct. Why don't the 'liberal media' tell us these facts, oh yes because the whole liberal media thing is a crock intended to intimidate reporters into not reporting facts that are unfavorable to Republicans.

      Point is, don't believe what you read on the news or on slashdot. People have an agenda. There are plenty of bugs found in UNIX systems but when slashdot is ten times more likely to report a Microsoft bug than a Linux one you can soon be conned into thinking Linux is secure rather than making the conclusion I draw, that both platforms have problems.

      The whole point of the Web was to give people access to alternative news sources so they can form their own judgement. Problem is that most people would rather be spoonfed their prejudices by the likes of Fox News than know what really goes on.

      BIND has also been a mess and stayed that way until DEC paid Paul Vixie to basically rewrite the code from scratch. There are still a bunch of security issues with Bind but they are generally caused by the lack of authentication in the DNS protocol these days.

      The fact that UNIX managed to clean up its act suggests that Microsoft can too. It would be nice if in the meantime the Linux community would take note of the fact that they are not imune from security problems and that many of the issues facing Microsoft are actually issues of scale - if everyone switched to Linux it would be much easier to get linux viruses to propagate.

      At the end of the day the concentration on 'end-to-end' security at the exclusion of all other means is a crock. You cannot have end to end security unless you have trusted hardware. Nobody on Slashdot seems to be particularly keen on Palladium except people such as myself who spend their whole time trying to design secure architectures.

      --
      Looking for an Information Security student project suggestion?
      Try http://dotcrimeManifesto.com/
  3. At least by Anonymous Coward · · Score: 0

    At least we know that open source can have the same problems as closed, just caught faster!

  4. Checksums by SexyKellyOsbourne · · Score: 4, Insightful

    ...and that's why you should actually use those MD5 checksums, instead of unpacking and installing without thinking.

    1. Re:Checksums by meatpopcicle · · Score: 2, Interesting

      Thats always a good idea, but I have a deeper question. How do these patches make it into the CVS of these projects and who is doing it?

      I can think of some likely players, namely those who feel that Linux/Unix is a threat to them.

      Also can't forget about the black hats and chinese/russian/terrorist groups as well.

      --
      "You're on my side and the dark side, like Lando Calrissian?" --Gimpy, Undergrads
    2. Re:Checksums by egg+troll · · Score: 2, Insightful

      Egg Troll wants to know what if the trojaned program was the one with the checksums? MD5s, while an important tool, aren't a cure-all.

      --

      C - A language that combines the speed of assembly with the ease of use of assembly.
    3. Re:Checksums by Anonymous Coward · · Score: 5, Funny

      Also can't forget about the black hats and chinese/russian/terrorist groups as well.

      Incorrect md5 sums certainly strike terror into my heart.

    4. Re:Checksums by Henry+V+.009 · · Score: 2

      Do you know that the given MD5 was correct? If the got to the binary, what's to stop them from altering the MD5 given on the website.

    5. Re:Checksums by delta407 · · Score: 5, Informative

      Gentoo Linux validates checksums on every package before unpacking; doing this pedantically prevented the BitchX trojan as well as many other things.

      Just another plus for the distro, I suppose.

    6. Re:Checksums by aridhol · · Score: 2

      So don't use MD5. Use PGP or some other signature instead of checksums. The only problem then is getting authentic keys; that's where keyservers and the Web of Trust come in.

      --
      I can't say that I don't give a fuck. I've just run out of fuck to give.
    7. Re:Checksums by Anonymous Coward · · Score: 4, Interesting

      That's why MD5SUM files are signed with the appropriate public key, so you can check the integrity of the file using gpg. Yes its a pain, but for security critical stuff its worth it.

      What we need is a new format, as universal for Unix as .tar.gz is, which is signed so the decryption can only take place with the appropriate key installed or provided. Redhat might for instance ship a distro that recognizes keys from itself, as well as sendmail, openssh, mozilla, etc. to make unpacking these signed archives automatic. If you grab a signed archive from me, you'd have to provide the decryption software with my public key to unpack it. You don't need to use it for everything, just security critical stuff. We have this in our browsers to protect end users, but we allow backdoors in through the...er...back door due to this oversight.

    8. Re:Checksums by AntiFreeze · · Score: 4, Informative
      apt-get also validates MD5 checksums before installing a package. Very helpful, but of course, if someone can modify the binary that is getting distributed, what would stop them from modifying the checksum?

      Of course, it would certainlly be funny if all the modified binary did was, in addition to the normal functionality of the program, also told you that you should verify the relevant checksums before installing.

      --

      ---
      "Of course, that's just my opinion. I could be wrong." --Dennis Miller

    9. Re:Checksums by delta407 · · Score: 5, Interesting
      apt-get also validates MD5 checksums before installing a package.
      Yeah, sure, you can validate md5sums on binaries. But, no one can quite be sure that the binary is built from the official, non-trojaned source, even if they give the offical checksum for the distro.

      Gentoo neatly gets around this problem by using the source directly, and since a lot of projects list md5sums of the source archives (such as sendmail 8.12.6), Portage can make sure that it gets the correct tarball.

      Oh, and by the way:
      $ cat /usr/portage/net-mail/sendmail/files/digest-sendma il-8.12.6
      MD5 73e18ea78b2386b774963c8472cbd309 sendmail.8.12.6.tar.gz 1867436
      So, Gentoo had the right one on file all along. And, of course, Portage won't unpack files with the wrong md5sum, meaning Gentoo users were completely immune to this.
    10. Re:Checksums by GigsVT · · Score: 3, Informative

      But, no one can quite be sure that the binary is built from the official, non-trojaned source, even if they give the offical checksum for the distro.

      Red Hat solves this problem by signing all their packages. It's up to Red Hat to assure that the sources aren't trojaned, but they have a big monetary motivation to do so.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    11. Re:Checksums by Hobophile · · Score: 1
      Very helpful, but of course, if someone can modify the binary that is getting distributed, what would stop them from modifying the checksum?

      Gentoo includes the checksum in its ports tree which is stored locally, rather than downloading it at the time of installation. It's certainly possible that the checksum would be made of a trojaned port and committed to the ports tree, but the window of opportunity for such an attack is relatively slim -- basically it's only possible when the port is being created, and presumably the maintainers are somewhat diligent about looking out for this sort of thing.

      When installing a port, Gentoo checks the (locally stored) checksum against the tarball it has retrieved from the authoritative source.

      (Those familiar with Gentoo should feel free to substitute "ebuild" for "port" and "portage" for "the ports tree".)

    12. Re:Checksums by zeekiorage · · Score: 2
      ...and that's why you should actually use those MD5 checksums, instead of unpacking and installing without thinking.
      Although I agree that you should check the MD5SUMs of all the software you download, the advisory says that the sendmail FTP server was compromised, the intruders could have easily uploaded new MD5 checksums along with the source code, I am surprised they didn't.
    13. Re:Checksums by jsse · · Score: 1

      Too bad some people in irc recommended `ebuild digest' to bypass the checking. :)

      Most people just want to get things work real quick, and don't care the hell about security.

    14. Re:Checksums by Anenga · · Score: 1, Offtopic

      MD5 Hash's suck, SHA1 Hash's are a lot better.

    15. Re:Checksums by Anonymous Coward · · Score: 0

      The only problem then is getting authentic keys; that's where keyservers and the Web of Trust come in.

      Herod: Claudius, let me give you a piece of advice.
      Claudius: Oh, I thought you'd finished giving advice.
      Herod: Well, just one more time, then I'll go. Trust no one, my friend, no one. Not your most grateful freedman, not your most intimate friend, not the wife of your bosom, or your dearest child. Trust no one.
      Claudius: No one? Not even you?

      --I, Claudius by Robert Graves

    16. Re:Checksums by tres · · Score: 1

      Ain't it great? We've been enjoying this as a part of the standard BSD ports system for years.

      Welcome.

      How nice of you to join us.

      --
      Notes From Under *nix: blas.phemo.us
    17. Re:Checksums by whereiswaldo · · Score: 1
      Too bad some people in irc recommended `ebuild digest' to bypass the checking. :)

      Most people just want to get things work real quick, and don't care the hell about security
      You have to admit, though, that your sample population is not a fair cross-section of Linux users.
    18. Re:Checksums by kasperd · · Score: 2

      How do these patches make it into the CVS

      Where did you read that it was in CVS? I didn't read that anywhere. According to the article the trojan was only in the compressed tar files available for download.

      --

      Do you care about the security of your wireless mouse?
    19. Re:Checksums by Anonymous Coward · · Score: 0

      Unless, of course, the ebuild is made with an incorrect signature, and we all know that Gentoo developers aren't the brightest bunch in the world (with a couple exceptions).

    20. Re:Checksums by Tim+Browse · · Score: 4, Insightful
      Yeah, sure, you can validate md5sums on binaries. But, no one can quite be sure that the binary is built from the official, non-trojaned source, even if they give the offical checksum for the distro.

      Huh? Isn't that kind of the point of using md5?

      If you have an md5 checksum for a binary (and assuming that it's from a reliable source), then why can't you use this to validate the binary is correct?

      You could, in theory, construct a trojaned-binary that had the same md5 checksum, but I had always thought that this was so difficult as to be infeasible/not worth worrying about.

      What am I missing? Are you saying the md5 checksum is being spoofed too?

      Tim

    21. Re:Checksums by conway · · Score: 2, Informative
      You could, in theory, construct a trojaned-binary that had the same md5 checksum, but I had always thought that this was so difficult as to be infeasible/not worth worrying about.

      In theory. Not in practice. MD5, but more so SHA-1 is believed to be "collision free" -- it is computationaly infeasable to find 2 messages x and y where H(x) = H(y).
      Finding not only these 2 messages, but a "malicious" code that would still preserve the original MD5 or SHA-1 is exponentially more infeasable, I would venture to say, impossible in the next few years. (Barring quantum computing)
      (its much simpler to break into the main CVS server and just change the code there)

    22. Re:Checksums by Yokaze · · Score: 2

      Um... don't know about RedHat, but Mandrake RPMS are signed. When you want to install packages from a different source, say, like Penguin Liberation Front, you'll get some warning about failing to verify the packages-signature.
      To get rid of the warning and to verify the source, you'll have to add the public key of PLF to your root's keyring.

      --
      "Between strong and weak, between rich and poor [...], it is freedom which oppresses and the law which sets free"
    23. Re:Checksums by rasjani · · Score: 2

      Im not sure how gpg key works in rpm's but i would like to think that Noone except accept to redhat's private key could sign them the package. Thus, in conjunction with checksums, its the best choise to avoid stuff like this to happen.

      --
      yush
    24. Re:Checksums by BlueUnderwear · · Score: 2
      (its much simpler to break into the main CVS server and just change the code there)

      ... or break into the ftp server, and change the "reference" MD5 sum too.

      --
      Say no to software patents.
    25. Re:Checksums by jeremyp · · Score: 2

      And what if it was an inside job? If it was a disgruntled employee extracting revenge, they obviously didn't bother to do anything with the PGP sigs either because they didn't have access to the private key or because they knew that nobody ever bothers to check the signature when they download a sendmail or any other distro. But supposing it was an inside job and they did change the signatures or even worse inserted the trojan into the source CVS tree....

      FYI Sendmail Inc did have to lay some people off recently which seems a bit of a coincidence to me.

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


      If you have an md5 checksum for a binary (and assuming that it's from a reliable source), then why can't you use this to validate the binary is correct?


      You're missing what he's saying. Sure - you can check on the validity of that binary. But what if the packager did not catch the trojaned source and then inadvertantly included a trojan in the binary package? Your MD5 hash would only ensure you got the packager's binary - along with trojan.

      Of course - in this case, the trojan doesn't work like that. It is not a part of the actual source code, but rather the make file used in compiling that code. In effect, the potential compromise ends at the compiler machine. It is very unlikely that the trojan would be included in a binary distribution.
    27. Re:Checksums by Tassach · · Score: 2

      RPM has integral cryptographic signing and checksumming. Any RPM based distro takes care of this automagically. I'm not an APT user, but I suspect it has similar features.

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    28. Re:Checksums by delta407 · · Score: 2
      What am I missing? Are you saying the md5 checksum is being spoofed too?
      What I'm saying is this. Even if the binary matches the binary your distro gives you, nothing proves the distro got clean sources. Yes, they can check the md5sum on their source tarball, but that's another window for error.

      Gentoo goes for the sources directly, and verifies they are correct before doing anything with them.
    29. Re:Checksums by Tim+Browse · · Score: 2
      Yes, they can check the md5sum on their source tarball, but that's another window for error.

      Is there a better way of making sure you have the correct source files?

      Gentoo goes for the sources directly, and verifies they are correct before doing anything with them.

      How? By visual inspection? Code review?

      Tim

    30. Re:Checksums by Blkdeath · · Score: 2
      Although I agree that you should check the MD5SUMs of all the software you download, the advisory says that the sendmail FTP server was compromised, the intruders could have easily uploaded new MD5 checksums along with the source code, I am surprised they didn't.
      The MD5 Sums are kept on the website as well as in a signed file on the FTP server. If they altered the signed file, the signature would return an error. Besides that, the intruders would also have to update the website to alter that MD5 Sum.

      That's a lot of work, and crackers don't seem up to the task, it seems.

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    31. Re:Checksums by delta407 · · Score: 2

      Yes, verified by md5sums of the source tarballs. Basically, my point boils down to the fact that binary distros may or may not check their sources at build time.

    32. Re:Checksums by andfarm · · Score: 1

      Offtopic, but note that the other child post is a *link*. Methinks "CmdrTaco" has discovered a bug.

      --

      TANSTAAFI: There Ain't No Such Thing As A Free iPod.

    33. Re:Checksums by Anonymous Coward · · Score: 0

      I wouldn't bet on that.

      Even assuming MD5 had no weaknesses, it would be only a 2^64 brute force birthday attack to find two messages x and y, where MD5(x) = MD5(y). The problem would be harder if you had to preseve the length, but not actually much harder - and remember, distributed.net just finished a 2^64 brute force search a couple of weeks ago.

      2^64 is no longer "computationally infeasible" - difficult for J. Random Hacker, yes, but possible. SHA-1 would have a 2^80 difficulty for the same attack.

      Note that "_given_ one of these messages, x, find a message y where MD5(x)=MD5(y)" is a much harder problem (2^128) and that is what you would have to solve to fake an md5sum, unless you could control the input to the original md5sum as well (and if you could do that, why bother faking the sig? Just put the trojan in the first time).

      Even worse, MD5 has been proven to have psuedo-collisions in the compression function, and subsequently full collisions in the compression function - exactly what happened to its predecessor, MD4, before that was broken entirely. (I'd link, but searching Crypto-Gram should find you the papers anyway.)

      It is, however, a damn sight better than a CRC.

    34. Re:Checksums by Nerull · · Score: 1

      Even if the binary matches the binary your distro gives you, nothing proves the distro got clean sources.

      So your saying that distro supplied MD5 sums can't be trusted, correct?

      Gentoo goes for the sources directly, and verifies they are correct before doing anything with them.

      How does it check them? With distro supplied MD5 sums...

    35. Re:Checksums by Anonymous Coward · · Score: 0

      "The other child post" is actually a SIG masquerading as a child post.

  5. A Sad Day for Egg Troll by egg+troll · · Score: 1, Flamebait

    Its a sad day when Sendmail becomes the BitchX of email servers. Perhaps they'll merge with OpenSSH now?

    --

    C - A language that combines the speed of assembly with the ease of use of assembly.
    1. Re:A Sad Day for Egg Troll by benwb · · Score: 4, Insightful

      While sendmail is much more secure now, in the days of yore it made IIS look like fort knox.

    2. Re:A Sad Day for Egg Troll by Tolchz · · Score: 0, Offtopic

      Kind of dilapidated and run down ? Maybe I just saw the bad parts of Fort Knox though...

    3. Re:A Sad Day for Egg Troll by benwb · · Score: 3, Funny

      Yes, of course, that was exactly what I meant. Thank goodness you were on the ball, or someone would have thought that I was alluding to Fort Knox's traditional reputation of extremely high security.

    4. Re:A Sad Day for Egg Troll by Anonymous Coward · · Score: 0

      Guess you were in kindergarten the day that Sendmail took down the entire Internet.

    5. Re:A Sad Day for Egg Troll by Anonymous Coward · · Score: 0

      All ten computers on the entire internet, yes.

    6. Re:A Sad Day for Egg Troll by jweatherley · · Score: 1

      Check it out. A close run contest - is the result what you expected though?

      --

      --
      Reverse outsourcing: it's the future
    7. Re:A Sad Day for Egg Troll by jeremyp · · Score: 2

      It wasn't sendmail, it was a worm that used a sendmail exploit to propagate. Only DEC VAXes running a particular Unix (4.2 BSD I think, but I could be wrong) were affected, admittedly that was a large proportion of computers on the Internet at the time.

      Ironically, the worm was not written with malicious intent, but a bug caused it to go crazy.

      --
      All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
  6. We need a way to verify signatures by lamj · · Score: 5, Interesting

    PGP signing is a good way to prevent trojaned software like this case. But I think the process to verify the software is too complicated and not easy for all users to use. Let me ask you this, when is the last time you checked the hash or PGP signature after you download a software?

    For most people, never.... It would be great if we have automatic download tools to check signature as well (obviously, we need standard for storing the signature as well)

    1. Re:We need a way to verify signatures by quitcherbitchen · · Score: 3, Informative

      Difficult? With GnuPG you can just do a gpg --verify and md5 is just md5sum filename

      You mentioned the real issue: key management. If files from ftp.sendmail.org get infected, then people could probably get a bogus key as well. (Although the sendmail folks verified that the files didn't have an updated signature and wouldn't have validated).

    2. Re:We need a way to verify signatures by spencerogden · · Score: 2

      Source Mage (The distro formerly known as Sorcerer) checks MD5 sums on download if they are known. I don't have sendmail installed, so I don't know if it would have caught this one. I think so because the MD5 sum on file for sendmail was created on Aug. 20.

    3. Re:We need a way to verify signatures by ubernostrum · · Score: 2, Informative

      Red Hat is good for this...use "rpm -K" to verify packages.

    4. Re:We need a way to verify signatures by taion · · Score: 3, Informative

      FreeBSD's ports system also automatically checks MD5 sums on downloaded files.

      That being said, it certainly isn't inconceivable that the checksums themselves could be tampered with, but it is at the least a further layer of security.

      --

      ----------
      Floccinaucinihilipilification - the action or habit of judging something to be worthless
    5. Re:We need a way to verify signatures by tuffy · · Score: 4, Insightful
      If files from ftp.sendmail.org get infected, then people could probably get a bogus key as well.

      This difference, though, is that one can download a public GPG key from a site (like sendmail.org or something) and continue using it to verify software over several versions. So, for example, you could use a 2002 public GPG key to verify software in 2004 and be reasonably sure the key hasn't been tampered with for two years straight without someone noticing. With an md5sum, the checksum is only good for that version of the software and can forged much easier in the short term.

      That said, I think md5sums are better for ensuring integrity, GPGs are better for ensuring security and both should be as automated as possible (like with the help of RPM and friends).

      --

      Ita erat quando hic adveni.

    6. Re:We need a way to verify signatures by CustomDesigned · · Score: 2, Informative
      rpm -K sendmail-8.12.6-1.src.rpm

      For end users of binary RPMs, RedCarpet (and I presume competing tools like apt-get) automatically check signatures.

      Yes, it is more difficult for tarballs. But I think the theory is that people packaging tarballs have a clue. It really is not that difficult to check sendmail tarballs. Just download that ascii signature file also, and run pgpv. It even runs md5 for you. The only wrinkle is that you have to gunzip the tarball first:

      $ pkg=sendmail.8.12.6.tar
      $ gunzip <$pkg.gz >$pkg
      $ pgpv -v $pkg.sig
      This signature applies to another message
      File to check signature against [sendmail.8.12.6.tar]:
      Good signature made 2002-04-05 19:37 GMT by key:
      1024 bits, Key ID 678C0A03, Created 2001-12-18
      "Sendmail Signing Key/2002 <sendmail@Sendmail.ORG>"

      $ rm $pkg
    7. Re:We need a way to verify signatures by grahammm · · Score: 1

      That is fine where the supplier continues to use the same key. How easy is it for the downloader to tell the difference between the supplier changing the signing key and the intruder signing with a bogus key (the public half of which has been uploaded to the key servers)? This is where the web of trust comes into play, I suppose that at the minimum if a company changes the signing key (which does happen) then the new key should be signed by the old.

    8. Re:We need a way to verify signatures by Anonymous Coward · · Score: 0

      "when is the last time you checked the hash"
      I check it all the time. I type "hash" when I ftp and watch all the ################### go across the screen.

    9. Re:We need a way to verify signatures by ishark · · Score: 2


      PGP signing is a good way to prevent trojaned software like this case. But I think the process to verify the software is too complicated and not easy for all users to use. Let me ask you this, when is the last time you checked the hash or PGP signature after you download a software?


      Always. It goes like:
      - download (mirror) the updates for my distro (Mandrake)
      - rpm --checksig *.rpm

      The Mandrake key is added to root's keyring off the CDROM at install time, so unless someone hacks your box to change it, it will be the right one.

    10. Re:We need a way to verify signatures by bogado · · Score: 2

      Not being pedantic, but MD5 is diferent from a dignature, a signature is much more safe. It relies in a secret key that only the developer holds, this key is used to encript a MD5 sum. Only the public key from the original packager can decript the MD5 correctly. This allows you to be certain that the person who packaged the software is the holder of the secret key.

      RPM suports MD5 and signatures, but not all packages out there are actualy signed, the one from the major distros (red hat, ximian, mandrake) are certainly signed.

      --
      []'s Victor Bogado da Silva Lins

      ^[:wq

    11. Re:We need a way to verify signatures by Anonymous Coward · · Score: 0

      That being said, it certainly isn't inconceivable that the checksums themselves could be tampered with, but it is at the least a further layer of security. wouldn`t md5 sums from the same mirror be the same security "layer"? they only protect again very lazy trojan planters, or smart ones who trojan a couple of mirrors without updating the md5`s and then one day take, when everybody feels great about these hashes, take over openssl and plant a very obscure backdoor likely not te be found for weeks, inluding fitting md5`s?

    12. Re:We need a way to verify signatures by Ded+Bob · · Score: 2

      The MD5 checksums are distributed from a FreeBSD server independent of the source distribution server. They would have to change the MD5 in two locations to make that work.

  7. How the heck? by gorjusborg · · Score: 1, Interesting

    How does this sort of thing happen? Don't the projects use some type of revision control so they can tell who checked things in? I hope no intruder is putting Trojan horses into my Verilog RTL at work! No patches for silicon.

    --
    If it's not one thing, it's Steve's Mother
    1. Re:How the heck? by Ziviyr · · Score: 2

      Yeah, its nice we don't have anything that like makes a focused beam of ions or anything.

      Noone will be putting trojans on my chips!

      --

      Someone set us up the bomb, so shine we are!
  8. Don't worry by bsharitt · · Score: 1, Funny

    Don't worry, there are no soldiers inside the Tojan horse.

  9. Article text... (before it gets /.ed) by whatisthatvelvet · · Score: 2, Informative

    CERT® Advisory CA-2002-28 Trojan Horse Sendmail Distribution
    Original release date: October 08, 2002
    Last revised: --
    Source: CERT/CC

    A complete revision history is at the end of this file.

    Overview
    The CERT/CC has received confirmation that some copies of the source code for the Sendmail package were modified by an intruder to contain a Trojan horse.

    Sites that employ, redistribute, or mirror the Sendmail package should immediately verify the integrity of their distribution.

    I. Description
    The CERT/CC has received confirmation that some copies of the source code for the Sendmail package have been modified by an intruder to contain a Trojan horse.

    The following files were modified to include the malicious code:

    sendmail.8.12.6.tar.Z
    sendmail.8.12.6.tar.gz

    These files began to appear in downloads from the FTP server ftp.sendmail.org on or around September 28, 2002. The Sendmail development team disabled the compromised FTP server on October 6, 2002 at approximately 22:15 PDT. It does not appear that copies downloaded via HTTP contained the Trojan horse; however, the CERT/CC encourages users who may have downloaded the source code via HTTP during this time period to take the steps outlined in the Solution section as a precautionary measure.

    The Trojan horse versions of Sendmail contain malicious code that is run during the process of building the software. This code forks a process that connects to a fixed remote server on 6667/tcp. This forked process allows the intruder to open a shell running in the context of the user who built the Sendmail software. There is no evidence that the process is persistent after a reboot of the compromised system. However, a subsequent build of the Trojan horse Sendmail package will re-establish the backdoor process.

    II. Impact
    An intruder operating from the remote address specified in the malicious code can gain unauthorized remote access to any host that compiled a version of Sendmail from this Trojan horse version of the source code. The level of access would be that of the user who compiled the source code.

    It is important to understand that the compromise is to the system that is used to build the Sendmail software and not to the systems that run the Sendmail daemon. Because the compromised system creates a tunnel to the intruder-controlled system, the intruder may have a path through network access controls.

    III. Solution
    Obtain an authentic version of Sendmail
    The primary distribution site for Sendmail is

    http://www.sendmail.org/
    Sites that mirror the Sendmail source code are encouraged to verify the integrity of their sources.

    Verify software authenticity
    We strongly encourage sites that recently downloaded a copy of the Sendmail distribution to verify the authenticity of their distribution, regardless of where it was obtained. Furthermore, we encourage users to inspect any and all software that may have been downloaded from the compromised site. Note that it is not sufficient to rely on the timestamps or sizes of the file when trying to determine whether or not you have a copy of the Trojan horse version.

    Verify PGP signatures
    The Sendmail source distribution is cryptographically signed with the following PGP key:

    pub 1024R/678C0A03 2001-12-18 Sendmail Signing Key/2002
    Key fingerprint = 7B 02 F4 AA FC C0 22 DA 47 3E 2A 9A 9B 35 22 45
    The Trojan horse copy did not include an updated PGP signature, so attempts to verify its integrity would have failed. The sendmail.org staff has verified that the Trojan horse copies did indeed fail PGP signature checks.

    Verify MD5 checksums
    In the absence of PGP, you can use the following MD5 checksums to verify the integrity of your Sendmail source code distribution:

    Correct versions:

    73e18ea78b2386b774963c8472cbd309 sendmail.8.12.6.tar.gz
    cebe3fa43731b315908f44889d 9d2137 sendmail.8.12.6.tar.Z
    8b9c78122044f4e4744fc447eea fef34 sendmail.8.12.6.tar.sig

    As a matter of good security practice, the CERT/CC encourages users to verify, whenever possible, the integrity of downloaded software. For more information, see

    http://www.cert.org/incident_notes/IN-2001-06.ht ml
    Employ egress filtering
    Egress filtering manages the flow of traffic as it leaves a network under your administrative control.

    In the case of the Trojan horse Sendmail distribution, employing egress filtering can help prevent systems on your network from connecting to the remote intruder-controlled system. Blocking outbound TCP connections to port 6667 from your network reduces the risk of internal compromised machines communicating with the remote system.

    Build software as an unprivileged user
    Sites are encouraged to build software from source code as an unprivileged, non-root user on the system. This can lessen the immediate impact of Trojan horse software. Compiling software that contains Trojan horses as the root user results in a compromise that is much more difficult to reliably recover from than if the Trojan horse is executed as a normal, unprivileged user on the system.

    Recovering from a system compromise
    If you believe a system under your administrative control has been compromised, please follow the steps outlined in

    Steps for Recovering from a UNIX or NT System Compromise
    Reporting
    The CERT/CC is interested in receiving reports of this activity. If machines under your administrative control are compromised, please send mail to cert@cert.org with the following text included in the subject line: "[CERT#33376]".

    Appendix A. - Vendor Information
    This appendix contains information provided by vendors for this advisory. As vendors report new information to the CERT/CC, we will update this section and note the changes in our revision history. If a particular vendor is not listed below, we have not received their comments.

    1. Re:Article text... (before it gets /.ed) by Anonymous Coward · · Score: 0

      Um yeah..... I don't think we need to worry about Cert getting slashdotted. It kinda helps that thousands of us have already received the advisory from the Cert mailing list too and don't need to view it from their site.

  10. Checksums and crypto by bytesmythe · · Score: 5, Informative

    This is a good reason to compare the MD5 checksum of anything you download, source or binary, to what the author says it should be, especially if you downloaded from a mirror. Better yet, the author could use GnuPG and sign the code with his/her private key. Since only his/her public key can decrypt it, you know that the code has very likely not been tampered with.

    --
    bytesmythe
    Hypocrisy is the resin that holds the plywood of society together.
    -- Scott Meyer
    1. Re:Checksums and crypto by Anonymous Coward · · Score: 0

      Now, is Linux really more secure than Windows, or are Linux users just big enough acne-faced, pear-shaped, no-life loser nerds that they compare an MD5 hash of all of the software that they download?

      I'd say that Linux would only more secure because its loser users have nothing better to do than look at MD5 checksums and patch the hell out of their systems. Windows users, on the other hand, are busy going on dates, or even just leaving their apartment to get some sun.

      Speaking of the sun, bytesmythe, you should really get out some. Sitting in your parents basement all day waiting for your latest kernel to recompile is bad for your pasty white skin.

    2. Re:Checksums and crypto by Total_Wimp · · Score: 1

      The MD5 checksum would have caught this particular problem, but they're not always reliable. The same guy that compromised the code could have subbed the checksum too if he had taken the extra time (he already owned the box, why not go the extra step?).

      Clearly the private key signature would be the only truely reliable solution.

      TW

    3. Re:Checksums and crypto by spencerogden · · Score: 2

      If no one would notice if the md5 sum changed, would they notice if someone changed the public key?

    4. Re:Checksums and crypto by AntiFreeze · · Score: 2
      I'm not sure I completely understand what you're saying. Here's what I propose (not certain if it's what you're saying or not):

      The author of a package should digitally sign the package he is distributing, and part of that signature should necessarily contain the appropriate MD5 checksum for the package.

      This way, one can easily tell if the package has been tampered with (if the signature does not unencode with the author's public key, or the unencoded checksum is invalid). Of course, the one flaw with this is that there needs to be a way to determine who the author is and grab the author's public key. If the author's identity is stored in the package, then this method is useless. If the author's identity can be found via some central resource (say, a searchable database of projects and their authors on the FSF or GNU websites), then the security of this method is only as strong as the security of that database.

      All in all, food for thought, but no real foolproof way of verifying you're installing untampered binaries.

      --

      ---
      "Of course, that's just my opinion. I could be wrong." --Dennis Miller

    5. Re:Checksums and crypto by Total_Wimp · · Score: 1

      If they were able to change the public key at Verisign as well as compromise the Sendmail server? Damn, those guys would deserve some kind of hacker medal. Changing the MD5 hash of a file they created themselves just means they're competent at covering their tracks. TW

    6. Re:Checksums and crypto by Anonymous Coward · · Score: 0

      It seems to me that there is no 100% foolproof way of validating the authenticity of a package! We need to assume that the person who can access, and insert malicious code into, the source code - then posting it for download from these FTP servers has sufficient means by which to alter any signatures.

      These tools are great, and should be used, but as the CERT publication suggests, "The Trojan horse copy did not include an updated PGP signature," implying that the attacker could have easily done this. If they had updated the PGP signature and the checksum information, then these measures would have been useless. We can't assume in any case that the private key is very private - root passwords are testament to this fact!

      I am not trying to offend anyone, because I think that validating file signatures is essential, but it's not the whole solution. There's no substitution for manual log checks after system updates by people who know what there looking for. Port 6667 - a bit odd isn't it?

    7. Re:Checksums and crypto by Anonymous Coward · · Score: 0

      To sign the trojaned code with the author's private would require the author's password. To change the public key would be compromising the keyring server, or the public key from that author already on my keyring.

    8. Re:Checksums and crypto by Anonymous Coward · · Score: 0

      You are forgetting one important detail. If I have your public key, I can find your private key. Sure, it may take a week for my computer to factor your public key into it's two primes and then go through the euclidean algorithm, but it's doable. So, then having your private key, what's to stop me from encoding my new updated binary or source and MD5 with it? Nothing. That's what.

  11. Re:this is why you cannot trust OSS by Anonymous Coward · · Score: 0
    That's true.



    The fact being is, I'm a Linux Sysadmin and I can trust Linux to be trojan free. Linus Torvaldos would be held responsible for any malicious code, but he's so smart that that would never happen. The fact being is, basically, people this day and age don't want you to think companies are bad. You have to look for a problem in anything, the fact being is is that when you found your problem you can start the research and development project. The fact being is the denotation of research is to investigate exaustivley.

    praise the Lord Jesus Christ Most High

    Amen

    S1R B4RD teh Hax

  12. Scary. by QuantumWeasel · · Score: 5, Interesting

    It's been a long time since I installed sendmail or inn or bind from sources. At some point I stopped checking MD5 signatures, and now I trust the major distros to do that for me. I sure hope they're more vigilant than me. And I used to be so paranoid... This is a nasty wake-up call.

  13. Not to plug Gentoo AGAIN, but... by bytesmythe · · Score: 2

    Gentoo automagically checks MD5 sums when it downloads source packages during installs/updates. Very handy.

    --
    bytesmythe
    Hypocrisy is the resin that holds the plywood of society together.
    -- Scott Meyer
    1. Re:Not to plug Gentoo AGAIN, but... by Anonymous Coward · · Score: 0

      That is nice, but if they can compromise the main software, the md5 sitting right beside it is no less susceptible.
      If I emerged sendmail 4 days ago... have I been trojaned?

    2. Re:Not to plug Gentoo AGAIN, but... by Anonymous Coward · · Score: 0

      Blah blah blah. Don't you ever get tired of being so stupid?

    3. Re:Not to plug Gentoo AGAIN, but... by delta407 · · Score: 2
      If I emerged sendmail 4 days ago... have I been trojaned?
      Ahem.
      $ cat /usr/portage/net-mail/sendmail/files/digest-sendma il-8.12.6
      MD5 73e18ea78b2386b774963c8472cbd309 sendmail.8.12.6.tar.gz 1867436
      That's the same md5sum as the correct one listed in the CERT advisory, and that's the md5sum Portage looks for before proceeding to unpack. So, no, Portage won't let you be trojaned.
    4. Re:Not to plug Gentoo AGAIN, but... by Ricky+M.+Waite · · Score: 1

      Ahem.

      And what's to say that the digest in that file wasn't the digest of a trojaned version (it wasn't....but it could have). Then you'd be just as fucked. No security model is perfect, not even your beloved Gentoo's.

      --

      We wave the flag of freedom as we conquer and invade.
  14. check sums blah blah by domninus.DDR · · Score: 5, Insightful

    everyone says just check sums, but how are these people changing the file? If they can change the tarball on the server than why not change the page to have thier md5?

    1. Re:check sums blah blah by quitcherbitchen · · Score: 2, Interesting

      It would be best to sign the MD5 with a PGP signature. They key they use may have also been compromised, but at least that adds another layer to security.

    2. Re:check sums blah blah by iamplasma · · Score: 4, Informative

      Yes, but if you read the full article, the source was also PGP signed, specifically so that tampering could be detected. Short of a miracle, it would be impossible for any cracker to fake a PGP signature, as they wouldn't have the required private key. So if you checked that (as it was specifically intended for), then you pick it up, and I expect that may quite possibly have been how it was detected.

    3. Re:check sums blah blah by Anonymous Coward · · Score: 0

      And as a bonus, that would put you one step further away from ever going on a date with a real girl.

    4. Re:check sums blah blah by mosch · · Score: 3, Interesting
      Well, the solution to that is a distributed checksum, such as is found in the FreeBSD ports system.

      Type cd /usr/ports/mail/sendmail && make install and it then downloads the source, and then checks what it downloaded against an md5 checksum that's kept on your machine before it applies patches and builds.

    5. Re:check sums blah blah by Jucius+Maximus · · Score: 2
      "everyone says just check sums, but how are these people changing the file? If they can change the tarball on the server than why not change the page to have thier md5?"

      You get the binaries from a mirror to ease the load on the master server and then get the MD5sum (which is just a few bytes) from the master server to verify the binaries you got.

    6. Re:check sums blah blah by Anonymous Coward · · Score: 0

      what kind of crackhead checks PGP signatures?

      It's a pain in the ass.

    7. Re:check sums blah blah by papabear1 · · Score: 1

      You're right, and I agree with you totally. But then, aren't passwords meant to be encrypted? My point is that there is no accounting for the stupidity of users, and if these users keep an FTP server that is vulnerable to exploitation like this, then it isn't safe to assume that the signature - no matter what the standard - hasn't been altered too!

      I know that I have seen people leave things such as PGP private keys in a file on a machine before!

      I have said it before that no matter how secure the source of a download is, if you install a piece of downloaded software for a system update - especially one like sendmail - then you must monitor your logs. You see, the full report also suggested that there would be activity on port 6667. Port 6667 is the most significant tell tale sign here that there is something strange going on, and one should assume that it isn't necessary to have that port open on your firewall.

      No offense intended, but checksums just aren't the whole solution here! They need to go hand in hand with serious system administration.

  15. Microsoft Sux!!! by Anonymous Coward · · Score: 3, Funny

    What?! It's not M$? oh.......

  16. Thanks for ignoring me qjkx by Anonymous Coward · · Score: 0

    Does it irritate anybody (if you're very stupid) that hexadecimal is used in the checksum? Since you love decimal so much. Decimal is evil.

  17. Re:Sendmail is now worthless, instead by Anonymous Coward · · Score: 0

    Well, If you don't mind using a proprietary program written by a person with the same level of maturity and social skills as a mentally retarded 5 year-old.

  18. And in other news ... by Anonymous Coward · · Score: 0

    in other news, more open source advocates congratulated themselves on having provided more secure IT solutions than the closed source competition

  19. Thank GOD for Microsoft! by eamber · · Score: 5, Funny

    Good thing I use Exchange Server. I've got a tight ship there.

    1. Re:Thank GOD for Microsoft! by Anonymous Coward · · Score: 1, Funny

      Oh damn! Can I have your IP address to that MS Exchange Server please?

    2. Re:Thank GOD for Microsoft! by Sabalon · · Score: 5, Funny

      Don't forget that according to the earlier article you will now need to pay extra for that tight ship - otherwise you get the submarine with the screen door.

    3. Re:Thank GOD for Microsoft! by Anonymous Coward · · Score: 0

      Get it right. What you meant to say was "screen door on a battleship."

      Now, why don't you make like a tree, and get out of here.

    4. Re:Thank GOD for Microsoft! by XSforMe · · Score: 1

      If you are refering to this article, I suggest you read it and then troll about it. The article states that that Microsoft has a group chartered with developing additional security products. Currently, he said, there is no plan in place to charge customers a fee for additional security services. But Microsoft is most likely to introduce new security software, similar to its existing firewall software. . There is no mention of charging for security upgrades to existant products.

      --
      My other OS is the MCP!
    5. Re:Thank GOD for Microsoft! by Anonymous Coward · · Score: 0

      Why does everyone on /. take things so literally.

      You people should learn about humour.

    6. Re:Thank GOD for Microsoft! by Anonymous Coward · · Score: 0

      192.168.6.1...

  20. No, really?!? by Anonymous Coward · · Score: 0

    Gasp! This happened to a non-microsoft entity?

    Pack up the kids, Madge! We's goin' ta the mountns!

  21. Re:this is why you cannot trust OSS by Anonymous Coward · · Score: 0

    dell is a company of linux cohorts. that is why the install redhat on some of their servers. they suck the linus torvaldos cox. they probably installed nimda on their computers because they use linux on their installer computers. i know this because i work for microsoft.

  22. This is a good reason to get windows! by greenskyx · · Score: 4, Funny

    That way when you get your software you know who put the security holes in it. It's all part of trustworthy computing... ;-)

  23. We knew... by McFly69 · · Score: 0, Flamebait

    We always knew it was a piece of insecure crap. so no surprise. Qmail or even mailx is MUCH more secure.

    --



    NO! NO! Please don't mod me, I'm too young to die a troll. *click* Oh the pain, the pain...
    1. Re:We knew... by Anonymous Coward · · Score: 0

      Uhm, mailx is a MUA.

    2. Re:We knew... by robson · · Score: 2

      We always knew it was a piece of insecure crap. so no surprise. Qmail or even mailx is MUCH more secure.

      (Except this wasn't due to any vulnerability within the software itself -- it looks like it was a lapse in the security of the sendmail project's server.)

  24. Re:this is why you cannot trust OSS by Total_Wimp · · Score: 1

    This is simply not true. Have you heard of for-profit software vendors _ever_ taking monetary responsibility for damage their software has caused through bugs? Never. They'd classify this as a bug, fix it, apologize and go on..... Just like Sendmail will.

    It's also not true in the assertion that for-profit vendors don't send trojans or worms with their disks. Doesn't happen much anymore, but it was know to happen in the days before _everyone_ started using AV software (pre melisa).

    TW

  25. Sendmail by Anonymous Coward · · Score: 2, Funny

    Further proof that security through obscurity don't work.

  26. Only the FTP... by OneFix · · Score: 5, Insightful

    According to the advisory, it was only the FTP site that was compromised (The HTTP was fine).

    So, as for those that are saying it's an Open Source problem, this is just wrong.

    There's been alot more closed software distributed with Viri/Trojan Horses. The truth is, this is bound to happen if the public archives are on an unsecured server...I even seem to remember pressed CDs being distributed with trojans.

    So, what are they doing to keep this from happening again?

    1. Re:Only the FTP... by Anonymous Coward · · Score: 0
      There have been "alot more" cases on the closed-source side, eh?

      Okay, list them. We've got two recent examples where going to the main distributor of an open source project will get you a trojan. Name more than two examples of a commercial, closed source software projects being packaged with a trojan or virus from the main distributor (Outlook viruses and other stuff that gets propogated later don't count here). Either that or admit you're full of it.

    2. Re:Only the FTP... by Quixote · · Score: 4, Funny
      I even seem to remember pressed CDs being distributed with trojans.

      Surely these can't be Microsoft CDs!?! According to a KB article at Microsoft.com, "Disks are duplicated on a variety of industrial strength, quality focused systems. Most of these systems are UNIX-based. The UNIX-based duplication systems used in manufacturing are impervious to MS-DOS-based, Windows-based, and Macintosh-based viruses."

    3. Re:Only the FTP... by duffbeer703 · · Score: 2

      Actually, GA releases of two Microsoft products for non-english languages shipped with the Klez worm.

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    4. Re:Only the FTP... by OneFix · · Score: 1

      Ok, how about ...

      A PC Gamer CD with a virus in Q-Paint

      Another magazine's CD (Developers Review) was infected with a macro virus

      PK Zip V3 (gee, this sounds rather familar)

      A Mac virus found on the Journal of Vacuum Science & Technology CD-ROM Vol.12 1Q94

      And...

      Slashdot even did a story about a spyware program that removed Ad-Aware (Trojan)...and this was done by the author!!!

      I'm sure if you look around for a while, you can find more. Just do a search on Google...only took me a few minutes to find these.

    5. Re:Only the FTP... by OneFix · · Score: 5, Interesting

      So, lets get this right...you're trying to blame a UNIX machine for a Mac/Windoze virus???

      All of the virus scanning should be done by the vendor/distributor...

      The infections generally happen before it gets pressed. That's why it's usually only a few files that are infected. Someone's machine is infected and due to either poor administration or what not, they get onto the pressed CD.

      But, the truth is, mass-produced CDs don't go into a CD-R (ever wonder why there's no dye to be found on pressed CDs?)...They are pressed...they use molded metal "stamps" from a glass master...

      The UNIX machines are most likely only running the pressing machines...now, if you're expecting me to belive that a virus can get onto the pressing machine through this process, I'ld like to know how...

      Check out This link to read about the process of CD pressing.

      I'm sure M$ has a reason for making it sound like they are using standard CD-Rs for this process...it probably makes it easier to blame a UNIX machine when a problem does arise...rather than telling ppl that one of your developers had an infected machine...

    6. Re:Only the FTP... by Elwood+P+Dowd · · Score: 3, Insightful

      Surely these can't be Microsoft CDs!?! According to a KB article at Microsoft.com, "Disks are duplicated on a variety of industrial strength, quality focused systems. Most of these systems are UNIX-based. The UNIX-based duplication systems used in manufacturing are impervious to MS-DOS-based, Windows-based, and Macintosh-based viruses."

      Um. I can't tell if you're kidding or not, so I'll bite:

      It doesn't matter what kind of computer runs the machine that copies the CDs. The machine that creates the master CD could have a virus, and infect an executable on the CD. I'm sure microsoft has a number of failsafes in order to make sure that this master CD doesn't have a virus on it, but having a unix computer run the duplication machine is not one of those failsafes.

      --

      There are no trails. There are no trees out here.
    7. Re:Only the FTP... by Sygnus · · Score: 1
      Don't forget about Microsoft's packaging of Code Red onto its South Korean W2K discs.

      --
      First posting isn't trolling. It's...first posting. :) -- Illiad
    8. Re:Only the FTP... by WWWWolf · · Score: 1
      I even seem to remember pressed CDs being distributed with trojans.

      I can't remember pressed CDs with trojans/viruses but that has undoubtedly happened at some points... because I can remember software distributed on floppies having viruses, and history (especially history like this) has the tendency to repeat itself every now and then =)

    9. Re:Only the FTP... by Xtifr · · Score: 2

      So, lets get this right...you're trying to blame a UNIX machine for a Mac/Windoze virus???

      Just the opposite -- he's saying that there can't be any viruses on the MS CDs because MS uses Unix, not Windows, to press their CDs. And of course, that's silly, but the quote from the MS site is (or was) real -- it made the rounds of many Unix/Linux mailing lists, and I went to the site and saw it myself. They've probably removed the quote (and maybe even switched OSes for their pressing machines) after all the publicity it got, but it was definitely there at one time.

      (MS's point was that there can't be any viruses introduced during the pressing process because their Unix machines were immune to viruses. Of course, this is irrelevant and it doesn't help with pre-existing viruses on the images, but MS was trying to reassure their customers, not confuse them with facts.)

    10. Re:Only the FTP... by Sn4xx0r · · Score: 1
      The infections generally happen before it gets pressed.

      This seems to imply that cdroms can get infected after they are pressed. Do I now need to be suspicious of cd's that were clean earlier, or is "pressing" not one of the final steps in creating the physical cd?

      --
      Got brain?
    11. Re:Only the FTP... by Ari+Rahikkala · · Score: 1

      Actually it is an open-source problem, although not a very bad one if we just take up some good signing practices. Since everybody's free to copy software around at will, there will be a lot of servers where any particular program can be found - and some of those servers are inevitably insecure. MS (as just as an example) doesn't have this problem because of two things: Few people have the source of their programs so only few can put trojan code in the source, and MS probably has a pretty tight FreeBSD configuration that it uses on all internal servers ;-).

    12. Re:Only the FTP... by OneFix · · Score: 1

      This is wrong...you don't need the source to a program to alter the binary. The only difference between altering the source code and infecting a binary is that the binary is always some "magic code" that has to be trusted...think of it, a trojan that isn't "in the wild" could be inserted into any of your favorite closed-source programs and the only way you'd find out is if it was malicious or someone happened to find out. This is how many viruses like Michelangelo propagate...no one knows about it till it's too late...your anti-virus software can't protect you against viruses/trojans that it doesn't know exist...

      With Open Source, this kind of stuff isn't as easy to pass off...there ARE ppl that frequently review the code (yea, not every day)...but I'ld be supprised if anything like this lasted for much longer than a week or 2...OpenSSH's FTP source was only infected for 1-2 days...

      As I said before, a "very destructive trojan" was inserted onto the main distro site of PKzip.

    13. Re:Only the FTP... by Anonymous Coward · · Score: 0

      Thanks for taking a break from molesting animals so that you could share your vast wisdom with us. All hail you.

      Now that you're done sharing your vast wisdom, I guess you're free to go back to molesting animals, right?

    14. Re:Only the FTP... by Anonymous Coward · · Score: 0

      Yup. I remember the Atari ST User cover disc that shipped with the Green Goblins virus in the bootsector - I never booted from it, but was doing random things with my sector editor at the time, selected the drive B floppy (the cover disc) by mistake, saw a load of code where there should have been mostly blank, paged down, saw "The Little Green Goblins Strike Again!" in the ascii readout of the hexdump, and laughed.

      Seriously, magazine cover discs are a fairly rich source of the old-school (non-worm, non-mass-email) viruses.

      There have been commercial discs pressed with viruses too - taking the Atari as another testbed, the data disc of the game 'Deuteros' (which, by the way, is an excellent game) actually originally shipped with a bootsector full of the Signum 'B' virus (I believe - it's been a while, I may have the name of the virus wrong).

      I heard a rumour that at least one version of one PC virus killer (sometime in the DOS era) shipped infected with a virus, too, but I can't remember the details, so hesitantly consign that one to 'possible urban legend'.

      Yes, this sort of thing occasionally happens even with big companies, today. They're not usually script kiddies w00ting the box hoping to score a few easy bouncer zombies, just lazy sysadmins screwing around playing pirate copies of fps's they didn't leech from the pirate sources directly, which are usually scrupulously clean (most groups check, too - after all, to a group, rep is everything), but got off their mate Dave (everyone knows Dave) with a broadband connection, a burner, and a machine infested with, say, nimda. And so the cycle repeats.

      MD5sums are okay. OpenPGP (RFC2440) signatures are better. Even better if someone (prz would be a good choice, but he's probably REALLY sick of being asked by now - Werner Koch?) actually went around, verifying in person and signing all the really, really major keys involved in distros and stuff, who was clued and careful enough to trust as a reasonably competent certification authority.

  27. Two reasons. by Komrade+S. · · Score: 2

    1) They obviously didn't have access to the website, as the HTTP downloads of Sendmail were NOT compromised
    2) It didn't get discovered for a week, so obviously no one used the check sums.

    --

    s200.org - visit it (me), love it (me).

    1. Re:Two reasons. by Anonymous Coward · · Score: 0

      3) you're an idiot.

    2. Re:Two reasons. by Anonymous Coward · · Score: 0
      It didn't get discovered for a week, so obviously no one used the check sums.

      I wouldn't say so.

      I'd guess people downloaded trojaned ftp file, found that the md5sum didn't match and assumed it was a corrupted file transfer. It was corrupted in a different sense.

      They then downloaded the correct file from http, found that the md5sum matched and went on with life.

      Maybe that's how they detected it. Someone finally sent in email saying that the ftp file was corrupted.

      You need to compromise the file and the server where the md5sum is published. They only trojaned the file, but the md5sum was okay-- which only protected the people who cared to check...

      When I down load the redhat isos from a mirror, I always get the md5sum from the redhat site.

      -cmh

    3. Re:Two reasons. by /dev/trash · · Score: 1

      Number 2 makes no sense, are you saying that even the people responsible for the release didn't check the MD5 at least daily? If so, why not?

  28. Question by Door-opening+Fascist · · Score: 3, Interesting

    Is doing a

    # netstat -a | grep 6667

    all that is necessary to see if one has a the open port, or is there more to it than that?

    1. Re:Question by jericho4.0 · · Score: 3, Informative
      Moderators!! This is on topic!

      I can't say for sure but seeing as the trojans only action is to open the port (doesn't infect anything, can't survive a reboot), it's probably not smart enough to cover it's tracks very well and that would probably show it.

      The solution given in the cert advisory is basicly

      1. 1. reboot
      1. 2. install untrojaned sendmail.
      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    2. Re:Question by PerryMason · · Score: 1

      Of course its off-topic. I mean it isnt about how insecure MS products are, so it must be.

      Truth is, it was probably modded down by someone who hadnt even read the article and so didnt know about what the trojan actually does (open port 6667)

      --
      "I'm tired of all this 'Aren't humanity great' bullshit. We're a virus with shoes" - Bill Hicks
    3. Re:Question by Door-opening+Fascist · · Score: 1

      Thanks. I've done that, and it seems to have gone away. We weren't up for long enough for anyone to connect to the trojan'd server, apparently.

    4. Re:Question by mrfiddlehead · · Score: 1

      Since it's tcp you could simplify things by doing,

      netstat -at | grep 6667

      or to see the process that is using that port do,

      netstat -atp

      have fun.

      --
      :wq
  29. Holy crap by Anonymous Coward · · Score: 2, Interesting
    I actually did a postfix install during that period.

    I considered doing sendmail, but then I remembered how fucking thick the ORA sendmail book is and how complex it is, so I decided, "screw it, let's try postfix, I have never tried it before." If I had gone with sendmail, there would be some serious egg on my face tomorrow morning. We might be running MS exchange within a week if that had happened.

    (Oh yeah, and postfix was pretty easy to set up.)

  30. Re:this is why you cannot trust OSS by The+Analog+Kid · · Score: 2, Informative

    Umm...yeah so some malicious code got through, but ummm....what about MS not releasing info on bugs until 3 months later, or how about them not being about to figure out why servers running 2k are being cracked(how politcally correct) left and right.

  31. Upgrading Sendmail isn't Enough by fliplap · · Score: 5, Informative

    After reading the posting we'll note this is VERY similar to the OpenSSH trojan. The trojan doesn't wind up in the sendmail binary but is actually created during the build process.

    So more than just checking the MD5sums of things you download you need to watch who you compile as, since the trojan will have the privledges of whoever compiled sendmail. This isn't exactly the most sly trojan either, it is quite blatent about how it creates a tunnel to a specified target, this can also help the intruder avoid firewall rules and detection.

    If you find you've been affected by the trojan you would be wise to reinstall the system from known clean code since the intruder may have already created other backdoors from themself.

  32. No worries! by Greyfox · · Score: 4, Interesting
    Microsoft'll have a secure version out (For a small fee) ANY DAY NOW!

    Ahem. Sorry. Couldn't resist. AAH! Don't mark it troll yet! Keep reading!

    Ok, folks will say "Well here's a great example of a problem cryptography would prevent." Well as long as the guys inserting the trojans aren't contributing to your code base. Minor detail there. Keep in mind that a "trojan" can be as easy to code up as allowing a buffer overflow to take place (AND you have plausible deniability there.) Ok. So I'm paranoid.

    So lets talk about the crypto side of things again. Since I'm paranoid and all that. Do you trust the project maintainer's system security? Reckon he allows anyone to log into his system? Do you trust their security and the network they come over? For that matter, reckon the CVS archive the code's stored on could be compromised? Do you see what we're up against yet? Paranoia...

    Ok, lets say we've checked out his sytem and it's sterling. Key server/key management is a big pain in the ass right now. It'd be nice to have some infrastructure in place where I could go to a brick and mortar, establish my identity (Here's my passport, driver's license yadda yadda) and load MY PGP public key onto their server with their signature attached. Might even be worth a few bucks for me. That'd make that whole expiration thing pretty easy to deal with too.

    It also seems to be that the US Postal Service would be the ideal venue for this infrastructure. As much of a pain in the ass as they are to deal with, it'd make the whole key revocation/renewal thing much easier. And it'd be a whole lot more secure than me asking my friends to sign my key via E-mail.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    1. Re:No worries! by GigsVT · · Score: 1

      Key server/key management is a big pain in the ass right now. It'd be nice to have some infrastructure in place where I could go to a brick and mortar, establish my identity (Here's my passport, driver's license yadda yadda) and load MY PGP public key onto their server with their signature attached. Might even be worth a few bucks for me.

      Yeah! Someone should start a company... They could call it VeriSignature or VeriSign or something like that.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    2. Re:No worries! by Anonymous Coward · · Score: 0

      Good points. But the problem (lack of trust) that you mention is actually more applicable to closed source. keep in mind that earlier MS had several crackers running through their systems. They almost certainly left back doors, but can we check? no.
      BTW, did you see earlier where the swiss po was offering free e-mail boxes and directories to swiss national. then they would charge the businesses to e-mail bills to national, but less than through snail-mail. If not delivered via e-mail, then would be created and mailed. This is a good way for the PO to grow and kill off the snail mail. But i like your idea of providing extras (such as pgp/gpg) as well.

    3. Re:No worries! by Greyfox · · Score: 2

      Kinda like VeriSign, yeah. Except with identity verification. And for my PGP key. That's why the Brick and Mortar bit is so important. If I could just put my PGP public key on a disk or CD and take it down to the nearest post office, show my driver's license and social security card (or passport) and have them sign my key right there and load it up to their public key server that would rock. And if any citizen could do that for $10 or $20 (maybe per year) you might even start to have an infrastructure that the public would be willing to use.

      --

      I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    4. Re:No worries! by Greyfox · · Score: 2

      Oh yeah! I don't want to cast aspersions as to the integrity of the open source development model. At least with them I can look at the source code. Since I can't look at closed source programs, I really can't be sure that some three letter agency might not have dictated a back door in there (did I mention I was paranoid, by the way?) I really don't have any way to prove otherwise. Leastwise with open source I can always be sure there isn't one, simply by booting my (openbios controlled) computer, firing up my hand-coded assembler (copy con assembler.com), compiling my hand assembled C compiler and bootstrapping GCC with it... Did I mention I was paranoid by the way?

      --

      I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    5. Re:No worries! by CableModemSniper · · Score: 2, Insightful
      It also seems to be that the US Postal Service would be the ideal venue for this infrastructure. As much of a pain in the ass as they are to deal with, it'd make the whole key revocation/renewal thing much easier. And it'd be a whole lot more secure than me asking my friends to sign my key via E-mail.

      Right up until there I was with you. The Post Office? That's the last place I'd want with my PGP/GPG key. Because of course, as soon as a service like this was offered people would jump at the chance to use it. It could quite quickly and easily replace Passport and Project Liberty, etc. But don;t you think the government would say to themselves, oh look...we let people associate public keys with real people reliably. Let's make sure it's really reliable, and require them to give us their private key as well when they sign up. I mean they have been looking for a way to get escrow keys for a looong time, this would give them the perfect excuse.

      Now who would I trust to provide this service? That's a good question. You can't really trust the government because its yet another way for them to track you. You wouldn't want to entrust it to a bank, who knows what they would do with that information. But there needs to be a place that can verify your identity and associate it with a public key. Conceivibly you could see firms whose express purpose is to provide this service. Of course this means confusion and possible incompatibilty when the person's key you want to verify and your key are under two different verification companies.

      The only possible solution I can see is the classical web of trust. But again that has its own problems.

      What we really need is some kind of incorruptable agency for handling this sort of thing. Of course we all know what the chance of something like that showing up is...

      --
      Why not fork?
    6. Re:No worries! by Anonymous Coward · · Score: 0

      Thawte does just what you say -- just buy a 'personal certificate' and then go to one of their approved notory publics. (Verisign used to do this themselves - but I can't find it on their website. Yeah, I know that Thawte is VS now.)

      BTW, this doesn't and wouldn't work with PGP and i't cheezy 'web of trust' substitute for PKI.

      Anyway, don't be such a sarcstic bastard at the same time as being an idiot. x509 would have been one of the great technologies of the internet, if Visa/MC and the "AdultCheck" scammers hadn't cornered the identity market first.

    7. Re:No worries! by Anonymous Coward · · Score: 0

      Good grief! What is with you people?

      PGP keys? PGP?! No sane person uses that (and definately not the general public).

      S/MIME is the future my friends... screw PGP (and imitations), it's too complicated/involved to use and that's why no one uses it.

  33. Re:Sendmail is now worthless, instead by phorm · · Score: 1, Troll

    I used qmail on my servers, it runs very smoothly and I haven't had any problems since I got it properly configured. I'm still trying to figure out how to use SMTP AUTH though (it seems that qmail requires the addins of others to use this) and having to change outgoing mail settings on my laptop whenever I go somewhere is a pain in the butt. life with qmail details all the necessary instructions except for SMTP AUTH configuration.

    If somebody on /. would be so kind as to offer a good SMTP AUTH plug with a comprehensive set of instructions, I'd recommend you try it.

  34. Upgrade? by fliplap · · Score: 1

    That's why I'm still running sendmail from 1996!

    1. Re:Upgrade? by Anonymous Coward · · Score: 1, Funny

      Yeah right. Admit it, It is because you can't decipher the config file so you can upgrade.

    2. Re:Upgrade? by FyRE666 · · Score: 2

      That's why I'm still running sendmail from 1996!

      Could you let us know the IP address so we can all put that "swiss cheese" server in our blacklists? ;-)

    3. Re:Upgrade? by fliplap · · Score: 1

      65.54.254.151, 65.54.254.129, 65.54.252.99, 65.54.254.145, 65.54.254.151, 65.54.254.140, and 65.54.252.230 should all be blackholed

  35. Does any one know by gorjusborg · · Score: 2, Interesting

    How long does it take for all the trojan infested code to propagate out of use?

    I wonder how many admins download/install packages, go on vacation (missing all the warnings), and simply never hear of the problem.

    I think it would be interesting to see some statistics on this topic.

    --
    If it's not one thing, it's Steve's Mother
    1. Re:Does any one know by jericho4.0 · · Score: 1

      Considering the amount of klez activity on the web, a long, long time.

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
  36. install by Anonymous Coward · · Score: 0

    I'd like to see a standard install procedure that doesn't involve granting unrestricted root access to every little 3rd party app/utility I want to install.

    But OSS developers are too attached to their make install method. It won't happen.

  37. Re:Sendmail is now worthless, instead by Anonymous Coward · · Score: 0

    Hell, I don't care about the maturity of the author as long as it works as advertised. Which it does.

    Who's *really* concerned with the 'social skills' of a computer programmer anyways? Asshat.

  38. Where's the bashing?? by Anonymous Coward · · Score: 0

    Whenver there are security breaches in MS software the response around this place sure is a little different... Can't /. think logically for once?

  39. Re:Sendmail is now worthless, instead by Anonymous Coward · · Score: 0

    Seconded.

    Our mail server sent 9,094 messages to 124,932 recipients in the last seven days using the qmail/ezmlm-idx combination. It has carried a similar load every seven days for the past few years.

    I don't think about it. I don't touch it. I never have to do anything to it. It Just Works(TM).

    As for Dan being a bit of a boor, I've never had to think about, touch, or do anything to him either, so that's not an issue. Don't let his reportedly poor social skills obscure the fact that he happens to write great software.

  40. Hardly news ... by jc42 · · Score: 5, Insightful

    Let's see, a Trojan Horse is basically defined as an undocumented chunk of code hiding inside a program, which does something that you don't know about or understand.

    Sendmail is such a complex beast that, no matter how much you personally know about it, there are always things in there that you don't know about or understand.

    So it has always been full or Trojan Horses.

    This is the fundamental thing that's wrong with building a hugs program that tries to do everything possible. Pretty much all the other mail tools are better at sendmail in this respect, because they only try to be a mail tool.

    Sendmail, OTOH, is an emulator for a rather complex sort of machine language. Some time back, someone demonstrated that it was possible to emulate a Turing machine with a sendmail.cf file. Impressive as this may be technically, it's way overkill for the task, and it shouldn't be any surprise to anyone when problems turn up in sendmail and aren't discoverted for a while.

    It's guaranteed that there are others lurking inside that monster.

    --
    Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    1. Re:Hardly news ... by anotherone · · Score: 1
      > Let's see, a Trojan Horse is basically defined as an undocumented chunk of code ... > which does something that you don't know about or understand.

      By that definition, most linux software is a trojan... I think you'd want to toss "malicious" in there somewhere.

      --
      Username taken, please choose another one.
    2. Re:Hardly news ... by jc42 · · Score: 2

      > By that definition, most linux software is a trojan

      Well, yeah; I often tell people that all the programs that I write contain THs. For example, I usually include a number of debug hooks that jack up the verbosity. Most users don't want to know about these things, so I only document then down at the end of the man page, where it won't be seen. So to most users, my programs can suddenly start writing huge log files that they weren't expecting.

      I also often include code that isn't quite working yet, and only enabled via some command-line flag that isn't documented. I can tell a few select beta testers about it. To everyone else, such things are TH code.

      People do write a lot about such things without ever making their definitions clear. It can be fun to make up a "reasonable" definition and see if you can argue that it applies to your own stuff.

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    3. Re:Hardly news ... by Trogre · · Score: 5, Funny

      Let's see, a Trojan Horse is basically defined as an undocumented chunk of code hiding inside a program, which does something that you don't know about or understand.

      Not quite.
      A Trojan Horse is defined as a big wooden horse which sat outside the ancient city of Troy, just large enough to happily contain 700 greeks in full battle dress and still leave adequate room for toilet facilities.

      For more information read Homers's Iliad.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    4. Re:Hardly news ... by Anonymous Coward · · Score: 0

      700 geeks???? now thats scary... :)

    5. Re:Hardly news ... by kaisyain · · Score: 1

      You realize that the Iliad doesn't actually talk about the Trojan Horse because it ends when Achilles dies, which happens before the city falls?

    6. Re:Hardly news ... by dr-suess-fan · · Score: 1

      You're partly right. The Iliad ends when Hektor
      dies at the hands of Achilles (after a big chase
      around the walls of Troy).

      Achilles died during 'The Fall of Troy'.

      I just happen to be reading TFOT now. ;)

    7. Re:Hardly news ... by Saint+Aardvark · · Score: 2
      Dear God, you're right; I thought you were joking.

      http://www.hopf.demon.co.uk/demon/turing.txt

    8. Re:Hardly news ... by Anonymous Coward · · Score: 0

      Or it could be a hold in your condom......

    9. Re:Hardly news ... by jc42 · · Score: 2

      I thought you were joking.

      As usual, when I joke, people respond as if I were serious, and when I'm serious, people think it's a joke.

      But at least someone took the time to Look It Up ...

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    10. Re:Hardly news ... by Anonymous Coward · · Score: 0

      Die in bed you Trojan pig-dog!

    11. Re:Hardly news ... by Trogre · · Score: 1

      I'm sure Virgil would have approved.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
  41. Re:Sendmail is now worthless, instead by Anonymous Coward · · Score: 0

    If qmail was free software it wouldn't matter much. As it stands now, qmail users depend on the whims of a loon.

  42. Re:Sendmail is now worthless, instead by Anonymous Coward · · Score: 0

    Postfix was written with the same principles
    as qmail and its open source.

  43. Ah... by The+Bungi · · Score: 2, Insightful
    Is this like that script worm that was shipped with the .NET framework in Taiwan or India or something like that earlier this year?

    Hmmm. Except this looks a bit uglier.

    Of course, the headline for that was very different. A bit more, let's say, sensationalistic. Yeah, that's the word I was looking for.

    1. Re:Ah... by alyandon · · Score: 2

      This is a different issue altogether as anyone building sendmail from the contaminated source would end up with an infected system.

      The script worm you are referring to was found in an html help file which was a native language translation done by a third party and inadequately checked by MS before mastering the cd. You couldn't get infected by installing .NET from the cd and the particular exploit the script relied on was fairly old -- so any recent version of IE wouldn't have executed the script.

      It just goes to show that there is no such thing as 100% secure. I can be really bad about not checking signatures on source I download before compiling/installing.

    2. Re:Ah... by Anonymous Coward · · Score: 0

      The difference is the worm shipped to tawain and india was added by the CIA on purpose to gather industry intelligence to aid USA business interests, where as this one was just added by some unix crackers who probably want to make some DoS bots...

  44. How to check? by Anonymous Coward · · Score: 0

    How do you check the signature and whytf didn't the cert page say how to!?

  45. This is a new low by Anonymous Coward · · Score: 1, Funny
    I tell you, when I was a lad, we had real crackers. Nowadays, these lamers are so useless they have to put more holes into a sendmail distro!

    Seriously. What is the w0rld coming to.

  46. Are these related? by dazdaz · · Score: 1

    Is there any evidence for both trojans being related by the same person/group?

  47. Faulty Logic RE: MD5 Checksums and Integrity by Anonymous Coward · · Score: 1, Insightful

    A MD5 checksum is COMPLETELY IRRELEVANT. If the primary (e.g. trusted) provider initiates a build with a tojan included, MD5 checksums mean nothing folks... checksums are used to validate downloads, not the "content" of the download...

    1. Re:Faulty Logic RE: MD5 Checksums and Integrity by Anonymous Coward · · Score: 0

      Yeah, because we all know that if the content dosen't match it obviously will get the same MD5...

      really

    2. Re:Faulty Logic RE: MD5 Checksums and Integrity by sqlrob · · Score: 2

      Let's see - File stored on the server is changed

      So, what makes the MD5 checksums stored right next to it proof from change?

      Solution: Don't get the checksums from the same place you download the file.

    3. Re:Faulty Logic RE: MD5 Checksums and Integrity by Tassach · · Score: 2

      That's why the MD5 file is signed with GPG/PGP: to guarantee that it isn't tampered with. Of course, that requires that the user actually CHECK the signature.

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    4. Re:Faulty Logic RE: MD5 Checksums and Integrity by sqlrob · · Score: 2

      Would most even notice if it was replaced with a file that wasn't signed?

  48. So how do I fix it? by alehman · · Score: 3, Insightful

    How 'bout a quick tutorial from someone who knows pgp or gpg or MD5 on how to use it to figure out if my recent install is trojaned?

    Also, the CERT advisory doesn't give any fixes, it just gives the signatures. It doesn't seem like installing a good version would eliminate the trojan.

    1. Re:So how do I fix it? by bogie · · Score: 2

      Oh no, cause that would actually be helpful. Funny how yours is the most relevant question and yet a bunch of stupid MS jokes are modded higher.

      I would mod you higher, but since I modded down Alan Cox I've never had mod points again. He was offtopic though.

      --
      If you wanna get rich, you know that payback is a bitch
    2. Re:So how do I fix it? by jericho4.0 · · Score: 1
      You fix it by rebooting and installing a good version of sendmail.

      As far as trojan packages go it's pretty weak.

      --
      "A language that doesn't affect the way you think about programming, is not worth knowing" - Alan Perlis
    3. Re:So how do I fix it? by Anonymous Coward · · Score: 0

      MD5 filename
      returns MD5 checksum
      not sure on the pgp

  49. Script Kiddie... by Anonymous Coward · · Score: 0

    The script kiddie who put the trojan there in the first place is probably the same person who is posting all the OSS/GNU/Linux bashing.... Oh wait the person who is making all those posts probably couldn't script his way out of a paper bag.

    (yes - this post is intended to be modded down - It was just a way for me to "express" me "feelings" toward the ignorant people who start those stupid flames. In the end it looks like they drug me down to their level - In that case - Bring out the asbestos suit!)

  50. Re:Sendmail is now worthless, instead by Anonymous Coward · · Score: 0

    So be it. For the time being, I have a perfectly good mail server sitting at home running qmail. It sends and receives mail exactly how I want it to. If the loon suddenly decides to put some loony function in his loony software, I won't upgrade or I'll switch to something else. Options are great.

  51. *yawn* by comet_11 · · Score: 4, Insightful

    It seems like every time a new trojan/worm/misc virus hits the scene, a thousand posts go up accusing that software of being horribly insecure and advocating some other software of the same type as being better.

    It's quite simple... software can be infected by viruses, open source, closed source, any operating system or language. Just because today it's Sendmail that took a hit doesn't mean that it couldn't be qmail tomorrow.

    If you got a virus, don't blame it on the software you downloaded, blame it on yourself for not validating it first.

    --
    By reading this comment, you immediately waive any and all rights regarding it.
  52. Simply buy the book that's available. by BoomerSooner · · Score: 2

    I did. It is Life with QMail on steroids. Plus it has a great troubleshooting section. And every part goes further into detail. The only thing out of date is the daemontools but if you can read the info that you download with it you'll be fine.

    Buy the book, you'll thank me later. QMail is great but it's a very detailed process of installing all the associated s/w. relay-ctrl is critical as well (to avoid becoming a spam server for "Smoking your way thin" and "Get confident stupid!" seminars (ahhh I miss Troy McClure).

    OU 17 TX 10

  53. Re:Sendmail is now worthless, instead by Anonymous Coward · · Score: 0
    I also switched from sendmail to qmail about three years ago.

    Here's what I like about qmail: in the three years since I switched our main mail server to qmail, I haven't upgraded qmail. Never touched it. I've had to make a couple minor configuration changes as our operation has expanded (new MX records, new rcpthosts - but qmail makes even this easy as it tells you exactly what to do in the bounce messages). Even though we get roughly five times more mail now (mostly spam), I haven't had to tweak it for performance or anything.

    Compare that to apache, openssh or any other significantly complex software. If you're running an unpatched apache install from three years ago, you're rootable (don't get me wrong, I regularly deploy apache and openssh, but I also have to patch and upgrade them regularly).

    qmail = more time for beer

  54. Re:Sendmail is now worthless, instead by kc8apf · · Score: 1

    And just to be annoying. If you had read the article you would have found out that this was not a configuration issue or even an issue with the binary, but a trojan horse implanted in the configure script.

    However, I much prefer postfix anyway.

    --
    kc8apf
  55. Huge applications are bad. by miffo.swe · · Score: 2

    Big apps like sendmail and exchange that wants to do everything are always going to be bug ridden. Thats mainly because the code is so big that its impossible to have a complete picture of how everything interacts. Installing and hiding trojans in a large CVS tree is easier too than in a small tree. Learn from MS on this one. Do everything halfbad or one thing excellent.

    Putting software on secure servers or better to put them on a community server would be nice. I can understand that coders dont want to tinker on their servers when they want to code but why not get some help?

    --
    HTTP/1.1 400
  56. Re:this is why you cannot trust OSS by Anonymous Coward · · Score: 1, Informative

    Ummm, I suppose the answer would be because they did figure it out several weeks ago.

    Try keeping up with both sides of the news.

  57. Ximian Red Carpet by JoeBuck · · Score: 2

    Ximian's Red Carpet does MD5 and GPG verification of packages every time it does an install or an update.

  58. Re:Microsoft Sux!!! by Anonymous Coward · · Score: 0

    ...if it was, we wouldn't hear about it for another 3 months, and then it wouldn't get fixed for another 6 assuming MS even chooses to acknowledge it.

  59. Re:Sendmail is now worthless, instead by Anonymous Coward · · Score: 0


    Sorry but QMAIL is not truly "free". It has been dropped from the OpenBSD ports collection because of DJB's licensing.

    Not to mention that you 'll need a big partition to hold /var because of all the shit Bernstein drops there.

    There are LONNNNNNGGGG threads about it on the mail lists

    Don't take my word for it..Read them for yourself



  60. qmail anyone? :) by portege00 · · Score: 2, Interesting

    I realize that qmail wouldn't solve the problem of modified tarballs that allow trojans to come alive during builds (that's what md5s are for), but if you're really worried about security you'd probably be using qmail anyway. If you can prove me, the author, and everyone else who has a qmail fetish wrong, there's a prize in it for you.


    After the number of open e-mail relays I've had to deal with, sendmail leaves a sour taste in my mouth. Using the blacklist that has no real regulation on it doesn't seem to help, either. Closing a relay makes users upset. Sendmail is a lose-lose situation, and now there's a trojan in it to top it off. Wee!

    --
    Trolls make great pets. Adopt one today!
    1. Re:qmail anyone? :) by mbogosian · · Score: 2

      I've preferred qmail for quite some time, but I don't use it at home because it's a pain to install (relative to just tweaking my existing sendmail setup which I've grown to understand). I'd love it see it move into more major acceptance, but the problem is that sendmail is the default for many distros. RedHat doesn't even have a qmail RPM to install.

    2. Re:qmail anyone? :) by Wdomburg · · Score: 4, Informative

      >After the number of open e-mail relays I've had to
      >deal with, sendmail leaves a sour taste in my
      >mouth.

      Sendmail hasn't allowed relaying at all for about five years unless you explicitely turn it on. In otherwords, blame site admins, not Sendmail.

      Matt

    3. Re:qmail anyone? :) by Anonymous Coward · · Score: 0

      ...but if you're really worried about security you'd probably be using qmail [cr.yp.to] anyway.

      I would be interested in migrating all my email from sendmail to qmail, but last I checked, qmail did not handle virtual domains well, and would not handle "default" domain mailboxes without patching the hell out of it.

      I don't really care if DB or anyone else hates default email addresses. That's their opinion, but I don't give a rat's ass. For me, this feature is a requirement.

      So, does postfix handle virtual domains and default mailboxes without a lot of hassle? If so, I'll give postfix a try!

    4. Re:qmail anyone? :) by cymen · · Score: 2

      If you're running linux you could check out qinstall:

      obua.org

      They have a script for FreeBSD too but I prefer:

      Matt Simerson's Qmail Toaster

      I've got a couple sites running Qmail, djbdns (tinydns, dnscache, etc), courier, and sqwebmail/squirrelmail and it simply rocks. It is a bit of pain to get installed but the actual configuration of the software itself is so simple it is worth the pain. Bind vs tindydns config files are simply hilarious because the tindydns one is just so damn simple! Qmail is much the same.

    5. Re:qmail anyone? :) by cymen · · Score: 2
    6. Re:qmail anyone? :) by Wdomburg · · Score: 2

      >I'd love it see it move into more major
      >acceptance, but the problem is that sendmail is
      >the default for many distros. RedHat doesn't even
      >have a qmail RPM to install.

      You won't see that happen unless Bernstein changes the license. Mandrake, Red Hat, Debian, and the OpenBSD maintainers have all stated explicitely that they cannot ship qmail because of the license.

      The issue is even more prevalent now that distributions are striving for LSB compliance, as every piece of Bernstein's software flouts the FHS, and even traditional Unix conventions (BINARIES DO NOT BELONG IN VAR).

      Even if they chose to ignore that and added qmail in a Bernstein approved way, they'd be taking a huge step backwards in functionality, since the license also doesn't approve of shipping modified source or binaries, and qmail has extremely limited standards support. No more out of the box support for SSL/TLS connections or secure authentication. They'd have to instruct their customers to download the source, patch it themselves, and recompile if they wanted that.

      Qmail's lack of adoption lies solely on Bernstein's shoulders, noone else's.

      Matt

  61. Who do you trust? by Gerry+Gleason · · Score: 2
    So lets talk about the crypto side of things again. Since I'm paranoid and all that. Do you trust the project maintainer's system security? Reckon he allows anyone to log into his system? Do you trust their security and the network they come over? For that matter, reckon the CVS archive the code's stored on could be compromised? Do you see what we're up against yet? Paranoia...

    It isn't that complex to do it right, but as we all know, it's the human factors that get you. I'm sure GnuPG has all the functions necessary to implement it, but you need a trusted party with rock solid proceedures to ensure the top of the chain. What do people do for a CA for their signatures?

    As long as you can be certain that: 1) You have the correct public key for the signing authority, and 2) nobody but the signing authority can get access to the corresponding private key. You can do it yourself by generating a key set for your own CA to a floppy and then making signing keys for yourself and your friends from there. You only need the public key to make a certificate, so a friend can email it to you, you get out your floppy and sign with GnuPG, and send the cert back. Keeping your signing keys off-line is a good idea too (if your paranoid, but who can afford not to be with this stuff going on).

    Now, the only point that can be attacked is to compromise the CA's signing certificate (This is the CA's public key, signed by itself). If you squirl away a copy of it and get a new copy from time to time to double check you should be completely safe. You could use a public CA, but the commercial ones tend to charge a lot, so it would be nice to have a cooperative CA that does it on the cheap, but still does it well (Does such a thing exist?). Since someone is obviously getting their jollies by compromising distributions on public ftp servers, I'd be a little careful about setting this up. As long as the root signing key is safe (This is the private key), you can make lots of copies of the root certificate (on differenct servers, of course) and verify them with each other periodically.

    With all of this in place it should be a simple matter to script the verification of signed signatures. I know I'm not the only person who knows how to do this correctly, so perhaps this is already done. If not, it looks like an excellent project for someone wanting to do this stuff.

    1. Re:Who do you trust? by crucini · · Score: 2

      It's possible to sketch out a very convincing protective scheme based on crypto, but it becomes more shaky when host based weaknesses are taken into account. This is what I think Greyfox was talking about:

      Developer Dave is working on program P on his workstation W. A while back, he gave an account to his friend Frank. Frank unwittingly logged in from a compromised host, and now the attacker Adam has a shell on W. Adam escalates to root by exploiting some weakness in a SUID program and ensures his access with a hacked sshd.

      Adam knows from reading Dave's mail that Dave is getting ready for a release of P. Dave builds the tarball, fetches the floppy with his secret key from secure storage, and signs the tarball. But in the interval Adam has replaced the tarball with a modified one. Dave signs the compromised tarball and releases it to the world.

    2. Re:Who do you trust? by Gerry+Gleason · · Score: 2
      Adam knows from reading Dave's mail that Dave is getting ready for a release of P. Dave builds the tarball, fetches the floppy with his secret key from secure storage, and signs the tarball. But in the interval Adam has replaced the tarball with a modified one. Dave signs the compromised tarball and releases it to the world.

      As I pointed out, the people processes are the weak point. You can make a compromise arbitrarily hard, and you can fix things for the future if there is a compromise. All I was doing is pointing to the important points in the process. The window you describe is very small, and it can be closed if you are that paranoid. Adam can't do that if you take your computer off the network when you do the signing. If Adam has rooted one or more key machines of an important developer, he could add his trojan to the code base (CVS repository) which is a lot easier than trying to compromise the tarball before it is signed.

      An approach short of taking your machine off the network is to work on a machine that doesn't take any incoming connections. This is easier than you might think. I'm behind a simple and cheap NAT box, and I don't run any services that require incoming ports to be openned. Even if I had an MS machine and used Outlook, it would only be possible to infect that machine. A sophisticated virus would be able to reach through the firewall to establish a connection, but it would only be to that machine.

      The people who count know all of this, and they are careful about the important stuff. The point is to limit damage. All I am saying is that you have to be particularly careful about dealing with the root keys that are used in implementing the Certificate Authority, becuase if those are compromised, someone could forge completely authentic looking signing keys, and it would be very hard to detect and fix. Even then, you revoke the CA keys and make new ones, and this time be more careful (paranoid). If you are working with the root keys, you had better be absolutely sure that host based weaknesses are eliminated.

      Even Verisign could be compromised, but it isn't likely because their business depends on people trusting that this can never happen. I've done this kind of work in a commercial setting, so I know what the issues are. That's the whole point of the question in my subject, you have to trust someone, but it doesn't have to cost you a forture (I've recently seen $400 as a price for a Verisign key).

    3. Re:Who do you trust? by NearlyHeadless · · Score: 2
      Adam knows from reading Dave's mail that Dave is getting ready for a release of P. Dave builds the tarball, fetches the floppy with his secret key from secure storage, and signs the tarball. But in the interval Adam has replaced the tarball with a modified one. Dave signs the compromised tarball and releases it to the world.

      The Trusted Computing/Palladium key management stuff could help a lot to prevent/detect compromised hosts.


      Although everyone talks about the DRM implications of Palladium, there are other uses. The voting machines in Brazil, for example, could use the system to make sure the votes reported are signed by a chain of software that goes all the way to the hardware. There's no way to ensure that in software only.

    4. Re:Who do you trust? by Anonymous Coward · · Score: 0

      Aye, but only in specialised, "trusted" machines, not general-purpose computers.

    5. Re:Who do you trust? by crucini · · Score: 2
      As I pointed out, the people processes are the weak point.

      Even though I used a human "error" as the gateway to the hypothetical hack, such a hack could occur with little or no human error. The real lesson is that general purpose computers cannot be fully trusted. There's just too much going on between Tempest emissions, mysterious firmware in lots of peripherals, very complex modern operating systems with sometimes unpredictable faults. All usable OS's are crumbling piles of buffer overflows waiting to be exploited.

      Remember, when DES was standardized NIST would not approve software implementations. It's generally believed that NIST was representing the NSA. Since then computers have not gotten simpler or more reliable.

      I'm behind a simple and cheap NAT box, and I don't run any services that require incoming ports to be openned.

      Someone commented a few days ago that since the exploits are being squeezed out of the common daemons the attackers must eventually shift to client-side code which has received little scrutiny so far. Any estimates of how many exploitable buffer overflows are present in Mozilla? This will be a new era, because computers natted behind firewalls are typically much less secure than computers on the internet.
      Even Verisign could be compromised, but it isn't likely because their business depends on people trusting that this can never happen. I've done this kind of work in a commercial setting, so I know what the issues are.

      Verisign's not likely to be compromised by immediate-gratification kiddies who would harm their reputation. Although in fact this may have happened - if attackers stole card numbers by MITMing transactions with a fake Verisign certificate, it was probably never discovered. Someone who runs an e-commerce site told me that 25% of his transactions are fraudulent, with stolen card numbers. In other words, while abuse of a card number is obvious, it is not obvious where the card number came from.

      Anyhow, if there are more dedicated groups who really want to compromise Verisign, they may well have done so. I'm afraid you will bridle at this comment, having experience in this area. Since I know nothing of Verisign's particular security arrangements, I'll just mention some general considerations:
      1. Security by routine gets rusty unless constantly probed by an adversary. The Air Force used to send phony relief crews to Titan missile bases to see if they could talk their way into the control center. Does Verisign continously attack its security arrangements with well-funded, independent, skilled adversaries who are thoroughly briefed on the security arrangements? I suspect a commercial organization finds it more profitable not to.
      2. Does Verisign monitor the personal lives of employees with access to cryptographic material? Many people in the valley are feeling the pinch of recession. If an employee can't make the mortgage payment due to a laid-off spouse, he could be pressured into selling out.
      3. How many copies of their private keys does Verisign keep? I assume that the primary copy is in tamperproof hardware used for signing. But there must be backups or the business is quite vulnerable to a bit changing in an EPROM. How are the backups stored, and what procedure is used to safely transport the backup data to the production equipment when necessary? Is this procedure drilled, examined, attacked?
      4. How does Verisign handle an audit, such as a BSA audit? How about fire inspection? Insurance inspection? What if a fire occurs inside the building? Won't they have to evacuate and give the fire department free reign?
      5. Under the USA PATRIOT Act, the FBI can demand Verisign's keys and they cannot tell anyone about it. Has it happened yet? If so, how did they authenticate the FBI agents?
      6. Would Verisign ever admit to being compromised?
      All of these comments point to the same idea: serious cryptographic security is not possible for private commercial entities.
    6. Re:Who do you trust? by Gerry+Gleason · · Score: 2
      All of these comments point to the same idea: serious cryptographic security is not possible for private commercial entities.

      Yes, it is. You seem to be talking about perfect security, which is probably never possible because of the nature of negative proofs. My claim is that you can get as high a level as you need/want if you pay attention to the right details. I'm not going to deal with all of your points because you don't really seem to be concerned with real problems, just poking holes without any reference to the actual situation at hand.

      The only issue here is to be able to make sure that you can rely on the digital signatures used in releasing and distributing the code. Yes, there are other places to compromise the system, but those are much less likely. They are still analysing what happened in this case, but the code base was never compromised, just the download site. This would have been immediately detected if everyone checked their downloaded tarballs against the signatures.

      Given the existence of this attack, it is necessary to go a bit further to clean up some problems, and the key is to make a minumal robust process easy so there is no reason not to do it. That is exactly the problem I was addressing, so a lot of this is completely irrelevant. If signatures are verified back to a trusted CA an attack of this type would be next to impossible.

      Because the CA is the key point, I will address a couple of your points related to that. No, if they design the process correctly, there are no complete key copies anywhere. We used split keys stored on crypto-cards, password protected and stored in a subdivided safe. Two people were needed to do anything so you would have to have a conspiricy to break the system. If we were evacuated, the fire department would have to use their axes to get into the computer room, and we would immediately cancel any certificates that could logically be compromised. I'm sure that Verisign has proceedures just as rigorous.

      Even the FBI could not get our keys. We were doing this before the export of strong encryption was allowed, but we got around that because all messages went through our hub where they were encrypted under keys we controlled (as outlined above). The BSA export license specified what we were responsible for if presented with a warrent. All we were responsible for was unwrapping the strong crypto outer wrapper, and giving back the unwrapped message. This would be done in a Tempest room with no network connections of any kind, and when completed the keys went back in the safe. I don't think we would have been required to let the government person in the room for the process, just give them the unwrapped message.

      Would anyone admit if the process was compromised? There would be a lot of pressure not to, but it would likely leak out. Lots of people at the company would know and might leak it, particularly if they were fired or badly treated.

      Like the subject says, it all comes down to who do you trust, and well run companies that treat their people well will be the most trustworthy. Networks of dedicated volunteers are even more trustworthy, if not quite as reliable. The transparency of the process is critical to establishing the networks of trust in this case. It is exactly the opposite of security through obscurity, and that's what makes it the most robust in the long run.

  62. (way OT) Re:Simply buy the book that's available. by Anonymous Coward · · Score: 0

    (ahhh I miss Troy McClure).

    No kidding. Phil Hartman's death was the Worst Thing Ever, and the world's worse for it.

  63. Easy solution by EvilStein · · Score: 0, Redundant

    http://www.postfix.org :P

    1. Re:Easy solution by Anonymous Coward · · Score: 0

      The only problem is postfix is such horrible spaghetti code the trojan won't be found for another 12 months...

  64. I got the bastard's IP by archnerd · · Score: 3, Informative

    Yup, I got slimed, and I'm not an easy person to slime. This dude is the first person ever to get one up on me. But I'll have my revenge. I diffed the malicious source tree with the authentic one and found the malicious code. It looks amazingly innocuous until you base64 decode the shell script :-). His IP address is 66.37.138.99.

    1. Re:I got the bastard's IP by Anonymous Coward · · Score: 0

      He's a cat .. apparently named 'Sniffy'. He's even got his picture up, the little furry bastard!

      http://66.37.138.99

    2. Re:I got the bastard's IP by mbogosian · · Score: 3, Interesting

      Yeah, this guy looks pretty mean. Incidentally, unless it's been recently changed, 66.37.138.99 points to spatula.aclue.com:

      Decisionism Inc. (ACLUE2-DOM)
      4260 E. Evans Ave.
      Denver, CO 80222
      US

      Domain Name: ACLUE.COM

      Administrative Contact, Technical Contact:
      Klein, Eli (NCMGTMOSXI) elijah@firstlink.com

      4260 E. Evans Ave.
      Denver, CO 80222
      US
      no phone no fax

      Record expires on 17-Dec-2003.
      Record created on 17-Dec-1998.
      Database last updated on 8-Oct-2002 23:09:51 EDT.

      Domain servers in listed order:

      NS3.FIRSTLINK.COM 66.37.141.4
      DENVER.FIRSTLINK.COM 66.37.143.67

      Any chance this isn't the guy responsible (i.e., Eli had his machine h4x0r3d)? Talk about an ironic choice of domain names.... At least he's running Apache.

    3. Re:I got the bastard's IP by Anonymous Coward · · Score: 0

      Did anyone actually bother to CHECK IF THAT"S REALLY THE IP IN THE CODE?

      For all you know the original poster just posted the IP for some dude who banned him from #analtwinkies on IRC...

      Before you do anything rash you might actually wanna verify that IP is really involved.

      Hey wasn't that DoD kiddies IRC name BiGrAr or something?

    4. Re:I got the bastard's IP by Anonymous Coward · · Score: 1, Funny

      actually, the cat's name is snuffy. she's 19.

      unfortunately guys, chances are i've been framed. by who? no idea. why? can't say.

      possibly jealous of my cat?

    5. Re:I got the bastard's IP by boolie · · Score: 3, Interesting

      oops. thought i was logged in.

      previous post is from eli, yes, this is the owner of 66.37.138.99 *gasp*, and more importantly, no i'm not involved in the backdooring of sendmail in any way.

    6. Re:I got the bastard's IP by netmask · · Score: 1


      Yah.. Eli wasn't responsible. And likely his box wasn't hacked.. more likely, a user account was compromised.. if at all.

      You mention that you were "slimed".. was your system compromised, or did you just run the infected Build? If it was comrpomised, care to tell us anything you found in the forensics?

      His Ip/hostname was posted to Vulndiscuss earlier today..

    7. Re:I got the bastard's IP by roly · · Score: 0

      They seem to have a HTTP server on Port 80 running Apache/1.3.26 (Unix) PHP/3.0.18 PHP/4.2.2 mod_ssl/2.8.10 OpenSSL/0.9.6e and thier OS is freebsd

      --
      "With Microsoft, you get Windows. With Linux, you get the full house" - unknown
    8. Re:I got the bastard's IP by Sn4xx0r · · Score: 1
      Yah.. Eli wasn't responsible. And likely his box wasn't hacked.. more likely, a user account was compromised.. if at all.

      Maybe a machine was h4xx0red that routes traffic to the mentioned ip. Responses from the backdoor can be sniffed then. For those of you not feeling paranoid enough goto Project Honeynet and read about the challenges.

      --
      Got brain?
  65. Re:Sendmail is now worthless, instead by Wdomburg · · Score: 2

    >Well, If you don't mind using a proprietary
    >program written by a person with the same level of
    >maturity and social skills as a mentally retarded
    >5 year-old.

    Don't forget "that hasn't had a new release in over four years and neglects to implement a lot of basic standards like authentication or encryption".

    Matt

  66. Re:LMAO! by Wdomburg · · Score: 4, Funny

    >It is still funny, simply because it is yet
    >another sendmail problem.

    Yeah, and if someone breaks into your house and pees on your carpet, it's yet another carpet problem.

    Matt

  67. Re:Article text. (my arthritic knuckles thank you) by Anonymous Coward · · Score: 0

    for those of us too lazy to make the extra click -- we thank you.

  68. got any exploits? by honold · · Score: 2, Informative

    there was a single DoS one that i know of, but other than that no exchange 2000 exploits exist. i've never heard of a total remote access exploit for 5.5 or 2000.

    outlook web access / iis is the only source of problems, but that's all iis' fault.

    1. Re:got any exploits? by mustangsal · · Score: 1

      Your kidding right. Somebody tell me he's joking.

      http://www.internetnews.com/dev-news/article.php/1 150741
      or
      http://www.microsoft.com/technet/treeview/default. asp?url=/technet/security/bulletin/MS02-025.asp

      same bug... google returned several thousand result for the search exchange+exploit.

      Yes several were the same bug, and a ton were due to either iis, or outlook.

      You couldn't pay me to run most MS products in a production environment.

      --
      1+2+1+1 || 1+2+2+1
  69. a link to the book.... by phorm · · Score: 1

    (see title) would be nice. Does it go into some detail on SMTP AUTH? I generally don't spend cash on things I can probably muddle through on my own, but yes, making myself target as a bounce-relay for "get a 10 inch dong in no-so-long", "make your weiner meaner" ads would not be good.

    Still, a little /. help would probably do me just as well as a book in regards to AUTH, or perhaps just a little more looking for a decent documentation site.

  70. how does this affect openbsd/freebsd rebuilds? by honold · · Score: 1

    is anybody aware of a statement from either that certifies a make build/make world from stable sources in the last few months WAS bugged?

    1. Re:how does this affect openbsd/freebsd rebuilds? by lambsonic · · Score: 1
      --
      # make clean sig
  71. Stop Supporting MD5 Checksums!! by Anenga · · Score: 5, Interesting

    MD5 Checksums have a higher rate of collisions, both in the wild and artifically. A machine can be built for only around $100k or less which can find collisions in less than 24 hours. Hell, in a few years standard computers could probably generate collisions easily. SHA1 (Simple Hash Algorithm) is a much better alternative over MD5.

    The previous version of MD5, MD4, was so flawed it is now considered "broken". "Dobbertin [Dob95] has shown how collisions for the full version of MD4 can be found in under a minute on a typical PC... Clearly, MD4 should now be considered broken.".

    SHA1, while of the same family of hashes as MD4 and MD5, remains uncompromised by any research discoveries, and is widely used in many applications requiring the highest levels of security.

    Gnutella, the File Sharing Protocol, uses SHA1 over MD5 for the same reasons I state here. A developer of Bitzi (the Metadata/Hash catalog) has also recommended to the Gnutella Developer Forum not to use MD5, but SHA1 instead. Thus, people should be using SHA1 instead of MD5. I've noticed some major websites and companies are using MD5 hash's now, such as Adobe and Roxio. I would recommend to them to change them to SHA1 instead, since Gnutella supports it (and the fact that it is a much more secure and stronger hash algorithm)... and they can use MAGNET URI's to link to the files on Gnutella.

  72. Why don't you people read the advisory FIRST! by mgbastard · · Score: 1

    If you had read the advisory first, you wouldn't go shooting your mouth about how overly complex Sendmail is, or how its possible to create a cf file that can emulate a Turing machine, or how it used to be full of buffer overflows, etc, etc. The build process was trojaned... even the news posting mentioned that it was just like the OpenSSH trojaning. The actual source code files weren't altered, just the makefiles & scripts. You should all know by now to block port 6667 on your firewalls, waste of fricking time ;-)

    --
    Anyone seen my low uid? last seen 10 years ago while panning the #@$# out of Taco's 'web based discussion system'
  73. Read and realize what's going on before you post! by MavEtJu · · Score: 5, Insightful

    (sorry, I have to get this out of my system)

    READ THE ARTICLE AND REALIZE WHAT IS GOING ON!

    It says that:
    The FTP-server of sendmail.org was compromised.

    It doesn't say that:
    - somebody commited code to the CVS server.
    - nobody reads the commitlog of the CVS server.

    It says that:
    The sendmail-distribution was trojaned.

    It doesn't say that:
    - sendmail itself was trojaned
    - there are trojans inside sendmail
    - qmail/postfix is better because it isn't trojaned.
    - exchange is better because the source is closed. It's the distribution which is corrupted, not the software.

    It says that:
    The correct MD5-checksum is ...

    It doesn't say that:
    - with PGP signing it wouldn't be prevented. Security is a process, you need to follow the rules or you are not secure. You should check all checksum/signatures you have, preferable from independant resources (e.g. one from sendmail.com and one from your unix-distribution).

    Next time, please read the article and realize what's going on before you post (apologies to the people who actually did :-)

    Edwin (yes, the guy from the OpenSSH trojan)

    --
    bash$ :(){ :|:&};:
  74. Only on Slashdot... by Anonymous Coward · · Score: 0

    ...does a troll like the parent not get modded as "Troll".

    Or should it be "+1, Funny", and I missed the humour together with the crack abusers known as moderators?

  75. OpenBSD not affected: by friscolr · · Score: 4, Informative
    for those of you who read /. instead of the mailing lists for your OpenBSD news, OpenBSD is not affected

    From: Todd C. Miller
    To: mr grip
    Cc: misc@
    Subject: Re: sendmail trojan - were stable or current affected?

    In message so spake "mr grip" (jhonold):

    > does anybody know if either tree in the last couple months had trojaned code
    > in it, exploiting make builders?

    Not affected. When I committed sendmail 8.12.6 the tarball I fetched
    was not the trojaned one. Even if it had been we probably would
    not have been affected since we don't use sendmail's build system
    (which is where the trojan was apparently inserted).

    - todd

    1. Re:OpenBSD not affected: by honold · · Score: 1

      great - i send the email AND i post it before you, but yours gets modded up :(

    2. Re:OpenBSD not affected: by friscolr · · Score: 1
      great - i send the email AND i post it before you, but yours gets modded up :(

      oh, if only the world were fair!

      sorry to steal your fire; i checked before i posted and hadnt seen anyone else mention it.

  76. How did they get hacked ? by freaker_TuC · · Score: 1

    ... thru a Sendmail hole ? :)

    And what does the trojan do ? How to detect it ? More details ? ....

    --
    --- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
  77. The backdoor code by netmask · · Score: 5, Informative

    I have made the backdoor'd sendmail code available at http://www.enzotech.net/files/sm.backdoor.patch and the base64 portion is decoded at http://www.enzotech.net/files/sm.backdoor.base64.t xt
    This was diff'd from a previously downloaded tar ball that we were using for analysis of another bug.

    1. Re:The backdoor code by MavEtJu · · Score: 2

      Heh, at least they left out the crap-talk about Crays and HP-UXs this time :-)

      --
      bash$ :(){ :|:&};:
  78. Re:LMAO! by cscx · · Score: 2


    That carpet... it really tied the room together, man.
    </ lebowski quote>

  79. Re:LMAO! by Wdomburg · · Score: 2

    I was wondering if anyone would think the same thing I was when I was writing that comment. :)

    Matt

  80. Gratuitous Office Space reference... by Anonymous Coward · · Score: 0

    "I've got PEOPLE SKILLS, dammit!"

  81. doesn't affect openbsd: from committer by honold · · Score: 1

    > does anybody know if either tree in the last couple months had trojaned code
    > in it, exploiting make builders?

    Not affected. When I committed sendmail 8.12.6 the tarball I fetched
    was not the trojaned one. Even if it had been we probably would
    not have been affected since we don't use sendmail's build system
    (which is where the trojan was apparently inserted).

    - todd

  82. Detecting corruption vs. tampering by billstewart · · Score: 2

    MD5 checksums are good for detecting corruption - bad downloads, etc. They don't help against tampering, because the Bad Guy can also tamper with the checksum, unless there's some separate distribution method. That's why public-key signatures are so important.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  83. Maybe an FTP server security hole? by billstewart · · Score: 2

    FTP servers have a reputation for bad implementations, though perhaps I'm just annoyed at having had a wu-ftp crack let my machine get hosed a year or two ago. If it wasn't an inside job, then it's likely to have been some exploit like that - which is especially likely, since the HTTP server's version was clean.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  84. (OT) Re:LMAO! by Karl_Hungus · · Score: 1

    Well, that's what happens when you FUCK A STRANGER IN THE ASS LARRY!

  85. Re:Article text. (my arthritic knuckles thank you) by kasperd · · Score: 1

    for those of us too lazy to make the extra click

    Too bad I already did.

    --

    Do you care about the security of your wireless mouse?
  86. Actually... by kentyman · · Score: 0
    when is the last time you checked the hash or PGP signature after you download a software?

    ...about the same time as when I last used the phrase "a software".

    --
    You know where you are? You're in the $PATH, baby. You're gonna get executed!
  87. Why Mail Shouldn't Run As Root! by billstewart · · Score: 5, Informative
    Sigh. Yet another set of exploits that are far worse because people run their mail systems as root. It's just not necessary - the System V side of the world hasn't done this in decades. Sendmail comes with a bunch of mechanisms to make it run as a user most of the time, but that just means you need to exploit it fast and hard :-) Here are some of the reasons people run mail systems as root
    • Too much embedded base to fix. Yes, that sendmail. There are competing mailers - postfix, qmail, smtpd, etc.
    • Delivering mail to users' mailboxes. The System V world handles this with group permissions, by making the mailboxes group mail and running the mail delivery system as group mail instead of user root. Works fine.
    • Port 25 "secure" because root-only. The naive implementation is to run the smtp daemon as root to access it; the other naive implementation is to use inetd or its relatives to open the port but run the application as a user. A much better solution would be to modify the kernel to do a least-privilege approach, letting some other approved user own the port, though that's got obvious portability issues for applications that want to run on multiple flavors of Unix. But it ought to be done.
    • Running user-provided filters on incoming mail, e.g. procmail or vacation-mail senders. This is a bit harder - it's easy enough to implement a mail-user vacation-mail daemon, but doing a procmail that doesn't need to be root but doesn't let arbitrary users abuse it takes a bit of work; the filter could easily require group root privileges to run, and only really needs to acquire the recipient's userid if it's accessing private directories - that's inherently unsafe (because a bad procmail script could let people attack you), but if you want to do it, it shouldn't be too hard to set the filter to r-sr-x--- jruser mail or something like that. Better to have the user set up directories that group-mail can write to.
    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
    1. Re:Why Mail Shouldn't Run As Root! by netmask · · Score: 2, Interesting


      The trojan doesn't work like that, look at the code. It compiles and runs when you run "./Build". It doesn't matter what sendmail runs.

      THe moral of the story is, Check the SIG files.. AND don't configure/compile software as ROOT. At least then it would have only been user level compromise.

  88. lucky... by Anonymous Coward · · Score: 0

    I downloaded and installed Oct 4th. I checked the PGP signature. It was bad. Then I remembered that they sign the tar, and not the tar.gz like most. gzip -dc, and sig was good. My lucky day...

    Now if I just had a line of trust to ensure that the key I used to check the sig was good... Any of the 20 or so people who have signed that key care to show me a passport or drivers license? I'll buy you a cup of coffee...

  89. This is why by taernim · · Score: 1

    we need more protection to Protest us from these Trojans!

    Wait... Protest us FROM....

    But... the ads said...

    --
    "PC Load Letter? What the $@#% does that mean?!"
  90. Scorched earth policy on bad distros? by thogard · · Score: 4, Insightful

    I think sendmail.org should up the version number at once and kill the .6 version once and for all. That would allow many people to look at what they have and say "yep, its .6, throw it out" but they want to keep the old version number so people get to play games. There are many reasons why they won't have the origianl tar ball and they have a very simple way to insure people don't have the trojaned version.

    1. Re:Scorched earth policy on bad distros? by Anonymous Coward · · Score: 1, Insightful

      That's kind of retarded.. The Admin should know. Sendmail made no changes, they shouldn't change. If the admin can't tell when he installed something or downloaded it, he should re-download it. It's not sendmails job, its the admins job.

      If people can't "netstat -an|grep 6667" or "lsof -i|grep 6667" and look for connections to that Single IP address.. they've got problems. *OR*. they can just REBOOT their box.. and that fixes the connection spawned by Build. It doesn't mean they weren't rooted while the tunnel was previously up. Regardless, if you look at the trojan.. no sendmail src was really modified.. It was modified just enough to launch that initial connection. Running and using the actual sendmail portion works fine and has no bad code in it. It's just when you run "./Build"

    2. Re:Scorched earth policy on bad distros? by thogard · · Score: 2

      My guess (based on professional orginazations) that there are about 50,000 competent sysadmins out there. That leave the rest below that level and if their boxes get rooted, we all pay the price. Its not like upping a version number is going to cost sendmail anything and it will remove the doubt of a trojaned version. Real sysadmins won't care when they read that the new version was increased because of something that won't concern them or there servers but it will help out the masses of pretend sysadmins.

  91. You still need a trusted info source ... by bockman · · Score: 5, Insightful
    Let's see ...
    I download the tarball and MD5s. Then I want to verify the signature. For that I need a public key or something like that of the developer that signed the tarball.Since I never met him, I must resort to download also that from an internet place, probably the same from which I downloaded the source.

    Now, what prevents whoever cracked the server and placed the troianed tarballs on it, to also change the public key, so that it matches the couterfeit signed tarball?

    At a minimum, one should go to some forum/ML and check the key with a dozen or so other users, choosing the ones that got the key in different places and times.

    Or am I missing something ?

    --
    Ciao

    ----

    FB

    1. Re:You still need a trusted info source ... by badzilla · · Score: 1

      Exactly, this is what annoys me so much about downloading portable openssh tarballs. There are plenty of MD5s and PGPs but you can't actually trace the chain of trust back to any actual authoritative signing key.

      --
      "Don't belong. Never join. Think for yourself. Peace." V.Stone, Microsoft Corporation
    2. Re:You still need a trusted info source ... by PhilHibbs · · Score: 1

      CMIIW, but isn't this the kind of thing that the "web of trust" is supposed to fix? You could check that the Sendmail's key is signed by Red Hat's key, or whatever other key you have that you do believe is valid.

    3. Re:You still need a trusted info source ... by TrentC · · Score: 2

      I download the tarball and MD5s. Then I want to verify the signature. For that I need a public key or something like that of the developer that signed the tarball.Since I never met him, I must resort to download also that from an internet place, probably the same from which I downloaded the source.

      There's where your error in understanding occurs. Public keys should never be received through the same channel as the files to be verified. If you are, then something is very wrong.

      Many people who use them make them available through an email autoresponder, on a separate website, or through a public keyserver. Some distros ship them on their CDs.

      I'll agree that there's still a certain amount of paranoia involved ("How do we know the box Red Hat generates its master CD image from wasn't cracked?") but at some point you have to trust the sender or the delivery machanism. If not, you might as well yank the net connection from your computer...

      Jay (=

    4. Re:You still need a trusted info source ... by outlaw · · Score: 1

      You get the key from public keyservers, not the
      same place (though the key is also stored in
      the tarball)... Or you get the key by request
      to sendmail.org (sent PGP signed - by a key again
      you get from a public keyserver).

      Then, you store the key in your private keyring so
      you'll no longer have to trust the public keyservers.

      Next, when you get the announcement letter for a new release, you download the source/sig files and
      compare the MD5sums with whats in the announcement
      letters... IFF that passes, you make sure the signature file is valid.

      You store the validated md5sums & signature along
      with the source package so it can be verified by
      any builder.

      All this is quite trivial and easily automated !
      [11:31:44 cowboy@badlands:sendmail-8.12.6 565:0]$ debian/rules verify
      # Verifying the md5 summs and signed files
      Checking MD5 source: ./sendmail.8.12.6.tar.md5.
      Checking signature file ./sendmail.8.12.6.tar.sig.
      gpg: Signature made Mon Aug 26 22:06:30 2002 EDT using RSA key ID 678C0A03
      gpg: Good signature from "Sendmail Signing Key/2002 "

  92. Re:Sendmail is now worthless, instead by Anonymous Coward · · Score: 0

    You must be use to MS who has to do contsant releases for bug fixes and more money. See, sometimes software can actually become stable. Unlike Sendmail which is about as stable as a elephant in a raft.

    Why should anyone be able to trust Sendmail anymore now that they're own version has a trojan horse in it?

    Would you rather use a stable mail server that has really no known bugs in like 3-4yrs, or one that is contantly updated and has had a trojan horse?

    Hmm. lets see.

  93. Re:Sendmail is now worthless, instead by Anonymous Coward · · Score: 0

    WTF? Do you know any about qmail? I run qmail on a 8gig hard drive and only about 800MB is used and most of that is non-qmail related. I dont know what the fuck you're even talking about.

    I think you're just a typical /. troll.

  94. Exim! by JamesGreenhalgh · · Score: 1

    Lots of people are mentioning postfix and qmail - personally I'd recommend exim (www.exim.org) which has proved itself everywhere I've used it, to be an excellent MTA. English config files, flexibility, all manner of database lookups as well as flat files, speed and reliability. To top things off it's an easy migration since it works as a drop-in replacement for sendmail if you so wish.

    --

    --
    ALL YOUR BASE ARE BELONG TO US!
  95. Probably not qmail by $rtbl_this · · Score: 1

    I mean, would even the most sociopathic malware coder want to get on the wrong side of Dan Bernstein? That man is scary. :)

    --
    "Are you being weird, or sarcastic?" said Emma. I said I didn't know because I get the two feelings mixed up.
  96. Re:this is why you cannot trust OSS by Scoria · · Score: 2

    Are you certain? :)

    --
    Do you like German cars?
  97. Re:Read and realize what's going on before you pos by Anonymous Coward · · Score: 0

    Please go back and crawl under your rock now.
    Thank you.

  98. Must start to do back-traces by Taco+Cowboy · · Score: 2



    Someone ought to start doing back-trace and see how that trojan horse get inserted in the package.

    This "insert trojan horse" practice is becoming serious now. First it was OpenSSH, now it's Sendmail.

    If we are not careful enough, next time we may see distros coming up with trojan horses all over the place.

    Just like a chain will only be as strong as its weakest link, security will only be as good as where it breaks down.

    Back-tracing is a must, in situation like this !

    --
    Muchas Gracias, Señor Edward Snowden !
    1. Re:Must start to do back-traces by taviso · · Score: 1

      actually, OpenSSH was not the first famous case of this "trojaned configure script" practice, a few that spring to mind are:

      BitchX
      fragroute
      and irssi

      --
      ex$$
    2. Re:Must start to do back-traces by eam · · Score: 1

      According to the advisory, the trojan sets up a tunnel to an intruder controlled system. I think that system would be a pretty decent place to investigate.

    3. Re:Must start to do back-traces by Neon+Spiral+Injector · · Score: 2

      It is almost surely a comprimized machine itself, but it had to be logged into from somewhere (probally another comprimized machine).

  99. Re:haha by Anonymous Coward · · Score: 0

    don't be frustrated: one day, for sure, you'll succeed the mandrake installation process.
    ahah.

  100. Gee, does paranoia pay? by Anonymous Coward · · Score: 0

    In building a server for "production" use I generally download all source on one system, burn a cdrw and then put this burned cdrw with any downloaded source code, updates, etc into the server I am working on.

    The server is only connected to a small workgroup switch with no connection to a public network.
    Only when the server is installed and patched to latest revisions does it ever see the public networks.

  101. Details of the exploit by archnerd · · Score: 1

    No, I'm an LFSer so I compiled it myself. However, I can't find any evidence that the cracker actually bothered with my system. No warez, no modified passwords, nothing suspicious in the logs, no suspicious timestamps. Of course, none of this really means anything since I was negligent enough to compile sendmail as root and root can reverse any of the above. For all I know, /usr/bin/insert_obscure_utility_here has been modified to make me a drone in a future DDoS.

    On the bright side, I tested the malicious code and it seems to error out on my system, but I can't be sure since port 6667 on Eli's system is no longer open.

    Oh, and Eli - perhaps the cat is responsible. My port scan of you indicated no obvious vulnerabilities unless your OpenSSL is unpatched. But Snuffy has physical access, no? Also, perhaps you might want to put a disclaimer on your webpage?

  102. Re:Sendmail is now worthless, instead by Wdomburg · · Score: 2

    >You must be use to MS who has to do contsant
    >releases for bug fixes and more money. See,
    >sometimes software can actually become stable.

    Actually, no, the last time I ran an MS product at home for any length of time was DOS 5.0. I used NT 4.0 at one of my jobs for a period, but that was only to run a 3270 emulator for accessing the mainframe.

    For the record, I *do* use qmail in a production environment, for thousands of domains. It requires a lot of patching to make it a usable product.

    >Would you rather use a stable mail server that has
    >really no known bugs in like 3-4yrs, or one that
    >is contantly updated and has had a trojan horse?

    Actually, I'd rather use a mail server that implements at least SOME of the standards that have come out in the past seven or eight years.

    Stable doesn't mean jack shit if the software doesn't do what you need it to.

    Matt

  103. Microsoft's new tactic? by SirAnodos · · Score: 1

    Maybe this is Microsoft's new tactic at attacking OSS... make it look insecure and unstable by sneaking in bugs, trojans, virus, etc. I wouldn't put it beyond them.

  104. RedHat rpm needs changes by zimon · · Score: 1

    RH does sign all its rpm-packages, but the signatures are not checked automaticly when you install some package. With up2date they are, but with rpm-program you need to use --checksig first.

    I doubt if even 5% of rpm-users uses --checksig ever.

    rpm should be changed so it always does --checksig integrity check first automaticly before installing/upgrading any package(s), if not implicitely some option would have been turned off in the configuration file or by a command line argument (--nochecksig)

    1. Re:RedHat rpm needs changes by GigsVT · · Score: 1

      Have you put in an RFE/bug report with red hat bugzilla?

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
  105. On other news... by Anonymous Coward · · Score: 0

    An unreported trojan was in place of a kernel routine with allows admin access in a known major closed source software house operating system...

  106. HashDB - stop getting trojaned source by daveaitel · · Score: 1
  107. Conspiracy Theorist by Abreu · · Score: 2

    Give it up, Mulder... Not everyone is out to get you

    --
    No sig for the moment.
  108. also keys come from DIFFERENT locations than src by FreeUser · · Score: 3, Interesting

    If files from ftp.sendmail.org get infected, then people could probably get a bogus key as well.

    This difference, though, is that one can download a public GPG key from a site (like sendmail.org or something) and continue using it to verify software over several versions.


    Not only that, but public keys (or even complete keyrings containing public keys for groups of developers) can be obtained from multiple, different sources, all of which in turn are different and ideally independent of where one downloads the source tarball from.

    This means one can obtain a developer's key or keyring from, say, a public key server (or two, or several), some ftp site (preferably a different non-mirror one from the tarball), a purchased CD, or any number of other places, check them against each other (make sure none disagree), and use them to check a download immediately, as well as 5 years from now.

    The cracker would have to not only trojan the tarball, but also break into numerous independent key servers around the globe, numerous ftp sites around the globe, likely numerous web sites as well, and perhaps even various freenet nodes as well (if that is being used to distribute keys as well). And for those who anti up $5 for a CD with developers keys on it, they'd have to intercept the postal service and swap CDs as well (or crack the master CD before it goes to press).

    Good luck. Even the NSA would probably have trouble pulling something like that off.

    --
    The Future of Human Evolution: Autonomy
  109. Sounds like OPENSSH issue my ass! by zaqattack911 · · Score: 1

    I don't see how you can begin to compare this security problem to the hole in ssh/ssl.

    You see in those cases it's a standard unchecked buffer problem, which is exploitable.

    In this case a virus was deliberatly planted in a distro of some OSS. This is a much much bigger deal.

    1. Re:Sounds like OPENSSH issue my ass! by zaqattack911 · · Score: 1

      Oh I was wrong.. nevermind :)

  110. Re:LMAO! by Anonymous Coward · · Score: 0

    yea, the carpet should self clean itself instead of letting the urine stay

  111. Yeah, and I kept trying to tell you idiots... by Anonymous Coward · · Score: 0

    I sent a story to Slashdot about this trojan in the "Official" BitchX source tarball and you idiots just ignored it... so I mentioned it in several places on slashdot so that somebody might be saved the embarassment of running it.

    I reported it to the "proper authorities" too, so don't anybody get on your high horse about slashdot not being the place to report these things.

    The trojan is IN the configure script, and it
    gives a remote IRC server a shell on your system
    owned by whatever user ran ./configure.

    The address of the remote server is liable to
    change from day to day, so the md5sum of the
    trojanned tarball can change.

    There is another version that makes a call to
    'mail' instead of running the backdoor.

    In any case the trojan can often be found by
    grepping the string 'passwd' in the configure
    script, since both the mail and IRC versions
    both read /etc/passwd.

    Basically, from now until doomsday it is absolutely necessary to run a packet sniffer
    while you build, install, and run programs as
    root. Sad but true. The jokers who are putting
    this trojan everywhere will go as far as hijacking DNS to do it, so it's going to be around for awhile.

  112. virus in linux? yeah right. by Anonymous Coward · · Score: 0

    /me *yawns*

  113. Did this trojan find its way into Distros? by Anonymous Coward · · Score: 0
    Various releases, e.g., Mandrake 9 came out around that time. If they got Sendmail from the ftp (not likely) then couldn't this be in the ISOs for some?


    Ohhhhhhhhhh!

    1. Re:Did this trojan find its way into Distros? by Anonymous Coward · · Score: 0

      Well, it's my hope that people responsible for putting together packages in the various distributions would be arbitrary and verify the MD5 checksums/encryption signatures were correct.

  114. trusting trust by yukonbob · · Score: 1

    First OpenSSH, then Sendmail...

    Consistant use of best practices everywhere would prevent this, but that just doesn't happen. I don't actually use Sendmail (prefer exim), but I do use OpenSSH, and either way, these are both major applications... when is GCC going to be trojaned? And then will it be a week of compiling other apps and kernels and modules before it's discovered? I hope not.

    That said, I'm not running anything but Linux/BSD and OpenSource software... wouldn't have it any other way.

    -yb

  115. Let's Paaaaarty!!!!! by KjetilK · · Score: 2
    Well, you're right of course.

    However, people would probably not fetch the public key from the same place, but from a keyserver. That helps a bit, but not a lot. There is nothing that stops anyone from generating a keypair with the same name and address as the original source, and quite possibly, you would see the file verified, but still by the wrong key.

    Even if you would have two public keys, you would have no idea which one to trust. So, signing is no magic bullet.

    We have to get much better at organizing keysigning parties. Keysigning parties are really the key (yeah, pun intended, puns are cool! :-) ) to this problem.

    Gather friends every now and then, make sure you have a printout on you fingerprint on you at all times, whenever you travel, try to find somebody to meet, and so on. That way, we will build a web of trust which is so strong, people can identify valid keys, and then we're an awful lot better prepared to face this kind of problems.

    Make sure you sign up at Biglumber, that you check it when you're out travelling, and that you subscribe to the "keysignings" list to keep up to date when things are happening in you area.

    And, then, I'd really like to see my distro check sigs by default.

    Yeah, and my keyid is 6A6A0BBC.

    --
    Employee of Inrupt, Project Release Manager and Community Manager for Solid
  116. Why BUILDing Shouldn't Run As Root! by Anonymous Coward · · Score: 0

    Sometimes I wonder about those ./ points. Being offtopic, this one got still 5.

  117. OK, I take it back! by Tim+Ward · · Score: 2

    You do (sometimes) publicise non-MS vulnerabilities.

  118. djb=junk by Anonymous Coward · · Score: 0

    These apps are only trivial as long as you want to modify your production systems to run exactly the way that djb thinks they should. DJB software is poorly documented and more trouble than it is worth.

  119. What FTPD was it running? by roly · · Score: 0

    Anyone know?

    --
    "With Microsoft, you get Windows. With Linux, you get the full house" - unknown
  120. that's the DoS i already mentioned... by honold · · Score: 1

    durf, durf :(

  121. Last Post! by alpg · · Score: 1

    Electricity is actually made up of extremely tiny particles, called
    electrons, that you cannot see with the naked eye unless you have been
    drinking. Electrons travel at the speed of light, which in most American
    homes is 110 volts per hour. This is very fast. In the time it has taken
    you to read this sentence so far, an electron could have traveled all the
    way from San Francisco to Hackensack, New Jersey, although God alone knows
    why it would want to.

    The five main kinds of electricity are alternating current, direct current,
    lightning, static, and European. Most American homes have alternating
    current, which means that the electricity goes in one direction for a while,
    then goes in the other direction. This prevents harmful electron buildup in
    the wires.
    -- Dave Barry, "The Taming of the Screw"

    - this post brought to you by the Automated Last Post Generator...