SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Downloaden Sie, um offline zu lesen
Don’t Get Hacked!

WordPress Security
Michael Carnell - @carnellm"
http://www.MichaelCarnell.com
These slides are available at

http://www.MichaelCarnell.com/presentations

or http://slideshare.net/carnellm
Who is Michael Carnell?
• Currently programmer at MUSC"
• Web developer since the old days (HTML, ASP)"
• WordPress user since …"
• British car devotee"
• Train and trolley enthusiast"
• Writer / Reader / General Eccentric
Why This Presentation?
Because I Don’t Want You!
To Ever Call Me!
The Type of Problems
• External “Acts of God”"
• Hard drive failure"
• Someone leaned on the keyboard"
• Collateral Damage"
• DOS (Denial of Service) attacks"
• Shared hosting site hack"
• Direct Attacks"
• Hacking the security of your site"
• Vandalism"
• Hijacking - not just the site itself"
"
In the end, our process is still …
Three Phase Approach
• Prevent!
• Correct setup"
• Secure and harden"
• Monitor!
• Alerts of problems or activity"
• Automated actions"
• Recover!
• Backup, backup, backup
Before The Setup
Secure Your Identity
• Your Domain Name"
• Domain Name Registrar"
• Need not be the same as your host (should not?)"
• Needs to be in YOUR name"
• Privacy? Depends on type of site and you"
• My preferred registrar these 

days is Hover.com
Hosting - The Not So Good
• GoDaddy - common back end database that
isn’t secured well and suffers from
performance overload, poor support"
• Brinkster - has been hacked numerous times"
• FreeHostia - slow, free account is very limited,
always pushing the upsell"
• Doing it yourself – 

the pros and cons …
Hosting - The Good Guys
• BlueHost – My current favorite"
• MediaTemple – May not be the cheapest, but
very stable and secure. Monitors scripts"
• HostGator – I have not used them personally,
but have heard good things"
• DreamHost – Used to be good, some still like
them and use them. They are on my “iffy” list.
But watch CPU usage as they will cut off
processes
The Basic Rules
• Do your research - 

http://www.MichaelCarnell.com/hosting
• Check their own support forums"
• Is there a free trial or money back guarantee?"
• If you are a high traffic site (really), you may
need a dedicated server or upgraded hosting"
• None of this really applies to 

WordPress.com
The Dirty Details

for WordPress
Install Correctly
• While installing (most will use OneClick) . . ."
• Consider your directory? Do you use the standard?
Root?"
• Consider altering the database name if your install
allows"
• Make database username and password long and
cryptic. Store them away not to be used"
• Don’t use redundant info - admin name 

same as username, same as blog name, etc...
Double Check the Install
• File level tasks to be done via SFTP . . ."
• Delete ..wp-admininstall.php"
• In wp-config.php, add the optional security keys - http://
api.wordpress.org/secret-key/1.1/
• Add index.php, a blank file to all plugin and theme
directories if it isn’t already there"
• Check the file directory privileges(if you are
comfortable)
Post Install Setup
• Create new admin user with strong password"
• Change Admin password and give no role

Why not delete??"
• Make your main admin’s display name different from
login name "
• Change setting to allow editing by outside packages
if wanted - but know what you are doing"
• Change “permalink” structure (thank you WP 3.3!)"
• Demo Time Again....
As You Build
• Themes and Plug-ins : be safe"
• Consider the source"
• Always be suspicious"
• Again, do you research and ask around"
• Consider Search Engine Visibility (under Settings / Reading)"
• Put up a Coming Soon or Down for Maintenance screen"
• Understand your Discussion Settings
Discussion Settings
Discussion Settings, part 2
Other Hardening
• Disable File Editing – placing this line in wp-config.php is
equivalent to removing the 'edit_themes', 'edit_plugins'
and 'edit_files' capabilities of all users:

" " define('DISALLOW_FILE_EDIT', true);"
• Check out further in depth hardening options at

