SlideShare a Scribd company logo
Understanding and
Implementing Website Security
Pantheon.io
Hi, I’m Drew Gorton
● Director of Agency and Community
Outreach, Pantheon
● Founder, Gorton Studios (2001)
● Co-founder, NodeSquirrel (2012)
● Drupal 4.4 (~2004)
● Drupal Twin Cities
● @dgorton
● drew@pantheon.io
Web CMS is Risky
The Elephant in the Room
● Web Content Management is
inherently dangerous
● Connected to the internet
● Edited via the internet
3
Data Breaches
Have Become Commonplace
4
● http://www.informationisbeautif
ul.net/visualizations/worlds-big
gest-data-breaches-hacks/
●
I’m So Tiny!
Surely not me?
● You are a target
● You have:
Computing power
Access to nearby systems
Visitors with vulnerable browsers
Information
PII? Transactions? Donations?
● Robots don’t care
5
Website Security
Is Not Binary
● Not On or Off
● “Is my website secure?”
not a Yes / No question
6https://flic.kr/p/h4TA84
Website Security
Lessons from the Real World
Safe Ratings
● Time (5 mins, 30 mins, …)
● Tools (hammer, drill, power, …)
● People (skill, number, …)
7https://flic.kr/p/5GPgE1
Website Security
Is a Continuum
● Perfect security is a myth
● There will always be gaps
● Be prepared
8
Today’s Goals
Our Agenda
● Understand Landscape
● Have Fewer, Smaller Gaps
● Better Preparedness
● Looking at Layers of Security
9https://flic.kr/p/5d4nKx
Our Layers
Drupal is Just One Piece ● Platform
Linux, Apache, MySQL, PHP …
● Application
Drupal, WordPress…
● Organizational
Habits, procedures, planning…
10https://flic.kr/p/dp3nGo
Platform Layer
The Stack Drupal Uses
● Linux
● Apache / NGINX
● MySQL / MariaDB
● PHP
● Varnish
● Memcached / Redis
● Solr
● …
● http://www.linuxsecurity.com
11https://flic.kr/p/mmgwkx
You Do Not Want This Monkey*
12
https://flic.kr/p/p8z6wN
Use Drupal Hosting
13
https://www.drupal.org/hosting
Buyer Beware
14
Not All Hosting Is Equal
Traditional Hosting
15
Even Messier in the Real World
Platform Security
16
There is a Better Way
17
How did you handle Heartbleed?
How did you handle DrupalGeddon?
Choose Hosts Wisely
Application Layer
Security in Drupal
● Configuration
● Modules
● Security Team and Procedures
● Coding Best Practices
18https://flic.kr/p/9Vx4ra
Flexibility
Drupal’s Great Strength and Weakness
● (Mis) Configuration
● True or False?
● You can configure Drupal so that
Anonymous Users can ____
Upload images
Change files
Edit the homepage
Turn on modules
Change themes
19https://flic.kr/p/nze5Em
Secure Configuration
The Most Important Thing You Can Do
● Secure User 1
No simple passwords
Don’t share passwords across sites
Doesn’t have to be ‘admin’
● Permissions & Roles
Administer * is powerful
Administer filters can pwn site
● No PHP (!!!)
● Update module
Wednesdays are security releases
Turn it on. Get the notifications. Do
them
20https://flic.kr/p/5pGcyx
Drupal Modules
Improving Security with Contrib ● Password Policy and Password Strength
● Security Review
● Security Kit (Seckit)
● Hacked!
● Paranoia
● Permissions Lock
● Login Security
● Automated Logout
● Two Factor Authentication
21https://flic.kr/p/5d4nKx
Security Team
Our Fearless Defenders
● Drupal 7 & 8 Core + Contrib
● Wednesdays are releases
● Process & Procedure
● Drupal 6 coverage available
22https://flic.kr/p/5d4nKx
Secure Coding
Best Practices
● Writing Secure Code (Drupal.org)
● Cracking Drupal - OWASP 10
and Drupal
● SQL Injection
● XSS
● CRSF
23https://flic.kr/p/3dvqhG
SQL Injection
24
As Illustrated by XKCD
db_query()
https://www.drupal.org/node/101496
http://xkcd.com/327/
Secure Coding
Best Practices
● JavaScript to run browser actions
● Up to 64% of websites vulnerable
● Everything you can do, XSS can do
better
● Use Filters! check_url(),
check_plain(), filter_xss(),
filter_xss_admin(), check_markup()
● t() function
● https://www.drupal.org/node/2898
4
25https://flic.kr/p/5ALBHy
Secure Coding
Best Practices
● Actions on another site
● <a
href="http://bank.com/
xfer.do?acct=123&amt=10000
">View my Pictures!</a>
● Forms API , drupal_get_token(),
drupal_valid_token()
● https://www.drupal.org/node/1788
96
26https://flic.kr/p/bSkp8r
Organization Layer
Secure Processes
● Safe Network Usage
● Secure Code Management
● Secure Support
27https://flic.kr/p/5kaEda
Secure Networking
Build Good Habits
● HTTPS / SSL
LetsEncrypt.org
CloudFlare
Others
● SFTP (No FTP!)
● Wireless Caution
28https://flic.kr/p/6v1J1m
Secure Code Management
Take care of your code
● Use Version Control Software (VCS)
like Git
● Sanitize Data on transfer -
drushcommands.com/drush-8x/sql
/sql-sanitize
● Secure your Keys - https://lockr.io
29https://flic.kr/p/9BkXKV
Secure Support
Take care of your clients
● Catalog your sites
● Wednesdays - be ready
● Who is responsible?
● Who helps them?
● How do they escalate?
● Emergency Procedures
● Run the drill!
30https://flic.kr/p/rEwbwL
31
● Use a secure (reliable, performant) Drupal host
● Configure Drupal carefully
● Use Security-enhancing Drupal modules
● Follow Drupal coding best practices
● Use secure communications (HTTPS, SFTP, …)
● Have secure code management habits
● Have clear support practices and procedures
In Summary
Questions?
Polly Wants a Cracker!
● @dgorton
● drew@pantheon.io
32https://flic.kr/p/pqiJNt

