• No results found

Securing Your Sensitive Data with EKM & TDE. on SQL Server 2008/2012

N/A
N/A
Protected

Academic year: 2021

Share "Securing Your Sensitive Data with EKM & TDE. on SQL Server 2008/2012"

Copied!
36
0
0

Loading.... (view fulltext now)

Full text

(1)

Securing Your Sensitive Data

with EKM & TDE

(2)

About The Speaker

• Founder & CEO of Townsend Security • Leading data security expert

(3)

Introduction

• Organizations of all sizes are under multiple

compliance regulations

• Encryption is perceived to be the hardest part

of compliance

• Key management is perceived to be the

hardest part of encryption

(4)

Session Roadmap

• Compliance and Standards

• Key Management Critical for Compliance • Microsoft EKM Architecture

• EKM Supported Platforms

• Transparent Data Encryption • Cell Level Encryption

(5)

Session Roadmap (cont.)

• Performance Considerations

• Should I upgrade? The Business Case

• Migrating to EKM with Key Management

• How about SharePoint and Dynamics

(6)

• PCI DSS – Credit Card Payments

• HIPAA / HITECH Act – Medical

• GLBA / FFIEC – Banking and Finance

• State Privacy (proposed Federal)

(7)

Compliance and Standards (Cont.)

• FISMA – Federal Govt. • FERPA – Educational

Institutions

• Federal Trade

Commission – Consumer

(8)

Where Do Regulations Come From?

• National Institute of Standards and Technology (NIST)

• International Standards Organization – ISO • American National Standards Institute – ANSI • IEEE 1619.3 – Key Management for Storage

(9)

What are the Standards and

Certifications?

 AES encryption standard is from NIST › AES Validation

 Cryptographic module certification for key management is from NIST

› FIPS 140-2

 RSA and ECC cryptographic module certification is from NIST

› RSA and ECC validation › FIPS 140-2 certification

(10)

Key Management:

Critical for Compliance

• Dual Control & Separation of Duties – why do they matter? • Not new concepts, very common in financial operations

(11)

Dual Control

• Two or more people authenticate to perform ONE operation

– Example: Two signatures required on checks

(12)

Separation of Duties

• Different people perform different operations

– Example: Different person prints the checks than signs them

– Key Management: Different people manage encryption keys than manage databases

(13)

SQL Server EKM Capabilities

• Extensible Key Management starting with SQL Server 2008

• Transparent Data Encryption (TDE) • Cell Level Encryption

• HSM hosted keys

(14)

EKM Supported Platforms

• SQL Server 2008 Enterprise Edition or higher

• SQL Server 2008 R2 Enterprise Edition or higher • SQL Server 2012 Enterprise Edition or higher

(15)

Non EKM Platforms

• EKM not supported on:

– SQL Server 2000 – SQL Server 2005

– SQL Server 2008/2012 Express Edition – SQL Server 2008/2012 Standard Edition – SQL Server 2008/2012 Web Edition

(16)

SQL Server EKM Architecture

• SQL Server with EKM support

• EKM Provider

software (vendor provided)

(17)

Transparent Data Encryption (TDE)

• Entire table space is encrypted

• Temporary space and logs are encrypted

• Symmetric key is protected by Asymmetric

key on key manager

(18)

Transparent Data Encryption (TDE)

• Symmetric key is unlocked during SQL

Server start

• SQL Server performs all encryption tasks

(not an HSM task)

(19)

EKM TDE with HSM example

create cryptographic provider KeyConnection from file = 'C:\Program Files\Townsend Security\Key

(20)

EKM TDE with HSM example

use master;

create asymmetric key rsa_key from provider

KeyConnection with provider_key_name = 'RSA-KEY', creation_disposition = open_existing;

(21)

EKM TDE with HSM example

use mydatabase;

create database encryption key with algorithm = AES_256 encryption by server asymmetric key

(22)

EKM TDE with HSM example

(23)

Migrating EKM TDE encryption to

an HSM strategy

• Without a key server HSM, SQL Server data encryption key is

protected by key encryption key stored on the server

• Migrating to HSM protection is easy – just two or three commands

(24)

Cell Level Encryption

• Only selected cells (columns) are encrypted • Requires changes to SQL statements

• EKM Provider called for each encryption request • Symmetric keys are retrieved from key manager

HSM as needed

(25)

EKM Cell Level HSM example

create cryptographic provider KeyConnection from file = 'C:\Program Files\Townsend Security\Key

(26)

EKM Cell Level HSM example

select provider_id from

sys.dm_cryptographic_provider_properties where friendly_name = 'Key Connection for SQL Server';

(27)

EKM Cell Level HSM example

select * from

(28)

EKM with HSM example

create symmetric key my_key from provider

KeyConnection with provider_key_name = 'KEY01-128', creation_disposition = open_existing;

(29)

EKM with HSM example

select encryptbykey(key_guid('my_key'), 'Hello World'); select decryptbykey(some_column) from some_table; insert into my_table values

(encryptbykey(key_guid('my_key'), 'Hello World', 1, 'Townsend Security'));

(30)

Performance considerations

• TDE works best on small and mid-sized

databases

• TDE imposes about 1.5% to 2%

performance impact

• Backups may take longer with TDE due to

low compression

(31)

Performance considerations

• Cell Level Encryption is best for large

databases

• EKM Provider can help with Cell Level

encryption performance

(32)

Upgrade for EKM?

The Business Case

• Cost/Benefit analysis is important in upgrade scenarios

• Most companies view encryption as risk mitigation – ROI is not appropriate

(33)

SharePoint Encryption?

• SharePoint 2010 supports

SQL Server TDE

(34)

Dynamics CRM Encryption?

• Microsoft Dynamics CRM

applications with SQL Server TDE

(35)

Dynamics CRM Encryption

• What

Microsoft says about Dynamics CRM

4.0 with TDE encryption:

“For business scenarios that require a level of protection for the entire database at rest, consider

enabling TDE, which test results confirm will have a minimal effect on the performance of existing

(36)

Conclusion

References

Related documents

Specifically, the study aimed to identify the different skills that have been joined by the CITHM students; to determine the implications of skills competition

Bernard Lander, the International School of Business at Touro College was originally established in the late 1980s to offer a select graduate program in international business

A typical characteristic of community question answering sites is the high variance of the quality of answers, while a mechanism to automatically detect a high-quality answer has

Here, referees with significant individual effects for result also have positive and significant effects for other referee fixed effects like awarded yellow, red cards and goals in

In the current Marriage Law of the People’s Republic of China (thereafter “Marriage Law”), there are many clauses without civil liability, and we call these

The 3D Printing our Future:Now talk and visual presentation provided an overview of art, design & architecture research, creative practice, and enterprise &

We did a prospective observational study between Jan 23, 2014, and April 13, 2015, in residential care homes for elderly people in southeast England that reported scabies

The templates that we are going to use for planning a CLIL unit and a CLIL lesson are the ones published on the website of Conselleria d'Educacio, Servei d'ensenyament