http://codex.wordpress.org/Hardening_WordPress
Security Plugins You Need
• Some more plugins that you should have:"
• Askimet - AntiSpam, comes with the install, you will just need key"
• Block Bad Queries - blocks code injection through queries"
• Acunetix WordPress Security - basically a security audit & fix"
• AntiVirus or another such"
Demo Time Again!
Monitor
Monitoring Users
• Other plugins to consider:"
• Search Meter - What are your visitors looking for, but also shows
extraneous search injections"
• Limit Login Attempts – Helps protect against dictionary attacks"
• ThreeWP Activity Monitor - Shows who did what and when"
• Demo Time Again!
Monitoring The Site"
What do you look like to the world?"
"
How do you know if your site goes down?"
"
• Hit your site regularly with different browsers"
• IE, Chrome, Firefox, mobile"
• Do this while not logged in"
• Google’s tools"
• What does Google see?"
• Fetch As Google (part of Webmaster Tools)"
• Site monitor"
• Such as SiteUptime
Who Gets Notified?"
Make sure that the address the monitoring
alerts go to is not tied to the site or what you
are monitoring!
Alert that
site is
down!
Can’t send alert
because the
site is down.
After The Storm

(Recovery)
The Key To Recovery

Is Good Backup
• Your content is your responsibility, not your host’s"
• They may help you, but not guaranteed"
• The only good backup is an automated one"
• You will forget at the worst time"
• Decide on how much you can afford to lose"
• A manual backup every now and then doesn’t hurt"
• Before or after a big change, back it up"
• Have more than one copy of the backups"
• Different locations"
• Different formats"
• 3-2-1 backup …
Simple Backup for WP
• Your content is your responsibility, not your host’s"
• Great a GMail account or use your current one with
custom address such as 

“yourname+backups@gmail.com”
• Make a filter that auto files away all email coming in
to that address"
• Database - WP-DB-Backup
• Images & Themes - WordPress Backup "
• Doesn’t hurt to occasionally backup 

manually too
More Complete
• Use a tool such as UpdraftPlus
• This will backup all files and databases"
• Will transfer those to DropBox, FTP, etc…"
• Keep a document of your settings"
• Custom setting you change"
• Menu options"
• Date that you change things"
• Some screen captures"
• If you are really safe (paranoid?)"
• Create a test / backup site"
• Can also serve as a fail-over
Know How To Restore
• You’ve made a backup, do you know how to use it?"
• Test it occasionally"
• Make sure you know what does and doesn’t get recovered and that
you have a work around"
• Do you have a place to use it?"
• Alternative hosting or domain"
• Have you tested on a different server?"
• Is your site directory dependent?"
• Anticipate the worst case"
• Loss of access to GMail?"
• Corrupt backups
Stay Up-To-Date
• WordPress 3.9.1 is out "
"
• You will need to update your base software – unless your
host does it for you or you are WordPress.com"
"
• You will also need to update both your plug-ins and
themes

• Test your plug-ins so you can rollback if they don’t work"
• Be careful of what theme updates will do to any
customizations you have made"
• As always, backup first
Michael Carnell
@carnellm on Twitter
Slides available on

http://www.MichaelCarnell.com/presentations
Q & A

Weitere ähnliche Inhalte

Was ist angesagt?

Managing Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large NetworkManaging Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large NetworkWilliam Earnhardt
 
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)Adam Dunford
 
JS in Rural Communities
JS in Rural CommunitiesJS in Rural Communities
JS in Rural CommunitiesMatt Keas
 
Webpack: What it is, What it does, Whether you need it
Webpack: What it is, What it does, Whether you need itWebpack: What it is, What it does, Whether you need it
Webpack: What it is, What it does, Whether you need itMike Wilcox
 
High Performance WordPress
High Performance WordPressHigh Performance WordPress
High Performance WordPressvnsavage
 
A crash course in scaling wordpress
A crash course inscaling wordpress A crash course inscaling wordpress
A crash course in scaling wordpress GovLoop
 
Performance and scalability with drupal
Performance and scalability with drupalPerformance and scalability with drupal
Performance and scalability with drupalRonan Berder
 
Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014
Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014
Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014Rob Reynolds
 
