Open Source · · 7 days

monkey.org tarballs shipped backdoors

The monkey.org host serving Dug Song's security tools was compromised on May 14, 2002, and attackers modified the dsniff 2.3, fragroute 1.2, and fragrouter 1.6 source tarballs at 03:00 on May 17.

In May 2002, monkey.org was compromised through an epic4-pre2.511 client-side hole that yielded access to a local administrator account and then to a root screen session. At 03:00 on May 17, the dsniff 2.3, fragroute 1.2, and fragrouter 1.6 tarballs were modified to include a configure-time backdoor. The downloads were not impostors; they came from the project host used for Dug Song's security tools.

The delivery method was repeated across three security tools. Each poisoned archive used the familiar source-build path, with configure writing and compiling conftest.c. Users asked for packet and network tooling; the build ran attacker code first.

The injected configure block wrote conftest.c, compiled it, and executed it during the build. The payload forked, connected to 216.80.99.202 on TCP/6667, and handed stdin, stdout, and stderr to /bin/sh. Dug Song reported 1,951 successful downloads of the backdoored tarballs before discovery around May 24, including hundreds of Unix hosts and automated BSD ports fetches, then restored the system from scratch and published clean checksums.

The audience made the compromise sharper. dsniff, fragroute, and fragrouter were tools used by security practitioners and network administrators, so a poisoned build reached machines likely to sit near sensitive traffic, credentials, and test infrastructure.

Notes

  • Dug Song counted 1,951 hosts downloading the trojaned tarballs in total, across all three of them, not 1,951 per artifact. 992 of those were Windows machines that could not run the payload, leaving roughly 766 Unix downloads by his own breakdown.

Appendix · Affected releases

2.3 no sample yet
  • Dug Song published 183e336a45e38013f3af840bddec44b4 as the clean MD5 for dsniff-2.3.tar.gz after restoration.
  • No complete checksum for the poisoned dsniff archive is published in the cited material. The contaminated MD5 published by Anders Nordby belongs to fragroute, not dsniff.
1.2 sha256 8c68f1b7…c067cfd3 download unavailable
  • Anders Nordby's contemporary Bugtraq report maps this MD5 to the complete contaminated fragroute-1.2.tar.gz downloaded on 2002-05-27.
  • Dug Song published 7e4de763fae35a50e871bdcd1ac8e23a as the clean MD5 for fragroute-1.2.tar.gz after restoration.
1.6 no sample yet
  • Dug Song published 73fdc73f8da0b41b995420ded00533cc as the clean MD5 for fragrouter-1.6.tar.gz after restoration.

Indicators

  • observable216.80.99.202:6667
  • observableepic4-pre2.511
  • fileconfigure
  • fileconftest.c

References

  1. Trojan/backdoor in fragroute 1.2 source distributionseclists.org
  2. Dug Song's monkey.org compromise follow-upseclists.org
  3. fragroute, dsniff and fragrouter have been backdooredartofhacking.com
  4. Backdoored dsniff, fragroute and fragrouterhelpnetsecurity.com
  5. Download Sites Hacked, Source Code Backdooredseclists.org
  6. LWN Security reports for June 2002lwn.net
  7. NVD: CVE-2002-2049nvd.nist.gov

Source record: oss/attacks/monkey-org-dsniff-fragroute/meta.yaml