Microsoft SQL Server Security and Auditing Clay Risenhoover ISACA North Texas April 14, 2016 http://tinyurl.com/isacaclay



Similar documents
SQL 2016 and SQL Azure

SQL Server for Database Administrators Course Syllabus

SQL Server 2014 New Features/In- Memory Store. Juergen Thomas Microsoft Corporation

Designing Database Solutions for Microsoft SQL Server 2012

Designing a Data Solution with Microsoft SQL Server 2014

Updating Your Skills to SQL Server 2016

Designing Database Solutions for Microsoft SQL Server 2012 MOC 20465

Course Outline. Upgrading Your Skills to SQL Server 2016 Course 10986A: 5 days Instructor Led

MS 20465: Designing Database Solutions for Microsoft SQL Server 2012

How To Manage A Database Server 2012

SQL Server on Azure An e2e Overview. Nosheen Syed Principal Group Program Manager Microsoft

SQL Server 2016 New Features!

6231A - Maintaining a Microsoft SQL Server 2008 Database

New hybrid cloud scenarios with SQL Server Matt Smith 6/4/2014

Online Transaction Processing in SQL Server 2008

SQL Server Hybrid Features. Luis Vargas, Senior Program Manager Lead Xin Jin, Program Microsoft

MS 20465C: Designing a Data Solution with Microsoft SQL Server

Floating on a Hybrid Cloud: SQL Server 2012 & Microsoft Azure. Timothy P. McAliley Microsoft Premier Field Engineer SQL Server

Getting Started with Attunity CloudBeam for Azure SQL Data Warehouse BYOL

SQL Server Upgrading to. and Beyond ABSTRACT: By Andy McDermid

SQL Server 2012/2014 AlwaysOn Availability Group

Designing and Deploying Messaging Solutions with Microsoft Exchange Server 2010 Service Pack B; 5 days, Instructor-led

Administering Microsoft SQL Server 2012 Databases

Alliance Key Manager Cloud HSM Frequently Asked Questions

SQL Server What s New? Christopher Speer. Technology Solution Specialist (SQL Server, BizTalk Server, Power BI, Azure) v-cspeer@microsoft.

Hybrid and Hyperscale Cloud with SQL Server 2016

Administering a SQL Database Infrastructure

Designing a Data Solution with Microsoft SQL Server 2014

Administering a SQL Database Infrastructure 20764; 5 Days; Instructor-led

Video Administration Backup and Restore Procedures

Designing a Data Solution with Microsoft SQL Server

WELKOM Cloud met Azure

Backup and Restore with 3 rd Party Applications

HOW TO CONFIGURE SQL SERVER REPORTING SERVICES IN ORDER TO DEPLOY REPORTING SERVICES REPORTS FOR DYNAMICS GP

Course 20465: Designing a Data Solution with Microsoft SQL Server

Designing a Data Solution with Microsoft SQL Server


Below are the some of the new features of SQL Server that has been discussed in this course

Boost SQL Server Performance Buffer Pool Extensions & Delayed Durability

CP003 Azure SQL Database V12 updates and comparison with SQL Server

Securing SQL Server. Protecting Your Database from. Second Edition. Attackers. Denny Cherry. Michael Cross. Technical Editor ELSEVIER

Course 20465C: Designing a Data Solution with Microsoft SQL Server

Administering Microsoft SQL Server 2012 Databases

Implementing Microsoft Azure Infrastructure Solutions

Redundancy Options. Presented By: Chris Williams

Microsoft Azure Cloud on your terms. Start your cloud journey.

Microsoft Exam MB2-702 Microsoft Dynamics CRM 2013 Deployment Version: 6.1 [ Total Questions: 90 ]

SQL Server Encryption Overview. September 2, 2015

20465: Designing a Data Solution with Microsoft SQL Server

Kalen Delaney

Database Backup and Restore Mechanism. Presented by : Mary Meladath

Securing Data on Microsoft SQL Server 2012

MOC Administering Microsoft SQL Server 2014 Databases

Outline. MCSE: Data Platform. Course Content. Course 10776C: MCSA: Developing Microsoft SQL Server 2012 Databases 5 Days

SQL Server Training Course Content

Frequently Asked Questions

MS-40074: Microsoft SQL Server 2014 for Oracle DBAs

SQL Server Database Administrator s Guide

This three-day instructor-led course provides existing SQL Server database professionals with the knowledge

Securing Data in Oracle Database 12c