More Related Content

Viewers also liked

Web User Experience in 2020
Web User Experience in 2020Web User Experience in 2020
Web User Experience in 2020
Drew Gorton
 
Drupal hosting guide
Drupal hosting guideDrupal hosting guide
Drupal hosting guide
marljohn
 
Collaborating with the Community
Collaborating with the CommunityCollaborating with the Community
Collaborating with the Community
tinacallahan
 
Drupal Site Hosting and Management: Acquia Case Studies from the Frontlines
Drupal Site Hosting and Management: Acquia Case Studies from the FrontlinesDrupal Site Hosting and Management: Acquia Case Studies from the Frontlines
Drupal Site Hosting and Management: Acquia Case Studies from the Frontlines
Acquia
 
Cloud Hosting for Government Agencies: Drupal Platform as a Service
Cloud Hosting for Government Agencies: Drupal Platform as a ServiceCloud Hosting for Government Agencies: Drupal Platform as a Service
Cloud Hosting for Government Agencies: Drupal Platform as a ServiceAcquia
 
Decoupled Architecture and WordPress
Decoupled Architecture and WordPressDecoupled Architecture and WordPress
Decoupled Architecture and WordPress
Pantheon
 
Continuous Integration Is for Teams: Moving past buzzword driven development
Continuous Integration Is for Teams: Moving past buzzword driven development Continuous Integration Is for Teams: Moving past buzzword driven development
Continuous Integration Is for Teams: Moving past buzzword driven development
Pantheon
 
Drupal Performance
Drupal Performance Drupal Performance
Drupal Performance
Pantheon
 
Why Your Site is Slow: Performance Answers for Your Clients
Why Your Site is Slow: Performance Answers for Your ClientsWhy Your Site is Slow: Performance Answers for Your Clients
Why Your Site is Slow: Performance Answers for Your Clients
Pantheon
 
Scaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and more
Scaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and moreScaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and more
Scaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and more
Dropsolid
 
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
Pantheon
 
Amazon Web Services Building Blocks for Drupal Applications and Hosting
Amazon Web Services Building Blocks for Drupal Applications and HostingAmazon Web Services Building Blocks for Drupal Applications and Hosting
Amazon Web Services Building Blocks for Drupal Applications and Hosting
Acquia
 
Getting Started With Jenkins And Drupal
Getting Started With Jenkins And DrupalGetting Started With Jenkins And Drupal
Getting Started With Jenkins And Drupal
Philip Norton
 
