SlideShare a Scribd company logo
1 of 39
Download to read offline
BASEL | BERN | BRUGG | BUCHAREST | COPENHAGEN | DÜSSELDORF | FRANKFURT A.M. | FREIBURG I.BR.
GENEVA | HAMBURG | LAUSANNE | MANNHEIM | MUNICH | STUTTGART | VIENNA | ZURICH
www.oradba.ch@stefanoehrli
PDB Isolation and Security
What about security of Oracle multitenant container database (CDB)?
Stefan Oehrli
BASEL | BERN | BRUGG | BUKAREST | DÜSSELDORF | FRANKFURT A.M. | FREIBURG I.BR. | GENF
HAMBURG | KOPENHAGEN | LAUSANNE | MANNHEIM | MÜNCHEN | STUTTGART | WIEN | ZÜRICH
Stefan Oehrli
Platform Architect, Trainer and Partner at Trivadis
• Since 1997 active in various IT areas and since 2008 with Trivadis AG
• More than 20 years of experience in Oracle databases
• Live with my family (wife and two kids ) in Muri in a small village in CH
Focus: Protecting data and operating databases securely
• Security assessments and reviews
• Database security concepts and their implementation
• Oracle Backup & Recovery concepts and troubleshooting
• Oracle Enterprise User Security, Advanced Security, Database Vault, …
• Oracle Directory Services
@stefanoehrli www.oradba.ch
Agenda
• General Database Security
• Multitenant Container Database Challenges
• Isolation and Security Measures
• Outlook and potential enhancements
• Summary
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security5
Agenda
• General Database Security
• Multitenant Container Database Challenges
• Isolation and Security Measures
• Outlook and potential enhancements
• Summary
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security6
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security7
Top 10 Database Risks and Threats
• Excessive privileges
• Privilege abuse
• Unauthorized privilege elevation
• Platform vulnerabilities
• SQL injection
• Weak audit
• Denial of service
• Database protocol vulnerabilities
• Weak authentication
• Exposure of backup data
Maximal Data Security Architecture
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security8
Maximal Data Security Architecture - CDB
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security9
Agenda
• General Database Security
• Multitenant Container Database Challenges
• Isolation and Security Measures
• Outlook and potential enhancements
• Summary
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security10
Multitenant Container Database Usage
How are the multitenant container databases used?
• Simple replacement of the classic database (none-CDB)
architecture with just one PDB
• Database consolidation using multiple PDBs
• Private DBAAS
• Public DBAAS
Infrastructure architecture
• Cloud, Hybrid or on-premises?
• Dedicated hardware
• Virtual environments
• Engineered System
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security11
Multitenant Container Database Usage
Security related questions
• Comprehensive privileges available in PDBs
• Strict security requirements and standards
• Industry dependent legal and compliance
requirements
Corporate structure
• All just one legal entity
• More or less independent departments
• Several companies and subsidiaries
• Service provider for different companies
Isolation requirements vary
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security12
But why isolation at all?
• Only basic database security is not enough...
• PDB admin and user do have comprehensive
privileges (DBAAS).
• Full DBA role
• ALTER SYSTEM, ALTER SESSION,…
• PL/SQL packages and procedures
• Oracle bugs and feature allow to escape the
boundaries of a PDB.
• Scheduler jobs including OS calls
• External table pre-processor scripts
• PL/SQL Library calls
• Java OS calls
• Resource management beyond the scope of PDBs
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security13
Risks in a DBAAS environment
• PDB admin use privilege escalation.
• Excessive use of shared resources.
• Access sensitive data via shared resources e.g.
backup or management LAN.
• Break out of PDB and get OS access as oracle.
• Gain access to the root container (cdb$root)
• Gain access to other PDBs.
• Gain access to the network.
• Use of critical features like
• Administration features
• Oracle JVM
• DBMS_SCHEDULER
• External table pre-processor
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security14
Risk all cleared?
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security15
Agenda
• General Database Security
• Multitenant Container Database Challenges
• Isolation and Security Measures
• Outlook and potential enhancements
• Summary
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security16
Are we cooking or why onions?
• Measures on several levels are essential.
• Layered structure similar to an onion. e.g.
• Secure and correct data
• Secure application design
• PDB hardening
• PDB isolation and security
• General CDB architecture
• CDB hardening
• OS Hardening
• Network security
• The following functions such as lockdown
profiles, path prefix and PDB OS credentials are
only part of a holistic approach.
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security17
Possibilities for risk mitigation
A multitenant container database provides the
following features beyond regular security measures:
• PATH_PREFIX and CREATE_FILE_DEST clause to
limit data files and directory objects to certain
paths.
• PDB_OS_CREDENTIAL parameter assigning a
dedicated user account for OS interactions
• Lockdown profiles to restrict certain operations or
functionalities in a PDBs
But what can you do with them...?
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security18
Manage File Access
PATH_PREFIX clause to restrict directory object paths
• Set per PDB at creation time. Can not be changed later.
• Restrictions and limitations when PATH_PREFIX is used:
• Existing directory objects might not work as expected.
• PATH_PREFIX string is always added as a prefix to all local directory objects in the PDB.
• It does not apply to Oracle-supplied directory objects.
• Does not affect files created by Oracle Managed Files nor data files or temporary files
• Issues when using / allowing softlinks
CREATE_FILE_DEST clause to restrict directory path for data files or temporary files.
• Implicit set DB_CREATE_FILE_DEST. => can be modified / requires lockdown profile
• Enable Oracle Managed Files for the PDB.
• Specifies the default file system directory or Oracle ASM disk group for PDB files.
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security19
• Alternatively create a PDB based on a template PDB, dbca etc.
• Check current setting of PATH_PREFIX in database_properties
CREATE PLUGGABLE DATABASE pdbsec
ADMIN USER pdbadmin IDENTIFIED BY LAB01schulung ROLES=(dba)
PATH_PREFIX = '/u01/oradata/pdbsec/directories/'
CREATE_FILE_DEST = '/u01/oradata/pdbsec/';
ALTER SESSION SET CONTAINER=pdbsec;
SELECT * FROM database_properties WHERE property_name='PATH_PREFIX';
PROPERTY_NAME PROPERTY_VALUE DESCRIPTION
------------- ------------------------------- ----------------------
PATH_PREFIX /u01/oradata/PDBSEC/directories All paths for objects
such as directories
are relative to this
Configure File Access
• Manually create a PDB based on PDB$SEED
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security20
• Create an Oracle directory object inside PATH_PREFIX
SQL> CREATE DIRECTORY wrong_prefix AS '/tmp/test';
CREATE DIRECTORY wrong_prefix AS '/tmp/test'
*
ERROR at line 1:
ORA-65254: invalid path specified for the directory
SQL> CREATE DIRECTORY no_prefix AS 'no_prefix';
Directory created.
SQL> SELECT directory_name, directory_path FROM dba_directories
2 WHERE origin_con_id=(SELECT con_id FROM v$pdbs);
DIRECTORY_NAME DIRECTORY_PATH
--------------- ------------------------------------------
NO_PREFIX /u01/oradata/PDBSEC/directories/no_prefix
Verify File Access – PATH_PREFIX
• Create an Oracle directory object outside PATH_PREFIX
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security21
• Create an Oracle tablespace with an absolute path within CREATE_FILE_DEST and with OMF
SQL> CREATE TABLESPACE wrong_prefix DATAFILE '/tmp/wrong_prefix.dbf' SIZE
1M;
CREATE TABLESPACE wrong_prefix DATAFILE '/tmp/wrong_prefix.dbf' SIZE 1M
*
ERROR at line 1:
ORA-65250: invalid path specified for file - /tmp/wrong_prefix.dbf
SQL> CREATE TABLESPACE right_prefix DATAFILE
2 '/u01/oradata/PDBSEC/right_prefix.dbf' SIZE 1M;
Tablespace created.
SQL> CREATE TABLESPACE no_prefix datafile SIZE 1M;
Tablespace created.
Verify File Access – CREATE_FILE_DEST
• Create an Oracle tablespace with an absolute path outside CREATE_FILE_DEST
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security22
Manage File Access, but…
Unfortunately one might stumble over the PATH_PREFIX now and then:
• PATH_PREFIX should no apply to Oracle-supplied directory objects. Says the Oracle Documentation:
• … but what is an Oracle supplied directory?
• Automated Tablespace Point in Time Recovery (TS PITR) do not work. RMAN can not create the
directory to transfer the Tablespace (SR still under investigation)
• Datapatch could have issues see Bug 25074866 and Patch 25074866 for 12c R2
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security23
Managing OS Access
• Define a dedicated OS user account for system interactions.
• Based on DBMS_CREDENTIAL package and init parameter PDB_OS_CREDENTIAL.
• Introduced with Oracle 12.2.0.1.
• Allows to define dedicated OS credential for:
• External jobs that do not yet have an OS credential specified
• External table pre-processors
• PL/SQL library executions (EXTPROC)
• Can be defined globally or per PDB.
As far as theory goes...
• ... unfortunately there are still bugs (12g-19c)
• … PDB_OS_CREDENTIAL does not work as expected for table pre-processor (DBMS_SCHEDULER
fixed since yesterday for 12.2.0.1 RU April 2019)
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security24
• Set the parameter at CDB level (older version did require a change via pfile)
BEGIN
dbms_credential.create_credential(
credential_name => 'PDBSEC_OS_USER',
username => 'orapdbsec',
password => 'manager');
END;
/
ALTER SYSTEM SET pdb_os_credential=GENERIC_PDB_OS_USER SCOPE=SPFILE;
Define credentials
• Create a credential in the cdb$root for a corresponding OS user
• Or individually per PDB
ALTER SESSION SET CONTAINER=pdbsec;
ALTER SYSTEM SET pdb_os_credential=PDBSEC_OS_USER SCOPE=SPFILE;
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security25
Lockdown Profiles
• Oracle introduced lockdown profiles with 12.1. However, they become interesting only in 12.2 or the
better 18c/19c
• Lockdown profiles allows to restrict user operation in PDBs in a multitenant container database.
• It is possible to assign lockdown profiles to...
• ... individual PDBs, if PDB_LOCKDOWN is set while connected to a particular PDB.
• ... all PDBs in a CDB, if PDB_LOCKDOWN is set while connected to the CDB root.
• … application container, if PDB_LOCKDOWN is set while connected to an application root
• The CREATE LOCKDOWN PROFILE statement must be issued from CDB or application root.
• Usage of lockdown profiles includes 3 steps:
• Create a lockdown profile using CREATE LOCKDOWN PROFILE
• Enable / disable user operations using ALTER LOCKDOWN PROFILE
• Enable the corresponding lockdown profile using ALTER SYSTEM SET pdb_lockdown=
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security26
Capabilities of Lockdown Profiles
• ALTER LOCKDOWN PROFILE statement allows to enable or disable the following functions :
• LOCKDOWN_OPTIONS clause: User operations associated with certain database options.
• LOCKDOWN_FEATURES clause: User operations associated with certain database features.
• LOCKDOWN_STATEMENTS clause: The issuance of certain SQL statements.
• Function can either explicitly be disable or enable.
• Combination of ALL and EXCEPT is possible.
• Oracle 18c introduced a couple of enhancements for lockdown profiles:
• Restrict user operation for ALL, LOCAL or COMMON user.
• Create lockdown profiles based existing profiles as static copy or dynamic link.
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security27
ALTER LOCKDOWN PROFILE sec_default ENABLE OPTION
ALL EXCEPT = ('DATABASE QUEUING');
LOCKDOWN_OPTIONS clause
• The following database options can be restricted:
• DATABASE QUEUING – User operations associated with Oracle Database Advanced
Queuing option
• PARTITIONING – User operations associated with Oracle Partitioning option
• Restriction explicit or with exclusion:
• Use ALL to specify all options.
• Use ALL EXCEPT to specify all options except the specified options.
• Default is ENABLE OPTION ALL.
• Enable all options except DATABASE QUEUING
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security28
ALTER LOCKDOWN PROFILE sec_default DISABLE FEATURE = ('OS_ACCESS');
ALTER LOCKDOWN PROFILE sec_default ENABLE FEATURE = ('TRACE_VIEW_ACCESS');
LOCKDOWN_FEATURES clause
• LOCKDOWN_FEATURES clause disable or enable user operations associated with certain
database features.
• Supports a comprehensive list of database features and feature bundle e.g. AWR_ACCESS,
CONNECTIONS, JAVA, JAVA_RUNTIME, NETWORK_ACCESS, OS_ACCESS, etc.
• See Oracle documentation ALTER LOCKDOWN PROFILE for a complete list.
• Restriction explicit or with exclusion:
• Use ALL to specify all features.
• Use ALL EXCEPT to specify all features except the specified feature.
• Default is ENABLE ALL.
• Disable OS_ACCESS but explicitly enable TRACE_VIEW_ACCESS
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security29
LOCKDOWN_STATEMENTS clause
• LOCKDOWN_ STATEMENTS clause disable or enable issuance of certain SQL statements.
• Use DISABLE to disable the execution of specified SQL statements.
• Use ENABLE to enable the execution of specified SQL statements.
• Restriction explicit or with exclusion:
• Use ALL to specify all statements.
• Use ALL EXCEPT to specify all statements except the specified statements.
• Default is ENABLE STATEMENT ALL.
• The STATEMENT_CLAUSES lets disable or enable specific clauses of the specified SQL statement.
• The OPTION_CLAUSES lets disable or enable setting or modification of specific options.
• E.g. disable all ALTER SYSTEM but allow ALTER SYSTEM SET cursor_sharing
• Challenging to cover all critical statements, clause and options and not open a security flaw.
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security30
• Create a new lockdown profile sec_jvm based on sec_default
• Enable Java and Java runtime
ALTER LOCKDOWN PROFILE sec_default DISABLE STATEMENT = ('ALTER SYSTEM');
ALTER LOCKDOWN PROFILE sec_default ENABLE
STATEMENT = ('ALTER SYSTEM') CLAUSE = ('SET') USERS=COMMON;
ALTER LOCKDOWN PROFILE sec_default ENABLE
STATEMENT = ('ALTER SYSTEM') CLAUSE = ('KILL SESSION');
CREATE LOCKDOWN PROFILE sec_jvm FROM sec_default;
ALTER LOCKDOWN PROFILE sec_jvm ENABLE FEATURE = ('JAVA_RUNTIME');
ALTER LOCKDOWN PROFILE sec_jvm ENABLE FEATURE = ('JAVA');
A few more examples
• Disable ALTER SYSTEM but allow it for COMMON user and for clause KILL SESSION.
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security31
Missing parts
• PDB isolation is no a replacement for a
comprehensive security concept.
• Resource management is not covered at all.
• TDE, in particular TDE key management
requires additional measures
• OS specific admin activities are not separated.
e.g. Backup & Recover
• Although user are distinct by
PDB_OS_CREDENTIAL, measures on the OS are
still mandatory. => Layered Security
• Flaw in PDB isolation if poor lockdown profiles
have been defined.
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security32
Agenda
• General Database Security
• Multitenant Container Database Challenges
• Isolation and Security Measures
• Outlook and potential enhancements
• Summary
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security33
Outlook and potential enhancements
• In short term, waiting for the problems around PDB_OS_CREDENTIAL to be solved is still required.
• Bug 25820082 - PDB_OS_CREDENTIAL PARAMETER NOT WORKING
=> fixed for 12.2.0.1 RU April 2019 since 10. Sept. 2019
• Bug 29926986 - LISTENER SPAWNED EXTPROC FAILS WITH ORA-28575
• Bug 29922316 - EXTPROC FAILS WITH HS: CHILD EXTPROC FINISHED CALLING JSSU! STATUS = -1
WHEN DBMS_CREDENTIAL CONFIGURED
• Doc 29938722 - PDB_OS_CREDENTIAL DOCUMENTION NEEDS TO INCLUDE CONFIGURATION
REQUIREMENTS AND EXAMPLES
• MOS Note 2296226.1 datapatch Fails With "ORA-65254: invalid path specified for the
directory" on PDB where PATH_PREFIX is set)
• Although the Java challenges are not yet covered by these bugs
• Oracle does struggle with similar challenges for their cloud services
e.g. Oracle Autonomous Database.
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security34
• Reveals a functionality named DB Nest.
• Presentations from OOW 2018 have mentioned DB Nest as a security enhancement for
Multitenant Databases.
• Discussions with the Oracle PM for PDBs have shown that solutions are needed and being
developed. e.g. Linux CGROUPS, Linux Security Module (LSM) etc.
Parameter Instance Description
----------------------- ----------- --------------------------------
_dbnest_enable NONE dbNest enable
_dbnest_pdb_fs_conf PDB Filesystem configuration
_dbnest_pdb_fs_type DEFAULT PDB FS Type
_dbnest_pdb_scm_conf PDB SCM configuration
_dbnest_pdb_scm_level STRICT1 PDB SCM Level
_dbnest_stage_dir Staging directory configuration
_instance_dbnest_name Instance dbNest Name
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security35
Oracle DB Nest
• A possible hint in Oracle 19c based on a few hidden parameter
Oracle DB Nest
The exact functionality can only be guessed at the moment.
Control and isolation of...
• OS resources used by a PDB
• File system isolation per PDB
• Secure computing
• …?
Next Oracle Open World / Oracle Release
coming soon J
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security36
Agenda
• General Database Security
• Multitenant Container Database Challenges
• Isolation and Security Measures
• Outlook and potential enhancements
• Summary
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security37
Summary
03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security38
• It is not exclusively a customer challenge. Oracle has to solve similar issues for its cloud products.
• Lockdown profiles, PATH_PREFIX, PDB_OS_CREDENTIAL etc. do provide basic functionality to
implement PDB Isolation. But…
• … there are still a few bugs.
• … not all use cases are covered e.g. resource management, java etc.
• What used to be true is still true.
• Do not install Oracle JVM in security-critical databases!
• If it is not absolutely necessary.
• The opening of an SR on this topic is simply cumbersome and laborious.
• The new functionality DB Nest does look promising.
Despite the limitations, these functions offer basic functionalities to make the PDB more secure and
to start implementing isolation.
UKOUG TechFest PDB Isolation and Security