10775A Administering Microsoft SQL Server 2012 Databases

Use the below instructions to configure your wireless settings to connect to the secure wireless network using Microsoft Windows Vista/7.

Updating your Database skills to Microsoft SQL Server 2012

Michael Noel. Colin Spence. SharePoint UNLEASHED. 800 East 96th Street, Indianapolis, Indiana USA

MS-55096: Securing Data on Microsoft SQL Server 2012

Beginning SQL Server Administration. Apress. Rob Walters Grant Fritchey

Administering a SQL Database Infrastructure (MS )

Overview of Luna High Availability and Load Balancing

ADMINISTERING MICROSOFT SQL SERVER DATABASES

Copyright

Microsoft SQL Server Security Best Practices

20465C: Designing a Data Solution with Microsoft SQL Server

Getting to Know the SQL Server Management Studio

Overview. Edvantage Security

GoGrid Implement.com Configuring a SQL Server 2012 AlwaysOn Cluster

Active Directory Infrastructure Design Document

Appendix A Core Concepts in SQL Server High Availability and Replication

How to Copy A SQL Database SQL Server Express (Making a History Company)

Microsoft SQL Database Administrator Certification

Administering Microsoft SQL Server 2012 Databases

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Implementing a Microsoft SQL Server 2005 Database

Administering Microsoft SQL Server 2014 Databases

Course 20462C: Administering Microsoft SQL Server Databases

Debunking The Myths of Column-level Encryption

EMC NetWorker Module for Microsoft for SQL and SharePoint VSS User Guide

MySQL Security: Best Practices

White Paper How Noah Mobile uses Microsoft Azure Core Services

Administering Microsoft SQL Server Databases

Course 20465C: Designing a Data Solution with Microsoft SQL Server

How to Set Up a Shared SQL Express Database with ManagePro 7 Standard version

SQL Server 2014

Autodesk PLM 360 Security Whitepaper

Updating Your SQL Server Skills to Microsoft SQL Server 2014

Oracle Database 12c Plug In. Switch On. Get SMART.

HITS HR & PAYROLL CLOUD MODEL WHITEPAPER

Updating Your SQL Server Skills to Microsoft SQL Server 2014 (10977) H8B96S

Exam Number/Code : Exam Name: Name: PRO:MS SQL Serv. 08,Design,Optimize, and Maintain DB Admin Solu. Version : Demo.

Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led

Transcription:

Microsoft SQL Server Security and Auditing Clay Risenhoover ISACA North Texas April 14, 2016 http://tinyurl.com/isacaclay 2016, Risenhoover Consulting, Inc. All Rights Reserved 1

Goals Understand new and important security features Demonstrate use of some of them Discuss security ramifications of all of them 2016, Risenhoover Consulting, Inc. All Rights Reserved 2

Assumptions The ideal student: Not a DBA Not freaked out by SQL Understand security/assurance Understand basic database concepts (like ACID) 2016, Risenhoover Consulting, Inc. All Rights Reserved 3

ACID Atomicity (all or nothing transactions) Consistency (transactions leave DB in stable state) Isolation (concurrency) Durability (transactions don t go away once committed) 2016, Risenhoover Consulting, Inc. All Rights Reserved 4

Model Server hardening Confidentiality Integrity Availability 2016, Risenhoover Consulting, Inc. All Rights Reserved 5

Server Hardening Patch level Authentication modes 2016, Risenhoover Consulting, Inc. All Rights Reserved 6

Patching Determine running version Sqlserverversions.blogspot.com select @@version select SERVERPROPERTY('productversion') 2016, Risenhoover Consulting, Inc. All Rights Reserved 7

Authentication Determine authentication mode SELECT SERVERPROPERTY('IsIntegratedSecurityOnly') SELECT CASE SERVERPROPERTY('IsIntegratedSecurityOnly') WHEN 1 THEN 'Windows Authentication' WHEN 0 THEN Mixed Mode Authentication' END as [Authentication Mode] 2016, Risenhoover Consulting, Inc. All Rights Reserved 8

Confidentiality Encryption Row-level security User permissions 2016, Risenhoover Consulting, Inc. All Rights Reserved 9

Encryption Options Transparent data encryption (TDE) Encrypted Backups Always encrypted 2016, Risenhoover Consulting, Inc. All Rights Reserved 10

