SlideShare a Scribd company logo
1 of 37
Download to read offline
Let's Talk About PCI
Compliance for Drupal

Rick Manelius, PhD	

@rickmanelius
Overview

•
•
•

Why (should I care)?	

What (exactly is this PCI compliance thing)?	

How (do I get started)?
Why?
My Story

•
•
•

From great success to sheer panic.	

You’ll experience something similar at some point.	

The 5 Stages of PCI Compliance Grief	


•
•
•
•
•

Denial (“That doesn’t pertain to me.”)	

Anger (“WTF! Why didn’t someone tell me?”)	

Bargaining (“I’m more secure than others.”)	

Depression (“This is going to be so hard…”)	

Acceptance (“Alright, let’s do this!”)
Why? It’s In the News
You’ve Got Mail!
Security Breaches Hurt

•
•
•
•
•
•
•

Adobe - 2.9 million customer records.	

Sony Playstation Network - $77 Million.	

JC Penny - 650,000 records.	

Ubercart with custom module (3)	

$25-$215 / Breached Record. (1)	

Small merchants — 80+% of breaches. (2)	

One strike rule for PCI Level.

1. 2010 Annual Study: U.S. Cost of a Data Breach (symantec.com)	

2. In Data Leaks, Culprits Often Are Mom (Online Wall Street Journal)
PCI Compliance is Mandatory

•
•
•
•
•

Golden Rule	

Contractual	

Privilege	

It can be revoked	

One strike rule
My Goals

•
•

World Class eCommerce Platform => Set the Standard	

4 Stages of Mastery	

1. Unconscious Incompetence	

2. Conscious Incompetence	

3. Conscious Competence	

4. Unconscious Competence	


•
•
•

I believe the Drupal community is primarily at 1-2.	

At the very least, we need to get to 2 (awareness).	

Ideally 90+% of Drupal eCommerce sites get to 3.
Drupal PCI Compliance White Paper

•
•
•
•
•
•

http://drupalpcicompliance.org	

Co-authors:	


•
•

Greg Knaddison (Head of Drupal Security Team)	

Ned McClain (QSA at Applied Trust)	


Readable in less than an hour.	

Target audiences: developers, shops, & evaluators.	

Drupal specific information.	

Goes well beyond the information in this talk.
Sponsors
What?
The Journey of a Credit Card

•
•
•
•
•
•
•
•

User’s browser	

Internet	

Hosting Network	

Server	

LAMP Stack	

Drupal App	

Payment Gateway	

Merchant Service Provider
Holistic Approach

•
•
•
•

Card Data Environment (CDE)	

Everything that can touch the card falls into CDE.	

Security (& trust) is as strong as the weakest link.	

Need a policy to ensure end to end security.
PCI-DSS

•
•
•
•

PCI = Payment Card Industry	

DSS = Data Security Standard	

12 requirements (aka the dirty dozen)	

We will (quickly) go through them.
PCI Data Security Standard

•
•
•
•

1. Install and Maintain a Firewall	


•

5. Use and regularly update anti-virus software or
programs	


•

6. Develop and maintain secure systems and
applications

2. Do Not Use Vendor Supplied Default Passwords	

3. Protect Stored Data	

4. Encrypt transmission of cardholder data across
open, public networks
PCI Data Security Standard

•

7. Restrict access to cardholder data by business
need-to-know	


•

8. Assign a unique ID to each person with
computer access	


•
•

9. Restrict physical access to cardholder data	


•
•

11. Regularly test security systems and processes	


10. Track and monitor all access to network
resources and cardholder data	

12. Maintain a policy that addresses information
security for all personnel
PCI Data Security Standard

•
•

288 total checklist items.	

The number of items an eCommerce site is
responsible for depends on how its structured!
How?
So... Where Do I Start?

•
•
•

Key Factors: Volume & Validation Type.	

Volume determines PCI Level (1, 2, 3, or 4)	

Validation type determines SAQ (A, B, C, C-VT, D)	


•
•

SAQ = Self Assessment Questionnaires	

Provides checklist for 12 requirements.
Volume
!
!
!
!
!
!
!

•

Reported Breach = Automatic Level 1
Validation Type

•
•

(i.e. method by which you accept payment)	

A, C, and D are the most relevant for eCommerce.
Validation Type (English Please!)

•
•
•

SAQ A: Fully outsourced handling of sensitive data.	

SAQ C: “Standard” eCommerce setup.	

SAC D: Storing sensitive data.
Determining Your SAQ

•
•

Largely a function of payment method.	

3 types of payment methods: 	


•
•
•

Wholly Outsourced	

Shared-Management	

