Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I’m using Linux based VPS hosting, and a firewall and mod_sec help to keep most hackers out. However, over the last couple of weeks I noticed several entries in mod_sec showing that an unknown domain was attacked. Does this mean that the VPS is compromised (I do not see any unknown DNS entries) and other domains are getting a free ride, or is it just pointing to a sloppy setup of the VPS server?

share|improve this question

migrated from Mar 13 '11 at 20:54

This question came from our site for system and network administrators.

You might want to include, at minimum, the log messages that you're referring to. – Scott Pack Mar 13 '11 at 16:36
I agree, you should that post the log. – rook Apr 1 '11 at 15:46

If mod_sec is showing that an unknown domain was attacked then its possible that you still have a default vhost configuration in place on the server.
The default vhost on most distros has no ServerName associated to it, so it will respond to all requests that do not match a ServerName directive in another virtual host. Its probably a good idea to disable the default vhost if you don't need it.

As packs mentioned in his comment, posting some log files would help with diagnosing it further.

share|improve this answer

Make sure that mod_security is blocking attacks instead of just logging them.

Mod Security is going to produce a lot of log entries. Most of these issues are nothing to worry about. Often times its a bot trying a handful of attacks against a large number of hosts. Chances are you aren't vulnerable.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.