secure from the start

17
Welcome "Want to keep your WordPress site safe from hackers? This session is for you" Kieran O'Shea Secure from the Start Secure from the Start Kieran O'Shea [email protected]@kieranoshea http://www.kieranoshea.com/

Upload: kieran-oshea

Post on 18-Dec-2014

482 views

Category:

Technology


0 download

DESCRIPTION

Want to keep your WordPress site safe from hackers? This session is for you. A security orientated talk covering; Risks and Pitfalls, WordPress configuration, Hosting considerations, Must have plugins & Additional config options

TRANSCRIPT

Page 1: Secure From The Start

Welcome

"Want to keep your WordPress site safe from hackers? This session is for you"

Kieran O'SheaSecure from the Start

Secure from the Start

Kieran O'Shea

[email protected] • @kieranoshea • http://www.kieranoshea.com/

Page 2: Secure From The Start

About me

Kieran O'SheaSecure from the Start

Day job in the finance industry

Open Source Work RouterTech

Firmware for home routers WordPress Plugins

Calendar

Page 3: Secure From The Start

Introduction

Kieran O'SheaSecure from the Start

Origin of this session Security home truths Attack Vectors & Advice Plugins Server config Something extra Questions

Page 4: Secure From The Start

Security Home Truths

Kieran O'SheaSecure from the Start

Insecure passwords cracked in seconds Average of 156 days before victims realise hacking has taken place 90% of all businesses have been hacking victims in the last 12 months More than 30,000 websites infected with malware

Page 5: Secure From The Start

Attack Vectors

Kieran O'SheaSecure from the Start

Passwords & Persistence External applications Rogue code

Page 6: Secure From The Start

Passwords

Kieran O'SheaSecure from the Start

Secure passwords

Avoid re-use between systems

Page 7: Secure From The Start

Passwords

Kieran O'SheaSecure from the Start

Risks of re-use

Is this your password?

Page 8: Secure From The Start

Passwords

Kieran O'SheaSecure from the Start

Secure password storage

Single, secure, master password

Page 9: Secure From The Start

External Applications

Kieran O'SheaSecure from the Start

Shared servers externalise risk Protect users from users

Don't chmod 777 Your host should run suPHP Watch home directory changes

Page 10: Secure From The Start

Rogue Code

Kieran O'SheaSecure from the Start

Does your theme footer look like this?

Page 11: Secure From The Start

Rogue Code

Kieran O'SheaSecure from the Start

Hackers & spammers team up

Page 12: Secure From The Start

Rogue Code

Kieran O'SheaSecure from the Start

It can get worse.... much worse

Page 13: Secure From The Start

Plugins

Kieran O'SheaSecure from the Start

Modifcations to files✔ "WordPress File Monitor Plus" (Scott Cariss)

Login attempts✔ "Limit Login Attempts" (Johan Eenfeldt)

Action logging✔ "Audit Trail" (John Godley)

Page 14: Secure From The Start

Server config

Kieran O'SheaSecure from the Start

Use fail2ban Block access at an IP level

# Define specific rules for the blog admin panel <Directory /home/kieran/public_html/wp-admin> Order Deny,Allow Deny from all Allow from 95.172.226.96/27 </Directory>

Page 15: Secure From The Start

Something extra

Kieran O'SheaSecure from the Start

Demos in this session powered by...

Page 16: Secure From The Start

Something extra

Kieran O'SheaSecure from the Start

Demos in this session powered by...

… the Raspberry Pi

Page 17: Secure From The Start

Questions?

Kieran O'SheaSecure from the Start

Kieran O'Shea • [email protected] @kieranoshea • http://www.kieranoshea.com/

Remember, WordCamp tweets archived here: https://wcuk.kieranoshea.com/tweets/