Securing SQL Server Processes with Certificates

Slides:



Advertisements
Similar presentations
PASS Summit 2013 My Experiences. Who is PASS? Professional Association for SQL Server Co-founded by CA & Microsoft in 1999 Independent not-for-profit.
Advertisements

Chapter 9 Security. Endpoints  A SQL Server endpoint is the point of entering into SQL Server.  It is implemented as a database object that defines.
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
Case Study: Designing a Global Scaled-out Architecture Robert L Davis
MCTS: Pass one of 24 exams (a few require more). Multiple counters are and You can also choose.
Module 11 : Backup and Restore Jong S. Bok
+ Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server = Querying Microsoft SQL.
Chapter 6 : Designing SQL Server Service-Level Security MCITP Administrator: Microsoft SQL Server 2005 Database Server Infrastructure Design Study Guide.
+ Administering Microsoft SQL Server 2012 Databases Implementing a Data Warehouse with Microsoft SQL Server = Querying Microsoft SQL.
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
SQL Server Security By Mattias Lind For PASS Security VC.
INTRO TO SQL SERVER SECURITY By Robert Biddle
BSG Group - Dau Anh Trong1 Introduction about MS SQL Server 2005.
Alwayson Availability Groups
SQL Server 2005 Implementation and Maintenance Chapter 6: Security and SQL Server 2005.
Access The L Line The Express Line to Learning 2007 L Line L © Wiley Publishing All Rights Reserved.
SQL Server Security Basics Starting with a good foundation Kenneth Fisher
Licensing SQL Server on a Virtual Platform Robert L Davis
PASS Business Analytics Virtual Chapter Website: Chapter Leader: Melissa Demcsak.
Strategies for Working with Texas-sized Databases Robert L Davis Database Engineer
James Serra Data Platform Solution Architect Microsoft JamesSerra.com.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
Rolling Upgrades, The Easy Way Argenis Fernandez Senior Database Engineer,
C:\Users\> t An affair with SQL Server for nearly a decade Was part of SQL Escalation Services and Premier Field Engineering team.
Business Continuity Management. Rick Taylor, MCSE, MCT – Principal Architect for Summit 7 Systems – –
So you want to be a DBA….
SQL Server Encryption Ben Miller Blog:
C:\Users\> whoami Known on Twitter t An affair with SQL Server for nearly a decade Was part of SQL Escalation Services and Premier Field.
10 Things All BI Administrators Should Know Robert L Davis Database Engineer
Using abstract data layers in Microsoft SQL Server Speaker:Uwe Ricken (db Berater GmbH)
Associate Certification Track
Securing SQL Server Processes with Certificates
Recommended Practices & Fundamentals
Visual Studio 2010 Database Projects
Associate Certification Track
Outsourcing Database Administration
Chapter 5 : Designing Windows Server-Level Security Processes
Policy Based Management: Introduction & implementation
Policy Based Management: Introduction & implementation
Associate Certification Track
Parameter Sniffing in SQL Server Stored Procedures
SQL Server on Linux on All-Flash Arrays
Exploiting SQL Server Security Holes
Performance Tuning 101: Parallelism
Contained DB? Did it do something wrong?
Who Has What to Which? (The Permissions Superset)
Troubleshooting SQL Server Connection Issues
SQL Server Security Mistakes Everyone Makes
Code-Less Securing of SQL Server
Associate Certification Track
Exploring Your SQL Server Databases with T-SQL
How to Lose Your Job in 3 Easy Steps
PASS Business Analytics Virtual Group & Marek Matuszewski
SQLSaturday 393- May 16, Redmond, WA
5 WAYS TO BYPASS *OR ENSURE* SQL SERVER SECURITY MATT MARTIN
dbatools - PowerShell and SQL Server Working Together
SQL Server Mythconceptions And Mythteries
Associate Certification Track
or: How I Learned to Stop Using EXECUTE AS and Love Certificates
New Paradigm for Performance Tuning in SQL Server 2016
SQL Server Performance Tuning Nowadays
SQLCmd Mode The T-SQL Easy Button
SQL Server Mythconceptions And Mythteries
Intermediate Security Topics in SQL SERver
Migrating your applications to Azure
Associate Certification Track
Denis Reznik SQL Server 2017 Hidden Gems.
Denis Reznik SQL Server 2017 Hidden Gems.
06 | SQL Server and the Cloud
The DBA Quit and now you’re it:
Presentation transcript:

