Recommended Practices & Fundamentals

Slides:



Advertisements
Similar presentations
Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
Advertisements

Chapter 7 HARDENING SERVERS.
Securing Enterprise Applications Rich Cole. Agenda Sample Enterprise Architecture Sample Enterprise Architecture Example of how University Apps uses Defense.
Avanade: 10 tips for å sikring av dine SQL Server databaser Bernt Lervik Infrastructure Architect Avanade.
Edwin Sarmiento Microsoft MVP – Windows Server System Senior Systems Engineer/Database Administrator Fujitsu Asia Pte Ltd
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
Introduction to SQL Server 2000 Security Dave Watts CTO, Fig Leaf Software
Security David Frommer Principal Architect Business Intelligence Microsoft Partner of the Year 2005 & 2007.
Module 14 Configuring Security for SQL Server Agent.
SQL Azure Intro and What’s New Level: Introductory to Intermediate Andy Thiru SQL/BI Developer.
 Chapter 14 – Security Engineering 1 Chapter 12 Dependability and Security Specification 1.
Planning a Microsoft Windows 2000 Administrative Structure Designing default administrative group membership Designing custom administrative groups local.
Module 14: Securing Windows Server Overview Introduction to Securing Servers Implementing Core Server Security Hardening Servers Microsoft Baseline.
ADO.NET AND STORED PROCEDURES - Swetha Kulkarni. RDBMS ADO.NET Provider  SqlClient  OracleClient  OleDb  ODBC  SqlServerCE System.Data.SqlClient.
Implementing Server Security on Windows 2000 and Windows Server 2003 Fabrizio Grossi.
SQL Server 2005 Implementation and Maintenance Chapter 6: Security and SQL Server 2005.
Central Management Server Managing Your SQL Server Environment 1.
ASP.NET 2.0 Security Alex Mackman CM Group Ltd
SQL Server and Application Security for Developers Mladen Prajdić SQL Server
Overview of Security Investments in SQL Server 2016 and Azure SQL Database Jamey Johnston 1/15/2016Security Investments in SQL Server 2016 and Azure SQL.
Microsoft Advertising 16:9 Template Light Use the slides below to start the design of your presentation. Additional slides layouts (title slides, tile.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
SQL Server 2016 Security Features Marek Chmel Microsoft MVP: Data Platform Microsoft MCT: Regional Lead MCSE: Data Platform Certified Ethical Hacker.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 18/06/2016David Postlethwaite.
SQL Server Agent All the Knobs You Need to Know Taiob M Ali.
19 Copyright © 2008, Oracle. All rights reserved. Security.
Defense In Depth: Minimizing the Risk of SQL Injection
Data Security with Power BI, SSAS, SQL Server 2016 and Active Directory June 10, 2017.
Microsoft Connect /23/ :39 PM
Azure SQL Database Updates
Stop Those Prying Eyes Getting to Your Data
SQL Server Security & Intrusion Prevention
SQL Server Agent All the Knobs You Need to Know
Effective T-SQL Solutions
# 66.
Enterprise Row Level Security: SQL Server 2016 and Azure SQL DB
Securing Data with SQL Server 2016
6/16/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Who am I Hector Villafuerte
Mike Furgal Director – DB and Pro2 Services March 20th, 2017
Always On Multi-Site Patterns
Introduction to SQL Server 2000 Security
Power BI Security Best Practices
Common Security Mistakes
Always On : Multi-site patterns
Code-Less Securing of SQL Server
Limiting SQL Server Exposure
The Dirty Business of Auditing
Overview of Security Investments
Migrating your SQL Server Instance
Making Sense of Service Broker
dbatools - PowerShell and SQL Server Working Together
Always On : Multi-site patterns
Security Enhancements in SQL Server 2016
Row Level Security in SQL Azure and in On Premise
Table Partitioning Intro and make that a sliding window too!
End to End Security and Encryption in SQL Server
Limiting SQL Server Exposure
Implementing Database Roles in the Enterprise Geodatababse
Become the Data Platform Engineer of Tomorrow
Table Partitioning Intro and make that a sliding window too!
Summit Nashville /3/2019 1:48 AM
Table Partitioning Intro and make that a sliding window too!
SQL Server 2016 Security Features
SQL Server High Availability
AD, gMSA and SQL Server Windows Authentication in a Container
Evolution not Revolution
Data Security and Privacy Techniques for Modern Databases
Just Enough SSIS Scripting to be Dangerous.
Making Row Level Security and Dynamic Data Masking work for you.
Presentation transcript:

Recommended Practices & Fundamentals Securing SQL Server Recommended Practices & Fundamentals

About Me John Q Martin Solutions Engineer – SentryOne Twitter : @SQLDiplomat Email : jmartin@sqlsentry.com Blog : http://blogs.sqlsentry.com/author/JohnMartin Over a decade of experience with SQL Server DBA Dev BI Worked for Microsoft as a Premier Field Engineer (PFE) in the UK

SQL Server Configuration Agenda Physical Security SQL Server Configuration Database Design Key Principals OS Configuration Database Configuration

Key Principals Defence In Depth

Threats exist in many places Key Principals Threats exist in many places Accidental disclosure Understand the scope

Transportation of data Physical Security More than locked doors Transportation of data ACLs and Logs Image Source : Erin Stallato [SQL Skills] – Public Library in US state of Ohio

Operating System Configurations File System ACLs Backup & File Locations Windows Firewall Restrictive Policies Information Leakage considerations Windows Firewall ----------------------------- SQL Server Configuration - https://msdn.microsoft.com/en-us/library/cc646023.aspx SSRS Configuration - https://msdn.microsoft.com/en-gb/library/bb934283.aspx SSIS Configuration - https://msdn.microsoft.com/en-us/library/ms137861.aspx SSAS Configuration - https://msdn.microsoft.com/en-GB/library/ms174937.aspx

SQL Server Configurations Appropriate Service Accounts Compartmentalize Managed Service Accounts

Managed Service Accounts Managed Service Account (MSA) SQL Server 2012+ Group Managed Service Account (gMSA) SQL Server 2016 + Domain Functional Level 2008 or above One server per-MSA Domain Functional Level 2012 or above Multiple Servers per-gMSA No Interactive Logon No Password Auto Password Rotation SPN Management Managed Service Accounts – SQL Server 2012 ------------------------------------------------------- https://blogs.msdn.microsoft.com/arvindsh/2014/02/03/managed-service-accounts-msa-and-sql-2012-practical-tips/ Service Account Recommendations --------------------------------------------- https://msdn.microsoft.com/en-us/library/ms143504.aspx

Compartmentalized Account Structure Scope of Risk

Compartmentalized Account Structure Scope of Risk

Compartmentalized Account Structure Scope of Risk

SQL Server Configurations Appropriate Service Accounts Compartmentalize Managed Service Accounts Encrypt Connections TLS/SSL IPsec

SQL Server Configurations Role based security Server Roles T-SQL Stored in Source Control Avoid the use of SysAdmin where possible SQL Server Agent Use Proxies and Credentials Compartmentalize

Database Configurations Low Privilege Owner Database Containment Avoid Setting Trustworthy

Why you should not always trust your databases Demo

Database Configurations Transparent Database Encryption Protect files at rest Backups Encrypted SQL Server 2016/Azure SQL DB Row Level Security Dynamic Data Masking Always Encrypted

Using Transparent Data Encryption Demo

Security by design Key Concepts Database Design Part of the schema In source control Key Concepts Database Roles Execute As Explicit Permissions SQL Injection Protection --------------------------------------------- Mladen Prajdic (MVP) : Great resources and a great guy. Recommend you attend his sessions as they are really informative and has fantastic delivery. Twitter : @MladenPrajdic (http://twitter.com/MladenPrajdic) Web : http://www.ssmstoolspack.com/ Sessions to watch ----------------------- SQL Server and Application Security for Developers - http://slideplayer.com/slide/6418730/ SQL Server and Application Security for Developers - http://www.sqlsaturday.com/376/Sessions/Details.aspx?sid=24797 (Slides and Demo Code)

Limit Table Access Encrypted Data? Views Stored Procedures Database Design Limit Table Access Views Stored Procedures Encrypted Data? Cipher text Vs Clear text

Questions

Thank You! Have a great event, session content available on GitHub. https://github.com/johnqmartin/Community-Sessions