Last revised: September 19, 1997
Attached copyright statement
A complete revision history is at the end of this file.
The Computer Emergency Response Team/Coordination Center (CERT/CC) has received information regarding a significant intrusion incident on the Internet. Systems administrators should be aware that many systems on the Internet have been compromised due to this activity. To identify whether your systems have been affected by the activity we recommend that all system administrators check for the signs of intrusion detailed in this advisory.
This advisory describes the activities that have been identified as part of this particular incident. This does not address the possibility that systems may have been compromised due to other, unrelated intrusion activity.
I. Description
The intruders gained initial access to a host by discovering a password for a user account on the system. They then attempted to become root on the compromised system.II. Impact
Having gained root access on a system, the intruders installed trojan binaries that captured account information for both local and remote systems. They also installed set-uid root shells to be used for easy root access.III. Solution
A. Check your systems for signs of intrusion due to this incident.
- Check the su, ftpd, and ftp binaries (for example, "/bin/su", "/usr/ucb/ftp" and "/usr/etc/in.ftpd" on Sun systems) against copies from distribution media.
Check for the presence of any of the following files:
"/usr/etc/..." (dot dot dot), "/var/crash/..." (dot dot dot), "/usr/etc/.getwd", "/var/crash/.getwd", or "/usr/kvm/..." (dot dot dot).Check for the presence of "+" in the "/etc/hosts.equiv" file.
Check the home directory for each entry in the "/etc/passwd" file for the presence of a ".rhosts" file containing "+ +" (plus space plus).
Search the system for the presence of the following set-uid root files: "wtrunc" and ".a".
Check for the presence of the set-uid root file "/usr/lib/lpx".
B. Take the following steps to secure your systems.
- Save copies of the identified files to removable media.
Replace any modified binaries with copies from distribution media.
Remove the "+" entry from the "/etc/hosts.equiv" file and the "+ +" (plus space plus) entry from any ".rhosts" files.
Remove any of the set-uid root files that you find, which are mentioned in A5 or A6 above.
Change every password on the system.
Inspect the files mentioned in A2 above for references to other hosts.
Copyright 1992 Carnegie Mellon University.
Revision History
September 19,1997 Attached Copyright Statement