Merchant Managed
Determining Your SAQ

•
•

Largely a function of payment method.	

3 types of payment methods: 	


•
•
•

Wholly Outsourced	

Shared-Management	

Merchant Managed
Wholly Outsourced: SAQ A

•

Sensitive data is completely handled by another
vendor.	


•
•

Examples: Volusions, Big Commerce, etc.	

Grey area for Drupal payment gateways (more on
this later).
Merchant Managed: SAQ C/D

•

Drupal application processes and transmits credit
card data to the payment gateway.	


•

If you store cards, you’re SAQ D (dangerous!)	


•

Do not do this unless you absolutely, positively
know what you’re doing.
Shared Management: SAQ A/C

•

•
•
•

Three Types	


•
•
•

Hosted Payment Page	

Direct Post	

iFrame	


Often advertised as SAQ A.	

PCI Council outlines vulnerabilities.	

Consider these an “easier SAQ C”.
Hosted Payment Pages

•

Image courtesy of authorize.net
Direct Post

•

Image courtesy of authorize.net
iFrame

•

Basically direct post with the additional security of
an iframe surrounding the form element.	


•

Protects from JS attacks from the parent DOM.
Attacking Shared-Management

•
•
•
•

Direct Post (Stripe, Braintree, etc)	


•

JS Keylogger.	


Hosted Payment Page (Paypal, etc)	


•

Redirecting to a spoof site.	


iframe (Auth.net hosted CIM, Hosted PCI)	


•

Replace the iframe.	


While still vulnerable, shared-management
solutions are considerably less risky than merchant
managed solutions!
SAQ Breakdown

•
•
•
•
•

Merchant Managed - SAQ C/D	

Shared-Management - SAQ A/C	

Wholly Outsourced - SAQ A	

SAQ C - “Standard” eCommerce Site.	

SAQ D - Storing Cardholder Data.
Recommendations

•
•
•
•
•
•

Use shared-management types.	

iFrame or Hosted Payment Pages Preferred	

Use SAQ C regardless of vendor claims.	

New 3.0 PCI standard coming out soon.	

Consider SAQ the minimum level.	

Seek help if you have any questions.
Recommendations

•

Download: Drupal PCI Compliance White Paper!	


•

http://drupalpcicompliance.org/
Summarizing

•
•
•

Why	


•
•

Mandatory	

Financial, PR, and legal risks.	


What	


•

Standard that addresses security holistically.	


How	


•
•
•

Determine your volume + transaction type.	

Complete the relevant SAQ form.	

Do your due diligence!!!
Questions
!
!
!
!
!

•

PS. Don’t forget:	


•
•

http://drupalpcicompliance.org/	

Drupal.org/IRC/twitter: @rickmanelius

More Related Content

Recently uploaded

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 

Featured

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

