My App Site Hacked by TurkHackTeam

Discussion in 'Technical Discussion' started by Phill Mason, Nov 30, 2015.

  1. Phill Mason

    Phill Mason Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    880
    Likes Received:
    721
    Got into the office today only to be greeted by a website hack - bugger.

    Do we have any Wordpress experts in the house who could offer some assistance? I've contacted my Host (Hostnine) but this has happened in the past and they're pretty rubbish at providing any help, so thought I'd reach out to the community to see if anyone has been through this before.

    I've still got access to the login, so I don't think it's as bad as the one I had experienced in the past, as that one, I was totally locked out of my site, so I'm hopeful this will be an easier fix.

    Here's a screenshot:

    Screen Shot 2015-11-30 at 10.53.54.png
     
  2. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Dem... hackers just don't do anything productive with their time :mad: They should be hacking Banks not WP sites.
    - When you log into your WP Dashboard, do you see the Dashboard?
    - Have you changed your password?
    - Have you created another admin account as backup?
     
    Phill Mason likes this.
  3. darone

    darone Boxer

    Joined:
    Sep 25, 2015
    Messages:
    51
    Likes Received:
    20
    it might be your wordpress is not being updated or mysql and admin account is still default account. i thinks it's time to update your wordpress.
     
    eyal and Phill Mason like this.
  4. Phill Mason

    Phill Mason Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    880
    Likes Received:
    721
    @darone thanks mate, the website auto updates and nothing is default as I've been down this road before. Have several security plugins in place, but still, the little bastards get in.

    @sysads Yes I can see the dashboard, but haven't changed anything yet, was waiting for some feedback as to the best practices before changing anything.
     
  5. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    - OK if you can see the Dashboard, what happens when you preview the website?
    - If the preview displays that hack error, then try and switch the theme to another theme as temporary and see what happens
     
    Phill Mason likes this.
  6. netkomm

    netkomm Avid Boxer

    Joined:
    Nov 23, 2015
    Messages:
    274
    Likes Received:
    143
    the default wordpress installation is very unsafe - even the latest versions. You might want to look into the plugin "All In One WP Security" (or similar)
     
    Last edited: Nov 30, 2015
    Phill Mason likes this.
  7. netkomm

    netkomm Avid Boxer

    Joined:
    Nov 23, 2015
    Messages:
    274
    Likes Received:
    143
    even if you can access your site, it's preferrable to re-do a clean install of the wordpress site (if that's the only hacked area). The reason is that you don't know if they installed anything that provides them access to your blog making all your efforts vain.

    another plugins you want to install is "UpdraftPlus "- Backup/Restore (to automate backup to S3/Dropbox/etc/
     
    Phill Mason likes this.
  8. netkomm

    netkomm Avid Boxer

    Joined:
    Nov 23, 2015
    Messages:
    274
    Likes Received:
    143
    make sure to change your MySQL user / password as they might have access to it (also from remote)
     
    Phill Mason likes this.
  9. Phill Mason

    Phill Mason Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    880
    Likes Received:
    721
    Great advice from everyone, thanks guys.
    I will try all the above and see how things pan out, cheers.

    @sysads I'll try that to see, thanks.

    @netkomm I currently have iThemes Security, Updraft and Wordfence Security plugins installed, so they haven't stopped the hack, so an alternative is required I reckon. I'll check out 'All In One WP Security' and follow your steps, if I don't get lost :)
     
  10. Kevin W

    Kevin W Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    368
    Likes Received:
    487
    @Phill Mason, so sorry to hear that :(

    Checkout iThemes security - You can mask wp-admin ( changes the URL to something impossible to guess ) so it's not so open to brute force attacks - You can also shutdown the whole admin system so it's locked out during periods where you're unlikely to be doing stuffs ( IE 11pm-8am ).
    You should be able to find your hashed out password in the DB and replace it in there also - be sure to take a backup before you do anything just incase. Also see if your host can roll back the files and DB to a couple of days ago and secure everything up from the last clean working copy.
    Good luck man.
     
    Phill Mason likes this.
  11. darren

    darren Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    134
    Likes Received:
    58
    Phill Mason and netkomm like this.
  12. Andy

    Andy Miniboss Boxer

    Joined:
    Sep 24, 2015
    Messages:
    2,152
    Likes Received:
    1,546
    Unless you hire good security expert to do a full analysis and remediation you should completely rebuild the site from scratch. Meaning completely reinstall Wordpress, lock it down and carefully restore the content. If you try to "fix" the issue they will keep getting in.
     
    dmmcmah, Phill Mason and Jamie like this.
  13. Phill Mason

    Phill Mason Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    880
    Likes Received:
    721
    @Kevin W @darren @Andy
    Thanks for all the tips guys, very much appreciated.

    @Kevin W I love the look of your website, great layout for apps. Is it bespoke, or a particular template?
     
    Kevin W and Jamie like this.
  14. oldchanged

    oldchanged Guest

    Joined:
    Sep 17, 2015
    Messages:
    36
    Likes Received:
    11
    Expert Here :D

    What kind of Wordpress Theme You use? Something from Themeforest?
     
    Phill Mason likes this.
  15. Phill Mason

    Phill Mason Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    880
    Likes Received:
    721
    Hey @Elman I've been using the WP 2015 template.
     
  16. sysads

    sysads Serious Boxer

    Joined:
    Oct 8, 2015
    Messages:
    885
    Likes Received:
    353
    Kevin's template is in themeforest.

    Avoid trying to repair the site if its hacked. Just export your contents, delete the old theme, install a new one and import the content back. Change the admin password, ensure no other account had been created.

    All this should take less than an 1 hr to complete and you now have a new shinny website :D
     
    Phill Mason and darren like this.
  17. oldchanged

    oldchanged Guest

    Joined:
    Sep 17, 2015
    Messages:
    36
    Likes Received:
    11
    You mean the default Themes which come with Wp? Well, their not "bad", but because their default and used by a lot of people, hackers always try to find some loopholes in them. I would suggest some of the premium themes from themeforest ( http://themeforest.net/popular_item/by_category?category=wordpress ) . Most of them are really easy to install and have some great features. With a little bit of wp knowledge you can create a great website, by drag and dropping with the Visual Composer. Something like BuildBox for Websites :D

    Few Recommendations for security:

    - i have a few sites on hostnine, enable email notifications because they sometimes open up a ticket about malware on the site (which can lead to hacking if ignored)
    -rename the wordpress table prefix, default it is wp
    - never have a admin named user. For first installation you can use admin, but then create a separate account and delete admin
    - some of those security plugins you already use
    - hide login area (so that wp is not accessible over wp-login.php)
    - protect upload folders

    About hacked website:

    -do a fresh install
    -if you don't have to much content, redo it. Sometimes hackers hide code in the database like a backdoor (or even on the server).

    There is a lot of good advice over the internet, but I would really suggest to start with a premium theme and a fresh wordpress install. And of course updating them on a regular base.

    Hope that helps,if you have a specific question, feel free to ask

    cheers
     
  18. Jamie

    Jamie Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    382
    Likes Received:
    273
    I have considered using a theme from http://www.elegantthemes.com/
    I have yet to get going with my company's site, so the information in this thread is really helping me learn how to protect my site once it goes up. Thanks to those in the community who have contributed to the thread here. Sorry that this happened to you Phil
     
    Phill Mason likes this.
  19. Kevin W

    Kevin W Avid Boxer

    Joined:
    Sep 25, 2015
    Messages:
    368
    Likes Received:
    487
    Phill Mason likes this.
  20. Phill Mason

    Phill Mason Serious Boxer

    Joined:
    Sep 25, 2015
    Messages:
    880
    Likes Received:
    721
    Thanks for the super checklist @Elman, very much appreciated. I have a backup from a few months back with 90% of the pages and posts in it, so I think I'm going to hire someone to set it all up for me as I haven't got the time at the mo, but plan to implement all the great tips in this thread. Many thanks BB community, feeling the love :)
     
    Jamie likes this.

Share This Page