Automating & Integrating Pantheon with JIRA, Slack, Jenkins and More
Automating & Integrating Pantheon with JIRA, Slack, Jenkins and MoreAutomating & Integrating Pantheon with JIRA, Slack, Jenkins and More
Automating & Integrating Pantheon with JIRA, Slack, Jenkins and More
Pantheon
 
Why Drupal 8 Is a Game Changer for Higher Education
Why Drupal 8 Is a Game Changer for Higher EducationWhy Drupal 8 Is a Game Changer for Higher Education
Why Drupal 8 Is a Game Changer for Higher Education
Acquia
 

Viewers also liked (15)

Web User Experience in 2020
Web User Experience in 2020Web User Experience in 2020
Web User Experience in 2020
 
Drupal hosting guide
Drupal hosting guideDrupal hosting guide
Drupal hosting guide
 
Collaborating with the Community
Collaborating with the CommunityCollaborating with the Community
Collaborating with the Community
 
Drupal Site Hosting and Management: Acquia Case Studies from the Frontlines
Drupal Site Hosting and Management: Acquia Case Studies from the FrontlinesDrupal Site Hosting and Management: Acquia Case Studies from the Frontlines
Drupal Site Hosting and Management: Acquia Case Studies from the Frontlines
 
Cloud Hosting for Government Agencies: Drupal Platform as a Service
Cloud Hosting for Government Agencies: Drupal Platform as a ServiceCloud Hosting for Government Agencies: Drupal Platform as a Service
Cloud Hosting for Government Agencies: Drupal Platform as a Service
 
Decoupled Architecture and WordPress
Decoupled Architecture and WordPressDecoupled Architecture and WordPress
Decoupled Architecture and WordPress
 
Continuous Integration Is for Teams: Moving past buzzword driven development
Continuous Integration Is for Teams: Moving past buzzword driven development Continuous Integration Is for Teams: Moving past buzzword driven development
Continuous Integration Is for Teams: Moving past buzzword driven development
 
Drupal Performance
Drupal Performance Drupal Performance
Drupal Performance
 
Why Your Site is Slow: Performance Answers for Your Clients
Why Your Site is Slow: Performance Answers for Your ClientsWhy Your Site is Slow: Performance Answers for Your Clients
Why Your Site is Slow: Performance Answers for Your Clients
 
Scaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and more
Scaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and moreScaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and more
Scaling Drupal in AWS Using AutoScaling, Cloudformation, RDS and more
 
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
 
Amazon Web Services Building Blocks for Drupal Applications and Hosting
Amazon Web Services Building Blocks for Drupal Applications and HostingAmazon Web Services Building Blocks for Drupal Applications and Hosting
Amazon Web Services Building Blocks for Drupal Applications and Hosting
 
Getting Started With Jenkins And Drupal
Getting Started With Jenkins And DrupalGetting Started With Jenkins And Drupal
Getting Started With Jenkins And Drupal
 
Automating & Integrating Pantheon with JIRA, Slack, Jenkins and More
Automating & Integrating Pantheon with JIRA, Slack, Jenkins and MoreAutomating & Integrating Pantheon with JIRA, Slack, Jenkins and More
Automating & Integrating Pantheon with JIRA, Slack, Jenkins and More
 
Why Drupal 8 Is a Game Changer for Higher Education
Why Drupal 8 Is a Game Changer for Higher EducationWhy Drupal 8 Is a Game Changer for Higher Education
Why Drupal 8 Is a Game Changer for Higher Education
 

Similar to Understanding and implementing website security

Hacker vs company, Cloud Cyber Security Automated with Kubernetes - Demi Ben-...
Hacker vs company, Cloud Cyber Security Automated with Kubernetes - Demi Ben-...Hacker vs company, Cloud Cyber Security Automated with Kubernetes - Demi Ben-...
Hacker vs company, Cloud Cyber Security Automated with Kubernetes - Demi Ben-...
Demi Ben-Ari
 
Pentester++
Pentester++Pentester++
Pentester++
CTruncer
 
Hacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - Panorays
Hacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - PanoraysHacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - Panorays
Hacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - Panorays
Demi Ben-Ari
 
Introduction to Exploitation
Introduction to ExploitationIntroduction to Exploitation
Introduction to Exploitation
UTD Computer Security Group
 
Evaluating a password manager
Evaluating a password managerEvaluating a password manager
Evaluating a password manager
Evan J Johnson (Not a CISSP)
 