Best Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress MultisiteBest Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress MultisiteTaylor McCaslin
 
WCBos13 intermediate workshop
WCBos13 intermediate workshopWCBos13 intermediate workshop
WCBos13 intermediate workshopBoston WordPress
 
Mmmm, chocolatey goodness!
Mmmm, chocolatey goodness!Mmmm, chocolatey goodness!
Mmmm, chocolatey goodness!Gary Park
 
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012WordCamp Sydney
 
High Performance WordPress II
High Performance WordPress IIHigh Performance WordPress II
High Performance WordPress IIBarry Abrahamson
 
The Semi Comprehensive Guide To Building a Home Lab
The Semi Comprehensive Guide To Building a Home LabThe Semi Comprehensive Guide To Building a Home Lab
The Semi Comprehensive Guide To Building a Home LabAndrew Williams, CISSP, CEH
 
WordPress.org & Optimizing Security for your WordPress sites
WordPress.org & Optimizing Security for your WordPress sitesWordPress.org & Optimizing Security for your WordPress sites
WordPress.org & Optimizing Security for your WordPress sitesGovLoop
 
WordPress website optimization
WordPress website optimizationWordPress website optimization
WordPress website optimizationDaniel Kanchev
 
Getting started with wordpress hosting and security
Getting started with wordpress hosting and securityGetting started with wordpress hosting and security
Getting started with wordpress hosting and securityWP Pittsburgh Meetup Group
 

Was ist angesagt? (20)

Managing Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large NetworkManaging Multisite: Lessons from a Large Network
Managing Multisite: Lessons from a Large Network
 
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
Does This Theme Make My Website Look Fat? (Wordcamp SLC 2013)
 
JS in Rural Communities
JS in Rural CommunitiesJS in Rural Communities
JS in Rural Communities
 
Webpack: What it is, What it does, Whether you need it
Webpack: What it is, What it does, Whether you need itWebpack: What it is, What it does, Whether you need it
Webpack: What it is, What it does, Whether you need it
 
High Performance WordPress
High Performance WordPressHigh Performance WordPress
High Performance WordPress
 
A crash course in scaling wordpress
A crash course inscaling wordpress A crash course inscaling wordpress
A crash course in scaling wordpress
 
Performance and scalability with drupal
Performance and scalability with drupalPerformance and scalability with drupal
Performance and scalability with drupal
 
Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014
Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014
Plugging Chocolatey into your Puppet Infrastructure PuppetConf2014
 
Dangerous CSS
Dangerous CSSDangerous CSS
Dangerous CSS
 
Best Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress MultisiteBest Friend || Worst Enemy: WordPress Multisite
Best Friend || Worst Enemy: WordPress Multisite
 
WCBos13 intermediate workshop
WCBos13 intermediate workshopWCBos13 intermediate workshop
WCBos13 intermediate workshop
 
Mmmm, chocolatey goodness!
Mmmm, chocolatey goodness!Mmmm, chocolatey goodness!
Mmmm, chocolatey goodness!
 
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
What Multisite can do for You - Anthony Cole - WordCamp Sydney 2012
 
SSDs are Awesome
SSDs are AwesomeSSDs are Awesome
SSDs are Awesome
 
High Performance WordPress II
High Performance WordPress IIHigh Performance WordPress II
High Performance WordPress II
 
The Semi Comprehensive Guide To Building a Home Lab
The Semi Comprehensive Guide To Building a Home LabThe Semi Comprehensive Guide To Building a Home Lab
The Semi Comprehensive Guide To Building a Home Lab
 
WordPress.org & Optimizing Security for your WordPress sites
WordPress.org & Optimizing Security for your WordPress sitesWordPress.org & Optimizing Security for your WordPress sites
WordPress.org & Optimizing Security for your WordPress sites
 
WordPress website optimization
WordPress website optimizationWordPress website optimization
WordPress website optimization
 
Getting started with wordpress hosting and security
Getting started with wordpress hosting and securityGetting started with wordpress hosting and security
Getting started with wordpress hosting and security
 
