Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

One of our sites has been compromised and we have had a warning email from google. The site has been blocked by Google in Firefox, has anyone seen this type of attack before?

Of the 1 pages we tested on the site over the past 90 days, 1 page(s) resulted in malicious software being downloaded and installed without user consent. The last time Google visited this site was on 2009-11-19, and the last time suspicious content was found on this site was on 2009-11-19.

Malicious software includes 1 trojan(s). Successful infection resulted in an average of 6 new process(es) on the target machine.

Malicious software is hosted on 1 domain(s), including

1 domain(s) appear to be functioning as intermediaries for distributing malware to visitors of this site, including

This site was hosted on 1 network(s) including AS31727 (NODE4).
share|improve this question

Not one that I have seen specifically, but it tells you that your page has been altered to request content (probably an iframe that attempts to load a drive-by hack onto the client's machine, or a javascript file to create a pop-under that does similar).

You need to take the web server offline ASAP as you may be unwittingly infecting your visitors with something nasty. After a machine has been hacked into it is generally recommend that you completely rebuild it as you do not know what extra backdoors the hacker left behind to allow the attacker back in again once you clean the infection (unless you know for sure that the change was made entirely due to an unprivileged user account having an insecure password that was guessed, or a specific unpatched script that allowed the change in a way that would not allow deeper changes).

If you provide more specific details (OS, web server, what apps/scripts you have installed, ...) we might be able to provide more specific help.

share|improve this answer
You are correct, I checked the site fusing Firebug and there is the following line directly after the opening body tag - <iframe width="0" height="0" frameborder="0" src="">; <html> <head/> <body/> </html> </iframe> The site is a Joomla site, I am on Mac OS using Filezilla/Dreamweaver for my Ftp. I have checked and it looks like a normal site. I have checked my web files and cannot locate where the iframe is being injected into the code. – Anonymous Nov 23 '09 at 10:53
It may be being added by a javascript file loaded from another server. Also my answer assumed this is your own server (hence the question being asked on serverfault) rather than a shared server - is this correct? – David Spillett Nov 23 '09 at 11:03

We regularly see customers with websites that have been defaced or otherwise modified, to the point that we just wrote a blog article on how to avoid getting your website infected with malware. Basically, they usually get in by one of a few different methods:

  • Guessing passwords
  • Breaking into the web application code
  • Breaking into the developer's workstation, and either getting the FTP password from there or modifying the local version of the site
share|improve this answer

Your Answer


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