Simplifying Security: Protecting Your Clients and Your Company
Simplifying Security: Protecting Your Clients and Your CompanySimplifying Security: Protecting Your Clients and Your Company
Simplifying Security: Protecting Your Clients and Your Company
Drew Gorton
 
Devops For Drupal
Devops  For DrupalDevops  For Drupal
Devops For Drupal
Kris Buytaert
 
Devops Devops Devops, at Froscon
Devops Devops Devops, at FrosconDevops Devops Devops, at Froscon
Devops Devops Devops, at Froscon
Kris Buytaert
 
Security and why you need to review yours.
Security and why you need to review yours.Security and why you need to review yours.
Security and why you need to review yours.
David Busby, CISSP
 
Security .NET.pdf
Security .NET.pdfSecurity .NET.pdf
Security .NET.pdf
Abhi Jain
 
Introduction To ICT Security Audit OWASP Day Malaysia 2011
Introduction To ICT Security Audit OWASP Day Malaysia 2011Introduction To ICT Security Audit OWASP Day Malaysia 2011
Introduction To ICT Security Audit OWASP Day Malaysia 2011Linuxmalaysia Malaysia
 
Year Zero
Year ZeroYear Zero
Year Zero
leifdreizler
 
Agile Secure Development
Agile Secure DevelopmentAgile Secure Development
Agile Secure Development
Bosnia Agile
 
Python in Industry
Python in IndustryPython in Industry
Python in Industry
Dharmit Shah
 
Blockade.io : One Click Browser Defense
Blockade.io : One Click Browser DefenseBlockade.io : One Click Browser Defense
Blockade.io : One Click Browser Defense
RiskIQ, Inc.
 
IT security for all. Bootcamp slides
IT security for all. Bootcamp slidesIT security for all. Bootcamp slides
IT security for all. Bootcamp slidesWallarm
 
Not my problem - Delegating responsibility to infrastructure
Not my problem - Delegating responsibility to infrastructureNot my problem - Delegating responsibility to infrastructure
Not my problem - Delegating responsibility to infrastructure
Yshay Yaacobi
 
NJEdgeCon2018-Automating-Package-Management-in-Windows-with-Chocolatey
NJEdgeCon2018-Automating-Package-Management-in-Windows-with-ChocolateyNJEdgeCon2018-Automating-Package-Management-in-Windows-with-Chocolatey
NJEdgeCon2018-Automating-Package-Management-in-Windows-with-Chocolatey
Dan Franciscus
 
Web Security: What's wrong, and how the bad guys can break your website
Web Security: What's wrong, and how the bad guys can break your websiteWeb Security: What's wrong, and how the bad guys can break your website
Web Security: What's wrong, and how the bad guys can break your websiteAndrew Sorensen
 

Similar to Understanding and implementing website security (20)

Hacker vs company, Cloud Cyber Security Automated with Kubernetes - Demi Ben-...
Hacker vs company, Cloud Cyber Security Automated with Kubernetes - Demi Ben-...Hacker vs company, Cloud Cyber Security Automated with Kubernetes - Demi Ben-...
Hacker vs company, Cloud Cyber Security Automated with Kubernetes - Demi Ben-...
 
Pentester++
Pentester++Pentester++
Pentester++
 
Hacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - Panorays
Hacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - PanoraysHacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - Panorays
Hacking for fun & profit - The Kubernetes Way - Demi Ben-Ari - Panorays
 
Introduction to Exploitation
Introduction to ExploitationIntroduction to Exploitation
Introduction to Exploitation
 
Evaluating a password manager
Evaluating a password managerEvaluating a password manager
Evaluating a password manager
 
Simplifying Security: Protecting Your Clients and Your Company
Simplifying Security: Protecting Your Clients and Your CompanySimplifying Security: Protecting Your Clients and Your Company
Simplifying Security: Protecting Your Clients and Your Company
 
Devops For Drupal
Devops  For DrupalDevops  For Drupal
Devops For Drupal
 
Devops Devops Devops, at Froscon
Devops Devops Devops, at FrosconDevops Devops Devops, at Froscon
Devops Devops Devops, at Froscon
 
Security and why you need to review yours.
Security and why you need to review yours.Security and why you need to review yours.
Security and why you need to review yours.
 
Wordpress Plugins Scanner
Wordpress Plugins ScannerWordpress Plugins Scanner
Wordpress Plugins Scanner
 
