Other Random Posts!

16 Comments

  1. I just came across this now, I installed a plugin called BulletProof security for wordpress. It seems to have halted some attacks as have been a victim from these freaks lately…
    Really sucks

  2. I’m seconding that first advice piece about your password. Seriously, your phone number as a password? Your last name? Pathetic. I got hammered by a ton of emails from eBay the other day because someone hacked my pathetic password that I’d never bothered to change (for the record, it was ‘gooood.’ Yeah, I know. It’s lame.)
    Now, though? My password’s 32 characters long, with four letters and one symbol. Take that, hackers!

  3. John, do you know how to run queries against the database? If so, I would try these two:

    SELECT * FROM wp_usermeta where meta_value like ‘%administrator%’;
    SELECT * FROM wp_usermeta where meta_value like ‘%script%’;

    If you changed the default table prefix when you installed WordPress (usually done if you want to install more than one WordPress into the same database), then you will need to change wp_usermeta to whatever that is. The first query will show you how many accounts there are with administrator privileges… you can see what the usernames are for each account by matching up the user_id fields with the ID field in the wp-users table. The second query will show you if any of the display names for your users contain suspicious code, from having a tag embedded in them.

    Also, look inside WP’s index.php. See if any extra code has been added to it (download a fresh copy and compare the two).

    If you don’t find anything with either of those, then the next place I would look would be for files that were dropped on the server as backdoors. Unfortunately, those can be very hard to track down.

  4. Thanks Michael! I just did the auto-upgrade function and yes, I’ve been dealing with this for weeks. I keep finding the code and deleting it, and I can’t figure out how they are getting into the site considering everything else I’ve done.

    I did go into the Google Webmaster Tools and already request that they not de-index me, though if it reoccurs and I don’t catch it quickly enough when they check again they’ll likely do it. So I’m pretty nervous about it.

    This kind of thing really sucks for someone in my position. I’m just good enough to hack some PHP and operate the blog on a day to day basis, but not good enough to deal with emergency situations like database backups and restores, etc.

    GRRR!!!

    John

  5. John, when you upgraded, did you do complete wipe and resintalls? Or did you just upgrade the files? It’s possible that the hackers got in while you had an earlier version installed (afaik everything up to and including WP 2.8.4 was vulnerable), and it just went undetected (might not even have been exploited) until recently. If this is the case then just upgrading won’t help. I wrote up a piece a while ago on how to completely clean your WP install:

    http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/

    but even if you do that, with some exploits you need to be careful because they might have left a back door in the database itself.

    Sorry you got hacked, I know it sucks. Been through it a few times. One thing I would suggest for after it’s cleaned… you can probably cut the ban time from Google (or possibly head it off altogether, since you are still fully indexed as of right now) by doing a reinclusion request through the Google Webmaster Tools utility. You would have to sign up and register your site if you haven’t already, but it’s relatively painless to do.

    Good luck. :)

  6. I don’t know how they did it. The DEFCON keeps the server itself hardened, but if you have a weakness in the WordPress stuff they can’t protect against that. This is why doing all of these things is very important.

    I suspected it was a problem with the permissions I had on a couple of directories at first. I used WP Security Scan to correct those. Then it happened again! So I just changed my passwords for WordPress and even for my FTP.

    I’ll be keeping a very close eye on it for a while, and probably also get Jad (our Woopra server magician) to take a look at it too. If I determine what is going on I’ll update everyone so that you can take preventative measures.

    John P.

  7. If the Pentagon can’t keep hackers and troublemakers off of their servers and setups, how can we? I remember hearing breaches at various places such as the Pentagon, and so on.

    Not good at all.

  8. I had major problems during November and lost 10 WordPress sites. Yes, I keep them updated but they managed to get into my databases and eventually infected all my accounts on one server. it was a nightmare. I had backups but it seems that the infection was there for at least a month as all of my backups were infected also. Had to nuke my account and rebuild! Thanks for the tips. i will definitely add them to my arsenal.

  9. Thirty days??? Because of some bastard spammer?? Damn!!! That royally sucks….

    Now I gotta go back and read the rest of the post – that part right there just RILED me UP!!!

Comments are closed.