A Must Read: iFrame Attack the Sites

What will you feel after you come back from a won­der­ful birth­day din­ner and find out your sites are gone? Sure, you’ll not feel good. Guess what — it just hap­pened to me! For­tu­nately, I send an emer­gency email imme­di­ately to my Host­ing Sup­port Desk, within less than 10 min­utes, the issues got fixed and prob­lems solved.

Below is the reply I got from the host­ing help angle, which I would like to share with you, a MUST read!

Hello Ann,

I’m very sorry for the sit­u­a­tion that you have encoun­tered on your sites. The issue you have expe­ri­enced is what is called an ‘iframe attack.’ This attack works by plac­ing an unde­sired page within your website’s root direc­tory, which then over­takes your exist­ing home­page. This can cause both a “500 Inter­nal Server Error” or just sim­ply a blank page.

This issue is per­pe­trated through an unusual vec­tor that many times is over­looked when it comes to com­pro­mised web­sites. The pri­mary vec­tor is through the client’s com­puter, or your com­puter. How this works, is you may have, unex­pect­edly or unknow­ingly, vis­ited a site that was infected by mal­ware — spy­ware, viruses, adware or oth­er­wise. This mali­cious soft­ware is then installed with­out your per­mis­sion, and then pro­ceeds to col­lect infor­ma­tion regard­ing cer­tain things. In this par­tic­u­lar instance the fil­tered infor­ma­tion is your FTP details, user name and pass­word. Using this stolen infor­ma­tion they then upload the file directly to your site, caus­ing this issue. This is why some­time when you delete that file, it sim­ply comes back.

To resolve this issue, you must do the following:

Imme­di­ately install and scan with virus and spy­ware removal software.

Change ALL pass­words, includ­ing email and data­base passwords.

Remove the file.

To pre­vent this in the future, unfor­tu­nately the best way is to sport best prac­tices on the inter­net. Do not open emails with attach­ments that you do not rec­og­nize. Keep updated secu­rity soft­ware — virus and spy­ware removal tools, at all times. Make sure your oper­at­ing sys­tem is up to date at all times. Be care­ful of the links that you click from friends and fam­ily. Doing this, you will save your­self from many issues, beyond sim­ply the prob­lem above.

There is another form of iframe attack, that has been cir­cling the inter­net as well, that is not so eas­ily fixed. This attack will mod­ify files found within your web direc­tory directly using exploits that do not require any issues to exist on your per­sonal com­puter at home. These exploits are also not caused by inse­cu­ri­ties in the server.

In these cases, the sit­u­a­tion is caused by inse­cu­rity on run­ning scripts such as Joomla or Word­press. These scripts can be exploited to cre­ate or edit index pages or .htac­cess files cre­at­ing this issue. Most of the time, these exploits are found in exter­nal, user cre­ated con­tent like Themes and Plu­g­ins that are not devel­oped accord­ing to the stan­dards found by the pri­mary devel­op­ers and com­mu­nity of those appli­ca­tions. When this is the case, it is best to dis­able all plu­g­ins, and either upgrade or restore your script instal­la­tion from backup.

While we under­stand this is frus­trat­ing, we appre­ci­ate your patience while we work to help you through this issue. If you need assis­tance in remov­ing files or need advice or rec­om­men­da­tions on this issue, please let us know and we will be more than happy to assist you in the future.

Thank you,
GVO — Abhi­lash,
Server Admin­is­tra­tor,
GVO Support.

Related Posts

Make Money Online

Comments