Security .NET.pdf
Security .NET.pdfSecurity .NET.pdf
Security .NET.pdf
 
Introduction To ICT Security Audit OWASP Day Malaysia 2011
Introduction To ICT Security Audit OWASP Day Malaysia 2011Introduction To ICT Security Audit OWASP Day Malaysia 2011
Introduction To ICT Security Audit OWASP Day Malaysia 2011
 
Year Zero
Year ZeroYear Zero
Year Zero
 
Agile Secure Development
Agile Secure DevelopmentAgile Secure Development
Agile Secure Development
 
Python in Industry
Python in IndustryPython in Industry
Python in Industry
 
Blockade.io : One Click Browser Defense
Blockade.io : One Click Browser DefenseBlockade.io : One Click Browser Defense
Blockade.io : One Click Browser Defense
 
IT security for all. Bootcamp slides
IT security for all. Bootcamp slidesIT security for all. Bootcamp slides
IT security for all. Bootcamp slides
 
Not my problem - Delegating responsibility to infrastructure
Not my problem - Delegating responsibility to infrastructureNot my problem - Delegating responsibility to infrastructure
Not my problem - Delegating responsibility to infrastructure
 
NJEdgeCon2018-Automating-Package-Management-in-Windows-with-Chocolatey
NJEdgeCon2018-Automating-Package-Management-in-Windows-with-ChocolateyNJEdgeCon2018-Automating-Package-Management-in-Windows-with-Chocolatey
NJEdgeCon2018-Automating-Package-Management-in-Windows-with-Chocolatey
 
Web Security: What's wrong, and how the bad guys can break your website
Web Security: What's wrong, and how the bad guys can break your websiteWeb Security: What's wrong, and how the bad guys can break your website
Web Security: What's wrong, and how the bad guys can break your website
 

More from Drew Gorton

Understanding Marketing: DrupalCon Global 2020
Understanding Marketing: DrupalCon Global 2020Understanding Marketing: DrupalCon Global 2020
Understanding Marketing: DrupalCon Global 2020
Drew Gorton
 
Drupalers Guide to Marketing: DrupalCon Seattle
Drupalers Guide to Marketing: DrupalCon SeattleDrupalers Guide to Marketing: DrupalCon Seattle
Drupalers Guide to Marketing: DrupalCon Seattle
Drew Gorton
 
Marketing for Drupalers - Drupal Europe
Marketing for Drupalers  - Drupal EuropeMarketing for Drupalers  - Drupal Europe
Marketing for Drupalers - Drupal Europe
Drew Gorton
 
Growing Great Teams - WordCamp Minneapolis
Growing Great Teams - WordCamp MinneapolisGrowing Great Teams - WordCamp Minneapolis
Growing Great Teams - WordCamp Minneapolis
Drew Gorton
 
Web User Experience in 2021
Web User Experience in 2021Web User Experience in 2021
Web User Experience in 2021
Drew Gorton
 
Word Press at Scale - WordCamp Minneapolis
Word Press at Scale - WordCamp MinneapolisWord Press at Scale - WordCamp Minneapolis
Word Press at Scale - WordCamp Minneapolis
Drew Gorton
 
Understanding and Implementing Website Security
Understanding and Implementing Website SecurityUnderstanding and Implementing Website Security
Understanding and Implementing Website Security
Drew Gorton
 
Welcome to Drupal
Welcome to DrupalWelcome to Drupal
Welcome to Drupal
Drew Gorton
 
10 Lessons Learned as a Drupal Entrepreneur
10 Lessons Learned as a Drupal Entrepreneur10 Lessons Learned as a Drupal Entrepreneur
10 Lessons Learned as a Drupal Entrepreneur
Drew Gorton
 
Responsive HTML Email with Drupal
Responsive HTML Email with DrupalResponsive HTML Email with Drupal
Responsive HTML Email with Drupal
Drew Gorton
 
Welcome to Drupal: Midcamp 2015
Welcome to Drupal: Midcamp 2015Welcome to Drupal: Midcamp 2015
Welcome to Drupal: Midcamp 2015
Drew Gorton
 
Drupal for Communicators
Drupal for CommunicatorsDrupal for Communicators
Drupal for Communicators
Drew Gorton
 
Welcome to the Drupal
Welcome to the DrupalWelcome to the Drupal
Welcome to the Drupal
Drew Gorton
 