WordPress Security
WordPress SecurityWordPress Security
WordPress Security
 

Ähnlich wie WordPress Setup and Security - WordCamp, Charleston 2014

WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate WorkshopThe Toolbox, Inc.
 
WordPress Security Essentials
WordPress Security EssentialsWordPress Security Essentials
WordPress Security EssentialsAngela Bowman
 
5 Common Mistakes You are Making on your Website
 5 Common Mistakes You are Making on your Website 5 Common Mistakes You are Making on your Website
5 Common Mistakes You are Making on your WebsiteAcquia
 
WordPress Server Security
WordPress Server SecurityWordPress Server Security
WordPress Server SecurityPeter Baylies
 
Technical track-afterimaging Progress Database
Technical track-afterimaging Progress DatabaseTechnical track-afterimaging Progress Database
Technical track-afterimaging Progress DatabaseVinh Nguyen
 
WebHosting Performance / WordPress - Pubcon Vegas - Hendison
WebHosting Performance / WordPress  - Pubcon Vegas - HendisonWebHosting Performance / WordPress  - Pubcon Vegas - Hendison
WebHosting Performance / WordPress - Pubcon Vegas - HendisonSearch Commander, Inc.
 
DevOops Redux Ken Johnson Chris Gates - AppSec USA 2016
DevOops Redux Ken Johnson Chris Gates  - AppSec USA 2016DevOops Redux Ken Johnson Chris Gates  - AppSec USA 2016
DevOops Redux Ken Johnson Chris Gates - AppSec USA 2016Chris Gates
 
WordPress Security and Best Practices
WordPress Security and Best PracticesWordPress Security and Best Practices
WordPress Security and Best PracticesRobert Vidal
 
11 Amazing things I Learnt At Word Camp Sydney 2014
11 Amazing things I Learnt At Word Camp Sydney 201411 Amazing things I Learnt At Word Camp Sydney 2014
11 Amazing things I Learnt At Word Camp Sydney 2014WordPressBrisbane
 
The things we found in your website
The things we found in your websiteThe things we found in your website
The things we found in your websitehernanibf
 
Keeping Your Joomla! Site Secure
Keeping Your Joomla! Site SecureKeeping Your Joomla! Site Secure
Keeping Your Joomla! Site Securejoomladayhouston
 
Info sec is not daunting v1.0
Info sec is not daunting v1.0 Info sec is not daunting v1.0
Info sec is not daunting v1.0 Michael Gough
 
WordPress Security 101 - Meetup Nairobi March 2020
WordPress Security 101 - Meetup Nairobi March 2020 WordPress Security 101 - Meetup Nairobi March 2020
WordPress Security 101 - Meetup Nairobi March 2020 stk_jj
 
Battling the WSOD - A Tech Support Tale
Battling the WSOD - A Tech Support TaleBattling the WSOD - A Tech Support Tale
Battling the WSOD - A Tech Support TaleKayleigh Thorpe
 
The moment my site got hacked
The moment my site got hackedThe moment my site got hacked
The moment my site got hackedMarko Heijnen
 
Secure Yourself, Practice what we preach - BSides Austin 2015
Secure Yourself, Practice what we preach - BSides Austin 2015Secure Yourself, Practice what we preach - BSides Austin 2015
Secure Yourself, Practice what we preach - BSides Austin 2015Michael Gough
 
Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11Jess Coburn
 
Testers, get into security bug bounties!
Testers, get into security bug bounties!Testers, get into security bug bounties!
Testers, get into security bug bounties!eusebiu daniel blindu
 

Ähnlich wie WordPress Setup and Security - WordCamp, Charleston 2014 (20)

WordPress Intermediate Workshop
WordPress Intermediate WorkshopWordPress Intermediate Workshop
WordPress Intermediate Workshop
 
WordPress Security Essentials
WordPress Security EssentialsWordPress Security Essentials
WordPress Security Essentials
 
