Securing Your WordPress Website

             Vladimir Lasky
         http://wpexpert.com.au/
         WordCamp Sydney 2012
                                   1
What’s New In Today’s Talk?

1.   The biggest security threats of 2012 and how
     to deal with them
2.   An updated list of essential WordPress
     hardening steps for EVERY site
3.   New WordPress management services that
     make your life easier


                                              2
Big Events in Internet Security This Year

1.   Yahoo, LinkedIn, eHarmony all experienced
     security incidents that resulted in users’
     passwords/hashes being published
2.   Lots of exploits targeting code using
     vulnerable PHP libraries including TimThumb
     and Uploadify
3.   Wi-Fi Protected Setup (WPS) vulnerability in
     Wireless Routers revealed in December 2011
                                             3
4
5
Lessons From Password Disclosure Incidents

1.   You cannot assume any website will properly secure their
     databases.
2.   Plenty of computational power exists for brute-force
     password cracking of password hashes – spare no effort
     to prevent these from being leaked.
3.   People who reuse the same password across different
     sites are asking to get “p0wned” and become targets for
     identity theft.
4.   Having a unique, secure password for every Internet
     account is mandatory.                                  6
Wi-Fi Protected Setup
Wi-




                        7
Lessons from WPS Vulnerability

1.   The WPS exploit provides a backdoor to
     wireless routers secured with WPA2
2.   Technologies that overcome security
     burdens often introduce security holes
3.   Disable WPS in every Wi-Fi Router that you
     control. In some cases, this will require a
     firmware upgrade or possibly even replacing
     the router                                    8
Example PHP Exploit Attempt




                              9
Lessons from PHP Exploits

1.   Many programmers are lazy or ignorant of
     proper data validation practices
2.   Obtaining plugins and themes from official
     sources reduces risk, but does not guaratee
     security
3.   Application firewalls are a NECESSITY


                                             10
Essential Steps to Harden Your WP Installation




                                         11
Install WP Firewall 2

  This plugin analyses HTTP requests and checks
  for suspicious parameters that indicate PHP or
  SQL injection attempts
  It will protect you against the majority of zero-
  day exploits
  Set the configuration option ‘Suppress similar
  attack warning emails’ to ‘On’, to prevent being
  deluged with identical warnings.
                                                 12
Rename Your Admin Account

1.   Use the plugin ‘Admin Renamer Extended’ to
     rename the ‘admin’ account to something
     unique.
2.   From the WP Dashboard, go to Users->Your
     Profile. For the option set ‘Display Name
     Publicly as’, choose something that is not
     the same as your admin account name

                                                 13
Change the Default MySQL Table Prefix

1.   The WordPress default MySQL table prefix is
     ‘wp_’.
2.   By renaming this to something else, ie. ‘tb132_’
     we can foil the majority of blind SQL injection
     attempts
3.   For an existing site, use the plugin “WordPress
     Table Rename” to make this easier.

                                                   14
Prevent Plaintext Password Transmission – Best Option

1.   Have your site hosted with a provider that supports
     HTTPS and provides either:
     –   Their own Shared SSL Certificate
     –   The ability to install your own
     –   The ability to obtain one for you and install it (usually for a
         fee)

2.   Install the plugin “WP HTTPS (SSL)” and enable the
     option “Force SSL Administration”.
3.   This will prevent your password and session cookies
     from being sniffed (captured) over the Network                 15
Prevent Plaintext Password Transmission – Next Best

1.   If you can’t use HTTPS, then install the plugin
     “Semisecure Login Reimagined”.
2.   This uses Javascript to encrypt your password
     before sending it to the server
3.   Make sure you logout from WordPress to
     prevent network eavedroppers from sniffing
     (capturing) and re-using your session key.

                                                   16
Prevent Brute-Force Login Attempts
        Brute-
  Install one of the following plugins:
1. Login Security Solution
     –   Slows down response time of your website after
         multiple failed attempts
     –   Prevents users from choosing weak passwords
         and
2.   Limit Login Attempts
     –   Locks out accounts for a set time period after
         multiple failed attempts


                                                          17
Install WP File Monitor Plus
 This plugin monitors files under your
 WP installation for changes.
 When a change is detected, it
 displays a dashboard alert and can
 also send an email
 As an administrator, you can view
 the list of changes and spot anything
 unexpected or unusual
                                     18
Essential Security Habits




                            19