More from Drew Gorton (13)

Understanding Marketing: DrupalCon Global 2020
Understanding Marketing: DrupalCon Global 2020Understanding Marketing: DrupalCon Global 2020
Understanding Marketing: DrupalCon Global 2020
 
Drupalers Guide to Marketing: DrupalCon Seattle
Drupalers Guide to Marketing: DrupalCon SeattleDrupalers Guide to Marketing: DrupalCon Seattle
Drupalers Guide to Marketing: DrupalCon Seattle
 
Marketing for Drupalers - Drupal Europe
Marketing for Drupalers  - Drupal EuropeMarketing for Drupalers  - Drupal Europe
Marketing for Drupalers - Drupal Europe
 
Growing Great Teams - WordCamp Minneapolis
Growing Great Teams - WordCamp MinneapolisGrowing Great Teams - WordCamp Minneapolis
Growing Great Teams - WordCamp Minneapolis
 
Web User Experience in 2021
Web User Experience in 2021Web User Experience in 2021
Web User Experience in 2021
 
Word Press at Scale - WordCamp Minneapolis
Word Press at Scale - WordCamp MinneapolisWord Press at Scale - WordCamp Minneapolis
Word Press at Scale - WordCamp Minneapolis
 
Understanding and Implementing Website Security
Understanding and Implementing Website SecurityUnderstanding and Implementing Website Security
Understanding and Implementing Website Security
 
Welcome to Drupal
Welcome to DrupalWelcome to Drupal
Welcome to Drupal
 
10 Lessons Learned as a Drupal Entrepreneur
10 Lessons Learned as a Drupal Entrepreneur10 Lessons Learned as a Drupal Entrepreneur
10 Lessons Learned as a Drupal Entrepreneur
 
Responsive HTML Email with Drupal
Responsive HTML Email with DrupalResponsive HTML Email with Drupal
Responsive HTML Email with Drupal
 
Welcome to Drupal: Midcamp 2015
Welcome to Drupal: Midcamp 2015Welcome to Drupal: Midcamp 2015
Welcome to Drupal: Midcamp 2015
 
Drupal for Communicators
Drupal for CommunicatorsDrupal for Communicators
Drupal for Communicators
 
Welcome to the Drupal
Welcome to the DrupalWelcome to the Drupal
Welcome to the Drupal
 

Recently uploaded

This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptxInternet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
VivekSinghShekhawat2
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
natyesu
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
GTProductions1
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 

Recently uploaded (20)

This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptxInternet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 

