SlideShare a Scribd company logo
Database Security Enhancements With Oracle
Database 11g
Daniel Wong
Director of Engineering, Database Security
Oracle Corporation
2
Agenda
• About Oracle Software Security Assurance
• Overview of Security Enhancements in 11g
• Secure Configuration Enhancements
• Other Key Security Enhancements
• Q&A
3
Oracle Software Security Assurance
All the processes, procedures, and
technologies that have been
implemented to ensure that Oracle’s
products are meeting our customers’
security requirements, while
providing for the most cost-effective
ownership experience.
Product
Development
Product
Definition
Ongoing
Assurance
Secure
Coding
Standards
4
Oracle Software Security Assurance
Secure Configuration
• Enhance “out of the box installation” settings to be
more secure
• Remove default passwords
• Disable unneeded services
• Reduce proliferation of powerful privileges
• Identify and minimize potential effects of enhanced
secure configuration settings:
• Impacts resulting from version upgrade
• Impacts on Oracle and third-party applications
• Document and share current security best practices
• http://www.oracle.com/security/resource-library.html
5
Oracle Software Security Assurance
Secure Configuration
• Goals:
• Improve security of default configuration
• Secure by Default while maintaining upgradability and usability
• Inputs:
• Internal: Various Oracle Software Security Assurance programs
• External: CIS, SANS, DISA
• Recent Enhancements:
• Locked default accounts, expired passwords
• Optional install of demo schemas
• Best Practices document
• Default password/account scanner
6
Secure Configuration Enhancements
with 11g - Overview
1. Default Audit Settings
• Preconfigured
• Enhanced performance
2. Default Password Management
• Enhanced protection against brute force attack
• Complexity enforcement procedure
• Built-in default password scanner
3. Enhanced Authentication
• Case sensitive password authentication
• Control authentication version
4. Enhanced Access Control
• Improved security for several utl* packages
7
Audit Settings
• Key requirement for compliance
• 10gR2: OFF by default
• 11g:
• AUDIT_TRAIL=DB by default in DBCA
• security-relevant actions audited
• Performance:
• Set audit_trail=XML or OS for best performance
• In our informal lab environment, we found 1-2% performance
degradation for the TPCC benchmark with AUDIT_TRAIL=DB
and our default auditing statements
8
Updated Default Audit Settings
• Statement Audit option
• ROLE
• Privilege Audit Options
• CREATE USER
• ALTER USER
• DROP USER
• CREATE SESSION
• CREATE ANY TABLE
• ALTER ANY TABLE
• DROP ANY TABLE
• CREATE ANY PROCEDURE
• ALTER ANY PROCEDURE
• DROP ANY PROCEDURE
• ALTER PROFILE
• DROP PROFILE
• GRANT ANY PRIVILEGE
• GRANT ANY OBJECT PRIV.
• GRANT ANY ROLE
• CREATE ANY JOB
• CREATE EXTERNAL JOB
• CREATE ANY LIBRARY
• CREATE PUBLIC DB LINK
• EXEMPT ACCESS POLICY
• ALTER DATABASE
• ALTER SYSTEM
• AUDIT SYSTEM
9
Default Profile Password Settings
• 10gR2
• FAILED_LOGIN_ATTEMPTS = 10
• all others: unlimited
• 11g - more restrictive
• FAILED_LOGIN_ATTEMPTS = 10 (no change)
• PASSWORD_LOCK_TIME = 1
• PASSWORD_GRACE_TIME = 7
• PASSWORD_LIFE_TIME = 180
• Balanced protection against Denial of Service (DOS)
and password attacks while keeping usability
10
Password Complexity
• Supports case sensitive passwords
• Supports special and multi-byte characters to increase security and usability
• Takes effect immediately after password change
• Enhanced default password complexity verification
• Password Complexity Verification not enabled in default profile; can be
enabled via Enterprise Manager or SQL
• In utlpwdmg.sql in $ORACLE_HOME/admin directory
• SQL to set the password complexity verification
• ALTER PROFILE DEFAULT PASSWORD_VERIFY_FUNCTION
verify_function_11G
• This routine will verify that password
• Has minimum length of 8 characters
• Has at least one letter and one digit
• Is not username, reverse thereof, or username(1-100)
• Is not one of a few common passwords (e.g. welcome1)
• Must differ from previous password by at least 3 characters
11
Password Complexity
Recommendations
• Default password profile parameters may not suit everyone
• Adjust the password settings to your security needs
• Change default password verification routine as per your needs
• Define at least two password profiles - one for users and one for
mid-tiers and administrators
• Password recommendations vary with use cases:
• See for example, recommendations for E-Business Suite - MetaLink
189367.1
• See also Visit OTN: otn.oracle.com -> products -> database ->
security and compliance for detailed recommendations
12
Default Password View
• View DBA_USERS_WITH_DEFPWD will show all
accounts still using default passwords
• Over 140 default username/passwords collected from
the field, including application accounts for Peoplesoft
and Ebizs
• SQL> desc DBA_USERS_WITH_DEFPWD
• Name Null? Type
• ----------------------------------------- -------- ----------------------------
• USERNAME NOT NULL VARCHAR2(30)
• SQL> select * from DBA_USERS_WITH_DEFPWD
• 2 ;
• USERNAME
• ------------------------------
• JONES
13
Enhanced Authentication
• Supports multi-bytes and special characters
• Case sensitive passwords always enforced
• Use SEC _ CASE _ SENSITIVE _ LOGON to turn it OFF if
necessary
• Set SQLNET . ALLOWED _ LOGON _ VERSION to highest OCI client
version in use:
• Use 8 if there are Oracle 8.x clients connecting to the DB
• Use 9 if there are Oracle 9.x clients connecting to the DB
• Use 11 if there are Oracle 10.x and/or 11.x clients connecting to the
DB
• Use 8 if there are pre-Oracle 11g JDBC pure Java client connecting
to the DB
• Use of SHA-1 hashing algorithm to protect password
14
Enhanced Access Control
• Improved security for several utl* packages
• UTL_TCP, UTL_SMTP, UTL_MAIL, UTL_HTTP, etc.
• These packages will no longer allow connections to external
network services to non-privileged users by default
• SYS and XDB schemas will specifically remain
excluded from this kind of restriction
• DBAs will be able to specify what network services
database users will be allowed to access when using
these packages.
15
Enhanced Access Control
Recommendations
• Open access to external network services only
minimally
• Specify down to hosts and ports, avoid unnecessary “*”
wildcards
• Have small number of ACLs for manageability and
performance
• Share ACLs among network services open to the same users
• Consider giving access indirectly through application
schemas
• Applications can further restrict user interaction with network
services
16
Access Control Administration
• Administration via DBMS_NETWORK_ACL_ADMIN
• Grant access to a network service
• create_acl – create an ACL for the first user
• assign_acl – assign ACL to network service
• Grant access to more users in ACL – add_privilege
• Revoke access from users in ACL – delete_privilege
• Stop access to network services
• unassign_acl – take ACL away from network service
• All ACL changes are transactional
• Remember to “COMMIT” the transaction !!!
• View ACL settings via dictionary views
• DBA_NETWORK_ACLS – which network services have ACLs?
• DBA_NETWORK_ACL_PRIVILEGES – who are in the ACLs?
17
Access Control Administration
Example
begin
dbms_network_acl_admin.create_acl(
acl => 'smtp-access.xml',
description => 'ACL for SMTP service',
principal => 'MAILAGENT',
is_grant => TRUE,
privilege => 'connect');
dbms_network_acl_admin.assign_acl(
acl => 'smtp-access.xml',
host => 'smtp-host.oracle.com',
lower_port => 25);
end;
/
commit;
18
Access Control Administration
Example
SQL> select * from dba_network_acls;
HOST LOWER_PORT UPPER_PORT ACL
-------------------- ---------- ---------- -------------------------
smtp-host.oracle.com 25 25 /sys/acls/smtp-access.xml
SQL> select * from dba_network_acl_privileges;
ACL PRINCIPAL PRIVILEGE
------------------------- -------------------- ---------
/sys/acls/smtp-access.xml MAILAGENT connect
19
How Do These Changes Impact
Installation?
• Default new installations will include audit and
password profiles
• Option during install to retain 10gR2 settings
• DBCA screens to:
• Revert back to 10gR2 settings for audit and/or password
• Apply new default settings
• Upgrades will not change the audit and password
profile settings
20
Recommendations for Upgrades I
• Audit settings
• Turn on auditing for security sensitive DDL operations listed
• Set to DB or DB_extended for querability
• Set to OS or XML for performance
• Password Management
• Institute password policies by classifying users into a different
usage groups and assign dedicated profiles to each group
• Check DBA_USERS_WITH_DEFPWD for default passwords
21
Recommendations for Upgrades II
• Authentication
• Identify sources of connection and set security level to highest
possible supported by the client
• Ask users to change password as soon as possible for case
sensitive password to take effect
• Look into EUS for centralized user management
• Reminder: we support connect username/password as SYSDBA
• Access Control
• Identify applications using utl_* packages, and identify and grant
appropriate new ACL privileges and confirm applications are running
fine
• Evaluate current privileges granted, follow least privileged model
22
Other Key Security Enhancements
• Tablespace Encryption option in Transparent Data Encryption
• Allows bulk encryption at tablespace level
• No restriction on data types and indexes
• Works with all High Availability offerings
• Hardware Security Module and External Key Server support in
Transparent Data Encryption
• Provides additional option for security and key management services
by third party products
• Management of SYSDBA and SYSOPER in Enterprise User
Security
• Identity management of super users in databases
• Enhanced Kerberos support
• Cross realm and type 4 certificate support
• Support Microsoft KDC default encryption modes
23
Oracle Software Security Assurance
Conclusion
• MAXIMUM SECURITY
• Best of breed security features
• Secure design from the
ground up
• Effective vulnerability
remediation process
• LOWER COST OF
OWNERSHIP
• Unwavering commitment to
maintaining our customer’s
security posture
• Predictable security patch
process
• Priority given to quality
24
For More Information
• Oracle Software Security Assurance Web Site at
http://www.oracle.com/security/software-security-assurance.html
• Technical white papers and security guides
• Online security seminars and webcasts
• Blogs and more
• Critical Patch Update & Security Alerts
at http://www.oracle.com/technology/deploy/security/alerts.htm
• Critical Patch Updates and current security alerts
• Patch download
• CPU documentation & Risk Matrices
http://search.oracle.com
Oracle Software Security Assurance