5 Common Mistakes You are Making on your Website
 5 Common Mistakes You are Making on your Website 5 Common Mistakes You are Making on your Website
5 Common Mistakes You are Making on your Website
 
WordPress Server Security
WordPress Server SecurityWordPress Server Security
WordPress Server Security
 
Technical track-afterimaging Progress Database
Technical track-afterimaging Progress DatabaseTechnical track-afterimaging Progress Database
Technical track-afterimaging Progress Database
 
Big Websites
Big WebsitesBig Websites
Big Websites
 
WebHosting Performance / WordPress - Pubcon Vegas - Hendison
WebHosting Performance / WordPress  - Pubcon Vegas - HendisonWebHosting Performance / WordPress  - Pubcon Vegas - Hendison
WebHosting Performance / WordPress - Pubcon Vegas - Hendison
 
DevOops Redux Ken Johnson Chris Gates - AppSec USA 2016
DevOops Redux Ken Johnson Chris Gates  - AppSec USA 2016DevOops Redux Ken Johnson Chris Gates  - AppSec USA 2016
DevOops Redux Ken Johnson Chris Gates - AppSec USA 2016
 
WordPress Security and Best Practices
WordPress Security and Best PracticesWordPress Security and Best Practices
WordPress Security and Best Practices
 
Confidence web
Confidence webConfidence web
Confidence web
 
11 Amazing things I Learnt At Word Camp Sydney 2014
11 Amazing things I Learnt At Word Camp Sydney 201411 Amazing things I Learnt At Word Camp Sydney 2014
11 Amazing things I Learnt At Word Camp Sydney 2014
 
The things we found in your website
The things we found in your websiteThe things we found in your website
The things we found in your website
 
Keeping Your Joomla! Site Secure
Keeping Your Joomla! Site SecureKeeping Your Joomla! Site Secure
Keeping Your Joomla! Site Secure
 
Info sec is not daunting v1.0
Info sec is not daunting v1.0 Info sec is not daunting v1.0
Info sec is not daunting v1.0
 
WordPress Security 101 - Meetup Nairobi March 2020
WordPress Security 101 - Meetup Nairobi March 2020 WordPress Security 101 - Meetup Nairobi March 2020
WordPress Security 101 - Meetup Nairobi March 2020
 
Battling the WSOD - A Tech Support Tale
Battling the WSOD - A Tech Support TaleBattling the WSOD - A Tech Support Tale
Battling the WSOD - A Tech Support Tale
 
The moment my site got hacked
The moment my site got hackedThe moment my site got hacked
The moment my site got hacked
 
Secure Yourself, Practice what we preach - BSides Austin 2015
Secure Yourself, Practice what we preach - BSides Austin 2015Secure Yourself, Practice what we preach - BSides Austin 2015
Secure Yourself, Practice what we preach - BSides Austin 2015
 
Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11Orlando DNN Usergroup Pres 12/06/11
Orlando DNN Usergroup Pres 12/06/11
 
Testers, get into security bug bounties!
Testers, get into security bug bounties!Testers, get into security bug bounties!
Testers, get into security bug bounties!
 

Mehr von Michael Carnell

How to Ruin Your Life with Your Online
How to Ruin Your Life with Your OnlineHow to Ruin Your Life with Your Online
How to Ruin Your Life with Your OnlineMichael Carnell
 
Model Railroading in the 21st Century
Model Railroading in the 21st CenturyModel Railroading in the 21st Century
Model Railroading in the 21st CenturyMichael Carnell
 
Social Media For Community
Social Media For CommunitySocial Media For Community
Social Media For CommunityMichael Carnell
 
Driving Community - Broadstreet Bridges
Driving Community - Broadstreet BridgesDriving Community - Broadstreet Bridges
Driving Community - Broadstreet BridgesMichael Carnell
 
Essentials of Good Web Design
Essentials of Good Web DesignEssentials of Good Web Design
Essentials of Good Web DesignMichael Carnell
 