Securing SQL Server Processes with Certificates Robert L Davis Database Engineer @SQLSoldier www.sqlsoldier.com Securing SQL Server Processes with Certificates

Robert L Davis @SQLSoldier PASS Security Virtual Chapter Microsoft Certified Master Data Platform MVP @SQLSoldier www.sqlsoldier.com Database Engineer BlueMountain Capital Management 17+ years working with SQL Server PASS Security Virtual Chapter http://security.sqlpass.org Volunteers needed Database Engineer at BlueMountain Capital Management Foremer Principal Database Architect at DB Best Technologies www.dbbest.com Former Principal DBA at Outerwall, Inc Former Sr. Product Consultant with Idera Software Former Program Manager for SQL Server Certified Master program in Microsoft Learning Former Sr. Production DBA / Operations Engineer at Microsoft (CSS) Microsoft Certified Master: SQL Server 2008 / MCSM Charter: Data Platform Co-founder of the SQL PASS Security Virtual Chapter MCITP: Database Developer: SQL Server 2005 and 2008 MCITP: Database Administrator: SQL Server 2005 and 2008 MCSE: Data Platform MVP 2014 Co-author of Pro SQL Server 2008 Mirroring Former Idera ACE (Advisors & Community Educators) 2 time host of T-SQL Tuesday Guest Professor at SQL University, summer 2010, spring/summer 2011 Speaker at SQL PASS Summit 2010, 2011, and 2012 including a pre-con in 2012 Speaker/Pre-con at SQLRally 2012 17+ years working with SQL Server Writer for SQL Server Pro (formerly SQL Server Magazine) Member: Mensa Dog picture: Maggie and Woody SQLCruise instructor: Seattle to Alaska 2012 Speaker at SQL Server Intelligence Conference in Seattle 2012 Blog: http://www.sqlsoldier.com Twitter: http://twitter.com/SQLSoldier

Securing SQL Server Processes with Certificates Managing Certificates

Securing SQL Server Processes with Certificates Managing Certificates Creating Logins and Users Mapped to Certificates

Securing SQL Server Processes with Certificates Managing Certificates Creating Logins and Users Mapped to Certificates Signing Procedures

Securing SQL Server Processes with Certificates Managing Certificates Creating Logins and Users Mapped to Certificates Signing Procedures Signing Procedures for SQL Server Processes

Securing SQL Server Processes with Certificates Managing Certificates Creating certificates

Securing SQL Server Processes with Certificates Managing Certificates Creating certificates CREATE CERTIFICATE

Securing SQL Server Processes with Certificates Managing Certificates Creating certificates CREATE CERTIFICATE Backing up certificates

Securing SQL Server Processes with Certificates Managing Certificates Creating certificates CREATE CERTIFICATE Backing up certificates BACKUP CERTIFICATE

Securing SQL Server Processes with Certificates Managing Certificates Creating certificates CREATE CERTIFICATE Backing up certificates BACKUP CERTIFICATE Restoring certificates

Securing SQL Server Processes with Certificates Managing Certificates Creating certificates CREATE CERTIFICATE Backing up certificates BACKUP CERTIFICATE Restoring certificates

Securing SQL Server Processes with Certificates Managing Certificates Creating certificates CREATE CERTIFICATE Backing up certificates BACKUP CERTIFICATE Restoring certificates CREATE CERTIFICATE … FROM FILE

Securing SQL Server Processes with Certificates Managing Certificates Creating certificates CREATE CERTIFICATE Backing up certificates BACKUP CERTIFICATE Restoring certificates CREATE CERTIFICATE … FROM FILE Store securely

