From: Joey Hess <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: hacked?
Date: Mon, 16 Jun 2003 11:51:55 -0400

Moe Binkerman wrote:
> I've noticed something odd, I did an nmap localhost after messing with
> inetd.conf, and say a weird port open.
> I ran it again and it wasn't there. Mostly I see just the normal services
> I am running, but 1 in a dozen nmap scans (as root) show some ports that
> are open for a second or so. Why would these ports be open, below is an
> example of some of the ports.
>
> I put an nmap localhost in loop to capture the info, also I ran a ps -ef
> in a loop and I let it run for a couple of days and I didn't see anything
> unusual. Am I hacked?
>
>
> 1359/tcp open ftsrv
> 2120/tcp open kauth
> 2241/tcp open ivsd
> 1452/tcp open gtegsc-lm
> 4444/tcp open krb524
> 3306/tcp open mysql
> 1358/tcp open connlcli
> 1652/tcp open xnmp
> 1433/tcp open ms-sql-s
> 3389/tcp open msrdp
> 1506/tcp open utcd
> 1386/tcp open checksum
> 2021/tcp open servexec
> 2564/tcp open hp-3000-telnet
> 1445/tcp open proxima-lm
> 1369/tcp open gv-us
> 1444/tcp open marcam-lm


These are all nonstandard high ports above 1024. Anytime your system
makes an outgoing TCP connection it will open an unused high port of
this type and use it. Maybe that's what it is -- depending on the type
of port scan you did I suppose they could show up.

netstat will list them along with what they're connected to at the other
end:

tcp 0 0 client132.fre.commu:www egspd403.teoma.co:35243 ESTABLISHED
tcp 0 0 client132.fre.commu:www egspd403.teoma.co:34962 TIME_WAIT
tcp 0 0 client132.fre.commu:www egspd403.teoma.co:34807 TIME_WAIT
tcp 0 0 client132.fre.commu:www egspd403.teoma.co:34523 TIME_WAIT
tcp 0 0 client132.fre.commu:www cr012r01-3.sac2.fa:1186 TIME_WAIT
tcp 0 0 client132.fre.commu:www cr038r01-2.sac2.fa:1110 TIME_WAIT
tcp 0 0 client132.fre.commu:www cr038r01-2.sac2.fa:1057 TIME_WAIT


--
see shy jo
<< attach3 >>


The scan was simply:
nmap localhost

run as root so its icmp pings, I thought nmap only would find ports that are being listened on, not say a port that's being used as part of an outbound connection. I've never seen these high ports before in my scans. I've run scans many times in the past experiementing with my debian system and the services it can run. To me it seems strange I've never noticed them before, but now I can find them quite easily, while my use of nmap is the same. I'll man nmap to see what I can puzzle out.

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to