I need some help tracking down a HTML:iframe inf virus reported
by Avast. I found it on two of my pages and removed and Avast still reports
it. Although Avast doesn’t pinpoint the location for me.
My store’s index makes a few call to other files, so it’s not as simple
as it’s your index.htm file.
Can anyone help me track it down for removal?
my store is at: reedsgreenhouse dot com / store
I log onto my hostings admin.
Zipped the store folder and then downloaded.
Unzipped and then ran Avast on that folder.
With that, it found about 8 files that had been infected.
It was then easy to delete the added scripts and fix my store.
OK, I changed my FTP log on password, anything else I should do?
This is commonly down to old content management software being vulnerable, see this example of a HOSTs response to a hacked site.
We have patched up the server and we found a weakness in PHP which was helping aid the compromise of some domains. We updated it, and changed some default settings to help prevent these coding compromises. The weaknesses were not server wide but rather just made it easier on a hacker to compromise individual end user accounts.
I suggest the following clean up procedure for both your accounts:
check all index pages for any signs of java script injected into their coding. On windows servers check any “default.aspx” or
“default.cfm” pages as those are popular targets too.
Remove any “rouge” files or php scripts uploaded by the hackers into your account. Such scripts allowed them to make account wide
changes, spam through your account, or spread their own .htaccess files through all of your domains in that end user.
Check all .htaccess files, as hackers like to load re-directs into them.
Change all passwords for that end user account. The cp password, the ftp password, and any ftp sub accounts. Make sure to use a
“strong” password which includes upper case, lower case, numbers and NO COMPLETE WORDS OR NAMES!
This coupled with our server side changes should prevent any resurfacing of the hackers efforts. In some cases you may still have coding which allows for injection. All user input fields hidden or not should be hard coded, filtered, and sanitized before being handed off to php or a database which will prevent coding characters from being submitted and run through your software.