Originally posted by: jdini76
Thanks man,
I did what you said, and I see things running, but I don't know what is supposed to be there. I have included the netstat with this post. could you take a look and let me know if anything is out of the ordinary? I see a lot of things running from my /tmp directory, but i don't really know if it should be there or not. thanks
The /tmp stuff looks fine, but dont quote me on that. I havent looked at a machine running X in a while
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.1:32768 0.0.0.0:* LISTEN
This looks fishy, but since its on loopback I wouldnt worry too much.
tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN
This SWAT?? If you arent running SAMBA, look into this.
tcp 0 0 0.0.0.0:199 0.0.0.0:* LISTEN
Recognize SMUX? I dont. This could be a bad one.
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
Looks like you are running SAMBA
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
RPC... This is bad to run unless you need it.
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
X Windows.
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
SOCKS proxy?
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
Webserver?
tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN
Identd?
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
SSH?
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
sendmail/postfix/qmail/exim?
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
https?
udp 0 0 192.168.1.2:137 0.0.0.0:*
udp 0 0 0.0.0.0:137 0.0.0.0:*
udp 0 0 192.168.1.2:138 0.0.0.0:*
udp 0 0 0.0.0.0:138 0.0.0.0:*
I think these are all SAMBA related...
udp 0 0 0.0.0.0:161 0.0.0.0:*
SNMP?
udp 0 0 0.0.0.0:3049 0.0.0.0:*
NSWS?!
udp 0 0 0.0.0.0:111 0.0.0.0:*
RPC again...
My guesses are:
1. You installed RH and software and got ont he net without a firewall in place.
2. You installed RH and software and did not patch or use the latest versions and a service you are running is vulnerable (apache chunking? openssl on your webserver?)
3. You installed RH and software, remembered to patch the system, but forgot about the rest of the software.
From the output I quoted above, it looks like you do not know how to lockdown a linux machine. It is pretty simple and quick (if you know what you are doing

),. And there are plenty of texts available on the subject. If I get a chance I will write something up. Give me a run-down on what the machine is supposed to do. My advice is to reinstall at this point, but only after reading one of the available texts.