| | #1 |
| Warrior Member Join Date: 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
This is the second time this year my wordpress sites have been hacked. I am looking for some information on what this hack is and some suggestions on preventing this stuff in the future. The hack put code into a lot of pages on most of my hosted sites. The code started with "<?php $_8b7b=" and continued with a bunch of encrypted code. I found files in each website directory with names similar to period_ginny.php environment_miguel.php One htaccess file that I looked at had this at the top of it Code: <IfModule mod_rewrite.c>
RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} .*(msn|live|altavista|excite|ask|aol|google|mail|bing|yahoo).*$ [NC]
RewriteRule .* <SWEEPSTAKES SITE - COULD NOT ADD TO POST> [R,L]
</IfModule> I will again go through and change all passwords (which I did before), and follow all the suggestions that my host has given me. Any suggestions from you all? Anyone know what this hack is doing? If I should post in another section of this forum, please let me know. Thanks in advance. |
| |
| | #2 |
| Founder at Firstsales.io War Room Member Join Date: 2010 Location: Los Angeles
Posts: 547
Thanks: 57
Thanked 88 Times in 76 Posts
|
You Should Use one of the Product I recently launched to protect wordpress site. I am not advertising my product but since you wanted a solution, I am providing you one. Checkout my signautre. We have taken care of some major issues and provided 4-Way Protection in that plugin.
|
| | |
| |
| | #3 |
| Advanced Warrior Join Date: 2007 Location: Hong Kong.
Posts: 838
Thanks: 3
Thanked 211 Times in 184 Posts
|
Strengthening a WordPress site against hackers is not just about focusing on WordPress - you need to have a security mindset towards everything from your machine through your FTP activities and WordPress itself. The second part of this article sets out some things you should think about that will help to protect your site in future: How to Fix a Hacked WordPress Site | WealthyDragon Cheers, Martin. |
| WealthyDragon - Earning My Living Online | |
| |
| The Following User Says Thank You to Abledragon For This Useful Post: |
| | #4 |
| Live The Life You Love War Room Member Join Date: 2011 Location: USA
Posts: 226
Thanks: 83
Thanked 36 Times in 34 Posts
|
Sorry to hear this! My tips are super strong passwords. Keep Wordpress constantly up-to-date! Google Wordpress Security for the Top 10 Tips--they're everywhere. Just be careful not to block the /wp-content folder in robots.txt as some recommend, or else you will disappear from search!
|
| www.CoreZero.com - Social Media Marketing Strategy & Consulting - Custom Wordpress Website Design & Blogs - Wordpress Speed Demon? Click Here! - Live the life you love... now! | |
| |
| | #5 |
| Marketing with an accent. War Room Member Join Date: 2010 Location: Switzerland
Posts: 556
Thanks: 103
Thanked 179 Times in 135 Posts
|
Hi there, google the "timthumb" hack, might be it... you^ll find a lot of information on how to fix it. Cheers, Rob Konrad |
| ================================================== === This blog is awesome: http://www.robkonrad.com/blog. Read it. ================================================== === | |
| |
| | #6 |
| Active Warrior Join Date: 2011
Posts: 58
Thanks: 5
Thanked 9 Times in 9 Posts
|
thank you very much
|
| |
| | #7 |
| Warrior Member Join Date: 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
thanks for everyone's help. @RobKonrad, it looks like that is what it was. Feel bad for people that have a lot more sites than I do. Not sure how they keep up with all the hackers
|
| |
| | #8 |
| Active Warrior Join Date: 2009 Location: Texas
Posts: 61
Thanks: 6
Thanked 12 Times in 10 Posts
|
Most of the sites I have seen hacked were accessed through vulnerabilities in the host setup, likely via access to the cpanel or the apache web files. The malicious entries in your .htaccess seem to indicate that is what happened to you.
|
|
Cassidy One doesn't discover new lands without consenting to lose sight of the shore for a very long time. | |
| |
| | #9 |
| Active Warrior Join Date: 2011 Location: Jensen Beach, FL
Posts: 49
Thanks: 2
Thanked 9 Times in 8 Posts
|
I recently installed a good plugin called Better WP Security. Once installed it lists all the places your site may be vulnerable in red. Then with a click of a button it will fix those vulnerabilities and show them in green.
|
| |
| | #10 |
| Give To Charity War Room Member Join Date: 2007 Location: California
Posts: 999
Thanks: 66
Thanked 152 Times in 116 Posts
|
I've had my run with this kind of hack. Basically anyone coming from the search engines will get redirected to the hacker's designated site. If you type the URL of your site directly, it loads just fine since none of the search engines are the referrer. This is a problem of the host setup than wordpress itself. Are you hosted on windows? This is more prevalent on windows platforms as well. |
| |
| | #11 |
| Warrior Member Join Date: 2011 Location: johnsoutside AT gmail
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
|
MOST of these hackers get in through plugins and themes that you've added to your wordpress. They write the themes with these hacks already built-in. Install TAC - its a free plugin available on wordpress.org and it will check all of your themes for vulnerabilities. Install it on all wordpress sites. |
| |
|
| Bookmarks |
| Tags |
| hacked, information, sites, wordpress |
| |