WordPress security

31
blogVAULT http://blogvault.net

description

An introduction to WordPress Security

Transcript of WordPress security

Page 1: WordPress security

blogVAULT

http://blogvault.net

Page 2: WordPress security

blogVAULT

Akshat ChoudharyFounder, blogVault

WordPress Security

Page 3: WordPress security

blogVAULT

Sites get Hacked!

Why?

Page 4: WordPress security

blogVAULT

Fun and Profit

Why will some one hack a Site?

Page 5: WordPress security

blogVAULT

Fun: Because they can

Page 6: WordPress security

blogVAULT

Profit: To make money

SEOAffiliate ScamRedirect to a different sitePolitical defacementUse host for hacks

Page 7: WordPress security

blogVAULT

Vulnerabilities!

How?

Page 8: WordPress security

blogVAULT

Wordpress CorePluginsThemes

Where?

Page 9: WordPress security

blogVAULT

How do I know if I have been hacked?

Page 10: WordPress security

blogVAULT

Browser warning

Page 11: WordPress security

blogVAULT

Google Search Warning

Page 12: WordPress security

blogVAULT

Sucuri SiteCheck - Free Tool

Page 13: WordPress security

blogVAULT

Inspect Files

htaccessJavascript FilesUnknown PHP filesExisting PHP files

Page 14: WordPress security

blogVAULT

What to do when my site gets hacked?

Page 15: WordPress security

blogVAULT

Most reliable method

Recover from Backup

Page 16: WordPress security

blogVAULT

Not foolproof, costs money

Use Sucuri

Page 17: WordPress security

blogVAULT

Difficult Job. Don't take lightly.

Talk to an expert

Page 18: WordPress security

blogVAULT

Change Password

Page 19: WordPress security

blogVAULT

Removes existing sessions.

Change Authentication keys

Page 20: WordPress security

blogVAULT

Prevention is better than Cure

Page 21: WordPress security

blogVAULT

Update Wordpress / Plugins / Themes

Page 22: WordPress security

blogVAULT

Prevent SQL Injection attacks

Change Database Prefix

Page 23: WordPress security

blogVAULT

define('DISALLOW_FILE_EDIT', true);

Disable File Editor

Page 24: WordPress security

blogVAULT

Make Folders / Files Readonly

Page 25: WordPress security

blogVAULT

AddHandler cgi-script .php .pl .py .jsp .asp .htm .shtml .sh .cg

i

Prevent File Execution

Page 26: WordPress security

blogVAULT

Use SSL / Google Authenticator

Page 27: WordPress security

blogVAULT

Set Authentication Keysdefine('AUTH_KEY', 'put your unique phrase here');define('SECURE_AUTH_KEY', 'put your unique phrase here');define('LOGGED_IN_KEY', 'put your unique phrase here');define('NONCE_KEY', 'put your unique phrase here');define('AUTH_SALT', 'put your unique phrase here');define('SECURE_AUTH_SALT', 'put your unique phrase here');define('LOGGED_IN_SALT', 'put your unique phrase here');define('NONCE_SALT', 'put your unique phrase here');

Page 28: WordPress security

blogVAULT

remove admin user / hide wordpress version / ...

Security by Obscurity

Page 29: WordPress security

blogVAULT

e.g. use blogVAULT

Automatic Backups

Page 30: WordPress security

blogVAULT

What makes a good backup solution?

Complete - Database + FilesOffsite - Local backup is as good as noneRegular BackupHistory of backupTest the RestoreSecure Backup

Page 31: WordPress security

blogVAULT

Thank you

http://blogvault.net

We are Hiring!