hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : have I been hacked? - need help
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

have I been hacked? - need help

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-10-2002, 12:27 PM
md2001 md2001 is offline
Newbie
 
Join Date: Jun 2001
Posts: 27
Exclamation

have I been hacked? - need help


I received a warning from a visitor of my sites that there's an open security hole on the server along with this:

-----SNIP-----

# nmap -sS ---server's IP---

Starting nmap V. 2.53 by fyodor@insecure.org ( www.insecure.org/nmap/ )
Interesting ports on (---server's IP---):
(The 1491 ports scanned but not shown below are in state: closed)
Port State Service
1/tcp open tcpmux
11/tcp open systat
15/tcp open netstat
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
25/tcp open smtp
53/tcp open domain
79/tcp open finger
80/tcp open http
98/tcp open linuxconf
110/tcp open pop-3
111/tcp open sunrpc
119/tcp open nntp
143/tcp open imap2
443/tcp open https
540/tcp open uucp
635/tcp open unknown
1080/tcp open socks
1524/tcp open ingreslock
2000/tcp open callbook
3306/tcp open mysql
6666/tcp open irc-serv
6667/tcp open irc
12345/tcp open NetBus
12346/tcp open NetBus
27665/tcp open Trinoo_Master
31337/tcp open Elite
32771/tcp open sometimes-rpc5
32772/tcp open sometimes-rpc7
32773/tcp open sometimes-rpc9
32774/tcp open sometimes-rpc11

-----SNIP-----


Do you find anything suspicious on this list?

thanks

Reply With Quote


Sponsored Links
  #2  
Old 01-10-2002, 12:33 PM
cperciva cperciva is offline
Retired Moderator
 
Join Date: Jan 2001
Posts: 2,603
Re: have I been hacked? - need help

Quote:
Originally posted by md2001
Do you find anything suspicious on this list?
Yes.

__________________
Dr. Colin Percival, FreeBSD Security Officer
Online backups for the truly paranoid: http://www.tarsnap.com/

Reply With Quote
  #3  
Old 01-10-2002, 12:42 PM
DavidU DavidU is offline
Web Hosting Guru
 
Join Date: Jun 2001
Location: San Diego, CA
Posts: 283
Re: have I been hacked? - need help

Quote:
Originally posted by md2001

Do you find anything suspicious on this list?
If this is a real post and not a joke then the answer is "maybe." I've setup networks before where we redirect "OFF" ports on the firewall to a bogus machine to act as a network catchall and perform some pseudo-honeypot like activities.

Check to see if your host is doing this. If you have a raw, unsecured link to the net then yes there is something seriously wrong with your setup and or machine.

You need to have someone who can diagnose and repair it take a look at the machine pretty damn quick.

-davidu

__________________
EveryDNS.NET :: FreeDNS and more.

Reply With Quote
Sponsored Links
  #4  
Old 01-10-2002, 02:38 PM
davidb davidb is offline
A#* Duke Of New York
 
Join Date: Jun 2001
Location: Chicago, IL
Posts: 1,953
Do you run portsentry. Portsentry opens all the ports it listens to. So if you are, you should generally be ok

__________________
Chicago Electronic Cigarettes: Tobacco Free, Smoke Free. 3 E-Cig Models, 11 flavors, and accessories.
http://www.chicago-ecigs.com

Reply With Quote
  #5  
Old 01-11-2002, 04:57 AM
bobcares bobcares is offline
Root@Bobcares
 
Join Date: Nov 2001
Location: India, US, Germany
Posts: 1,568
Hi!
This is just the nmap results.
You could see for yourseld.
type
nmap yourdomain.

The thing is that you have some unwanted ports open..... linuxconf, irc etc...
Close these...


Also, as already suggested use portsentry it is really cool...


have a great day

regards
amar

__________________
A student once asked his teacher, "Master, what is enlightenment?"
The master replied, "When hungry, eat. When tired, sleep. When you need care, come to bobcares...."


Reply With Quote
  #6  
Old 01-11-2002, 05:02 AM
hypernatic.net hypernatic.net is offline
Web Hosting Guru
 
Join Date: Jan 2002
Location: Glued to my seat...
Posts: 280
Dear md2001,

If you want, I am willing to help you out.

What I'll do is discuss with you what you DO need, and what you don't. And we'll be shutting everything down then.
Also, we will check if the versions you use for (e.g.) ftp have security holes...

Contact me at herps@hypernatic.net if you like...


Last edited by hypernatic.net; 01-11-2002 at 05:18 AM.
Reply With Quote
  #7  
Old 01-11-2002, 05:07 AM
bobcares bobcares is offline
Root@Bobcares
 
Join Date: Nov 2001
Location: India, US, Germany
Posts: 1,568
I thought I was helping out md2001
here....
I guess he needs your help more than me...
My biggest problem now is how to clean my car regularly... I wonder if you have any suggestions there...

Anyway, thanks for the offer... I wish you all the best in life...

Have a great day

regards
amar

Quote:
Originally posted by hypernatic.net
Dear Bobcares,

If you want, I am willing to help you out.

What I'll do is discuss with you what you DO need, and what you don't. And we'll be shutting everything down then.
Also, we will check if the versions you use for (e.g.) ftp have security holes...

Contact me at herps@hypernatic.net if you like...

__________________
A student once asked his teacher, "Master, what is enlightenment?"
The master replied, "When hungry, eat. When tired, sleep. When you need care, come to bobcares...."


Reply With Quote
  #8  
Old 01-11-2002, 05:10 AM
Tim Greer Tim Greer is offline
<insert something witty>
 
Join Date: Apr 2000
Location: California
Posts: 3,051
Quote:
Originally posted by bobcares
Hi!
This is just the nmap results.
You could see for yourseld.
type
nmap yourdomain.

The thing is that you have some unwanted ports open..... linuxconf, irc etc...
Close these...


Also, as already suggested use portsentry it is really cool...


have a great day :)