Regularly Update Your Site, Plugins and Themes

  The last talk stressed the importance of performing
  regular updates to WordPress, themes and plugins
  and performing regular remotely-initiated backups
  Several WordPress management services now exist
  to simply and speed up these steps:
 –   ManageWP (hosted)
 –   InfiniteWP (self-hosted)
 –   WP Remote (hosted)
 –   Worpit (hosted)
                                                  20
Accessing Your Site From Untrusted PCs

  Two-Factor authentication is mandatory
  This is a combination of a password and a random
  number from a key fob, SMS message or a mobile
  phone app that you obtain each time you log in
  WordPress Two-Factor plugins include:
 1.   Second Factor
 2.   Google Authenticator
 3.   Duo Two-Factor Authentication


                                                   21
Accessing Your Site From Untrusted Networks

1.   If you can, use your smart phone or laptop
     PC equipped with 3G, 4G or GPRS Mobile
     Internet
2.   If you are forced to use a public WiFi access
     point or LAN, ensure that any sites requiring
     authentication are accessed via their HTTPS
     (secure) link.

                                               22
Choosing a Password
 Twelve characters long as a minimum, but not a
 dictionary word
 Common number/letter substitutions provide little
 extra security – cracking tools almost always check
 for these




                                                  23
Password Memorisation Techniques
1.   Come up with a memorable sentence, and use the
     first letters of each word to form the password e.g.
     – “Jack and Jill went up the hill to fetch a pale of water”
       could form a 13-character password “JaJwuthtfapow”

2.   Three unrelated unconnected dictionary words one
     after the other, misspelt a certain way known to
     you
     On your own trusted PC, consider using an
     encrypted password manager like KeePass
                                                                   24
Conclusion
 Slides from Previous Talk at Wordcamp GC 2011:
 – http://slidesha.re/tr2XA5
 – Covers the “Three Pillars of Security”, the aims of attackers and other
    WordPress security plugins

 ManageWP - 30% discount on all plans for WordCamp Sydney
 Attendees:
 – http://managewp.com/wcsyd

 Questions and Comments:
 – http://wpexpert.com.au/contact-us/




                                                                         25

More Related Content

PDF
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014
PPTX
Tips for Fixing a Hacked WordPress Site - WordCamp Sydney 2016
PPT
Roy foubister (hosting high traffic sites on a tight budget)
PPTX
WordCamp Harare 2016 - Site Speed = Success
PDF
Mastering VMware Datacenter Part-1
PPTX
High Performance Sites with Drupal and Cache Control Module
PPTX
Improving Website Performance with Memecached Webinar | Achieve Internet
PDF
Optimizing WordPress for Performance - WordCamp Houston
Make WordPress Fly With Virtual Server Hosting - WordCamp Sydney 2014
Tips for Fixing a Hacked WordPress Site - WordCamp Sydney 2016
Roy foubister (hosting high traffic sites on a tight budget)
WordCamp Harare 2016 - Site Speed = Success
Mastering VMware Datacenter Part-1
High Performance Sites with Drupal and Cache Control Module
Improving Website Performance with Memecached Webinar | Achieve Internet
Optimizing WordPress for Performance - WordCamp Houston

What's hot (19)

PDF
Advanced Web Hosting
PDF
Adobe AEM Maintenance - Customer Care Office Hours
PPT
Lessons On Hyper V
PDF
S903 palla
PPT
WordPress MU 101
PPTX
Speeding Up WordPress sites
PPTX
High performance WordPress
PDF
Redundancy Rocks. Redundancy Rocks.
PDF
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...
PDF
Word Press Security
PPTX
Accelerate your ColdFusion Applications using Caching
PDF
Advancedtroubleshooting 101208145718-phpapp01
PDF
Mastering VMware Datacenter - 15 Modules
PDF
Linux system administration - part-2
PPT
Web Speed And Scalability
PPTX
Advantages of cPanel-based LiteSpeed Hosting
PDF
Vsphere esxi-vcenter-server-55-troubleshooting-guide
PDF
Protect Your WordPress Website - Setting Up IThemes Security
PPTX
Caching
Advanced Web Hosting
Adobe AEM Maintenance - Customer Care Office Hours
Lessons On Hyper V
S903 palla
WordPress MU 101
Speeding Up WordPress sites
High performance WordPress
Redundancy Rocks. Redundancy Rocks.
Web agencies: An analysis of the OVH infrastructure to optimise your web proj...
Word Press Security
Accelerate your ColdFusion Applications using Caching
Advancedtroubleshooting 101208145718-phpapp01
Mastering VMware Datacenter - 15 Modules
Linux system administration - part-2
Web Speed And Scalability
Advantages of cPanel-based LiteSpeed Hosting
Vsphere esxi-vcenter-server-55-troubleshooting-guide
Protect Your WordPress Website - Setting Up IThemes Security
Caching
Ad