More Related Content

What's hot (20)

PDF
Ppt security-database-overview-11g r2
Oracle BH
 
PPTX
Introducing Oracle Audit Vault and Database Firewall
Troy Kitch
 
PDF
AV/DF Advanced Security Option
DLT Solutions
 
PPTX
Oracle Audit Vault Training | Audit Vault - Oracle Trainings
OracleTrainings
 
PPTX
Geek Sync | Understanding Oracle Database Security
IDERA Software
 
PDF
Oracle database 12c security and compliance
FITSFSd
 
PPTX
Oracle Key Vault Overview
Troy Kitch
 
PPT
Oracle Database Vault
Marco Alamanni
 
PPTX
Isaca sql server 2008 r2 security & auditing
Antonios Chatzipavlis
 
PPTX
Database Options
Connor McDonald
 
PDF
Database & Technology 1 _ Barbara Rabinowicz _ Database Security Methoda and ...
InSync2011
 
DOC
Oracle Audit vault
uzzal basak
 
PDF
Oracle security 08-oracle network security
Zhaoyang Wang
 
PDF
Oracle Key Vault Data Subsetting and Masking
DLT Solutions
 
PDF
Database security issues
n|u - The Open Security Community
 
PPTX
SQL Server 2012 Security Task
Yaakub Idris
 
PDF
Oracle database 12c data masking and subsetting guide
bupbechanhgmail
 
PPT
Database Systems Security
amiable_indian
 
PPT
Sql Server Security
Vinod Kumar
 
PPTX
DevTalks.ro 2019 What's New in MySQL 8.0 Security
Georgi Kodinov
 
Ppt security-database-overview-11g r2
Oracle BH
 
Introducing Oracle Audit Vault and Database Firewall
Troy Kitch
 
AV/DF Advanced Security Option
DLT Solutions
 
Oracle Audit Vault Training | Audit Vault - Oracle Trainings
OracleTrainings
 
Geek Sync | Understanding Oracle Database Security
IDERA Software
 
Oracle database 12c security and compliance
FITSFSd
 
Oracle Key Vault Overview
Troy Kitch
 
Oracle Database Vault
Marco Alamanni
 
Isaca sql server 2008 r2 security & auditing
Antonios Chatzipavlis
 
Database Options
Connor McDonald
 
Database & Technology 1 _ Barbara Rabinowicz _ Database Security Methoda and ...
InSync2011
 
Oracle Audit vault
uzzal basak
 
Oracle security 08-oracle network security
Zhaoyang Wang
 
Oracle Key Vault Data Subsetting and Masking
DLT Solutions
 
Database security issues
n|u - The Open Security Community
 
SQL Server 2012 Security Task
Yaakub Idris
 
Oracle database 12c data masking and subsetting guide
bupbechanhgmail
 
Database Systems Security
amiable_indian
 
Sql Server Security
Vinod Kumar
 
DevTalks.ro 2019 What's New in MySQL 8.0 Security
Georgi Kodinov
 

Similar to Presentation database security enhancements with oracle (20)

PDF
Database security best_practices
Tarik Essawi
 
PPTX
Oracle Database 23c Security New Features.pptx
Satishbabu Gunukula
 
PDF
2008 Collaborate IOUG Presentation
Biju Thomas
 
PDF
Improve oracle 12c security
Laurent Leturgez
 
PDF
SOUG Day Oracle 21c New Security Features
Stefan Oehrli
 
PPTX
Improving oracle12c security
Laurent Leturgez
 
PDF
Oracle11g Security
Inprise Group
 
PDF
security-checklist-database
Mohsen B
 
PDF
Integrigy_Oracle_E-Business_Suite_Security_Risks_Primer_for_Internal_Auditors...
Minh237839
 
PDF
Best Practices in Security with PostgreSQL
EDB
 
PPTX
Best Practices in Security with PostgreSQL
EDB
 
PDF
Learn About the Top Oracle E-Business Suite Security Vulnerabilities
OAUGNJ
 
PDF
Kangaroot EDB Webinar Best Practices in Security with PostgreSQL
Kangaroot
 
PPTX
PCI Compliance: How to Remain Compliant and Gain Near Real-Time Analytics on ...
Emtec Inc.
 
PPT
Less11 Security
vivaankumar
 
PDF
Oracle® database 2 days security guide e10575
imranshahid7861
 
PDF
MySQL 8.0 - Security Features
Harin Vadodaria
 
PPT
Less08 users
Amit Bhalla
 
PPTX
Oracle 11g security - 2014
Connor McDonald
 
PPT
Less10 security mb3
Imran Ali
 
Database security best_practices
Tarik Essawi
 
Oracle Database 23c Security New Features.pptx
Satishbabu Gunukula
 
2008 Collaborate IOUG Presentation
Biju Thomas
 
Improve oracle 12c security
Laurent Leturgez
 
SOUG Day Oracle 21c New Security Features
Stefan Oehrli
 
Improving oracle12c security
Laurent Leturgez
 
Oracle11g Security
Inprise Group
 
security-checklist-database
Mohsen B
 
Integrigy_Oracle_E-Business_Suite_Security_Risks_Primer_for_Internal_Auditors...
Minh237839
 
Best Practices in Security with PostgreSQL
EDB
 
Best Practices in Security with PostgreSQL
EDB
 
Learn About the Top Oracle E-Business Suite Security Vulnerabilities
OAUGNJ
 
Kangaroot EDB Webinar Best Practices in Security with PostgreSQL
Kangaroot
 
PCI Compliance: How to Remain Compliant and Gain Near Real-Time Analytics on ...
Emtec Inc.
 
Less11 Security
vivaankumar
 
Oracle® database 2 days security guide e10575
imranshahid7861
 
MySQL 8.0 - Security Features
Harin Vadodaria
 
Less08 users
Amit Bhalla
 
Oracle 11g security - 2014
Connor McDonald
 
Less10 security mb3
Imran Ali
 
Ad

More from xKinAnx (20)

PPTX
Engage for success ibm spectrum accelerate 2
xKinAnx
 
PPTX
Accelerate with ibm storage ibm spectrum virtualize hyper swap deep dive
xKinAnx
 
PDF
Software defined storage provisioning using ibm smart cloud
xKinAnx
 
PDF
Ibm spectrum virtualize 101
xKinAnx
 
PDF
Accelerate with ibm storage ibm spectrum virtualize hyper swap deep dive dee...
xKinAnx
 
PDF
04 empalis -ibm_spectrum_protect_-_strategy_and_directions
xKinAnx
 
PPTX
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
xKinAnx
 
PPTX
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...
xKinAnx
 
PPTX
Ibm spectrum scale fundamentals workshop for americas part 3 Information Life...
xKinAnx
 
PPTX
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
xKinAnx
 
PPTX
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
xKinAnx
 
PPTX
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
xKinAnx
 
PPTX
Ibm spectrum scale fundamentals workshop for americas part 6 spectrumscale el...
xKinAnx
 
PPTX
Ibm spectrum scale fundamentals workshop for americas part 7 spectrumscale el...
xKinAnx
 
PPT
Ibm spectrum scale fundamentals workshop for americas part 8 spectrumscale ba...
xKinAnx
 
PPTX
Ibm spectrum scale fundamentals workshop for americas part 5 ess gnr-usecases...
xKinAnx
 
PDF
Presentation disaster recovery in virtualization and cloud
xKinAnx
 
PDF
Presentation disaster recovery for oracle fusion middleware with the zfs st...
xKinAnx
 
PDF
Presentation differentiated virtualization for enterprise clouds, large and...
xKinAnx
 
PDF
Presentation desktops for the cloud the view rollout
xKinAnx
 
Engage for success ibm spectrum accelerate 2
xKinAnx
 
Accelerate with ibm storage ibm spectrum virtualize hyper swap deep dive
xKinAnx
 
Software defined storage provisioning using ibm smart cloud
xKinAnx
 
Ibm spectrum virtualize 101
xKinAnx
 
Accelerate with ibm storage ibm spectrum virtualize hyper swap deep dive dee...
xKinAnx
 
04 empalis -ibm_spectrum_protect_-_strategy_and_directions
xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 1 components archi...
xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 2 IBM Spectrum Sca...
xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 3 Information Life...
xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 4 Replication, Str...
xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 5 spectrum scale_c...
xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 6 spectrumscale el...
xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 7 spectrumscale el...
xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 8 spectrumscale ba...
xKinAnx
 
Ibm spectrum scale fundamentals workshop for americas part 5 ess gnr-usecases...
xKinAnx
 
Presentation disaster recovery in virtualization and cloud
xKinAnx
 
Presentation disaster recovery for oracle fusion middleware with the zfs st...
xKinAnx
 
Presentation differentiated virtualization for enterprise clouds, large and...
xKinAnx
 
Presentation desktops for the cloud the view rollout
xKinAnx
 
Ad

Recently uploaded (20)

PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
DOCX
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
PPTX
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
PPTX
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
How do you fast track Agentic automation use cases discovery?
DianaGray10
 
Cryptography Quiz: test your knowledge of this important security concept.
Rajni Bhardwaj Grover
 
Seamless Tech Experiences Showcasing Cross-Platform App Design.pptx
presentifyai
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Designing_the_Future_AI_Driven_Product_Experiences_Across_Devices.pptx
presentifyai
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
Future Tech Innovations 2025 – A TechLists Insight
TechLists
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
LOOPS in C Programming Language - Technology
RishabhDwivedi43
 

Presentation database security enhancements with oracle

  • 1. Database Security Enhancements With Oracle Database 11g Daniel Wong Director of Engineering, Database Security Oracle Corporation
  • 2. 2 Agenda • About Oracle Software Security Assurance • Overview of Security Enhancements in 11g • Secure Configuration Enhancements • Other Key Security Enhancements • Q&A
  • 3. 3 Oracle Software Security Assurance All the processes, procedures, and technologies that have been implemented to ensure that Oracle’s products are meeting our customers’ security requirements, while providing for the most cost-effective ownership experience. Product Development Product Definition Ongoing Assurance Secure Coding Standards
  • 4. 4 Oracle Software Security Assurance Secure Configuration • Enhance “out of the box installation” settings to be more secure • Remove default passwords • Disable unneeded services • Reduce proliferation of powerful privileges • Identify and minimize potential effects of enhanced secure configuration settings: • Impacts resulting from version upgrade • Impacts on Oracle and third-party applications • Document and share current security best practices • http://www.oracle.com/security/resource-library.html
  • 5. 5 Oracle Software Security Assurance Secure Configuration • Goals: • Improve security of default configuration • Secure by Default while maintaining upgradability and usability • Inputs: • Internal: Various Oracle Software Security Assurance programs • External: CIS, SANS, DISA • Recent Enhancements: • Locked default accounts, expired passwords • Optional install of demo schemas • Best Practices document • Default password/account scanner
  • 6. 6 Secure Configuration Enhancements with 11g - Overview 1. Default Audit Settings • Preconfigured • Enhanced performance 2. Default Password Management • Enhanced protection against brute force attack • Complexity enforcement procedure • Built-in default password scanner 3. Enhanced Authentication • Case sensitive password authentication • Control authentication version 4. Enhanced Access Control • Improved security for several utl* packages
  • 7. 7 Audit Settings • Key requirement for compliance • 10gR2: OFF by default • 11g: • AUDIT_TRAIL=DB by default in DBCA • security-relevant actions audited • Performance: • Set audit_trail=XML or OS for best performance • In our informal lab environment, we found 1-2% performance degradation for the TPCC benchmark with AUDIT_TRAIL=DB and our default auditing statements
  • 8. 8 Updated Default Audit Settings • Statement Audit option • ROLE • Privilege Audit Options • CREATE USER • ALTER USER • DROP USER • CREATE SESSION • CREATE ANY TABLE • ALTER ANY TABLE • DROP ANY TABLE • CREATE ANY PROCEDURE • ALTER ANY PROCEDURE • DROP ANY PROCEDURE • ALTER PROFILE • DROP PROFILE • GRANT ANY PRIVILEGE • GRANT ANY OBJECT PRIV. • GRANT ANY ROLE • CREATE ANY JOB • CREATE EXTERNAL JOB • CREATE ANY LIBRARY • CREATE PUBLIC DB LINK • EXEMPT ACCESS POLICY • ALTER DATABASE • ALTER SYSTEM • AUDIT SYSTEM
  • 9. 9 Default Profile Password Settings • 10gR2 • FAILED_LOGIN_ATTEMPTS = 10 • all others: unlimited • 11g - more restrictive • FAILED_LOGIN_ATTEMPTS = 10 (no change) • PASSWORD_LOCK_TIME = 1 • PASSWORD_GRACE_TIME = 7 • PASSWORD_LIFE_TIME = 180 • Balanced protection against Denial of Service (DOS) and password attacks while keeping usability
  • 10. 10 Password Complexity • Supports case sensitive passwords • Supports special and multi-byte characters to increase security and usability • Takes effect immediately after password change • Enhanced default password complexity verification • Password Complexity Verification not enabled in default profile; can be enabled via Enterprise Manager or SQL • In utlpwdmg.sql in $ORACLE_HOME/admin directory • SQL to set the password complexity verification • ALTER PROFILE DEFAULT PASSWORD_VERIFY_FUNCTION verify_function_11G • This routine will verify that password • Has minimum length of 8 characters • Has at least one letter and one digit • Is not username, reverse thereof, or username(1-100) • Is not one of a few common passwords (e.g. welcome1) • Must differ from previous password by at least 3 characters
  • 11. 11 Password Complexity Recommendations • Default password profile parameters may not suit everyone • Adjust the password settings to your security needs • Change default password verification routine as per your needs • Define at least two password profiles - one for users and one for mid-tiers and administrators • Password recommendations vary with use cases: • See for example, recommendations for E-Business Suite - MetaLink 189367.1 • See also Visit OTN: otn.oracle.com -> products -> database -> security and compliance for detailed recommendations
  • 12. 12 Default Password View • View DBA_USERS_WITH_DEFPWD will show all accounts still using default passwords • Over 140 default username/passwords collected from the field, including application accounts for Peoplesoft and Ebizs • SQL> desc DBA_USERS_WITH_DEFPWD • Name Null? Type • ----------------------------------------- -------- ---------------------------- • USERNAME NOT NULL VARCHAR2(30) • SQL> select * from DBA_USERS_WITH_DEFPWD • 2 ; • USERNAME • ------------------------------ • JONES
  • 13. 13 Enhanced Authentication • Supports multi-bytes and special characters • Case sensitive passwords always enforced • Use SEC _ CASE _ SENSITIVE _ LOGON to turn it OFF if necessary • Set SQLNET . ALLOWED _ LOGON _ VERSION to highest OCI client version in use: • Use 8 if there are Oracle 8.x clients connecting to the DB • Use 9 if there are Oracle 9.x clients connecting to the DB • Use 11 if there are Oracle 10.x and/or 11.x clients connecting to the DB • Use 8 if there are pre-Oracle 11g JDBC pure Java client connecting to the DB • Use of SHA-1 hashing algorithm to protect password
  • 14. 14 Enhanced Access Control • Improved security for several utl* packages • UTL_TCP, UTL_SMTP, UTL_MAIL, UTL_HTTP, etc. • These packages will no longer allow connections to external network services to non-privileged users by default • SYS and XDB schemas will specifically remain excluded from this kind of restriction • DBAs will be able to specify what network services database users will be allowed to access when using these packages.
  • 15. 15 Enhanced Access Control Recommendations • Open access to external network services only minimally • Specify down to hosts and ports, avoid unnecessary “*” wildcards • Have small number of ACLs for manageability and performance • Share ACLs among network services open to the same users • Consider giving access indirectly through application schemas • Applications can further restrict user interaction with network services
  • 16. 16 Access Control Administration • Administration via DBMS_NETWORK_ACL_ADMIN • Grant access to a network service • create_acl – create an ACL for the first user • assign_acl – assign ACL to network service • Grant access to more users in ACL – add_privilege • Revoke access from users in ACL – delete_privilege • Stop access to network services • unassign_acl – take ACL away from network service • All ACL changes are transactional • Remember to “COMMIT” the transaction !!! • View ACL settings via dictionary views • DBA_NETWORK_ACLS – which network services have ACLs? • DBA_NETWORK_ACL_PRIVILEGES – who are in the ACLs?
  • 17. 17 Access Control Administration Example begin dbms_network_acl_admin.create_acl( acl => 'smtp-access.xml', description => 'ACL for SMTP service', principal => 'MAILAGENT', is_grant => TRUE, privilege => 'connect'); dbms_network_acl_admin.assign_acl( acl => 'smtp-access.xml', host => 'smtp-host.oracle.com', lower_port => 25); end; / commit;
  • 18. 18 Access Control Administration Example SQL> select * from dba_network_acls; HOST LOWER_PORT UPPER_PORT ACL -------------------- ---------- ---------- ------------------------- smtp-host.oracle.com 25 25 /sys/acls/smtp-access.xml SQL> select * from dba_network_acl_privileges; ACL PRINCIPAL PRIVILEGE ------------------------- -------------------- --------- /sys/acls/smtp-access.xml MAILAGENT connect
  • 19. 19 How Do These Changes Impact Installation? • Default new installations will include audit and password profiles • Option during install to retain 10gR2 settings • DBCA screens to: • Revert back to 10gR2 settings for audit and/or password • Apply new default settings • Upgrades will not change the audit and password profile settings
  • 20. 20 Recommendations for Upgrades I • Audit settings • Turn on auditing for security sensitive DDL operations listed • Set to DB or DB_extended for querability • Set to OS or XML for performance • Password Management • Institute password policies by classifying users into a different usage groups and assign dedicated profiles to each group • Check DBA_USERS_WITH_DEFPWD for default passwords
  • 21. 21 Recommendations for Upgrades II • Authentication • Identify sources of connection and set security level to highest possible supported by the client • Ask users to change password as soon as possible for case sensitive password to take effect • Look into EUS for centralized user management • Reminder: we support connect username/password as SYSDBA • Access Control • Identify applications using utl_* packages, and identify and grant appropriate new ACL privileges and confirm applications are running fine • Evaluate current privileges granted, follow least privileged model
  • 22. 22 Other Key Security Enhancements • Tablespace Encryption option in Transparent Data Encryption • Allows bulk encryption at tablespace level • No restriction on data types and indexes • Works with all High Availability offerings • Hardware Security Module and External Key Server support in Transparent Data Encryption • Provides additional option for security and key management services by third party products • Management of SYSDBA and SYSOPER in Enterprise User Security • Identity management of super users in databases • Enhanced Kerberos support • Cross realm and type 4 certificate support • Support Microsoft KDC default encryption modes
  • 23. 23 Oracle Software Security Assurance Conclusion • MAXIMUM SECURITY • Best of breed security features • Secure design from the ground up • Effective vulnerability remediation process • LOWER COST OF OWNERSHIP • Unwavering commitment to maintaining our customer’s security posture • Predictable security patch process • Priority given to quality
  • 24. 24 For More Information • Oracle Software Security Assurance Web Site at http://www.oracle.com/security/software-security-assurance.html • Technical white papers and security guides • Online security seminars and webcasts • Blogs and more • Critical Patch Update & Security Alerts at http://www.oracle.com/technology/deploy/security/alerts.htm • Critical Patch Updates and current security alerts • Patch download • CPU documentation & Risk Matrices http://search.oracle.com Oracle Software Security Assurance