PGP SIGNED MESSAGE-----
CA-2002-28 Trojan Horse Sendmail Distribution
release date: October 08, 2002
Last revised: --
revision history is at the end of this file.
has received confirmation that some copies of the source
code for the Sendmail package were modified by an intruder to contain
a Trojan horse.
that employ, redistribute, or mirror the Sendmail package should
immediately verify the integrity of their distribution.
has received confirmation that some copies of the source
code for the Sendmail package have been modified by an intruder to
contain a Trojan horse.
files were modified to include the malicious code:
files began to appear in downloads from the FTP server
ftp.sendmail.org on or around September 28, 2002. The Sendmail
development team disabled the compromised FTP server on October 6,
2002 at approximately 22:15 PDT. It does not appear that copies
downloaded via HTTP contained the Trojan horse; however, the CERT/CC
encourages users who may have downloaded the source code via HTTP
during this time period to take the steps outlined in the Solution
section as a precautionary measure.
horse versions of Sendmail contain malicious code that is
run during the process of building the software. This code forks a
process that connects to a fixed remote server on 6667/tcp. This
forked process allows the intruder to open a shell running in the
context of the user who built the Sendmail software. There is no
evidence that the process is persistent after a reboot of the
compromised system. However, a subsequent build of the Trojan horse
Sendmail package will re-establish the backdoor process.
operating from the remote address specified in the
malicious code can gain unauthorized remote access to any host that
compiled a version of Sendmail from this Trojan horse version of the
source code. The level of access would be that of the user who
compiled the source code.
important to understand that the compromise is to the system
that is used to build the Sendmail software and not to the systems
that run the Sendmail daemon. Because the compromised system creates
tunnel to the intruder-controlled system, the intruder may have a path
through network access controls.
an authentic version Sendmail
distribution site for Sendmail is
that mirror the Sendmail source code are encouraged to verify
the integrity of their sources.
encourage sites that recently downloaded a copy of the
Sendmail distribution to verify the authenticity of their
distribution, regardless of where it was obtained. Furthermore, we
encourage users to inspect any and all software that may have been
downloaded from the compromised site. Note that it is not sufficient
to rely on the timestamps or sizes of the file when trying to
determine whether or not you have a copy of the Trojan horse version.
source distribution is cryptographically signed with the
following PGP key:
2001-12-18 Sendmail Signing Key/2002
Key fingerprint = 7B 02 F4 AA FC C0 22 DA 47 3E 2A 9A 9B 35 22 45
horse copy did not include an updated PGP signature, so
attempts to verify its integrity would have failed. The sendmail.org
staff has verified that the Trojan horse copies did indeed fail PGP
absence of PGP, you can use the following MD5 checksums to
verify the integrity of your Sendmail source code distribution:
As a matter
of good security practice, the CERT/CC encourages users to
verify, whenever possible, the integrity of downloaded software. For
more information, see
filtering manages the flow of traffic as it leaves a network
under your administrative control.
case of the Trojan horse Sendmail distribution, employing
egress filtering can help prevent systems on your network from
connecting to the remote intruder-controlled system. Blocking outbound
TCP connections to port 6667 from your network reduces the risk of
internal compromised machines communicating with the remote system.
as an unprivileged user
are encouraged to build software from source code as an
unprivileged, non-root user on the system. This can lessen the
immediate impact of Trojan horse software. Compiling software that
contains Trojan horses as the root user results in a compromise that
is much more difficult to reliably recover from than if the Trojan
horse is executed as a normal, unprivileged user on the system.
from a system compromise
believe a system under your administrative control has been
compromised, please follow the steps outlined in
for Recovering from a UNIX or NT System Compromise
is interested in receiving reports of this activity. If
machines under your administrative control are compromised, please
send mail to email@example.com with the following text included in the
subject line: "[CERT#33376]".
A. - Vendor Information
contains information provided by vendors for this
advisory. As vendors report new information to the CERT/CC, we will
update this section and note the changes in our revision history. If
particular vendor is not listed below, we have not received their
Coordination Center thanks the staff at the Sendmail
Consortium for bringing this issue to our attention.
can be directed to the authors: Chad Dougherty, Marty
is available from:
Phone: +1 412-268-7090 (24-hour hotline)
Fax: +1 412-268-6989
CERT Coordination Center
Software Engineering Institute
Carnegie Mellon University
Pittsburgh PA 15213-3890
personnel answer the hotline 08:00-17:00 EST(GMT-5) /
EDT(GMT-4) Monday through Friday; they are on call for emergencies
during other hours, on U.S. holidays, and on weekends.
urge you to encrypt sensitive information sent by email.
Our public PGP key is available from
prefer to use DES, please call the CERT hotline for more
and other security information are available from
our web site
to the CERT mailing list for advisories and bulletins,
send email to firstname.lastname@example.org. Please include in the body of your
and "CERT Coordination Center" are registered in the U.S.
Patent and Trademark Office.
Any material furnished by Carnegie Mellon University and the Software
Engineering Institute is furnished on an "as is" basis. Carnegie
Mellon University makes no warranties of any kind, either expressed
implied as to any matter including, but not limited to, warranty of
fitness for a particular purpose or merchantability, exclusivity or
results obtained from use of the material. Carnegie Mellon University
does not make any warranty of any kind with respect to freedom from
patent, trademark, or copyright infringement.
for use, disclaimers, and sponsorship information
2002 Carnegie Mellon University.
October 08, 2002: Initial release
Version: PGP 6.5.8
-----END PGP SIGNATURE-----