Viewers also liked (20)

PDF
20140521 DO-1 Baseline Report_FINAL
PDF
Social Networking
PDF
Kesaksian astronaut tentang ufo
DOCX
Atividade de inglês festa junina
PDF
Attraction Social Media Intro
PPT
Upcoming Unity Schedule
PDF
การจัดการรายการบรรณานุกรมด้วย Zeteroการจัดการรายการบรรณานุกรมด้วย Zetero Zetero
PDF
OSS Application on Linux เพื่อการจัดการห้องสมุดและทรัพยากรสารสนเทศ
PDF
การทำรายการอ้างอิงด้วย Open Source Reference Manager : Zotero
PDF
CIC 2007 Report
PDF
Como preguntarnos
KEY
PDF
ฝ่ายบริการความรู้ทางวิทยาศาสตร์และเทคโนโลยี
PDF
Introduction to Agile and SCRUm
PDF
Swa 23 edisi Social Entrepreneurship
PDF
โครงการถ่ายสำเนาอิเล็กทรอนิกส์หนังสือหายากจากประเทศสาธารณรัฐแห่งสหภาพพม่าตามพ...
PDF
สร้างสังคมดีด้วยเทคโนโลยีสารสนเทศ
PDF
เทคโนโลยี2.0{Web 2.0, Library 2.0, Enterprise 2.0}
PDF
OpenSource Software for Thesaurus & Reference tools
PDF
Kiat bekerja di tempat baru
20140521 DO-1 Baseline Report_FINAL
Social Networking
Kesaksian astronaut tentang ufo
Atividade de inglês festa junina
Attraction Social Media Intro
Upcoming Unity Schedule
การจัดการรายการบรรณานุกรมด้วย Zeteroการจัดการรายการบรรณานุกรมด้วย Zetero Zetero
OSS Application on Linux เพื่อการจัดการห้องสมุดและทรัพยากรสารสนเทศ
การทำรายการอ้างอิงด้วย Open Source Reference Manager : Zotero
CIC 2007 Report
Como preguntarnos
ฝ่ายบริการความรู้ทางวิทยาศาสตร์และเทคโนโลยี
Introduction to Agile and SCRUm
Swa 23 edisi Social Entrepreneurship
โครงการถ่ายสำเนาอิเล็กทรอนิกส์หนังสือหายากจากประเทศสาธารณรัฐแห่งสหภาพพม่าตามพ...
สร้างสังคมดีด้วยเทคโนโลยีสารสนเทศ
เทคโนโลยี2.0{Web 2.0, Library 2.0, Enterprise 2.0}
OpenSource Software for Thesaurus & Reference tools
Kiat bekerja di tempat baru
Ad

Similar to Securing Your WordPress Website - WordCamp Sydney 2012 (20)

PPT
Securing Your WordPress Website by Vlad Lasky
PPT
Securing Your WordPress Website - WordCamp GC 2011
PDF
WordPress Security Essentials WordCamp Denver 2012
PDF
WordPress Security 101
PDF
10 WordPress security measures you can implement today!
PPTX
Top 10 Foolproof Ways to Secure WordPress Website from Hackers (1).pptx
PDF
Top Ten WordPress Security Tips for 2012
PDF
WordPress Security Essentials
PDF
WORDPRESS SECURITY: HOW TO AVOID BEING HACKED
PDF
Owasp for dummies handouts
 
PPT
Unit-4 Cybercrimes-II Mobile and Wireless Devices.ppt
PDF
Be Cyber Smart! (DLH 10/25/2019)
PDF
WordPress Security Guide
PPTX
Building Secure WordPress Sites
KEY
Higher Order WordPress Security
PPTX
Word press security 101
PPTX
Understanding word press security wwc-4-7-17
PPTX
Computer / Internet Security WHPL
PPTX
Neo word press meetup ehermits - how to keep your blog from being hacked 2012
PPTX
Securing your WordPress website - New Port Richey WP Meetup
Securing Your WordPress Website by Vlad Lasky
Securing Your WordPress Website - WordCamp GC 2011
WordPress Security Essentials WordCamp Denver 2012
WordPress Security 101
10 WordPress security measures you can implement today!
Top 10 Foolproof Ways to Secure WordPress Website from Hackers (1).pptx
Top Ten WordPress Security Tips for 2012
WordPress Security Essentials
WORDPRESS SECURITY: HOW TO AVOID BEING HACKED
Owasp for dummies handouts
 
