Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "Nikola Milutinovic" <Nikola.Milutinovic@ev.co.yu>
Subject: Re: ftpd security hole?
Date: Mon, 17 Dec 2001 07:45:23 +0100	[thread overview]
Message-ID: <9vk4te$1d8$1@Mercury.ev.co.yu> (raw)
In-Reply-To: 9vgkht$iq2$1@Masala.CC.UH.EDU

"Jake Fan" <jake@chaogic.com> wrote in message
news:9vgkht$iq2$1@Masala.CC.UH.EDU...
> Are there any known major bugs or security holes in Tru64 5.1 (Rev. 732)
ftp
> daemon?  Recently I found a few Alpha machines I'm in charge of running
> suspicious root processes by ftpd.  Supposedly I am the only one with root
> access but I don't remember starting those processes.  The ftpd has the
> default settings, with anonymous ftp disabled.  The processes have been
> running for a few days at full speed (99% of CPU time whenever possible).
> following is a ps snapshot of one of the processes:
>
> USER        PID %CPU %MEM   VSZ  RSS TTY      S    STARTED         TIME
> COMMAND
> root       2000 99.5  0.1 6.41M 112K ??       R      Dec 13
>  2-06:09:27 -ACBC7716.ipt.a (ftpd)

Bad thing.

> I checked various log files but didn't find anything particularly
> interesting.  Compaq's website wasn't very helpful either.  However I did
> figure out that "ACBC7716.ipt.a" is an AOL host name
"acbc7716.ipt.aol.com".
> As of this writing, that host is still pingable, but there was no trace of
> login from the host in the log files.

You can certainly do two things:

1. run "ftpd" in Debug mode.

Change definition in /etc/inetd.conf of ftpd to contain:

ftp     stream  tcp     nowait  root    /usr/sbin/ftpd          ftpd -dl

This will log everything to /var/adm/syslog.dated/<DATE>/daemon.log

2. Run tcpdump and sniff for that session.

In order to configure tcpdump the following must be done:

2.1. reconfigure kernel to contain PACKETFILTER module
2.2. (OPTIONAL) bring the desired interface in promiscuous mode "ifconfig
tu0 +promisc"
2.3. configure packetfilter module on that interface "pfconfig -i tu0 +c +p"
("+p" is optional)

Then try to see if there is any traffic on that connection (I bet there
isn't):

tcpdump -i tu0 `host acbc7716.ipt.aol.com`

Nix.




  reply	other threads:[~2001-12-17  6:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-15 22:57 ftpd security hole? Jake Fan
2001-12-17  6:45 ` Nikola Milutinovic [this message]
2001-12-17 14:12   ` Jake Fan
2001-12-17 18:09 ` Ann Majeske
2001-12-18  1:40   ` mustang
2001-12-18  4:49     ` Jake Fan
2001-12-18 19:58 ` Paul Szabo
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox