Open Source 1999-01-21 · 1 day ·Credential Theft, Remote Code Execution

util-linux source archive trojanized

The util-linux 2.9g source archive was replaced on an official distribution site during the same 1999 advisory window as the tcp-wrappers compromise.

Story

In January 1999, the util-linux 2.9g source archive on ftp.win.tue.nl was found to be a trojaned replacement. The report came days after the tcp-wrappers compromise on the same server. The trusted FTP host, not a random mirror, was the failed boundary.

The modified archive changed login-utils/login.c. A new checkname() path ran during login. If the supplied username began with #!, the code built /bin/<name> and executed it. That turned an ordinary login prompt into a command trigger for anyone who knew the convention.

The same function also forked a reporting process. It resolved mail.hotmail.com, spoke SMTP, and sent host and UID data to a Hotmail address. It left /var/tmp/.fmlock0 as a marker and exposed HELO 127.0.0.1 as a simple detection string.

The maintainer restored a clean 2.9g archive and warned that nothing on the compromised machine should be trusted. CERT later folded util-linux into CA-1999-02 and advised users to move to util-linux 2.9h with signature verification. The lesson was plain: timestamps and familiar paths were not integrity.

Affected Artifacts

Incident Context

Motive
Unauthorized Access
Cause
Compromised Infrastructure
Transitive
No

External References

Source record: oss/attacks/util-linux/meta.yaml