Unit-4 Cybercrimes-II Mobile and Wireless Devices.ppt
Be Cyber Smart! (DLH 10/25/2019)
WordPress Security Guide
Building Secure WordPress Sites
Higher Order WordPress Security
Word press security 101
Understanding word press security wwc-4-7-17
Computer / Internet Security WHPL
Neo word press meetup ehermits - how to keep your blog from being hacked 2012
Securing your WordPress website - New Port Richey WP Meetup

Recently uploaded (20)

PPTX
Why 2025 Is the Best Year to Hire Software Developers in India
PDF
Website Design & Development_ Professional Web Design Services.pdf
PDF
Top 10 Project Management Software for Small Teams in 2025.pdf
PPT
3.Software Design for software engineering
PDF
Sun and Bloombase Spitfire StoreSafe End-to-end Storage Security Solution
PDF
IDM Crack 6.42 Build 42 Patch Serial Key 2025 Free New Version
PPTX
Human Computer Interaction lecture Chapter 2.pptx
PPTX
Chapter_05_System Modeling for software engineering
PDF
Workplace Software and Skills - OpenStax
PPTX
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
PDF
infoteam HELLAS company profile 2025 presentation
PDF
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
PPTX
string python Python Strings: Literals, Slicing, Methods, Formatting, and Pra...
PDF
Mobile App Backend Development with WordPress REST API: The Complete eBook
PDF
Crypto Loss And Recovery Guide By Expert Recovery Agency.
PPTX
ERP Manufacturing Modules & Consulting Solutions : Contetra Pvt Ltd
DOCX
Industrial Bio-Lynx: Advanced Biometric Solution for Workforce Management
PDF
Understanding the Need for Systemic Change in Open Source Through Intersectio...
PPTX
Odoo ERP for Injection Molding Industry – Optimize Production & Reduce Scrap
PDF
MAGIX Sound Forge Pro CrackSerial Key Keygen
Why 2025 Is the Best Year to Hire Software Developers in India
Website Design & Development_ Professional Web Design Services.pdf
Top 10 Project Management Software for Small Teams in 2025.pdf
3.Software Design for software engineering
Sun and Bloombase Spitfire StoreSafe End-to-end Storage Security Solution
IDM Crack 6.42 Build 42 Patch Serial Key 2025 Free New Version
Human Computer Interaction lecture Chapter 2.pptx
Chapter_05_System Modeling for software engineering
Workplace Software and Skills - OpenStax
DevOpsDays Halifax 2025 - Building 10x Organizations Using Modern Productivit...
infoteam HELLAS company profile 2025 presentation
Building an Inclusive Web Accessibility Made Simple with Accessibility Analyzer
string python Python Strings: Literals, Slicing, Methods, Formatting, and Pra...
Mobile App Backend Development with WordPress REST API: The Complete eBook
Crypto Loss And Recovery Guide By Expert Recovery Agency.
ERP Manufacturing Modules & Consulting Solutions : Contetra Pvt Ltd
Industrial Bio-Lynx: Advanced Biometric Solution for Workforce Management
Understanding the Need for Systemic Change in Open Source Through Intersectio...
Odoo ERP for Injection Molding Industry – Optimize Production & Reduce Scrap
MAGIX Sound Forge Pro CrackSerial Key Keygen

