When I am engaged by a client to rescue a website after an incident a good part of my time is taken up explaining what has happened. It can be a very frustrating and costly experience to be hacked or infected with a virus and the usual instruction from a client is “fix this and stop it form ever happening again”. Let’s take a quick look at those two elements:
“Fix this” – You need to isolate what type of problem you are experiencing. Some issues are really virus infections while others are true “hacking” episodes.By far the biggest issue in 2009 was the combined and related issues of the gumblar, martuz and iframe viruses. One part of this attack infected PCs and harvested ftp login information that was then used to infect thousands (and possibly millions) of websites around the globe. Less common, but still quite prevalent, was the injection code directly into website databases. These issues are quite different though the effect can be very similar. Fixing wesbite code is very straightforward, and though can be time consuming the damage can be completely reversed with relatively little effort. The database injected code (or SQLinjection) can be far more damaging as it affects the data driving the dynamic parts of your website (and/or your client or product information) – sometimes it can completely sink a website if a backup strategy hasn’t been followed from the start.
“Stop it from ever happening again” It was quite common last year for me to assess a site and find injected code across the php files (in particular) and find nothing except ftp uploads in the logs to show how the infection occurred. Often the client would have no idea that their PC was infected and it took much persuading to convince them that rebuilding their PCs was the solution to prevent continuous infections. It really can be that simple however. Fixing SQL injection issues on the other hand, although often described as “simple” , requires a change in code that many web designers find a challenge.
I will go into a bit more detail on each issue in the next few posts.