Understanding and implementing website security

  • 2. Pantheon.io Hi, I’m Drew Gorton ● Director of Agency and Community Outreach, Pantheon ● Founder, Gorton Studios (2001) ● Co-founder, NodeSquirrel (2012) ● Drupal 4.4 (~2004) ● Drupal Twin Cities ● @dgorton ● drew@pantheon.io
  • 3. Web CMS is Risky The Elephant in the Room ● Web Content Management is inherently dangerous ● Connected to the internet ● Edited via the internet 3
  • 4. Data Breaches Have Become Commonplace 4 ● http://www.informationisbeautif ul.net/visualizations/worlds-big gest-data-breaches-hacks/ ●
  • 5. I’m So Tiny! Surely not me? ● You are a target ● You have: Computing power Access to nearby systems Visitors with vulnerable browsers Information PII? Transactions? Donations? ● Robots don’t care 5
  • 6. Website Security Is Not Binary ● Not On or Off ● “Is my website secure?” not a Yes / No question 6https://flic.kr/p/h4TA84
  • 7. Website Security Lessons from the Real World Safe Ratings ● Time (5 mins, 30 mins, …) ● Tools (hammer, drill, power, …) ● People (skill, number, …) 7https://flic.kr/p/5GPgE1
  • 8. Website Security Is a Continuum ● Perfect security is a myth ● There will always be gaps ● Be prepared 8
  • 9. Today’s Goals Our Agenda ● Understand Landscape ● Have Fewer, Smaller Gaps ● Better Preparedness ● Looking at Layers of Security 9https://flic.kr/p/5d4nKx
  • 10. Our Layers Drupal is Just One Piece ● Platform Linux, Apache, MySQL, PHP … ● Application Drupal, WordPress… ● Organizational Habits, procedures, planning… 10https://flic.kr/p/dp3nGo
  • 11. Platform Layer The Stack Drupal Uses ● Linux ● Apache / NGINX ● MySQL / MariaDB ● PHP ● Varnish ● Memcached / Redis ● Solr ● … ● http://www.linuxsecurity.com 11https://flic.kr/p/mmgwkx
  • 12. You Do Not Want This Monkey* 12 https://flic.kr/p/p8z6wN
  • 14. Buyer Beware 14 Not All Hosting Is Equal
  • 17. 17 How did you handle Heartbleed? How did you handle DrupalGeddon? Choose Hosts Wisely
  • 18. Application Layer Security in Drupal ● Configuration ● Modules ● Security Team and Procedures ● Coding Best Practices 18https://flic.kr/p/9Vx4ra
  • 19. Flexibility Drupal’s Great Strength and Weakness ● (Mis) Configuration ● True or False? ● You can configure Drupal so that Anonymous Users can ____ Upload images Change files Edit the homepage Turn on modules Change themes 19https://flic.kr/p/nze5Em
  • 20. Secure Configuration The Most Important Thing You Can Do ● Secure User 1 No simple passwords Don’t share passwords across sites Doesn’t have to be ‘admin’ ● Permissions & Roles Administer * is powerful Administer filters can pwn site ● No PHP (!!!) ● Update module Wednesdays are security releases Turn it on. Get the notifications. Do them 20https://flic.kr/p/5pGcyx
  • 21. Drupal Modules Improving Security with Contrib ● Password Policy and Password Strength ● Security Review ● Security Kit (Seckit) ● Hacked! ● Paranoia ● Permissions Lock ● Login Security ● Automated Logout ● Two Factor Authentication 21https://flic.kr/p/5d4nKx
  • 22. Security Team Our Fearless Defenders ● Drupal 7 & 8 Core + Contrib ● Wednesdays are releases ● Process & Procedure ● Drupal 6 coverage available 22https://flic.kr/p/5d4nKx
  • 23. Secure Coding Best Practices ● Writing Secure Code (Drupal.org) ● Cracking Drupal - OWASP 10 and Drupal ● SQL Injection ● XSS ● CRSF 23https://flic.kr/p/3dvqhG
  • 24. SQL Injection 24 As Illustrated by XKCD db_query() https://www.drupal.org/node/101496 http://xkcd.com/327/
  • 25. Secure Coding Best Practices ● JavaScript to run browser actions ● Up to 64% of websites vulnerable ● Everything you can do, XSS can do better ● Use Filters! check_url(), check_plain(), filter_xss(), filter_xss_admin(), check_markup() ● t() function ● https://www.drupal.org/node/2898 4 25https://flic.kr/p/5ALBHy
  • 26. Secure Coding Best Practices ● Actions on another site ● <a href="http://bank.com/ xfer.do?acct=123&amt=10000 ">View my Pictures!</a> ● Forms API , drupal_get_token(), drupal_valid_token() ● https://www.drupal.org/node/1788 96 26https://flic.kr/p/bSkp8r
  • 27. Organization Layer Secure Processes ● Safe Network Usage ● Secure Code Management ● Secure Support 27https://flic.kr/p/5kaEda
  • 28. Secure Networking Build Good Habits ● HTTPS / SSL LetsEncrypt.org CloudFlare Others ● SFTP (No FTP!) ● Wireless Caution 28https://flic.kr/p/6v1J1m
  • 29. Secure Code Management Take care of your code ● Use Version Control Software (VCS) like Git ● Sanitize Data on transfer - drushcommands.com/drush-8x/sql /sql-sanitize ● Secure your Keys - https://lockr.io 29https://flic.kr/p/9BkXKV
  • 30. Secure Support Take care of your clients ● Catalog your sites ● Wednesdays - be ready ● Who is responsible? ● Who helps them? ● How do they escalate? ● Emergency Procedures ● Run the drill! 30https://flic.kr/p/rEwbwL
  • 31. 31 ● Use a secure (reliable, performant) Drupal host ● Configure Drupal carefully ● Use Security-enhancing Drupal modules ● Follow Drupal coding best practices ● Use secure communications (HTTPS, SFTP, …) ● Have secure code management habits ● Have clear support practices and procedures In Summary
  • 32. Questions? Polly Wants a Cracker! ● @dgorton ● drew@pantheon.io 32https://flic.kr/p/pqiJNt