Featured (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

PCI Compliance and Drupal - Commerce Guys Webinar

  • 1. Let's Talk About PCI Compliance for Drupal Rick Manelius, PhD @rickmanelius
  • 2. Overview • • • Why (should I care)? What (exactly is this PCI compliance thing)? How (do I get started)?
  • 4. My Story • • • From great success to sheer panic. You’ll experience something similar at some point. The 5 Stages of PCI Compliance Grief • • • • • Denial (“That doesn’t pertain to me.”) Anger (“WTF! Why didn’t someone tell me?”) Bargaining (“I’m more secure than others.”) Depression (“This is going to be so hard…”) Acceptance (“Alright, let’s do this!”)
  • 5. Why? It’s In the News
  • 7. Security Breaches Hurt • • • • • • • Adobe - 2.9 million customer records. Sony Playstation Network - $77 Million. JC Penny - 650,000 records. Ubercart with custom module (3) $25-$215 / Breached Record. (1) Small merchants — 80+% of breaches. (2) One strike rule for PCI Level. 1. 2010 Annual Study: U.S. Cost of a Data Breach (symantec.com) 2. In Data Leaks, Culprits Often Are Mom (Online Wall Street Journal)
  • 8. PCI Compliance is Mandatory • • • • • Golden Rule Contractual Privilege It can be revoked One strike rule
  • 9. My Goals • • World Class eCommerce Platform => Set the Standard 4 Stages of Mastery 1. Unconscious Incompetence 2. Conscious Incompetence 3. Conscious Competence 4. Unconscious Competence • • • I believe the Drupal community is primarily at 1-2. At the very least, we need to get to 2 (awareness). Ideally 90+% of Drupal eCommerce sites get to 3.
  • 10. Drupal PCI Compliance White Paper • • • • • • http://drupalpcicompliance.org Co-authors: • • Greg Knaddison (Head of Drupal Security Team) Ned McClain (QSA at Applied Trust) Readable in less than an hour. Target audiences: developers, shops, & evaluators. Drupal specific information. Goes well beyond the information in this talk.
  • 12. What?
  • 13. The Journey of a Credit Card • • • • • • • • User’s browser Internet Hosting Network Server LAMP Stack Drupal App Payment Gateway Merchant Service Provider
  • 14. Holistic Approach • • • • Card Data Environment (CDE) Everything that can touch the card falls into CDE. Security (& trust) is as strong as the weakest link. Need a policy to ensure end to end security.
  • 15. PCI-DSS • • • • PCI = Payment Card Industry DSS = Data Security Standard 12 requirements (aka the dirty dozen) We will (quickly) go through them.
  • 16. PCI Data Security Standard • • • • 1. Install and Maintain a Firewall • 5. Use and regularly update anti-virus software or programs • 6. Develop and maintain secure systems and applications 2. Do Not Use Vendor Supplied Default Passwords 3. Protect Stored Data 4. Encrypt transmission of cardholder data across open, public networks
  • 17. PCI Data Security Standard • 7. Restrict access to cardholder data by business need-to-know • 8. Assign a unique ID to each person with computer access • • 9. Restrict physical access to cardholder data • • 11. Regularly test security systems and processes 10. Track and monitor all access to network resources and cardholder data 12. Maintain a policy that addresses information security for all personnel
  • 18. PCI Data Security Standard • • 288 total checklist items. The number of items an eCommerce site is responsible for depends on how its structured!
  • 19. How?
  • 20. So... Where Do I Start? • • • Key Factors: Volume & Validation Type. Volume determines PCI Level (1, 2, 3, or 4) Validation type determines SAQ (A, B, C, C-VT, D) • • SAQ = Self Assessment Questionnaires Provides checklist for 12 requirements.
  • 22. Validation Type • • (i.e. method by which you accept payment) A, C, and D are the most relevant for eCommerce.
  • 23. Validation Type (English Please!) • • • SAQ A: Fully outsourced handling of sensitive data. SAQ C: “Standard” eCommerce setup. SAC D: Storing sensitive data.
  • 24. Determining Your SAQ • • Largely a function of payment method. 3 types of payment methods: • • • Wholly Outsourced Shared-Management Merchant Managed
  • 25. Determining Your SAQ • • Largely a function of payment method. 3 types of payment methods: • • • Wholly Outsourced Shared-Management Merchant Managed
  • 26. Wholly Outsourced: SAQ A • Sensitive data is completely handled by another vendor. • • Examples: Volusions, Big Commerce, etc. Grey area for Drupal payment gateways (more on this later).
  • 27. Merchant Managed: SAQ C/D • Drupal application processes and transmits credit card data to the payment gateway. • If you store cards, you’re SAQ D (dangerous!) • Do not do this unless you absolutely, positively know what you’re doing.
  • 28. Shared Management: SAQ A/C • • • • Three Types • • • Hosted Payment Page Direct Post iFrame Often advertised as SAQ A. PCI Council outlines vulnerabilities. Consider these an “easier SAQ C”.
  • 29. Hosted Payment Pages • Image courtesy of authorize.net
  • 30. Direct Post • Image courtesy of authorize.net
  • 31. iFrame • Basically direct post with the additional security of an iframe surrounding the form element. • Protects from JS attacks from the parent DOM.
  • 32. Attacking Shared-Management • • • • Direct Post (Stripe, Braintree, etc) • JS Keylogger. Hosted Payment Page (Paypal, etc) • Redirecting to a spoof site. iframe (Auth.net hosted CIM, Hosted PCI) • Replace the iframe. While still vulnerable, shared-management solutions are considerably less risky than merchant managed solutions!
  • 33. SAQ Breakdown • • • • • Merchant Managed - SAQ C/D Shared-Management - SAQ A/C Wholly Outsourced - SAQ A SAQ C - “Standard” eCommerce Site. SAQ D - Storing Cardholder Data.
  • 34. Recommendations • • • • • • Use shared-management types. iFrame or Hosted Payment Pages Preferred Use SAQ C regardless of vendor claims. New 3.0 PCI standard coming out soon. Consider SAQ the minimum level. Seek help if you have any questions.
  • 35. Recommendations • Download: Drupal PCI Compliance White Paper! • http://drupalpcicompliance.org/
  • 36. Summarizing • • • Why • • Mandatory Financial, PR, and legal risks. What • Standard that addresses security holistically. How • • • Determine your volume + transaction type. Complete the relevant SAQ form. Do your due diligence!!!