regards
amar
Actually, to be clear, I _think_ what David was saying, is that Portsentry opens up all these ports to listen on them, so that program can log and block IP's trying to connect to them -- else (if it wasn't listening) it couldn't log or block potentially abusive IP addresses that people will try and hit your server from (This is explained for the sake of the person that asked the original question to save any confusion). In other words, it's not necessarily that these ports are open and vulnerable, but that Portsentry, or another similar program/tool might be running, listening for the reasons mentioned above, and that would explain why it's reporting a ridiculously large number of non web server related ports are being open -- when in fact, they really aren't and those services aren't actually running, and that if he's running Portsentry, that he's safe, and that, yes, it is a good program/tool to use, if he is. I.e., to explain why those results were returned. Well, otherwise, there's a problem.

Reply With Quote
  #9  
Old 01-11-2002, 05:18 AM
hypernatic.net hypernatic.net is offline
Web Hosting Guru
 
Join Date: Jan 2002
Location: Glued to my seat...
Posts: 280
Quote:
Originally posted by bobcares
I thought I was helping out md2001
here....

...

Sorry, my bad... should have been md2001 of course..

Reply With Quote
  #10  
Old 01-11-2002, 05:19 AM
md2001 md2001 is offline
Newbie
 
Join Date: Jun 2001
Posts: 27
Thank you very much for your answers and help.

Yes, portsentry is running on this machine. So I probably shouldn't worry. I just got worried because I received some warnings from other people.

I will however check out if everything is as it should be.


Thanks again.

Reply With Quote
  #11  
Old 01-11-2002, 05:27 AM
Tim Greer Tim Greer is offline
<insert something witty>
 
Join Date: Apr 2000
Location: California
Posts: 3,051
Quote:
Originally posted by md2001
Thank you very much for your answers and help.

Yes, portsentry is running on this machine. So I probably shouldn't worry. I just got worried because I received some warnings from other people.

I will however check out if everything is as it should be.


Thanks again.
Yes, then more likely than anything else, Portsentry is both your cause and solution. Again, Portsentry opens up the ports to listen on them in an unharmful manner, so those ports as showing open, as they should show, even though there's nothing behind them. You will likely see that user's IP in your route display and hosts.deny file (and/or possibly in your firewall rules or the like), assuming Portsentry is set up properly. Further, assuming it is, Portsentry has an "ignore" file and if someone ran nmap locally or from an "ignored" IP or IP block/class/range, then you won't see that IP in any of the previous I mentioned. I wouldn't worry at all about that report, given you're running Portsentry and that should most certainly be the result from nmap or other scanning tools

Reply With Quote
  #12  
Old 01-11-2002, 05:30 AM
Tim Greer Tim Greer is offline
<insert something witty>
 
Join Date: Apr 2000
Location: California
Posts: 3,051
Quote:
Originally posted by Tim_Greer


Yes, then more likely than anything else, Portsentry is both your cause and solution. Again, Portsentry opens up the ports to listen on them in an unharmful manner, so those ports as showing open, as they should show, even though there's nothing behind them. You will likely see that user's IP in your route display and hosts.deny file (and/or possibly in your firewall rules or the like), assuming Portsentry is set up properly. Further, assuming it is, Portsentry has an "ignore" file and if someone ran nmap locally or from an "ignored" IP or IP block/class/range, then you won't see that IP in any of the previous I mentioned. I wouldn't worry at all about that report, given you're running Portsentry and that should most certainly be the result from nmap or other scanning tools
To be clear for elaboration, it also depends on how Portsentry is configured. Some people have it set to only block an IP, log or report it, etc., if there's 3 or more attempts on the same one port.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Whistleblower Site Cryptome Hacked, Infects PCs with Drive-By Exploits Web Hosting News 2012-02-14 14:48:24
Dutch Security Firm Gemnet and Certificate Authority Division Gemnet CSP Offline Following Hack Web Hosting News 2011-12-09 15:33:53
Bangladeshi Hacker TiGER-M@TE Targets InMotion Hosting Web Hosting News 2011-09-26 15:24:05
South Korean Domain Registrar Gabia, Epson Korea Websites Hacked Web Hosting News 2011-08-24 14:04:01
London Police Arrest Hacker in Connection with PlayStation Network Hack Web Hosting News 2011-06-21 14:15:16


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?