More Related Content

What's hot

TechEvent Oracle 18c New Security Features
TechEvent Oracle 18c New Security FeaturesTechEvent Oracle 18c New Security Features
TechEvent Oracle 18c New Security FeaturesTrivadis
 
TechEvent 2019: Oracle Databases as Managed Service at AWS, Yes it works!; Al...
TechEvent 2019: Oracle Databases as Managed Service at AWS, Yes it works!; Al...TechEvent 2019: Oracle Databases as Managed Service at AWS, Yes it works!; Al...
TechEvent 2019: Oracle Databases as Managed Service at AWS, Yes it works!; Al...Trivadis
 
TechEvent EUS, Kerberos, SSL and OUD
TechEvent EUS, Kerberos, SSL and OUDTechEvent EUS, Kerberos, SSL and OUD
TechEvent EUS, Kerberos, SSL and OUDTrivadis
 
Oracle Cloud deployment with Terraform
Oracle Cloud deployment with TerraformOracle Cloud deployment with Terraform
Oracle Cloud deployment with TerraformStefan Oehrli
 
SOUG Oracle Unified Audit for Multitenant Databases
SOUG Oracle Unified Audit for Multitenant DatabasesSOUG Oracle Unified Audit for Multitenant Databases
SOUG Oracle Unified Audit for Multitenant DatabasesStefan Oehrli
 
IaC MeetUp Active Directory Setup for Oracle Security LAB
IaC MeetUp Active Directory Setup for Oracle Security LABIaC MeetUp Active Directory Setup for Oracle Security LAB
IaC MeetUp Active Directory Setup for Oracle Security LABStefan Oehrli
 
Security Best Practice: Oracle passwords, but secure!
Security Best Practice: Oracle passwords, but secure!Security Best Practice: Oracle passwords, but secure!
Security Best Practice: Oracle passwords, but secure!Stefan Oehrli
 
Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...
Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...
Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...Trivadis
 
AUSOUG Oracle Password Security
AUSOUG Oracle Password SecurityAUSOUG Oracle Password Security
AUSOUG Oracle Password SecurityStefan Oehrli
 
MythBusters Globalization Support - Avoid Data Corruption
MythBusters Globalization Support - Avoid Data CorruptionMythBusters Globalization Support - Avoid Data Corruption
MythBusters Globalization Support - Avoid Data CorruptionChristian Gohmann
 
REST in Piece - Administration of an Oracle Cluster/Database using REST
REST in Piece - Administration of an Oracle Cluster/Database using RESTREST in Piece - Administration of an Oracle Cluster/Database using REST
REST in Piece - Administration of an Oracle Cluster/Database using RESTChristian Gohmann
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesLudovico Caldara
 
Oracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attackOracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attackBobby Curtis
 
RMOUG 18 - Oracle Database Locking Mechanism Demystified
RMOUG 18 - Oracle Database Locking Mechanism DemystifiedRMOUG 18 - Oracle Database Locking Mechanism Demystified
RMOUG 18 - Oracle Database Locking Mechanism DemystifiedPini Dibask
 
MySQL Security
MySQL SecurityMySQL Security
MySQL SecurityMario Beck
 
2020 - GUOB Tech Day / Groundbreakers LAD Tour - How to Create an AutoScale C...
2020 - GUOB Tech Day / Groundbreakers LAD Tour - How to Create an AutoScale C...2020 - GUOB Tech Day / Groundbreakers LAD Tour - How to Create an AutoScale C...
2020 - GUOB Tech Day / Groundbreakers LAD Tour - How to Create an AutoScale C...Marcus Vinicius Miguel Pedro
 
Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...
Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...
Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...Andrejs Prokopjevs
 
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...Dave Stokes
 

What's hot (20)

TechEvent Oracle 18c New Security Features
TechEvent Oracle 18c New Security FeaturesTechEvent Oracle 18c New Security Features
TechEvent Oracle 18c New Security Features
 
TechEvent 2019: Oracle Databases as Managed Service at AWS, Yes it works!; Al...
TechEvent 2019: Oracle Databases as Managed Service at AWS, Yes it works!; Al...TechEvent 2019: Oracle Databases as Managed Service at AWS, Yes it works!; Al...
TechEvent 2019: Oracle Databases as Managed Service at AWS, Yes it works!; Al...
 
TechEvent EUS, Kerberos, SSL and OUD
TechEvent EUS, Kerberos, SSL and OUDTechEvent EUS, Kerberos, SSL and OUD
TechEvent EUS, Kerberos, SSL and OUD
 
Oracle Cloud deployment with Terraform
Oracle Cloud deployment with TerraformOracle Cloud deployment with Terraform
Oracle Cloud deployment with Terraform
 
SOUG Oracle Unified Audit for Multitenant Databases
SOUG Oracle Unified Audit for Multitenant DatabasesSOUG Oracle Unified Audit for Multitenant Databases
SOUG Oracle Unified Audit for Multitenant Databases
 
IaC MeetUp Active Directory Setup for Oracle Security LAB
IaC MeetUp Active Directory Setup for Oracle Security LABIaC MeetUp Active Directory Setup for Oracle Security LAB
IaC MeetUp Active Directory Setup for Oracle Security LAB
 
Security Best Practice: Oracle passwords, but secure!
Security Best Practice: Oracle passwords, but secure!Security Best Practice: Oracle passwords, but secure!
Security Best Practice: Oracle passwords, but secure!
 
Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...
Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...
Trivadis TechEvent 2017 How modern DBAs can use our efficient Toolbox by Rola...
 
Postgre sql best_practices
Postgre sql best_practicesPostgre sql best_practices
Postgre sql best_practices
 
AUSOUG Oracle Password Security
AUSOUG Oracle Password SecurityAUSOUG Oracle Password Security
AUSOUG Oracle Password Security
 
MythBusters Globalization Support - Avoid Data Corruption
MythBusters Globalization Support - Avoid Data CorruptionMythBusters Globalization Support - Avoid Data Corruption
MythBusters Globalization Support - Avoid Data Corruption
 
REST in Piece - Administration of an Oracle Cluster/Database using REST
REST in Piece - Administration of an Oracle Cluster/Database using RESTREST in Piece - Administration of an Oracle Cluster/Database using REST
REST in Piece - Administration of an Oracle Cluster/Database using REST
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
 
Oracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attackOracle virtualbox basic to rac attack
Oracle virtualbox basic to rac attack
 
MySQL Security
MySQL SecurityMySQL Security
MySQL Security
 
RMOUG 18 - Oracle Database Locking Mechanism Demystified
RMOUG 18 - Oracle Database Locking Mechanism DemystifiedRMOUG 18 - Oracle Database Locking Mechanism Demystified
RMOUG 18 - Oracle Database Locking Mechanism Demystified
 
MySQL Security
MySQL SecurityMySQL Security
MySQL Security
 
2020 - GUOB Tech Day / Groundbreakers LAD Tour - How to Create an AutoScale C...
2020 - GUOB Tech Day / Groundbreakers LAD Tour - How to Create an AutoScale C...2020 - GUOB Tech Day / Groundbreakers LAD Tour - How to Create an AutoScale C...
2020 - GUOB Tech Day / Groundbreakers LAD Tour - How to Create an AutoScale C...
 
Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...
Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...
Oracle Unified Directory. Lessons learnt. Is it ready for a move from OID? (O...
 
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
 

Similar to UKOUG TechFest PDB Isolation and Security

MySQL Performance Tuning: The Perfect Scalability (OOW2019)
MySQL Performance Tuning: The Perfect Scalability (OOW2019)MySQL Performance Tuning: The Perfect Scalability (OOW2019)
MySQL Performance Tuning: The Perfect Scalability (OOW2019)Mirko Ortensi
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insightsKirill Loifman
 
TechEvent 2019: DB, CMU and EUS engineering with vagrant; Stefan Oehrli - Tri...
TechEvent 2019: DB, CMU and EUS engineering with vagrant; Stefan Oehrli - Tri...TechEvent 2019: DB, CMU and EUS engineering with vagrant; Stefan Oehrli - Tri...
TechEvent 2019: DB, CMU and EUS engineering with vagrant; Stefan Oehrli - Tri...Trivadis
 
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...Alex Gorbachev
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudipasalapudi123
 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cZohar Elkayam
 
Plugging in oracle database 12c pluggable databases
Plugging in   oracle database 12c pluggable databasesPlugging in   oracle database 12c pluggable databases
Plugging in oracle database 12c pluggable databasesKellyn Pot'Vin-Gorman
 
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantRMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantPini Dibask
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databasesomnidba
 
Designing and developing your database for application availability
Designing and developing your database for application availabilityDesigning and developing your database for application availability
Designing and developing your database for application availabilityCharley Hanania
 
Exploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your CloudExploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your Clouddyahalom
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantPini Dibask
 
Simplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cSimplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cMaris Elsins
 
Security Multitenant
Security MultitenantSecurity Multitenant
Security MultitenantArush Jain
 
Node.js and Oracle Database: New Development Techniques
Node.js and Oracle Database: New Development TechniquesNode.js and Oracle Database: New Development Techniques
Node.js and Oracle Database: New Development TechniquesChristopher Jones
 
Using oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveUsing oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveSecure-24
 

Similar to UKOUG TechFest PDB Isolation and Security (20)

MySQL Performance Tuning: The Perfect Scalability (OOW2019)
MySQL Performance Tuning: The Perfect Scalability (OOW2019)MySQL Performance Tuning: The Perfect Scalability (OOW2019)
MySQL Performance Tuning: The Perfect Scalability (OOW2019)
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
TechEvent 2019: DB, CMU and EUS engineering with vagrant; Stefan Oehrli - Tri...
TechEvent 2019: DB, CMU and EUS engineering with vagrant; Stefan Oehrli - Tri...TechEvent 2019: DB, CMU and EUS engineering with vagrant; Stefan Oehrli - Tri...
TechEvent 2019: DB, CMU and EUS engineering with vagrant; Stefan Oehrli - Tri...
 
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
Under The Hood of Pluggable Databases by Alex Gorbachev, Pythian, Oracle OpeW...
 
Oracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra PasalapudiOracle database 12c introduction- Satyendra Pasalapudi
Oracle database 12c introduction- Satyendra Pasalapudi
 
Presentation day1oracle 12c
Presentation day1oracle 12cPresentation day1oracle 12c
Presentation day1oracle 12c
 
Exploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12cExploring Oracle Multitenant in Oracle Database 12c
Exploring Oracle Multitenant in Oracle Database 12c
 
Plugging in oracle database 12c pluggable databases
Plugging in   oracle database 12c pluggable databasesPlugging in   oracle database 12c pluggable databases
Plugging in oracle database 12c pluggable databases
 
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle MultitenantRMOUG 18 - Winning Performance Challenges in Oracle Multitenant
RMOUG 18 - Winning Performance Challenges in Oracle Multitenant
 
Simplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable DatabasesSimplify Consolidation with Oracle Pluggable Databases
Simplify Consolidation with Oracle Pluggable Databases
 
Designing and developing your database for application availability
Designing and developing your database for application availabilityDesigning and developing your database for application availability
Designing and developing your database for application availability
 
Exploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your CloudExploring Oracle Database 12c Multitenant best practices for your Cloud
Exploring Oracle Database 12c Multitenant best practices for your Cloud
 
Winning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle MultitenantWinning Performance Challenges in Oracle Multitenant
Winning Performance Challenges in Oracle Multitenant
 
Simplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12cSimplify Consolidation with Oracle Database 12c
Simplify Consolidation with Oracle Database 12c
 
Oracle 12c - Multitenant Feature
Oracle 12c - Multitenant FeatureOracle 12c - Multitenant Feature
Oracle 12c - Multitenant Feature
 
Security Multitenant
Security MultitenantSecurity Multitenant
Security Multitenant
 
Node.js and Oracle Database: New Development Techniques
Node.js and Oracle Database: New Development TechniquesNode.js and Oracle Database: New Development Techniques
Node.js and Oracle Database: New Development Techniques
 
Super hybrid2016 tdc
Super hybrid2016 tdcSuper hybrid2016 tdc
Super hybrid2016 tdc
 
Using oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveUsing oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archive
 
2020 - OCI Key Concepts for Oracle DBAs
2020 - OCI Key Concepts for Oracle DBAs2020 - OCI Key Concepts for Oracle DBAs
2020 - OCI Key Concepts for Oracle DBAs
 

Recently uploaded

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Recently uploaded (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

UKOUG TechFest PDB Isolation and Security

  • 1. BASEL | BERN | BRUGG | BUCHAREST | COPENHAGEN | DÜSSELDORF | FRANKFURT A.M. | FREIBURG I.BR. GENEVA | HAMBURG | LAUSANNE | MANNHEIM | MUNICH | STUTTGART | VIENNA | ZURICH www.oradba.ch@stefanoehrli PDB Isolation and Security What about security of Oracle multitenant container database (CDB)? Stefan Oehrli
  • 2. BASEL | BERN | BRUGG | BUKAREST | DÜSSELDORF | FRANKFURT A.M. | FREIBURG I.BR. | GENF HAMBURG | KOPENHAGEN | LAUSANNE | MANNHEIM | MÜNCHEN | STUTTGART | WIEN | ZÜRICH Stefan Oehrli Platform Architect, Trainer and Partner at Trivadis • Since 1997 active in various IT areas and since 2008 with Trivadis AG • More than 20 years of experience in Oracle databases • Live with my family (wife and two kids ) in Muri in a small village in CH Focus: Protecting data and operating databases securely • Security assessments and reviews • Database security concepts and their implementation • Oracle Backup & Recovery concepts and troubleshooting • Oracle Enterprise User Security, Advanced Security, Database Vault, … • Oracle Directory Services @stefanoehrli www.oradba.ch
  • 3.
  • 4.
  • 5. Agenda • General Database Security • Multitenant Container Database Challenges • Isolation and Security Measures • Outlook and potential enhancements • Summary 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security5
  • 6. Agenda • General Database Security • Multitenant Container Database Challenges • Isolation and Security Measures • Outlook and potential enhancements • Summary 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security6
  • 7. 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security7 Top 10 Database Risks and Threats • Excessive privileges • Privilege abuse • Unauthorized privilege elevation • Platform vulnerabilities • SQL injection • Weak audit • Denial of service • Database protocol vulnerabilities • Weak authentication • Exposure of backup data
  • 8. Maximal Data Security Architecture 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security8
  • 9. Maximal Data Security Architecture - CDB 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security9
  • 10. Agenda • General Database Security • Multitenant Container Database Challenges • Isolation and Security Measures • Outlook and potential enhancements • Summary 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security10
  • 11. Multitenant Container Database Usage How are the multitenant container databases used? • Simple replacement of the classic database (none-CDB) architecture with just one PDB • Database consolidation using multiple PDBs • Private DBAAS • Public DBAAS Infrastructure architecture • Cloud, Hybrid or on-premises? • Dedicated hardware • Virtual environments • Engineered System 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security11
  • 12. Multitenant Container Database Usage Security related questions • Comprehensive privileges available in PDBs • Strict security requirements and standards • Industry dependent legal and compliance requirements Corporate structure • All just one legal entity • More or less independent departments • Several companies and subsidiaries • Service provider for different companies Isolation requirements vary 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security12
  • 13. But why isolation at all? • Only basic database security is not enough... • PDB admin and user do have comprehensive privileges (DBAAS). • Full DBA role • ALTER SYSTEM, ALTER SESSION,… • PL/SQL packages and procedures • Oracle bugs and feature allow to escape the boundaries of a PDB. • Scheduler jobs including OS calls • External table pre-processor scripts • PL/SQL Library calls • Java OS calls • Resource management beyond the scope of PDBs 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security13
  • 14. Risks in a DBAAS environment • PDB admin use privilege escalation. • Excessive use of shared resources. • Access sensitive data via shared resources e.g. backup or management LAN. • Break out of PDB and get OS access as oracle. • Gain access to the root container (cdb$root) • Gain access to other PDBs. • Gain access to the network. • Use of critical features like • Administration features • Oracle JVM • DBMS_SCHEDULER • External table pre-processor 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security14
  • 15. Risk all cleared? 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security15
  • 16. Agenda • General Database Security • Multitenant Container Database Challenges • Isolation and Security Measures • Outlook and potential enhancements • Summary 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security16
  • 17. Are we cooking or why onions? • Measures on several levels are essential. • Layered structure similar to an onion. e.g. • Secure and correct data • Secure application design • PDB hardening • PDB isolation and security • General CDB architecture • CDB hardening • OS Hardening • Network security • The following functions such as lockdown profiles, path prefix and PDB OS credentials are only part of a holistic approach. 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security17
  • 18. Possibilities for risk mitigation A multitenant container database provides the following features beyond regular security measures: • PATH_PREFIX and CREATE_FILE_DEST clause to limit data files and directory objects to certain paths. • PDB_OS_CREDENTIAL parameter assigning a dedicated user account for OS interactions • Lockdown profiles to restrict certain operations or functionalities in a PDBs But what can you do with them...? 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security18
  • 19. Manage File Access PATH_PREFIX clause to restrict directory object paths • Set per PDB at creation time. Can not be changed later. • Restrictions and limitations when PATH_PREFIX is used: • Existing directory objects might not work as expected. • PATH_PREFIX string is always added as a prefix to all local directory objects in the PDB. • It does not apply to Oracle-supplied directory objects. • Does not affect files created by Oracle Managed Files nor data files or temporary files • Issues when using / allowing softlinks CREATE_FILE_DEST clause to restrict directory path for data files or temporary files. • Implicit set DB_CREATE_FILE_DEST. => can be modified / requires lockdown profile • Enable Oracle Managed Files for the PDB. • Specifies the default file system directory or Oracle ASM disk group for PDB files. 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security19
  • 20. • Alternatively create a PDB based on a template PDB, dbca etc. • Check current setting of PATH_PREFIX in database_properties CREATE PLUGGABLE DATABASE pdbsec ADMIN USER pdbadmin IDENTIFIED BY LAB01schulung ROLES=(dba) PATH_PREFIX = '/u01/oradata/pdbsec/directories/' CREATE_FILE_DEST = '/u01/oradata/pdbsec/'; ALTER SESSION SET CONTAINER=pdbsec; SELECT * FROM database_properties WHERE property_name='PATH_PREFIX'; PROPERTY_NAME PROPERTY_VALUE DESCRIPTION ------------- ------------------------------- ---------------------- PATH_PREFIX /u01/oradata/PDBSEC/directories All paths for objects such as directories are relative to this Configure File Access • Manually create a PDB based on PDB$SEED 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security20
  • 21. • Create an Oracle directory object inside PATH_PREFIX SQL> CREATE DIRECTORY wrong_prefix AS '/tmp/test'; CREATE DIRECTORY wrong_prefix AS '/tmp/test' * ERROR at line 1: ORA-65254: invalid path specified for the directory SQL> CREATE DIRECTORY no_prefix AS 'no_prefix'; Directory created. SQL> SELECT directory_name, directory_path FROM dba_directories 2 WHERE origin_con_id=(SELECT con_id FROM v$pdbs); DIRECTORY_NAME DIRECTORY_PATH --------------- ------------------------------------------ NO_PREFIX /u01/oradata/PDBSEC/directories/no_prefix Verify File Access – PATH_PREFIX • Create an Oracle directory object outside PATH_PREFIX 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security21
  • 22. • Create an Oracle tablespace with an absolute path within CREATE_FILE_DEST and with OMF SQL> CREATE TABLESPACE wrong_prefix DATAFILE '/tmp/wrong_prefix.dbf' SIZE 1M; CREATE TABLESPACE wrong_prefix DATAFILE '/tmp/wrong_prefix.dbf' SIZE 1M * ERROR at line 1: ORA-65250: invalid path specified for file - /tmp/wrong_prefix.dbf SQL> CREATE TABLESPACE right_prefix DATAFILE 2 '/u01/oradata/PDBSEC/right_prefix.dbf' SIZE 1M; Tablespace created. SQL> CREATE TABLESPACE no_prefix datafile SIZE 1M; Tablespace created. Verify File Access – CREATE_FILE_DEST • Create an Oracle tablespace with an absolute path outside CREATE_FILE_DEST 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security22
  • 23. Manage File Access, but… Unfortunately one might stumble over the PATH_PREFIX now and then: • PATH_PREFIX should no apply to Oracle-supplied directory objects. Says the Oracle Documentation: • … but what is an Oracle supplied directory? • Automated Tablespace Point in Time Recovery (TS PITR) do not work. RMAN can not create the directory to transfer the Tablespace (SR still under investigation) • Datapatch could have issues see Bug 25074866 and Patch 25074866 for 12c R2 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security23
  • 24. Managing OS Access • Define a dedicated OS user account for system interactions. • Based on DBMS_CREDENTIAL package and init parameter PDB_OS_CREDENTIAL. • Introduced with Oracle 12.2.0.1. • Allows to define dedicated OS credential for: • External jobs that do not yet have an OS credential specified • External table pre-processors • PL/SQL library executions (EXTPROC) • Can be defined globally or per PDB. As far as theory goes... • ... unfortunately there are still bugs (12g-19c) • … PDB_OS_CREDENTIAL does not work as expected for table pre-processor (DBMS_SCHEDULER fixed since yesterday for 12.2.0.1 RU April 2019) 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security24
  • 25. • Set the parameter at CDB level (older version did require a change via pfile) BEGIN dbms_credential.create_credential( credential_name => 'PDBSEC_OS_USER', username => 'orapdbsec', password => 'manager'); END; / ALTER SYSTEM SET pdb_os_credential=GENERIC_PDB_OS_USER SCOPE=SPFILE; Define credentials • Create a credential in the cdb$root for a corresponding OS user • Or individually per PDB ALTER SESSION SET CONTAINER=pdbsec; ALTER SYSTEM SET pdb_os_credential=PDBSEC_OS_USER SCOPE=SPFILE; 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security25
  • 26. Lockdown Profiles • Oracle introduced lockdown profiles with 12.1. However, they become interesting only in 12.2 or the better 18c/19c • Lockdown profiles allows to restrict user operation in PDBs in a multitenant container database. • It is possible to assign lockdown profiles to... • ... individual PDBs, if PDB_LOCKDOWN is set while connected to a particular PDB. • ... all PDBs in a CDB, if PDB_LOCKDOWN is set while connected to the CDB root. • … application container, if PDB_LOCKDOWN is set while connected to an application root • The CREATE LOCKDOWN PROFILE statement must be issued from CDB or application root. • Usage of lockdown profiles includes 3 steps: • Create a lockdown profile using CREATE LOCKDOWN PROFILE • Enable / disable user operations using ALTER LOCKDOWN PROFILE • Enable the corresponding lockdown profile using ALTER SYSTEM SET pdb_lockdown= 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security26
  • 27. Capabilities of Lockdown Profiles • ALTER LOCKDOWN PROFILE statement allows to enable or disable the following functions : • LOCKDOWN_OPTIONS clause: User operations associated with certain database options. • LOCKDOWN_FEATURES clause: User operations associated with certain database features. • LOCKDOWN_STATEMENTS clause: The issuance of certain SQL statements. • Function can either explicitly be disable or enable. • Combination of ALL and EXCEPT is possible. • Oracle 18c introduced a couple of enhancements for lockdown profiles: • Restrict user operation for ALL, LOCAL or COMMON user. • Create lockdown profiles based existing profiles as static copy or dynamic link. 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security27
  • 28. ALTER LOCKDOWN PROFILE sec_default ENABLE OPTION ALL EXCEPT = ('DATABASE QUEUING'); LOCKDOWN_OPTIONS clause • The following database options can be restricted: • DATABASE QUEUING – User operations associated with Oracle Database Advanced Queuing option • PARTITIONING – User operations associated with Oracle Partitioning option • Restriction explicit or with exclusion: • Use ALL to specify all options. • Use ALL EXCEPT to specify all options except the specified options. • Default is ENABLE OPTION ALL. • Enable all options except DATABASE QUEUING 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security28
  • 29. ALTER LOCKDOWN PROFILE sec_default DISABLE FEATURE = ('OS_ACCESS'); ALTER LOCKDOWN PROFILE sec_default ENABLE FEATURE = ('TRACE_VIEW_ACCESS'); LOCKDOWN_FEATURES clause • LOCKDOWN_FEATURES clause disable or enable user operations associated with certain database features. • Supports a comprehensive list of database features and feature bundle e.g. AWR_ACCESS, CONNECTIONS, JAVA, JAVA_RUNTIME, NETWORK_ACCESS, OS_ACCESS, etc. • See Oracle documentation ALTER LOCKDOWN PROFILE for a complete list. • Restriction explicit or with exclusion: • Use ALL to specify all features. • Use ALL EXCEPT to specify all features except the specified feature. • Default is ENABLE ALL. • Disable OS_ACCESS but explicitly enable TRACE_VIEW_ACCESS 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security29
  • 30. LOCKDOWN_STATEMENTS clause • LOCKDOWN_ STATEMENTS clause disable or enable issuance of certain SQL statements. • Use DISABLE to disable the execution of specified SQL statements. • Use ENABLE to enable the execution of specified SQL statements. • Restriction explicit or with exclusion: • Use ALL to specify all statements. • Use ALL EXCEPT to specify all statements except the specified statements. • Default is ENABLE STATEMENT ALL. • The STATEMENT_CLAUSES lets disable or enable specific clauses of the specified SQL statement. • The OPTION_CLAUSES lets disable or enable setting or modification of specific options. • E.g. disable all ALTER SYSTEM but allow ALTER SYSTEM SET cursor_sharing • Challenging to cover all critical statements, clause and options and not open a security flaw. 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security30
  • 31. • Create a new lockdown profile sec_jvm based on sec_default • Enable Java and Java runtime ALTER LOCKDOWN PROFILE sec_default DISABLE STATEMENT = ('ALTER SYSTEM'); ALTER LOCKDOWN PROFILE sec_default ENABLE STATEMENT = ('ALTER SYSTEM') CLAUSE = ('SET') USERS=COMMON; ALTER LOCKDOWN PROFILE sec_default ENABLE STATEMENT = ('ALTER SYSTEM') CLAUSE = ('KILL SESSION'); CREATE LOCKDOWN PROFILE sec_jvm FROM sec_default; ALTER LOCKDOWN PROFILE sec_jvm ENABLE FEATURE = ('JAVA_RUNTIME'); ALTER LOCKDOWN PROFILE sec_jvm ENABLE FEATURE = ('JAVA'); A few more examples • Disable ALTER SYSTEM but allow it for COMMON user and for clause KILL SESSION. 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security31
  • 32. Missing parts • PDB isolation is no a replacement for a comprehensive security concept. • Resource management is not covered at all. • TDE, in particular TDE key management requires additional measures • OS specific admin activities are not separated. e.g. Backup & Recover • Although user are distinct by PDB_OS_CREDENTIAL, measures on the OS are still mandatory. => Layered Security • Flaw in PDB isolation if poor lockdown profiles have been defined. 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security32
  • 33. Agenda • General Database Security • Multitenant Container Database Challenges • Isolation and Security Measures • Outlook and potential enhancements • Summary 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security33
  • 34. Outlook and potential enhancements • In short term, waiting for the problems around PDB_OS_CREDENTIAL to be solved is still required. • Bug 25820082 - PDB_OS_CREDENTIAL PARAMETER NOT WORKING => fixed for 12.2.0.1 RU April 2019 since 10. Sept. 2019 • Bug 29926986 - LISTENER SPAWNED EXTPROC FAILS WITH ORA-28575 • Bug 29922316 - EXTPROC FAILS WITH HS: CHILD EXTPROC FINISHED CALLING JSSU! STATUS = -1 WHEN DBMS_CREDENTIAL CONFIGURED • Doc 29938722 - PDB_OS_CREDENTIAL DOCUMENTION NEEDS TO INCLUDE CONFIGURATION REQUIREMENTS AND EXAMPLES • MOS Note 2296226.1 datapatch Fails With "ORA-65254: invalid path specified for the directory" on PDB where PATH_PREFIX is set) • Although the Java challenges are not yet covered by these bugs • Oracle does struggle with similar challenges for their cloud services e.g. Oracle Autonomous Database. 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security34
  • 35. • Reveals a functionality named DB Nest. • Presentations from OOW 2018 have mentioned DB Nest as a security enhancement for Multitenant Databases. • Discussions with the Oracle PM for PDBs have shown that solutions are needed and being developed. e.g. Linux CGROUPS, Linux Security Module (LSM) etc. Parameter Instance Description ----------------------- ----------- -------------------------------- _dbnest_enable NONE dbNest enable _dbnest_pdb_fs_conf PDB Filesystem configuration _dbnest_pdb_fs_type DEFAULT PDB FS Type _dbnest_pdb_scm_conf PDB SCM configuration _dbnest_pdb_scm_level STRICT1 PDB SCM Level _dbnest_stage_dir Staging directory configuration _instance_dbnest_name Instance dbNest Name 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security35 Oracle DB Nest • A possible hint in Oracle 19c based on a few hidden parameter
  • 36. Oracle DB Nest The exact functionality can only be guessed at the moment. Control and isolation of... • OS resources used by a PDB • File system isolation per PDB • Secure computing • …? Next Oracle Open World / Oracle Release coming soon J 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security36
  • 37. Agenda • General Database Security • Multitenant Container Database Challenges • Isolation and Security Measures • Outlook and potential enhancements • Summary 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security37
  • 38. Summary 03.12.2019 UKOUG Techfest 2019 - PDB Isolation and Security38 • It is not exclusively a customer challenge. Oracle has to solve similar issues for its cloud products. • Lockdown profiles, PATH_PREFIX, PDB_OS_CREDENTIAL etc. do provide basic functionality to implement PDB Isolation. But… • … there are still a few bugs. • … not all use cases are covered e.g. resource management, java etc. • What used to be true is still true. • Do not install Oracle JVM in security-critical databases! • If it is not absolutely necessary. • The opening of an SR on this topic is simply cumbersome and laborious. • The new functionality DB Nest does look promising. Despite the limitations, these functions offer basic functionalities to make the PDB more secure and to start implementing isolation.