Wow Such PCI Compliance

55
WOW SUCH PCI COMPLIANCE Very card, wow security wow PHILLIP JACKSON LEAD MAGENTO ARCHITECT, SOMETHING DIGITAL 1 — ©2015 Philwinkle LLC Mt Magento Spain 2015

Transcript of Wow Such PCI Compliance

WOW SUCH PCI COMPLIANCEVery card, wow security wow

PHILLIP JACKSONLEAD MAGENTO ARCHITECT, SOMETHING DIGITAL

1 — ©2015 Philwinkle LLC Meet Magento Spain 2015

@PHILWINKLEGITHUB.COM/PHILWINKLE

2 — ©2015 Philwinkle LLC Meet Magento Spain 2015

@MAGETALK

3 — ©2015 Philwinkle LLC Meet Magento Spain 2015

PCI MYTHS4 — ©2015 Philwinkle LLC Meet Magento Spain 2015

1. IF I don't store CREDIT CARDS PCI doesn't apply

5 — ©2015 Philwinkle LLC Meet Magento Spain 2015

FALSE6 — ©2015 Philwinkle LLC Meet Magento Spain 2015

The only way to avoid PCI compliance is to transfer the risk entirely to someone else ... where credit card information never traverses your own

servers1

-- Focus on PCI

1 http://www.focusonpci.com/site/index.php/articles/pci-misconceptions.html7 — ©2015 Philwinkle LLC Meet Magento Spain 2015

2. MAGENTO IS PCI COMPLIANT, SO THEREFORE

I'm PCI compliant8 — ©2015 Philwinkle LLC Meet Magento Spain 2015

FALSE(kinda)

9 — ©2015 Philwinkle LLC Meet Magento Spain 2015

MAGENTO IS PCI DSS COMPLIANT ONLY WHEN USED IN CONJUCTION WITH SECURE

PAYMENT BRIDGE2

2 http://magento.com/resources/pci10 — ©2015 Philwinkle LLC Meet Magento Spain 2015

WHY ISN'T MAGENTO ITSELF PCI COMPLIANT?▸ Magento is monolithic ▸ Swift update deployment

▸ Limit the scope of feature impact▸ $$$$

11 — ©2015 Philwinkle LLC Meet Magento Spain 2015

3. I AM IN THE EU/AUS/ANTARCTICA AND I DON'T

NEED TO ABIDE BY PCI12 — ©2015 Philwinkle LLC Meet Magento Spain 2015

FALSE13 — ©2015 Philwinkle LLC Meet Magento Spain 2015

YOU CAN'T UN-HACK YOUR SITE

14 — ©2015 Philwinkle LLC Meet Magento Spain 2015

15 — ©2015 Philwinkle LLC Meet Magento Spain 2015

16 — ©2015 Philwinkle LLC Meet Magento Spain 2015

HOW LONG UNTIL A DEFAULTMAGENTO CE 1.9.0.0 IS hacked?

17 — ©2015 Philwinkle LLC Meet Magento Spain 2015

18 MINUTES18 — ©2015 Philwinkle LLC Meet Magento Spain 2015

19 — ©2015 Philwinkle LLC Meet Magento Spain 2015

COMMON PCI FAILURES

20 — ©2015 Philwinkle LLC Meet Magento Spain 2015

DO YOU USE 3rd party MODULES?

21 — ©2015 Philwinkle LLC Meet Magento Spain 2015

DO YOU USE SOURCE CONTROL FOR DEPLOYMENTS?

CHECK YOURSITE.COM/.GIT AND YOURSITE.COM/VAR RIGHT AWAY

22 — ©2015 Philwinkle LLC Meet Magento Spain 2015

WHAT HAPPENS IF an employee TAKES A CREDIT

CARD OVER THE PHONE?23 — ©2015 Philwinkle LLC Meet Magento Spain 2015

DO YOU HAVE WIFI? I BET YOU DO.

24 — ©2015 Philwinkle LLC Meet Magento Spain 2015

WHEN WAS YOUR LAST SECURITY SCAN?

25 — ©2015 Philwinkle LLC Meet Magento Spain 2015

WHAT IS YOUR LOG RETENTION POLICY AND IS IT

STORED offsite, AND FOR how long?

26 — ©2015 Philwinkle LLC Meet Magento Spain 2015

WHAT IS YOUR PASSWORD POLICY?

27 — ©2015 Philwinkle LLC Meet Magento Spain 2015

WHAT DO YOU DO IN CASE OF A DATA BREACH?

28 — ©2015 Philwinkle LLC Meet Magento Spain 2015

WHAT IS YOUR BACKUP STRATEGY?

29 — ©2015 Philwinkle LLC Meet Magento Spain 2015

DO YOU HAVE A STAGING ENVIRONMENT?