Encryption - TDE Introduced in SQL Server 2008 Enterprise Encrypts data at rest Uses hierarchy of keys 2016, Risenhoover Consulting, Inc. All Rights Reserved 11

TDE Key Hierarchy Service Master Key (OS Level) Database Master Key Database Encryption Key 2016, Risenhoover Consulting, Inc. All Rights Reserved 12

TDE Key Backups BACKUP MASTER KEY TO FILE = 'path_to_file' ENCRYPTION BY PASSWORD = 'password RESTORE MASTER KEY FROM FILE = 'path_to_file' DECRYPTION BY PASSWORD = 'password' ENCRYPTION BY PASSWORD = 'password' [ FORCE ] 2016, Risenhoover Consulting, Inc. All Rights Reserved 13

Encryption Encrypted Backups Introduced in SQL Server 2014 Encrypt database backup files Can use 2016, Risenhoover Consulting, Inc. All Rights Reserved 14

Encryption Always Encrypted Introduced in SQL Server 2016 Protects data in transit and at rest Columns encrypted with keys stored with application, not in server 2016, Risenhoover Consulting, Inc. All Rights Reserved 15

Encryption Final Thoughts Backup and protect all cryptographic keys TEST YOUR BACKUPS 2016, Risenhoover Consulting, Inc. All Rights Reserved 16

Row-Level Security Introduced in SQL Server 2016 Uses functions to restrict table rows available to a user Older versions, had to use views and stored procedures to emulate 2016, Risenhoover Consulting, Inc. All Rights Reserved 17

Special Permissions Server-level permissions: Apply to all databases, present and future Introduced in SQL Server 2014: CONNECT ANY DATABASE SELECT ALL USER SECURABLES 2016, Risenhoover Consulting, Inc. All Rights Reserved 18

Integrity Delayed durability Mark transaction as committed, even if logs have not been flushed Makes our ACID a little less ACIDic 2016, Risenhoover Consulting, Inc. All Rights Reserved 19

Integrity Delayed Durability May be set at: Database level Transaction level For in-memory natively compiled procedures 2016, Risenhoover Consulting, Inc. All Rights Reserved 20

Database level ALTER DATABASE dbname SET DELAYED_DURABILITY = DISABLED ALLOWED FORCED; 2016, Risenhoover Consulting, Inc. All Rights Reserved 21

Transaction Level COMMIT TRANSACTION WITH (DELAYED_DURABILITY = ON); 2016, Risenhoover Consulting, Inc. All Rights Reserved 22

Atomic level For natively-compiled procedure used with in-memory OLTP: BEGIN ATOMIC WITH (DELAYED_DURABILITY = ON,...) 2016, Risenhoover Consulting, Inc. All Rights Reserved 23

Delayed Durability Checking Database properties dialog Options tab Query 2016, Risenhoover Consulting, Inc. All Rights Reserved 24

Delayed Durability - Options 2016, Risenhoover Consulting, Inc. All Rights Reserved 25

Delayed Durability Query SELECT name, DATABASEPROPERTYEX(name, 'DelayedDurability') AS DelayedDurability, DATABASEPROPERTYEX(name, Status') AS Status FROM master.dbo.sysdatabases ORDER BY name 2016, Risenhoover Consulting, Inc. All Rights Reserved 26

Availability For on-premise installations, a number of Azure availability options: Managed backups to Azure Always on availability groups with Azure replicas 2016, Risenhoover Consulting, Inc. All Rights Reserved 27

Managed Backup to Azure Introduced in SQL Server 2014 Automated backup to Azure blob storage container Similar to disk/tape backup, but stored in cloud Backup to URL 2016, Risenhoover Consulting, Inc. All Rights Reserved 28

Backup to URL BACKUP DATABASE TestDB TO URL = 'https://<accountname>.blob.core.win dows.net/<containername>/testdb.bak' WITH CREDENTIAL = '<mycredentialname>',compression,stats = 5; 2016, Risenhoover Consulting, Inc. All Rights Reserved 29

Always-On Azure Replicas Always-On availability groups used for database replication Replicas can be hosted in Azure Failover to on-premise or Azure replica 2016, Risenhoover Consulting, Inc. All Rights Reserved 30

Conclusion Brief overview of interesting features Not exhaustive 2016 deployments a good time to re-check your DB environment 2016, Risenhoover Consulting, Inc. All Rights Reserved 31

Questions http://tinyurl.com/isacaclay 2016, Risenhoover Consulting, Inc. All Rights Reserved 32