WordPress Setup and Security (Please look for the newer version!)
WordPress Setup and Security (Please look for the newer version!)WordPress Setup and Security (Please look for the newer version!)
WordPress Setup and Security (Please look for the newer version!)Michael Carnell
 
Tech Tips for Non-Profits
Tech Tips for Non-ProfitsTech Tips for Non-Profits
Tech Tips for Non-ProfitsMichael Carnell
 
DIY Social Media: Session One - Mastering Facebook
DIY Social Media: Session One  - Mastering FacebookDIY Social Media: Session One  - Mastering Facebook
DIY Social Media: Session One - Mastering FacebookMichael Carnell
 
Wordpress Setup and Security - Please look at the new updated version of this...
Wordpress Setup and Security - Please look at the new updated version of this...Wordpress Setup and Security - Please look at the new updated version of this...
Wordpress Setup and Security - Please look at the new updated version of this...Michael Carnell
 
Technology Update: The More Things Change, the More Fun It Gets
Technology Update: The More Things Change, the More Fun It GetsTechnology Update: The More Things Change, the More Fun It Gets
Technology Update: The More Things Change, the More Fun It GetsMichael Carnell
 

Mehr von Michael Carnell (15)

How to Ruin Your Life with Your Online
How to Ruin Your Life with Your OnlineHow to Ruin Your Life with Your Online
How to Ruin Your Life with Your Online
 
Model Railroading in the 21st Century
Model Railroading in the 21st CenturyModel Railroading in the 21st Century
Model Railroading in the 21st Century
 
Intro to DotNetNuke
Intro to DotNetNukeIntro to DotNetNuke
Intro to DotNetNuke
 
Charleston, SC Trolleys
Charleston, SC TrolleysCharleston, SC Trolleys
Charleston, SC Trolleys
 
Social Media For Community
Social Media For CommunitySocial Media For Community
Social Media For Community
 
Driving Community - Broadstreet Bridges
Driving Community - Broadstreet BridgesDriving Community - Broadstreet Bridges
Driving Community - Broadstreet Bridges
 
Essentials of Good Web Design
Essentials of Good Web DesignEssentials of Good Web Design
Essentials of Good Web Design
 
WordPress Setup and Security (Please look for the newer version!)
WordPress Setup and Security (Please look for the newer version!)WordPress Setup and Security (Please look for the newer version!)
WordPress Setup and Security (Please look for the newer version!)
 
Tech Tips for Non-Profits
Tech Tips for Non-ProfitsTech Tips for Non-Profits
Tech Tips for Non-Profits
 
Google Analytics
Google AnalyticsGoogle Analytics
Google Analytics
 
DIY Social Media: Session One - Mastering Facebook
DIY Social Media: Session One  - Mastering FacebookDIY Social Media: Session One  - Mastering Facebook
DIY Social Media: Session One - Mastering Facebook
 
Wordpress Setup and Security - Please look at the new updated version of this...
Wordpress Setup and Security - Please look at the new updated version of this...Wordpress Setup and Security - Please look at the new updated version of this...
Wordpress Setup and Security - Please look at the new updated version of this...
 
Podcasting 101
Podcasting 101Podcasting 101
Podcasting 101
 
Talking twitter
Talking twitterTalking twitter
Talking twitter
 
Technology Update: The More Things Change, the More Fun It Gets
Technology Update: The More Things Change, the More Fun It GetsTechnology Update: The More Things Change, the More Fun It Gets
Technology Update: The More Things Change, the More Fun It Gets
 

Kürzlich hochgeladen

All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445ruhi
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableSeo
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubaikojalkojal131
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Delhi Call girls
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...SUHANI PANDEY
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...SUHANI PANDEY
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...Escorts Call Girls
 
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...SUHANI PANDEY
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查ydyuyu
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...roncy bisnoi
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...tanu pandey
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...SUHANI PANDEY
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...Neha Pandey
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...SUHANI PANDEY
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...singhpriety023
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtrahman018755
 

Kürzlich hochgeladen (20)

