From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,1239add5ff484907 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-12-16 23:35:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!134.222.94.5!npeer.kpnqwest.net!EUnet.yu!Mercury.ev.co.yu!not-for-mail From: "Nikola Milutinovic" Newsgroups: comp.unix.tru64 Subject: Re: ftpd security hole? Date: Mon, 17 Dec 2001 07:45:23 +0100 Organization: EPS Elektrovojvodina Message-ID: <9vk4te$1d8$1@Mercury.ev.co.yu> References: <9vgkht$iq2$1@Masala.CC.UH.EDU> NNTP-Posting-Host: brigitte.ev.co.yu X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.unix.tru64:6158 "Jake Fan" 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//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.