Agent-AV Trojan in HTLM file

According to AVAST, the index.htm page of my website has been infected with the JS:Agent-AV [trj]. AVAST alerted me of this when I tried to visit my home page in FireFox.

So obviously, when I tried to download the html file (with my FTP program) so I could try to clean it, AVAST flagged it during the download. The only options it gave me were: Move/Rename, Delete, or Move to chest. I also had the option to do “No action,” but it wasn’t clear what this would accomplish. I chose to move the file to the chest.

There was no option to clean the file. It’s probably just some code at the bottom of the html file (like ").

But now that it’s been quarantined, how can I clean the file? I can’t even open it manually in notepad where I could simply delete the offending code. I can redownload it, but AVAST will continue to catch it.

I have some trojan cleaners ready to use, but how I can I even access the file since AVAST will always lock it up?

Thanks.

Temporarily disable avast! while you download the file in FTP and edit it.

Maybe I’m being dense, but doesn’t this put me at risk for the Trojan infecting my computer?

Or is this not a concern since I’m downloading it via FTP?

Thanks.

Kurt

Not if you does not open the html into a browser but into a text editor for edition.

It does depend on the download way of it when it’s already saved in your HDD.
So, don’t open the html file into your browser, but just edit it into a text editor, remove the hacked part and upload the html again. Change your passwords.