Dreamhost account HACKED!!! What do i do?!?!

Discussion in 'Security' started by abi, Nov 7, 2008.

  1. #1
    Hi all,

    I got an email this morning saying that my dreamhost account has been hacked!

    They say the cause is most likely a wordpress hack - because of an outdated version.

    Now, this may be true -- but they reported that the problem was in lots of my domains. Not just the domain with wordpress on it.

    This means i have to check like 30 websites with LOADs of PHP pages / SWF files etc.

    Does anyone know any software that can scan php files for code which could allow the hacker back onto my site. Doing this manually could take weeks!


    Thanks for any help.

    Abi.
     
    abi, Nov 7, 2008 IP
  2. gsv13

    gsv13 Well-Known Member

    Messages:
    2,773
    Likes Received:
    114
    Best Answers:
    0
    Trophy Points:
    130
    #2
    Contact the dreamhost support. It could be some phishing email.
     
    gsv13, Nov 7, 2008 IP
  3. abi

    abi Peon

    Messages:
    103
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No, i logged into my dreamhost account and it was a real support ticket -- so it was 100% them :(

    They gave me some advice on what to do --

    Track which files have been changed with ssh... Which i would NEVER be able to do - i had a look but its way above my skills.

    Remove unneeded files.

    They didnt actually say change ftp passwords / mysql passwords / or if my webmail was hacked -- but if the hacker could change any file and put new files on my host, i bet it's all messed up :(

    I'm thinking about just moving all my sites to hostgator.
     
    abi, Nov 7, 2008 IP
  4. bobchrist

    bobchrist Active Member

    Messages:
    4,102
    Likes Received:
    95
    Best Answers:
    0
    Trophy Points:
    88
    #4
    Did you have adequate backups and tried to find specific vulnerability that was exploited?
     
    bobchrist, Nov 7, 2008 IP
  5. Alex Brooks

    Alex Brooks Banned

    Messages:
    523
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Make sure you only run scripts which are don't have any exploits and are the most updated versions. Just google "vBulletin 3.1.3 exploit" on Google, if you can't find nothing, then theirs no public exploit for it.
     
    Alex Brooks, Nov 7, 2008 IP
  6. micksss

    micksss Notable Member

    Messages:
    4,427
    Likes Received:
    268
    Best Answers:
    1
    Trophy Points:
    285
    #6
    If you have a recent full backup you could ask dreamhost to implement it.
     
    micksss, Nov 7, 2008 IP
  7. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #7
    dreamhost is really a hacker's paradise.
    I was with them and my sites got hacked several times.
    Ask Deamhost to upload the backup they have and leave them.
     
    Abhik, Nov 7, 2008 IP
    wisdomtool likes this.
  8. jonathon

    jonathon Well-Known Member

    Messages:
    523
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    110
    #8
    dreamhost is not that safe for hosting business websites.
     
    jonathon, Nov 7, 2008 IP
  9. JackHeskett

    JackHeskett Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Get a backup from dreamhost and chose another host. You wont regret it.
     
    JackHeskett, Nov 8, 2008 IP
  10. abi

    abi Peon

    Messages:
    103
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    ah, but who offers the unlimited domains, the storage, the bandwidth of dreamhost.

    Yes, the downtime is a pain in the arse. But in the 2 years i've been with them, my accounts have never been hacked.


    Who do you use for a host JackHeskett???

    Maybe i could get a good host for my main sites.

    Cheers!
     
    abi, Nov 8, 2008 IP
  11. danger9918

    danger9918 Well-Known Member

    Messages:
    1,612
    Likes Received:
    55
    Best Answers:
    0
    Trophy Points:
    165
    #11
    It looks like it, I've been hearing a lot recently about sites hosted with them getting hacked.
     
    danger9918, Nov 8, 2008 IP
  12. newzone

    newzone Well-Known Member

    Messages:
    2,865
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    135
    Digital Goods:
    1
    #12
    outdated wordpress installations are the problem , the script itself, 30 min ago i saw a topic ( different forum ) related to the same issue "outdated wordpress hacked" but on yahoo hosting.
     
    newzone, Nov 8, 2008 IP
  13. UseShots

    UseShots Peon

    Messages:
    244
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Abi,

    You can scan your web sites with my Unmask Parasites tool. It is pretty good at detecting most common WordPress exploits. It also detects hidden links, iframes, scripts and redirects on non-WordPress sites.

    If it reveals any issues, you will know what you should be looking for to clean up your sites.

    Any way, read this article to minimize risk of successful hacker attacks against your WordPress blogs. http://codex.wordpress.org/Hardening_WordPress
    This article also suggests some security scanners.
     
    UseShots, Nov 13, 2008 IP
  14. SteveWh

    SteveWh Member

    Messages:
    74
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #14
    See my signature for an article (the 0705 "How to clean up" one) that shows how to use a cron job to get a list of all the files in a site. That's at least a start, since you can then search the list for weird names. That's a lot easier than navigating through the site by FTP or cPanel FileManager.

    You can also use the Linux tool called "grep" to search files for a particular string. You'd do that by cron job, too. If the UnmaskParasites tool reports weird links on your pages, those links or IP addresses would be the text to search for with grep.

    Whatever else you do, do upgrade WordPress right away. Very important.

    Since multiple sites were affected, even the non-WP ones, do a thorough virus/spyware scan on your PC to make sure you don't have a keylogger or FTP password-grabber.
     
    SteveWh, Nov 14, 2008 IP
  15. WeWatch

    WeWatch Active Member

    Messages:
    75
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    50
    #15
    abi,

    If you PM me, I'll scan your site and let you where the code is. You should, as suggested already, upgrade and keep upgrading your wordpress code.

    Sometimes changing hosting providers just delays the inevitable. We often talk with website owners who feel that free code should already be hack resistant. When their wordpress site gets hacked they want to change to something else. They do and then they find out their new code has been hacked as well for the same reason - they didn't keep it updated.

    Changing won't make you safe - good security practices will.

    Anyway, enough preaching. If you want, we'll scan your site and let you know what's needed. (no charge!)

    Thank you.
     
    WeWatch, Nov 15, 2008 IP
  16. zeromaster

    zeromaster Peon

    Messages:
    38
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #16
    As a rule of thumb using any free script you should always keep updated to latest version at all times as most updates were made specifically for exploits and the kiddie scripters go around looking for unupdated sites
     
    zeromaster, Dec 4, 2008 IP
  17. jtpratt

    jtpratt Well-Known Member

    Messages:
    170
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    123
    #17
    Sounds like you have a bad web host. Read my Wordpress Security Guide to learn how to find a good one, and how to lockdown your WP site with free tools and plugins.
     
    jtpratt, Sep 9, 2009 IP