Securing Your WordPress Website - WordCamp Sydney 2012

  • 1. Securing Your WordPress Website Vladimir Lasky http://wpexpert.com.au/ WordCamp Sydney 2012 1
  • 2. What’s New In Today’s Talk? 1. The biggest security threats of 2012 and how to deal with them 2. An updated list of essential WordPress hardening steps for EVERY site 3. New WordPress management services that make your life easier 2
  • 3. Big Events in Internet Security This Year 1. Yahoo, LinkedIn, eHarmony all experienced security incidents that resulted in users’ passwords/hashes being published 2. Lots of exploits targeting code using vulnerable PHP libraries including TimThumb and Uploadify 3. Wi-Fi Protected Setup (WPS) vulnerability in Wireless Routers revealed in December 2011 3
  • 4. 4
  • 5. 5
  • 6. Lessons From Password Disclosure Incidents 1. You cannot assume any website will properly secure their databases. 2. Plenty of computational power exists for brute-force password cracking of password hashes – spare no effort to prevent these from being leaked. 3. People who reuse the same password across different sites are asking to get “p0wned” and become targets for identity theft. 4. Having a unique, secure password for every Internet account is mandatory. 6
  • 8. Lessons from WPS Vulnerability 1. The WPS exploit provides a backdoor to wireless routers secured with WPA2 2. Technologies that overcome security burdens often introduce security holes 3. Disable WPS in every Wi-Fi Router that you control. In some cases, this will require a firmware upgrade or possibly even replacing the router 8
  • 10. Lessons from PHP Exploits 1. Many programmers are lazy or ignorant of proper data validation practices 2. Obtaining plugins and themes from official sources reduces risk, but does not guaratee security 3. Application firewalls are a NECESSITY 10
  • 11. Essential Steps to Harden Your WP Installation 11
  • 12. Install WP Firewall 2 This plugin analyses HTTP requests and checks for suspicious parameters that indicate PHP or SQL injection attempts It will protect you against the majority of zero- day exploits Set the configuration option ‘Suppress similar attack warning emails’ to ‘On’, to prevent being deluged with identical warnings. 12
  • 13. Rename Your Admin Account 1. Use the plugin ‘Admin Renamer Extended’ to rename the ‘admin’ account to something unique. 2. From the WP Dashboard, go to Users->Your Profile. For the option set ‘Display Name Publicly as’, choose something that is not the same as your admin account name 13
  • 14. Change the Default MySQL Table Prefix 1. The WordPress default MySQL table prefix is ‘wp_’. 2. By renaming this to something else, ie. ‘tb132_’ we can foil the majority of blind SQL injection attempts 3. For an existing site, use the plugin “WordPress Table Rename” to make this easier. 14
  • 15. Prevent Plaintext Password Transmission – Best Option 1. Have your site hosted with a provider that supports HTTPS and provides either: – Their own Shared SSL Certificate – The ability to install your own – The ability to obtain one for you and install it (usually for a fee) 2. Install the plugin “WP HTTPS (SSL)” and enable the option “Force SSL Administration”. 3. This will prevent your password and session cookies from being sniffed (captured) over the Network 15
  • 16. Prevent Plaintext Password Transmission – Next Best 1. If you can’t use HTTPS, then install the plugin “Semisecure Login Reimagined”. 2. This uses Javascript to encrypt your password before sending it to the server 3. Make sure you logout from WordPress to prevent network eavedroppers from sniffing (capturing) and re-using your session key. 16
  • 17. Prevent Brute-Force Login Attempts Brute- Install one of the following plugins: 1. Login Security Solution – Slows down response time of your website after multiple failed attempts – Prevents users from choosing weak passwords and 2. Limit Login Attempts – Locks out accounts for a set time period after multiple failed attempts 17
  • 18. Install WP File Monitor Plus This plugin monitors files under your WP installation for changes. When a change is detected, it displays a dashboard alert and can also send an email As an administrator, you can view the list of changes and spot anything unexpected or unusual 18
  • 20. Regularly Update Your Site, Plugins and Themes The last talk stressed the importance of performing regular updates to WordPress, themes and plugins and performing regular remotely-initiated backups Several WordPress management services now exist to simply and speed up these steps: – ManageWP (hosted) – InfiniteWP (self-hosted) – WP Remote (hosted) – Worpit (hosted) 20
  • 21. Accessing Your Site From Untrusted PCs Two-Factor authentication is mandatory This is a combination of a password and a random number from a key fob, SMS message or a mobile phone app that you obtain each time you log in WordPress Two-Factor plugins include: 1. Second Factor 2. Google Authenticator 3. Duo Two-Factor Authentication 21
  • 22. Accessing Your Site From Untrusted Networks 1. If you can, use your smart phone or laptop PC equipped with 3G, 4G or GPRS Mobile Internet 2. If you are forced to use a public WiFi access point or LAN, ensure that any sites requiring authentication are accessed via their HTTPS (secure) link. 22
  • 23. Choosing a Password Twelve characters long as a minimum, but not a dictionary word Common number/letter substitutions provide little extra security – cracking tools almost always check for these 23
  • 24. Password Memorisation Techniques 1. Come up with a memorable sentence, and use the first letters of each word to form the password e.g. – “Jack and Jill went up the hill to fetch a pale of water” could form a 13-character password “JaJwuthtfapow” 2. Three unrelated unconnected dictionary words one after the other, misspelt a certain way known to you On your own trusted PC, consider using an encrypted password manager like KeePass 24
  • 25. Conclusion Slides from Previous Talk at Wordcamp GC 2011: – http://slidesha.re/tr2XA5 – Covers the “Three Pillars of Security”, the aims of attackers and other WordPress security plugins ManageWP - 30% discount on all plans for WordCamp Sydney Attendees: – http://managewp.com/wcsyd Questions and Comments: – http://wpexpert.com.au/contact-us/ 25