Encryption Not just for the NSA anymore

Slides:



Advertisements
Similar presentations
Chapter 10 Encryption: A Matter of Trust. Awad –Electronic Commerce 1/e © 2002 Prentice Hall 2 OBJECTIVES What is Encryption? Basic Cryptographic Algorithm.
Advertisements

Oracle Database Security
Principles of Information Security, 2nd edition1 Cryptography.
Overview and Roadmap for Microsoft SQL Server Security
Gavin Payne Transparent Data Encryption The Hows, Whys and Whens.
Oracle Database 12c Data Protection and Multitenancy on Oracle Solaris 11 Xiaosong Zhu Senior Software Engineer Copyright © 2014, Oracle and/or its affiliates.
Jim McLeod MyDBA  SQL Server Performance Tuning Consultant with MyDBA  Microsoft Certified Trainer with SQLskills Australia 
Mobile and Wireless Communication Security By Jason Gratto.
Introduction to SQL Server 2000 Security Dave Watts CTO, Fig Leaf Software
Roy Ernest Database Administrator Pinnacle Sports Worldwide SQL Server 2008 Transparent Data Encryption.
VM Azure Storage Backup to Azure Storage On Premise Data Files in Azure Storage Optionally Managed Microsoft Azure Secondary Primary AlwaysOn.
Implementing Secure IRC App with Elgamal By Hyungki Choi ID : Date :
Web Database Security Session 12 & 13 Matakuliah: Web Database Tahun: 2008.
#SQLSAT454 SQL Server 2016 New Security Features Gianluca
SQL SATURDAY #444 – Kansas City, MO. A LOOK AT ALWAYS ENCRYPTED SQL SATURDAY #444 – KANSAS CITY, MO DAVE WALDEN PRINCIPAL SOLUTIONS ARCHITECT DB BEST.
The Encryption Primer Steve Jones Editor SQLServerCentral.
March 7, 2013 SQL Encryption and You By Todd Kleinhans
Over 18 yrs experience with SQL Server
Secure SQL Database with TDE Thomas Chan SQL Saturday Raleigh.
End to End Always Encrypted in SQL Server 2016 Steve Jones SQLServerCentral Redgate Software.
Hacking Exposé Using SSL to Protect SQL Connections.
SQL Server Encryption Ben Miller Blog:
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Linux Password Vault by Ali Can Oğul. Codefellas2 Developer: Ali Can Oğul Sponsor: Özgür Yazılım A. Ş.
ArcGIS for Server Security: Advanced
The Secure Sockets Layer (SSL) Protocol
Azure SQL Database Updates
Securing Your Data With SQL 2016 (An overview of Always Encrypted)
Data Virtualization Tutorial… SSL with CIS Web Data Sources
Recommended Practices & Fundamentals
Security Using Armstrong Numbers and Authentication using Colors
Virtual Private Network (VPN)
Hiding Data from Prying eyes: Using SQL Server 2016 Always Encrypted
What Does GDPR mean for you
Securing Data with SQL Server 2016
Crypto in information security
NETWORK SECURITY Cryptography By: Abdulmalik Kohaji.
Cryptography Reference: Network Security
Cryptography Reference: Network Security
Mike Furgal Director – DB and Pro2 Services March 20th, 2017
Visit for more Learning Resources
Encryption in SQL Server
Introduction to SQL Server 2000 Security
Jee sook, Eun May 2004 Presented in IEEE 802.1af - key management
GDPR Readiness Project
How to Check if a site's connection is secure ?
SQL Server 2016 Security Features
Always Encrypted in the Real World
Bob Siegel President Privacy Ref, Inc.
Encrypting Data within SQL Server
SQL 2014 In-Memory OLTP What, Why, and How
How to Protect Big Data in a Containerized Environment
DISTRIBUTED SYSTEMS Principles and Paradigms Second Edition ANDREW S
Making Sense of Service Broker
dbatools - PowerShell and SQL Server Working Together
A Web-based Integrated Console for Controlling a Set of Networks
Web Development & Design Foundations with H T M L 5
End to End Security and Encryption in SQL Server
The Secure Sockets Layer (SSL) Protocol
 How does GDPR impact your business? Pro Tip: Pro Tip: Pro Tip:
8.1 Active Directory Rights Management Services (AD RMS)
Cryptography Reference: Network Security
Secure/Encrypt SQL Server Database With TDE
Transport Layer Security (TLS)
SQL Server 2016 Security Features
AWS S3 Cloud Backup Licensing per system Starting at $79 per year.
Unit 8 Network Security.
Electronic Payment Security Technologies
Stefano Tempesta Secure Machine Learning with SQL Server Always Encrypted with Secure Enclaves.
We Need To Talk Security
Presentation transcript:

Encryption Not just for the NSA anymore Eric Blinn Encryption Not just for the NSA anymore

Eric Blinn Who is this guy? Sr Data Architect @ Content Creator @ Contact info: ericblinn.com linkedin.com/in/ericblinn Twitter: @SQL2TheSequel Note: This guy is nuts.

Agenda Intro to Encryption Backup Encryption Transparent Data Encryption aka TDE Always Encrypted Connection Encryption Before we get started, let’s talk about what encryption is

Encryption – What is it? Reversible obfuscation of data Reversal depends upon a key From Wikipedia: The intended information, referred to as plaintext, is encrypted using an encryption algorithm generating ciphertext that can be read only if decrypted.  Only part of overall security plan Defense in Depth We’ll do the exact opposite of this at the end

Encryption – Why should I care? GDPR - General Data Protection Regulation EU Privacy Law, Effective May 2018 2 Levels of fines, Lower Level and Upper Level Up to €10 million, or 2% of annual worldwide revenue, whichever is higher Up to €20 million, or 4% of annual worldwide revenue, whichever is higher US Based Data Breach Settlements* Anthem (2017) — $115M Home Depot (2017) — $25M Target (2015) — $28.5M *https://www.classaction.com/data-breach/settlement/

Backup Encryption Now that I’ve scared you into listening….

Backup Encryption Introduced in SQL Server 2014 Standard or Enterprise Edition Encrypts native backup files Based on certificate stored securely within SQL Server engine BACKUP DATABASE MyDB TO DISK = N'c:\backups\WideWorldSecure.bak' WITH ENCRYPTION(ALGORITHM = AES_256, SERVER CERTIFICATE = [BackupCert])

Transparent Data Encryption

Transparent Data Encryption (TDE) Introduced in SQL Server 2008 Enterprise Only! Encrypts MDF/NDF/LDF files only Does so at rest only Server side encryption/decryption Based on certificate stored securely within SQL Server engine Data encrypted as written to disk, decrypted as read from disk. Not encrypted in buffer pool, BPE, or communication channel. User has no idea.

Transparent Data Encryption (TDE) TempDB gets encrypted Backups inherently encrypted Must use MAXTRANSFERSIZE or lose backup compression Can be combined with backup encryption Should be different certificate from backup certificate Non-blocking operation while being encrypted What did we learn from the demo?

Always Encrypted

Always Encrypted Introduced in SQL Server 2016 All Editions (SP1) Encrypts specific columns Client side encryption/decryption Based on certificate stored on client machines Data encrypted client side. Stays encrypted in buffer pool, etc

Always Encrypted Deterministic vs Non-Deterministic Column limitations based on constraints and data types Is different certificate than backups or TDE Blocking operation while being encrypted What did we learn from the demo?

Connection Encryption

Connection Encryption Available in all versions/editions of SQL Server Encrypts data “in-flight” Client and Server side encryption/decryption Secure Socket Layer (SSL)

Certificate Importance https://www.hulu.com/watch/269946

Certificates Are Important!! Back up your certificates. Do not lose your certificates. Store them safely and securely. Without them you have nothing.

Defense in depth

Eric Blinn Sr Data Architect, Squire Patton Boggs Thank you! Eric Blinn Sr Data Architect, Squire Patton Boggs www.ericblinn.com www.linkedin.com/in/ericblinn Twitter: @SQL2TheSequel M O V I N G Y O U F O R W A R D Q + A time