10 Responses to “A Must Read: iFrame Attack the Sites”
  1. Alan KNo Gravatar says:

    Hello Ann

    If you changed the pass­word for WHM, it will also affect your pri­mary domain whichever one that is (I guess it maybe this site). In chang­ing that pass­word, you will have also changed the FTP, SQL and Cpanel pass­word for that pri­mary domain.

    Just go into your FTP pro­gram and change the pass­word within the set­tings for the domain and you should be able to access again.

    I have 17 domains hosted on Kiosk and went through and changed the pass­word for each and every one. How­ever, doing so did not pre­vent the sec­ond attack and I had to go through once again and delete the rogue index files.

    I do even­tu­ally get responses to my tick­ets but recently from two peo­ple. One is obvi­ously the Indian sup­port desk and the other from some­body called Jose Cyr­iac. How­ever, very lit­tle infor­ma­tion from either apart from stan­dard responses. Then we get emails from Joel say­ing that the prob­lem is Word­press related, which it is not.

    I have now found a way to change the login pass­word to the Kiosk mem­ber area which I am almost cer­tain is the entry point for these hackers.

    Login into your mem­ber area as usual, go to “account man­ager” and then “edit your pro­file”. There is an option in there that allows a pass­word change. You can only use let­ters or num­bers but at least you can change it to some­thing different.

    Once changed, you will get an auto­mated email from Kiosk with you new login details. Only time will tell if that stops any fur­ther attacks.

    Con­sid­er­ing what we pay each month for so called pre­mium host­ing, I would have expected a lot bet­ter than this.

    Alan

  2. Alan KNo Gravatar says:

    Hello Ann

    If you changed the pass­word for WHM, it will also affect your pri­mary domain whichever one that is (I guess it maybe this site). In chang­ing that pass­word, you will have also changed the FTP, SQL and Cpanel pass­word for that pri­mary domain.

    Just go into your FTP pro­gram and change the pass­word within the set­tings for the domain and you should be able to access again.

    I have 17 domains hosted on Kiosk and went through and changed the pass­word for each and every one. How­ever, doing so did not pre­vent the sec­ond attack and I had to go through once again and delete the rogue index files.

    I do even­tu­ally get responses to my tick­ets but recently from two peo­ple. One is obvi­ously the Indian sup­port desk and the other from some­body called Jose Cyr­iac. How­ever, very lit­tle infor­ma­tion from either apart from stan­dard responses. Then we get emails from Joel say­ing that the prob­lem is Word­press related, which it is not.

    I have now found a way to change the login pass­word to the Kiosk mem­ber area which I am almost cer­tain is the entry point for these hackers.

    Login into your mem­ber area as usual, go to “account man­ager” and then “edit your pro­file”. There is an option in there that allows a pass­word change. You can only use let­ters or num­bers but at least you can change it to some­thing different.

    Once changed, you will get an auto­mated email from Kiosk with you new login details.

    Only time will tell if that stops any fur­ther attacks. Con­sid­er­ing what we pay each month for so called pre­mium host­ing, I would have expected a lot bet­ter than this.

    Alan

  3. Alan KNo Gravatar says:

    That email is a car­bon copy of the one that I had when I noticed the prob­lem on my sites hosted on Kiosk servers.

    How­ever, what Kiosk sup­port are point­ing to as the prob­lem is not the case as far as I can see. I have 17 domains hosted on Kiosk, two of which are not even being used, as in the domain name is sim­ply parked on the server. Even so, each and every domain, some of which are not Word­press, still had an index.html and index.php con­tain­ing the iframe code put into the root directory.

    I have since dis­cov­ered a secu­rity loop­hole which allows any­body with the right pass­word to gain access to the WHM (web­host man­ager) and then sim­ple access to the cpan­els of each and every domain. So, even though I have changed pass­words for both the WHM and every domain cpanel, it will not do too much good since the hack­ers can still gain easy access to WHM and then the cpan­els for each domain. Unfor­tu­nately, this loop­hole can only be put right by Kiosk, which I have already pointed out to them and await­ing a response.

    Although I won’t go into details here, but suf­fice to say that the prob­lem lies in how you login to your WHM

    Alan

    • Ann LiuNo Gravatar says:

      hi Alan,

      Thank you for the valu­able infor­ma­tion, that’s sound so scare! When was your sites got hacked? no won­der they reply my inquire that fast … could you please keep us updated about that secu­rity loop­hole issues once you got responses and answers from kiosk?

      I think it is impor­tant for every­body to learn and to know it even though they are not kiosk’s customer.

      Thank you.
      Ann

      • Alan KNo Gravatar says:

        Hello Ann

        I think we must have a bit of a time dif­fer­ence between us judg­ing by the post time-stamps. I am in the UK BTW.

        Accord­ing to the date stamps on the new files that were added to the root of each domain and sub domain, they were all added at 3.15 on 12 Novem­ber 2009 which I would guess is Texas time since that is where Kiosk/GVO are based.

        For­tu­nately, I tend to check my sites quite often and was get­ting an http 500 error from one site. On check­ing , I then found the rogue index files in the root of that domain and all the oth­ers as well. Had it all sorted within two hours of the files being placed on the domains.

        I expe­ri­enced some­thing sim­i­lar back in Sep­tem­ber as well with a line of code being appended to index.php on some domains although that ended up just throw­ing up errors on the bot­tom of the screen.

        What I do know is that this time around, the issue is noth­ing to do with word­press despite what Kiosk and Joel are say­ing. I am con­vinced that access was gained through WHM. There is no other way that the hack­ers or any­body else for that mat­ter would have been able to find every one of my domains and sub domains, some of which have noth­ing on them.

        I have still heard noth­ing back from Kiosk sup­port regard­ing my obser­va­tions. If you are inter­ested, I can email you details about this secu­rity loop­hole, assum­ing that you are on a Kiosk host­ing plan that allows WHM access. I am on their Tita­nium plan.

        Lets just hope they do some­thing about this oth­er­wise I for one will be look­ing for another host.

        Will let you know when and if I get any fur­ther info

        Alan

        • Ann LiuNo Gravatar says:

          Alan,

          We have 6 hours dif­fer­ent — I am ahead you 6 hours (Thai­land). My sites got exactly the same sort of attack & expe­ri­ence as yours, I also thought about the access was gained through WHM. Don’t know how many sites out there has got attacked??

          Can you send me the email that you wrote to the Kiosk in regard­ing to the secu­rity loop­hole? Yes, I am also on their Tita­nium plan. So please do let me know the fur­ther process, if the prob­lems keep com­ing back and can’t get fixed, i will also look­ing for another host … there will no busi­ness if the attack is non-stop espe­cially when your busi­ness is online.

          Thank you
          Ann

          • Alan KNo Gravatar says:

            Hello Ann

            Seems that all sites got hit again yes­ter­day evening (UK time). Had to go through the same process of delet­ing rogue index files etc. You had the same prob­lem as well.

            The only good thing about this sec­ond attack is that it more or less proves my belief that access is being gained through Kiosk mem­ber login and directly into WHM. I changed all of my pass­words after the first attack but the only one I can­not change is the mem­ber login password.

            Your con­tact form is not work­ing on this site and I can­not find an email address for you. Could you drop me an email to the address that you should be able to see with my com­ments and I will get back to you that way.

            I am get­ting para­noid now — con­tin­u­ally mon­i­tor­ing my sites through FTP wait­ing for the next attack.
            I am actively look­ing for another host at present although that is eas­ier said than done.

            Alan

  4. Ann LiuNo Gravatar says:

    Hi Alan,

    Yes, got attacked again .. it is hardly to believe there no help desk in the sup­port room when I login, only cus­tomers there, so we have to help each other to got the prob­lems fixed (from time being), they also not feed­back (answer the ticket) regard­ing to the issues this time … any­way, I do the same things as you did, unfor­tu­nately, after changed the pw, I can’t login to FTP, the error mes­sage said it doesn’t com­mu­ni­cate with the server !!

    The prob­lem of con­tact form fixed. Yes, I agreed with you and we should do some­thing toward to the host­ing .. Thank you.

    Ann

  5. Alan KNo Gravatar says:

    Hi Ann

    If you changed the pass­word for WHM, it will also affect your pri­mary domain whichever one that is (I guess it maybe this site). In chang­ing that pass­word, you will have also changed the FTP, SQL and Cpanel pass­word for that pri­mary domain.

    Just go into your FTP pro­gram and change the pass­word within the set­tings for the domain and you should be able to access again.

    I have 17 domains hosted on Kiosk and went through and changed the pass­word for each and every one. How­ever, doing so did not pre­vent the sec­ond attack and I had to go through once again and delete the rogue index files.

    I do even­tu­ally get responses to my tick­ets but recently from two peo­ple. One is obvi­ously the Indian sup­port desk and the other from some­body called Jose Cyr­iac. How­ever, very lit­tle infor­ma­tion from either apart from stan­dard responses. Then we get emails from Joel say­ing that the prob­lem is Word­press related, which it is not.

    I have now found a way to change the login pass­word to the Kiosk mem­ber area which I am almost cer­tain is the entry point for these hackers.

    Login into your mem­ber area as usual, go to “account man­ager” and then “edit your pro­file”. There is an option in there that allows a pass­word change. You can only use let­ters or num­bers but at least you can change it to some­thing dif­fer­ent. Once changed, you will get an auto­mated email from Kiosk with you new login details.

    Only time will tell if that stops any fur­ther attacks.

    Con­sid­er­ing what we pay each month for so called pre­mium host­ing, I would have expected a lot bet­ter than this.

    Alan K

  6. Ann LiuNo Gravatar says:

    hi Alan,

    Alright, let’s hope this can stop the fur­ther attack. Thank you for your help and I did what you said .. :-)

    Ann

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!