Securing SQL Server Processes with Certificates Managing Certificates Creating certificates CREATE CERTIFICATE Backing up certificates BACKUP CERTIFICATE Restoring certificates CREATE CERTIFICATE … FROM FILE Store securely Demo

Securing SQL Server Processes with Certificates Creating Logins and Users Mapped to Certificates Creating logins

Securing SQL Server Processes with Certificates Creating Logins and Users Mapped to Certificates Creating logins CREATE LOGIN … FROM CERTIFICATE

Securing SQL Server Processes with Certificates Creating Logins and Users Mapped to Certificates Creating logins CREATE LOGIN … FROM CERTIFICATE Creating users

Securing SQL Server Processes with Certificates Creating Logins and Users Mapped to Certificates Creating logins CREATE LOGIN … FROM CERTIFICATE Creating users CREATE USER … FOR/FROM CERTIFICATE

Securing SQL Server Processes with Certificates Creating Logins and Users Mapped to Certificates Creating logins CREATE LOGIN … FROM CERTIFICATE Creating users CREATE USER … FOR/FROM CERTIFICATE Demo

Securing SQL Server Processes with Certificates Signing Stored Procedures Grant permissions for a stored procedure without granting to user

Securing SQL Server Processes with Certificates Signing Stored Procedures Grant permissions for a stored procedure without granting to user Allows you to avoid common issues where you may otherwise be pressured to enable risky database options

Securing SQL Server Processes with Certificates Signing Stored Procedures Grant permissions for a stored procedure without granting to user Allows you to avoid common issues where you may otherwise be pressured to enable risky database options Cross-database ownership chaining

Securing SQL Server Processes with Certificates Signing Stored Procedures Grant permissions for a stored procedure without granting to user Allows you to avoid common issues where you may otherwise be pressured to enable risky database options Cross-database ownership chaining Trustworthy

Securing SQL Server Processes with Certificates Signing Stored Procedures Grant permissions for a stored procedure without granting to user Allows you to avoid common issues where you may otherwise be pressured to enable risky database options Cross-database ownership chaining Trustworthy Signing the procedures

Securing SQL Server Processes with Certificates Signing Stored Procedures Grant permissions for a stored procedure without granting to user Allows you to avoid common issues where you may otherwise be pressured to enable risky database options Cross-database ownership chaining Trustworthy Signing the procedures ADD SIGNATURE TO … BY CERTIFICATE … WITH PASSWORD

Securing SQL Server Processes with Certificates Signing Stored Procedures Grant permissions for a stored procedure without granting to user Allows you to avoid common issues where you may otherwise be pressured to enable risky database options Cross-database ownership chaining Trustworthy Signing the procedures ADD SIGNATURE TO … BY CERTIFICATE … WITH PASSWORD Executes as certificate which is mapped to a user and/or login

Securing SQL Server Processes with Certificates Signing Stored Procedures Grant permissions for a stored procedure without granting to user Allows you to avoid common issues where you may otherwise be pressured to enable risky database options Cross-database ownership chaining Trustworthy Signing the procedures ADD SIGNATURE TO … BY CERTIFICATE … WITH PASSWORD Executes as certificate which is mapped to a user and/or login Demo

Securing SQL Server Processes with Certificates Signing Stored Procedures for SQL Server Processes Relies on everything we’ve learned so far

Securing SQL Server Processes with Certificates Signing Stored Procedures for SQL Server Processes Relies on everything we’ve learned so far Can be used to execute signed procedure via Service Broker

Securing SQL Server Processes with Certificates Signing Stored Procedures for SQL Server Processes Relies on everything we’ve learned so far Can be used to execute signed procedure via Service Broker Can be used to grant rights to CLR assemblies

Securing SQL Server Processes with Certificates Signing Stored Procedures for SQL Server Processes Relies on everything we’ve learned so far Can be used to execute signed procedure via Service Broker Can be used to grant rights to CLR assemblies More work but more secure

Performance Tuning 101: Parallelism Q & A

Thank you for attending! Thanks! Thank you for attending! My blog: www.sqlsoldier.com Twitter: twitter.com/SQLSoldier