SlideShare uma empresa Scribd logo
1 de 31
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

High Performance WordPress
High Performance WordPressHigh Performance WordPress
High Performance WordPress
vnsavage
 
Performance and scalability with drupal
Performance and scalability with drupalPerformance and scalability with drupal
Performance and scalability with drupal
Ronan Berder
 

Mais procurados (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
 

Semelhante a WordPress Setup and Security - WordCamp, Charleston 2014

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
Acquia
 
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
hernanibf
 

Semelhante a 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!
 

Mais de Michael Carnell

Social Media For Community
Social Media For CommunitySocial Media For Community
Social Media For Community
Michael Carnell
 
Driving Community - Broadstreet Bridges
Driving Community - Broadstreet BridgesDriving Community - Broadstreet Bridges
Driving Community - Broadstreet Bridges
Michael Carnell
 
Essentials of Good Web Design
Essentials of Good Web DesignEssentials of Good Web Design
Essentials of Good Web Design
Michael Carnell
 
Tech Tips for Non-Profits
Tech Tips for Non-ProfitsTech Tips for Non-Profits
Tech Tips for Non-Profits
Michael Carnell
 

Mais de 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
 

Último

💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
nirzagarg
 
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Chandigarh Call girls 9053900678 Call girls in Chandigarh
 

Último (20)

VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Vasundhara Ghaziabad >༒8448380779 Escort Service
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
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
 
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...
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
(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
 
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...
 
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
 
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
💚😋 Bilaspur Escort Service Call Girls, 9352852248 ₹5000 To 25K With AC💚😋
 
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
2nd Solid Symposium: Solid Pods vs Personal Knowledge Graphs
 
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
WhatsApp 📞 8448380779 ✅Call Girls In Mamura Sector 66 ( Noida)
 
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
 
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
Wagholi & High Class Call Girls Pune Neha 8005736733 | 100% Gennuine High Cla...
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
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...
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
 
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
 
Al Barsha Night Partner +0567686026 Call Girls Dubai
Al Barsha Night Partner +0567686026 Call Girls  DubaiAl Barsha Night Partner +0567686026 Call Girls  Dubai
Al Barsha Night Partner +0567686026 Call Girls Dubai
 
APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53APNIC Updates presented by Paul Wilson at ARIN 53
APNIC Updates presented by Paul Wilson at ARIN 53
 

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