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.
Story
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.
Affected Artifacts
- Observed
- 2002-05-17 to 2002-05-24
- Compromised Versions
- Fixed
- Not listed
- Evidence
- distribution: monkey.org/~dugsong/dsniff/dsniff-2.3.tar.gz, file: configure
- Dug Song published 183e336a45e38013f3af840bddec44b4 as the clean MD5 for dsniff-2.3.tar.gz after restoration.
- Observed
- 2002-05-17 to 2002-05-24
- Compromised Versions
- Fixed
- Not listed
- Evidence
- distribution: monkey.org/~dugsong/fragroute/fragroute-1.2.tar.gz, file: configure
- Dug Song published 7e4de763fae35a50e871bdcd1ac8e23a as the clean MD5 for fragroute-1.2.tar.gz after restoration.
- Observed
- 2002-05-17 to 2002-05-24
- Compromised Versions
- Fixed
- Not listed
- Evidence
- distribution: monkey.org/~dugsong/fragrouter-1.6.tar.gz, file: configure
- Dug Song published 73fdc73f8da0b41b995420ded00533cc as the clean MD5 for fragrouter-1.6.tar.gz after restoration.
Incident Context
- Motive
- Unauthorized Access Control
- Cause
- Compromised Infrastructure
- Transitive
- No
- User Impact
- 1951
Indicators
- observable216.80.99.202:6667
- observableepic4-pre2.511
- fileconfigure
- fileconftest.c
External References
- fragroute, dsniff and fragrouter have been backdooredartofhacking.com
- Backdoored dsniff, fragroute and fragrouterhelpnetsecurity.com
- Download Sites Hacked, Source Code Backdooredseclists.org
- LWN Security reports for June 2002lwn.net
- NVD: CVE-2002-2049nvd.nist.gov
Source record: oss/attacks/monkey-org-dsniff-fragroute/meta.yaml