All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls DubaiDubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
Dubai=Desi Dubai Call Girls O525547819 Outdoor Call Girls Dubai
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
 
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
Yerawada ] Independent Escorts in Pune - Book 8005736733 Call Girls Available...
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
Ganeshkhind ! Call Girls Pune - 450+ Call Girl Cash Payment 8005736733 Neha T...
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...(+971568250507  ))#  Young Call Girls  in Ajman  By Pakistani Call Girls  in ...
(+971568250507 ))# Young Call Girls in Ajman By Pakistani Call Girls in ...
 
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
Sarola * Female Escorts Service in Pune | 8005736733 Independent Escorts & Da...
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查在线制作约克大学毕业证(yu毕业证)在读证明认证可查
在线制作约克大学毕业证(yu毕业证)在读证明认证可查
 
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
Call Girls Sangvi Call Me 7737669865 Budget Friendly No Advance BookingCall G...
 
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...Nanded City ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready ...
Nanded City ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready ...
 
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
𓀤Call On 7877925207 𓀤 Ahmedguda Call Girls Hot Model With Sexy Bhabi Ready Fo...
 
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
VIP Model Call Girls NIBM ( Pune ) Call ON 8005736733 Starting From 5K to 25K...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 

WordPress Setup and Security - WordCamp, Charleston 2014

  • 1.
  • 2. Don’t Get Hacked!
 WordPress Security Michael Carnell - @carnellm" http://www.MichaelCarnell.com These slides are available at
 http://www.MichaelCarnell.com/presentations
 or http://slideshare.net/carnellm
  • 3. Who is Michael Carnell? • Currently programmer at MUSC" • Web developer since the old days (HTML, ASP)" • WordPress user since …" • British car devotee" • Train and trolley enthusiast" • Writer / Reader / General Eccentric
  • 4. Why This Presentation? Because I Don’t Want You! To Ever Call Me!
  • 5. The Type of Problems • External “Acts of God”" • Hard drive failure" • Someone leaned on the keyboard" • Collateral Damage" • DOS (Denial of Service) attacks" • Shared hosting site hack" • Direct Attacks" • Hacking the security of your site" • Vandalism" • Hijacking - not just the site itself" " In the end, our process is still …
  • 6. Three Phase Approach • Prevent! • Correct setup" • Secure and harden" • Monitor! • Alerts of problems or activity" • Automated actions" • Recover! • Backup, backup, backup
  • 8. Secure Your Identity • Your Domain Name" • Domain Name Registrar" • Need not be the same as your host (should not?)" • Needs to be in YOUR name" • Privacy? Depends on type of site and you" • My preferred registrar these 
 days is Hover.com
  • 9. Hosting - The Not So Good • GoDaddy - common back end database that isn’t secured well and suffers from performance overload, poor support" • Brinkster - has been hacked numerous times" • FreeHostia - slow, free account is very limited, always pushing the upsell" • Doing it yourself – 
 the pros and cons …
  • 10. Hosting - The Good Guys • BlueHost – My current favorite" • MediaTemple – May not be the cheapest, but very stable and secure. Monitors scripts" • HostGator – I have not used them personally, but have heard good things" • DreamHost – Used to be good, some still like them and use them. They are on my “iffy” list. But watch CPU usage as they will cut off processes
  • 11. The Basic Rules • Do your research - 
 http://www.MichaelCarnell.com/hosting • Check their own support forums" • Is there a free trial or money back guarantee?" • If you are a high traffic site (really), you may need a dedicated server or upgraded hosting" • None of this really applies to 
 WordPress.com
  • 13. Install Correctly • While installing (most will use OneClick) . . ." • Consider your directory? Do you use the standard? Root?" • Consider altering the database name if your install allows" • Make database username and password long and cryptic. Store them away not to be used" • Don’t use redundant info - admin name 
 same as username, same as blog name, etc...
  • 14. Double Check the Install • File level tasks to be done via SFTP . . ." • Delete ..wp-admininstall.php" • In wp-config.php, add the optional security keys - http:// api.wordpress.org/secret-key/1.1/ • Add index.php, a blank file to all plugin and theme directories if it isn’t already there" • Check the file directory privileges(if you are comfortable)
  • 15. Post Install Setup • Create new admin user with strong password" • Change Admin password and give no role
 Why not delete??" • Make your main admin’s display name different from login name " • Change setting to allow editing by outside packages if wanted - but know what you are doing" • Change “permalink” structure (thank you WP 3.3!)" • Demo Time Again....
  • 16. As You Build • Themes and Plug-ins : be safe" • Consider the source" • Always be suspicious" • Again, do you research and ask around" • Consider Search Engine Visibility (under Settings / Reading)" • Put up a Coming Soon or Down for Maintenance screen" • Understand your Discussion Settings
  • 19. Other Hardening • Disable File Editing – placing this line in wp-config.php is equivalent to removing the 'edit_themes', 'edit_plugins' and 'edit_files' capabilities of all users:
 " " define('DISALLOW_FILE_EDIT', true);" • Check out further in depth hardening options at
 http://codex.wordpress.org/Hardening_WordPress
  • 20. Security Plugins You Need • Some more plugins that you should have:" • Askimet - AntiSpam, comes with the install, you will just need key" • Block Bad Queries - blocks code injection through queries" • Acunetix WordPress Security - basically a security audit & fix" • AntiVirus or another such" Demo Time Again!
  • 22. Monitoring Users • Other plugins to consider:" • Search Meter - What are your visitors looking for, but also shows extraneous search injections" • Limit Login Attempts – Helps protect against dictionary attacks" • ThreeWP Activity Monitor - Shows who did what and when" • Demo Time Again!
  • 23. Monitoring The Site" What do you look like to the world?" " How do you know if your site goes down?" " • Hit your site regularly with different browsers" • IE, Chrome, Firefox, mobile" • Do this while not logged in" • Google’s tools" • What does Google see?" • Fetch As Google (part of Webmaster Tools)" • Site monitor" • Such as SiteUptime
  • 24. Who Gets Notified?" Make sure that the address the monitoring alerts go to is not tied to the site or what you are monitoring! Alert that site is down! Can’t send alert because the site is down.
  • 26. The Key To Recovery
 Is Good Backup • Your content is your responsibility, not your host’s" • They may help you, but not guaranteed" • The only good backup is an automated one" • You will forget at the worst time" • Decide on how much you can afford to lose" • A manual backup every now and then doesn’t hurt" • Before or after a big change, back it up" • Have more than one copy of the backups" • Different locations" • Different formats" • 3-2-1 backup …
  • 27. Simple Backup for WP • Your content is your responsibility, not your host’s" • Great a GMail account or use your current one with custom address such as 
 “yourname+backups@gmail.com” • Make a filter that auto files away all email coming in to that address" • Database - WP-DB-Backup • Images & Themes - WordPress Backup " • Doesn’t hurt to occasionally backup 
 manually too
  • 28. More Complete • Use a tool such as UpdraftPlus • This will backup all files and databases" • Will transfer those to DropBox, FTP, etc…" • Keep a document of your settings" • Custom setting you change" • Menu options" • Date that you change things" • Some screen captures" • If you are really safe (paranoid?)" • Create a test / backup site" • Can also serve as a fail-over
  • 29. Know How To Restore • You’ve made a backup, do you know how to use it?" • Test it occasionally" • Make sure you know what does and doesn’t get recovered and that you have a work around" • Do you have a place to use it?" • Alternative hosting or domain" • Have you tested on a different server?" • Is your site directory dependent?" • Anticipate the worst case" • Loss of access to GMail?" • Corrupt backups
  • 30. Stay Up-To-Date • WordPress 3.9.1 is out " " • You will need to update your base software – unless your host does it for you or you are WordPress.com" " • You will also need to update both your plug-ins and themes
 • Test your plug-ins so you can rollback if they don’t work" • Be careful of what theme updates will do to any customizations you have made" • As always, backup first
  • 31. Michael Carnell @carnellm on Twitter Slides available on
 http://www.MichaelCarnell.com/presentations Q & A