30 — ©2015 Philwinkle LLC Meet Magento Spain 2015

DO YOU HAVE SEPARATE DEVELOPMENT

ENVIRONMENTS?31 — ©2015 Philwinkle LLC Meet Magento Spain 2015

DO YOU COPY LIVE CUSTOMER DATA TO YOUR DEVELOPMENT OR STAGING ENVIRONMENTS?

32 — ©2015 Philwinkle LLC Meet Magento Spain 2015

ARE YOU SCARED YET?33 — ©2015 Philwinkle LLC Meet Magento Spain 2015

HOW DO I GET COMPLIANT?

34 — ©2015 Philwinkle LLC Meet Magento Spain 2015

CONVENIENT 12-STEP PROGRAM

35 — ©2015 Philwinkle LLC Meet Magento Spain 2015

BUILD AND Maintain A SECURE NETWORK

1. Install and maintain a firewall2. Do not use vendor-supplied defaults

36 — ©2015 Philwinkle LLC Meet Magento Spain 2015

PROTECT CARDHOLDER DATA

1. Protect stored cardholder data2. Encrypt transmission of cardholder data

37 — ©2015 Philwinkle LLC Meet Magento Spain 2015

MAINTAIN A VULNERABILITY MANAGEMENT PROGRAM

1. Use and regularly update anti-virus software 2. Develop and maintain secure systems and

applications

38 — ©2015 Philwinkle LLC Meet Magento Spain 2015

YES, AUDITORS WILL REQUIRE AV ON PRODUCTION HARDWARE

39 — ©2015 Philwinkle LLC Meet Magento Spain 2015

YES THIS IS DUMBLOOK INTO THESE: CLAMAV (FREE), SOPHOS (INEXPENSIVE)

40 — ©2015 Philwinkle LLC Meet Magento Spain 2015

TO DEVELOP SECURE SYSTEMS

41 — ©2015 Philwinkle LLC Meet Magento Spain 2015

TOOLS TO ASSIST IN SECURE CODE DELIVERY▸ FOSS tools3

▸ RIPS for PHP▸ SQLmap

▸ OWASP Xenotix XSS Exploit Framework

3 http://www.isaca.org/Groups/Professional-English/pci-compliance/GroupDocuments/Meet%20PCI%20DSS%20Requirements%20with%20FOSS.pdf

42 — ©2015 Philwinkle LLC Meet Magento Spain 2015

IMPLEMENT STRONG ACCESS CONTROL MEASURES

1. Restrict employee access to cardholder data2. Assign a unique ID to each person

3. Restrict physical access

43 — ©2015 Philwinkle LLC Meet Magento Spain 2015

REGULARLY MONITOR AND TEST NETWORKS

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

2. Regularly test security systems and processes

44 — ©2015 Philwinkle LLC Meet Magento Spain 2015

MAINTAIN AN INFORMATION SECURITY POLICY

1. Maintain a policy that addresses information security

SAMPLE POLICIES AVAILABLE ONLINE45

5 https://github.com/catalyzeio/policies

4 https://www.dmoz.org/Computers/Security/Policy/Sample_Policies/

45 — ©2015 Philwinkle LLC Meet Magento Spain 2015

FREEDOM46 — ©2015 Philwinkle LLC Meet Magento Spain 2015

CONCLUSION47 — ©2015 Philwinkle LLC Meet Magento Spain 2015

THIS SOUNDS HARD48 — ©2015 Philwinkle LLC Meet Magento Spain 2015

LET'S MAKE IT EASIER49 — ©2015 Philwinkle LLC Meet Magento Spain 2015

WAYS WE CAN contribute AS A COMMUNITY

▸ Security Stackexchange▸ Magento Stackexchange

▸ Magento Subreddit (r/magento)

50 — ©2015 Philwinkle LLC Meet Magento Spain 2015

WAYS WE CAN stay secure▸ OWASP mailing list

▸ Magento security mailing list▸ Managed hosting▸ Policy reminders

51 — ©2015 Philwinkle LLC Meet Magento Spain 2015

PERFORM AN ASSESSMENT

52 — ©2015 Philwinkle LLC Meet Magento Spain 2015

MAGENTO ECG CODING STANDARD▸ anywhere you see $_GET, be scared▸ anywhere you see direct SQL, be scared

53 — ©2015 Philwinkle LLC Meet Magento Spain 2015

RUN MAGEREPORT▸ Byte.nl

▸ Scans for patch vulnerability and other issues

54 — ©2015 Philwinkle LLC Meet Magento Spain 2015

THANK YOU!SOMETHINGDIGITAL.COM

@PHILWINKLEGITHUB.COM/PHILWINKLE

55 — ©2015 Philwinkle LLC Meet Magento Spain 2015