Author Topic: URL Being Blocked (Not A Virus)  (Read 4689 times)

0 Members and 1 Guest are viewing this topic.

Forbsie1888

  • Guest
URL Being Blocked (Not A Virus)
« on: November 23, 2010, 10:59:02 PM »
So here's my problem...
I just bought a brand new desktop for around £900 ($1350+) and I downloaded the free Avast! antivirus.
When I first got it, my website would work, but then when I tried to get onto the .html file, it told me there's a javascript virus..
My website has no viruses, only I have access to the source code and login info.
Avast is calling it a JS troj file (Image below)
I've tried adding the website to the exceptions on my internet security (control panel) aswell as Avast!'s person ones (where the .txt etc are).
I know there's nothing wrong with the coding of the small javascript code, so no idea what is wrong.

Specs:
Browser - Firefox Version 3.6.12
OS - Windows 7 Premium
Avast Version - 5.0.677
Website URL; http://www.mark-forbes.zxq.net/
Javascript that's on it:

Code: [Select]
<script type="text/javascript">
<!--
    function toggle_visibility(id) {
       var e = document.getElementById(id);
       if(e.style.display == 'block')
          e.style.display = 'none';
       else
          e.style.display = 'block';
    }
//-->
</script>

Image of the virus being detected -
 

If I don't reply after a few days of posting, if the posters could please email me here and I'll come back and look at the reply.

Offline Pondus

  • Probably Bot
  • ****
  • Posts: 37532
  • Not a avast user
Re: URL Being Blocked (Not A Virus)
« Reply #1 on: November 23, 2010, 11:22:32 PM »
Quote
My website has no viruses, only I have access to the source code and login info.
have you heard about hacking......

VirusTotal - index.html - 16/43
http://www.virustotal.com/file-scan/report.html?id=3bcfd0b706049a5e83946889451a6436ce092bcfc0291932176a5d530592f45f-1290550820


Every 3.6 seconds a website is infected
http://www.scmagazineus.com/every-36-seconds-a-website-is-infected/article/140414/



« Last Edit: November 23, 2010, 11:30:39 PM by Pondus »

Offline Pondus

  • Probably Bot
  • ****
  • Posts: 37532
  • Not a avast user
Re: URL Being Blocked (Not A Virus)
« Reply #2 on: November 23, 2010, 11:28:39 PM »
Quote
I just bought a brand new desktop for around £900 ($1350+) and I downloaded the free Avast! antivirus.
I hope you uninstalled any preinstalled AV before you installed avast! ?

Forbsie1888

  • Guest
Re: URL Being Blocked (Not A Virus)
« Reply #3 on: November 23, 2010, 11:29:56 PM »
I had used a redirector to redirect the website to http://www.mark-forbes.zxq.net/underconstruction.html
But I don't remember using JS for that..

Forbsie1888

  • Guest
Re: URL Being Blocked (Not A Virus)
« Reply #4 on: November 23, 2010, 11:31:22 PM »
Quote
I just bought a brand new desktop for around £900 ($1350+) and I downloaded the free Avast! antivirus.
I hope you uninstalled any preinstalled AV before you installed avast! ?

Avast! was the first antivirus I had installed. There was no previous installations prior to Avast!

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89056
  • No support PMs thanks
Re: URL Being Blocked (Not A Virus)
« Reply #5 on: November 24, 2010, 12:08:14 AM »
I had used a redirector to redirect the website to http://www.mark-forbes.zxq.net/underconstruction.html
But I don't remember using JS for that..

It isn't the script you posted in your first post, but a large chunk of obfuscated javascript after the closing Table tag and before the closing Body tag on the home page. See image1 for the location of the offending script tag and image2 with that single line broken down to show it easier in an image.

So it does looks like your site has been hacked, as there really shouldn't be any need for this kind of obfuscation in a legit javascript.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Forbsie1888

  • Guest
Re: URL Being Blocked (Not A Virus)
« Reply #6 on: November 24, 2010, 12:46:45 AM »
Ahh, I'll just edit the template thing and edit it out and see if it works.
I'll update when I do that.

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89056
  • No support PMs thanks
Re: URL Being Blocked (Not A Virus)
« Reply #7 on: November 24, 2010, 01:09:10 AM »
What you have to do if eliminate the vulnerability that allows the exploitation of the site to happen.

- This is commonly down to old content management software being vulnerable, PHP, Joomla, Wordpress, SQL, etc. etc.

Also see, Tips for Cleaning & Securing Your Website, http://www.stopbadware.org/home/security.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security

Forbsie1888

  • Guest
Re: URL Being Blocked (Not A Virus)
« Reply #8 on: November 24, 2010, 01:17:40 AM »
http://mark-forbes.zxq.net/
I've restarted the website now, there's no problems :)

Thank you to all who helped me.



Offline Pondus

  • Probably Bot
  • ****
  • Posts: 37532
  • Not a avast user

Offline DavidR

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 89056
  • No support PMs thanks
Re: URL Being Blocked (Not A Virus)
« Reply #10 on: November 24, 2010, 09:54:14 AM »
http://mark-forbes.zxq.net/
I've restarted the website now, there's no problems :)

Thank you to all who helped me.

You're welcome, happy that you site is coming up clean now.
Windows 10 Home 64bit/ Acer Aspire F15/ Intel Core i5 7200U 2.5GHz, 8GB DDR4 memory, 256GB SSD, 1TB HDD/ avast! free 24.3.6108 (build 24.3.8975.762) UI 1.0.801/ Firefox, uBlock Origin, uMatrix/ MailWasher Pro/ Avast! Mobile Security