55
@SITELOCK @SITELOCK WordPress Security for Beginners Simple Steps to Build Your Master Plan WordCamp Louisville 2016

WordPress Security for Beginners

Embed Size (px)

Citation preview

Page 1: WordPress Security for Beginners

@ S I T E L O C K@ S I T E L O C K

WordPress Security

for BeginnersSimple Steps to Bui ld Your Master

P lan

Wo r d C a m p L o u i s v i l l e 2 0 1 6

Page 2: WordPress Security for Beginners

@ S I T E L O C K

Did You Know?• There are 3.26 bi l l ion internet users as of

December 2015; that’s over 40% of the world population.• Only 44% of web traffic is from humans; 56%

of web traffic is from bots, impersonators, hacking tools, scrapers and spammers.

Page 3: WordPress Security for Beginners

@ S I T E L O C K

What We’ll Cover Today• Why and How Websites Get Hacked• What We Al l Should Be Doing• Going Above and Beyond• After the Hack

Page 4: WordPress Security for Beginners

@ S I T E L O C K

Adam W. Warner•WordPress Evangel is t at S i teLock•Co-Founder at FooPlug ins•Discovered WordPress in 2005•WordPress Community Addict• Fan of Fracta ls• Lover of Meatbal ls• Proud Dad!

Page 5: WordPress Security for Beginners

@ S I T E L O C K

Hacking Techniques• Vulnerabi l i ty scanning• Server disruption• Monetary loss• Information leaks• Vandalism (defacement)

Page 6: WordPress Security for Beginners

@ S I T E L O C K

Why Websites Get Hacked• Drive-by-downloads• Redirections• System resources• Because they don’t l ike you

Page 7: WordPress Security for Beginners

@ S I T E L O C K

Why MY Site!?

Page 8: WordPress Security for Beginners

@ S I T E L O C K

Opportunity• I t ’s not you, it ’s them• Because it’s possible• Because we give them an opening

Page 9: WordPress Security for Beginners

@ S I T E L O C K

Automation• Most hacking attempts are automated

Page 10: WordPress Security for Beginners

@ S I T E L O C K

How Websites Get Hacked• 41% get hacked through vulnerabi l i t ies in

their hosting platform• 29% by means of an insecure theme• 22% via a vulnerable plugin• 8% because of weak passwords

Page 11: WordPress Security for Beginners

@ S I T E L O C K

Two Categories of Security

Page 12: WordPress Security for Beginners

@ S I T E L O C K

Access Controls

Page 13: WordPress Security for Beginners

@ S I T E L O C K

Software Vulnerabilities• Anywhere there is a system, there’s a

potential software vulnerabi l i ty waiting to be exploited

Page 14: WordPress Security for Beginners

@ S I T E L O C K

What Do Hacks Look Like?

Page 15: WordPress Security for Beginners

@ S I T E L O C K

Where Do You Start?• With yourself of course

Page 16: WordPress Security for Beginners

@ S I T E L O C K

Simple Steps for Everyone

Page 17: WordPress Security for Beginners

@ S I T E L O C K

Strong Passwords: Everywhere

Page 18: WordPress Security for Beginners

@ S I T E L O C K

Reusing Passwords

Page 19: WordPress Security for Beginners

@ S I T E L O C K

Even More About Passwords

Page 20: WordPress Security for Beginners

@ S I T E L O C K

Password Managers• LastPass• Dashlane• Roboform• TrueKey

Page 21: WordPress Security for Beginners

@ S I T E L O C K

Your Computer

Page 22: WordPress Security for Beginners

@ S I T E L O C K

Public NetworksUse a VPN. Please!

Page 23: WordPress Security for Beginners

@ S I T E L O C K

Don’t Change Core

Page 24: WordPress Security for Beginners

@ S I T E L O C K

Backup. Backup. Backup.

Page 25: WordPress Security for Beginners

@ S I T E L O C K

Update. Update. Update.

Page 26: WordPress Security for Beginners

@ S I T E L O C K

Remove Inactive Software

Page 27: WordPress Security for Beginners

@ S I T E L O C K

Install Software Only from Official Sources

Page 28: WordPress Security for Beginners

@ S I T E L O C K

Choose a Secure Host

https:/ /wordpress.org/hosting/

Page 29: WordPress Security for Beginners

@ S I T E L O C K

Latest Version of PHP

Page 30: WordPress Security for Beginners

@ S I T E L O C K

Admin Usernames and Nicenames

Page 31: WordPress Security for Beginners

@ S I T E L O C K

Security Plugins and Services

Page 32: WordPress Security for Beginners

@ S I T E L O C K

SSL

Page 33: WordPress Security for Beginners

@ S I T E L O C K

Kick It Up a Notch

Page 34: WordPress Security for Beginners

@ S I T E L O C K

Limit Login Attempts• Limit Login Attempts• Login Lockdown

Page 35: WordPress Security for Beginners

@ S I T E L O C K

2FA (Two-Factor Authentication)

Page 36: WordPress Security for Beginners

@ S I T E L O C K

Clef

Page 37: WordPress Security for Beginners

@ S I T E L O C K

File Permissions

Page 38: WordPress Security for Beginners

@ S I T E L O C K

Default Table Prefix

Page 39: WordPress Security for Beginners

@ S I T E L O C K

.htaccess and wp-config.php

Page 40: WordPress Security for Beginners

@ S I T E L O C K

Authentication Keys and Salts

Page 41: WordPress Security for Beginners

@ S I T E L O C K

Disable PHP Execution

Page 42: WordPress Security for Beginners

@ S I T E L O C K

Disable File Editing

Page 43: WordPress Security for Beginners

@ S I T E L O C K

Secure wp-config.php

Page 44: WordPress Security for Beginners

@ S I T E L O C K

Disable XML-RPC?

Page 45: WordPress Security for Beginners

@ S I T E L O C K

Learn More

https:/ /codex.wordpress.org/Hardening_WordPress

Page 46: WordPress Security for Beginners

@ S I T E L O C K

Install a Firewall

Page 47: WordPress Security for Beginners

@ S I T E L O C K

(CDN) Content Delivery Network

Page 48: WordPress Security for Beginners

@ S I T E L O C K

How to Detect a Hacked Site• Visit your site often• Search for your site• Unexplained spikes in traffic• Investigate customer/visitor reports• continued…

Page 49: WordPress Security for Beginners

@ S I T E L O C K

Detect a Hacked Site (con’t…)• Google Search Console (email alerts)• Remote scanner• Malware scanner• Source code scanner• Service that detects site changes

Page 50: WordPress Security for Beginners

@ S I T E L O C K

What To Do If You’re Hacked

Page 51: WordPress Security for Beginners

@ S I T E L O C K

Clean It Yourself

Page 52: WordPress Security for Beginners

@ S I T E L O C K

Use a Service• Security is their core business• Cleans files, databases, backdoors, etc.• Remove malware warnings• Remove from blackl ists• Helps services learn for the benefit of al l

Page 53: WordPress Security for Beginners

@ S I T E L O C K

What To Do After Cleanup• Change ALL passwords• Change WP secret keys and salts• Read this again: h t t p s : / /

c o d ex . w o rd p re s s . o rg / H a rd e n i n g _ Wo rd P re s s

Page 54: WordPress Security for Beginners

@ S I T E L O C K

Now What?

Page 55: WordPress Security for Beginners

@ S I T E L O C K

Thank You – Questions?• Fol low at:• @SiteLock• @wpmodder

• SlideShare• http://www.slideshare.net/wpprobusiness

• My Blog Posts:• http://wpdistrict.sitelock.com• http://adamwwarner.com