Monday, December 2, 2019

All About Security: User, Privilege, Role, SYSDBA, O/S Authentication, Audit, Encryption, OLS, Database Vault, Audit Vault (Doc ID 207959.1)

 this Document
Purpose
Scope
Details
 1) Alerts
 2) System Privileges/Object Privileges and Roles
 3) User and Tablespace Quotas
 4) Profiles and Resource Limits
 5) Password Management
 6) Connect Internal and Password Files
 7) O/S Authentication
 8) Auditing
 9) Event Triggers
 10) Fine Grained Access Control
 11) Oracle Label Security
 12) Database Vault
 13) Audit Vault
 14) Custom Data Encryption
 15)  Transparent Data Encryption
 Strong authentication methods
 16) Kerberos Authentication
 17) Enterprise User Security 
 18) SSL Authentication
 19) Audit Vault and Database Firewall
 
 20) Key Vault
References

APPLIES TO:

Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Information in this document applies to any platform.
Checked for relevance on 14-Oct-2012




PURPOSE

This note is a list of :

- Bulletins explaining the method used to perform specific tasks and related Documentation (Oracle uides)
- Problem / Solutions
- Parameters & Events , Bugs
- Supplied Scripts
*** NEW ***
If you have a question, or would like to discuss a topic, you may want to consider filing a thread in the Database Security Products MOS Community, where customers can draw on and contribute to the expertise of the Database Security Products Community.

SCOPE

This article is intended to be used as a reference by anyone who is interested to enhance the security of the Oracle RDBMS.


DETAILS


1) Alerts


These articles provide a solution to correct or avoid an issue, and highlight a specific condition, situation or event that requires awareness by an Oracle customer or partner.


Note 50508.1 ALERT: "CONNECT INTERNAL" Syntax to be DeSupported
Note 76397.1 ALERT: Resource Limit CPU_PER_SESSION not working correctly in certain versions
Note 148384.1 ALERT: Oracle Server Patchset 8.1.7.1 and Oracle Label Security
Note 163726.1 ALERT: Oracle Label Security Mandatory Security Patch
Note 124742.1 ALERT: Vulnerability in the Oracle Listener Program
Note 153289.1 ALERT: Oracle Redirect Denial of Service Vulnerability
Note 163727.1 ALERT: Oracle File Overwrite Security Vulnerability
Note 175429.1 ALERT: Oracle PL/SQL extproc in Oracle 9i, Oracle 8i and Oracle8 Database
Note 185074.1 ALERT: User Privileges Vulnerability in Oracle9i Database Server
Note 210317.1 ALERT: ALTER SESSION privilege can dump trace files with possibly sensitive data
Note 281188.1 SECURITY ALERT #68 - Oracle Security Update
Note 282108.1 FAQ for Oracle Security Alert 68
<Note 1266978.1> - Potential security issue requires a new download of Oracle Database 11.2.0.2 and Grid Control 11.1.0.1

2) System Privileges/Object Privileges and Roles



Note 1347470.1  - Master Note For Database Privileges And Roles


3) User and Tablespace Quotas


3.1 How to and Documentation
----------------------------
Note 180028.1 Set up a Secure Access to Application Data within a Database: DBAs, Schemas and Users
Note 1012307.6 Moving Tables Between Tablespaces Using EXPORT/IMPORT
Note 147356.1 How To Move Tables From One Tablespace To Another
Note 1037317.6 Moving the Replication Queue Tables (DEF$) Out of the System Tablespace

Oracle9i Database Concepts Release 2
Chapter - Controlling Database Access -
User Tablespace Settings and Quotas

Oracle9i Database Administrator's Guide
Chapter - Managing Tablespaces -
Assign Tablespace Quotas to Users

Oracle9i SQL Reference - ALTER USER


3.2 Problems / solutions
------------------------
Note 1012569.6 ORA-1536 On DML Or Running Tools, Applications
Note 1026320.6 ORA-1536: When Inserting Into a Table
Note 1039291.6 ORA-02187 Trying to Grant Quota Over 2Gig
Note 1054952.6 ORA-01652: Trying to Set Quotas for Users on Temp Tablespace
Note 95554.1 ORA-01950 Even After Assigning 'Unlimited Quota' On Tablespace To User
Note 98056.1 ORA-1950 when trying to Move an Index to Another Tablespace
Note 108871.1 ORA-02187 when Granting a User Quota on a Tablespace

Note 1005485.6 ORA-1950 When Creating an Object and Resource Role is Granted to the User
Note 91969.1 IMPORT FROMUSER/TOUSER Fails to Generate Tables With LOBs into TOUSER Tablespace
Note 91799.1 EXP: IMP-3, ORA-1950, IMP-17: During Import of Recreated Tablespace

Note 205722.1 Create New Ultra Search Instance Fails WKG-5000 ORA-1950
Note 1062153.6 GL PROGRAM OPTIMIZER FAILED: APP-6077, APP-6083, ORA-1950 NO PRIVILEGES ON TABLESPACE RGX

Note 1058205.6 ORA-01950 AND ORA-06512 TRYING TO OPEN PERIOD


 

3.3 Parameters, Events and Errors
---------------------------------
Note 18936.1 OERR: ORA 1536 space quota exceeded for tablespace "<name>> "
Note 19238.1 OERR: ORA 1950 no privileges on tablespace "<name>"
Note 19425.1 OERR: ORA 2187 invalid quota specification

3.4 Bugs
--------
Bug 1270191 ORA-1950 ON ALLOCATE EXTENT - POSSIBLE DICTIONARY CORRUPTION


3.5 Scripts
-----------
Note 1019712.6 SCRIPT: Show Tablespace Quota Used by User

4) Profiles and Resource Limits



4.1 How to and Documentation
----------------------------
Note 1016552.102 How to use PROFILES to limit user resources
Note 157702.1 How to get the Values Assigned by Default to a Profile ?
Note 160528.1 Profile Limits (Resource Parameter(s)) Are Not Enforced / Do Not Work
Note 157702.1 How to get the Values Assigned by Default to a Profile ?
Note 95582.1 Tracing Oracle Applications Intermittent crashing or hanging forms sessions.
Note 197694.1 How To Avoid Forms To Open A New Session When It Reached The Session Limit?
Note 209702.1 How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema)



Oracle9i Database Administrator's Guide
Chapter - Managing Users and Resources -
Managing Resources with Profiles
Viewing Information About Database Users and Profiles

Oracle9i Database Concepts Release 2
Chapter - Controlling Database Access -
User Resource Limits and Profiles

4.2 Problems / solutions
------------------------
Note 119295.1 What Happens to a Transaction When CONNECT_TIME is Exceeded?
Note 1005119.6 Any of the user profile limits are being ignored by Oracle7 Server
Note 1061189.6 Profile on user IDLE_TIME set to 15 minutes
Note 1070071.6 Profile limits are not being recognized
Note 215417.1 More Time Than Specified Is Needed Before A User Becomes Disconnected
Note 156116.1 User Can Open More Sessions than Limited
Note 1070501.6 Parallel Query processes die intermittently
Note 1020176.102 ORA-02392 when using CPU_PER_SESSION limit in profile
Note 1042778.6 ORA-02394 USING REPLICATION IN ORACLE8
Note 265095.1 Resource Limits for Passwords Work Even with RESOURCE_LIMIT = false
Note 241621.1 ORA-02376 When ALTER PROFILE to Set the PASSWORD_VERIFY_FUNCTION


4.3 Parameters, Events and Errors
---------------------------------
Note 30800.1 Init.ora Parameter "RESOURCE_LIMIT" Reference Note
Note 19563.1 OERR: ORA 2390 exceeded COMPOSITE_LIMIT, logoff in progress
Note 19564.1 OERR: ORA 2391 exceeded simultaneous SESSIONS_PER_USER limit
Note 19565.1 OERR: ORA 2392 exceeded session limit on CPU usage, logging off
Note 19566.1 OERR: ORA 2393 exceeded call limit on CPU usage
Note 19567.1 OERR: ORA 2394 exceeded session limit on I/O usage, logging off
Note 19568.1 OERR: ORA 2395 exceeded call limit on I/O usage
Note 19569.1 OERR: ORA 2396 exceeded max Idle Time, please connect again
Note 19570.1 OERR: ORA 2397 exceeded PRIVATE_SGA Limit, logging off
Note 19571.1 OERR: ORA 2398 exceeded procedure space usage
Note 19572.1 OERR: ORA 2399 exceeded maximum connect time, logging off


4.4 Bugs
--------
Bug 2653232 SPATIAL QUERIES DON'T PROGRESSIVELY RECORD RESOURCE (CPU) USAGE
Bug 2085332 SET OVER 5 HOURS TO CPU_PER_CALL, YOU GET ORA-2394, DON'T GET ORA-2393
Bug 2231683 UGA MEMORY LEAK WHEN USING OBJECT INHERITANCE IN PL/SQL
Bug 1182131 ORA-2399 RUNNING JOB OR PROCEDURE WITH CURSOR & CONNECT_TIME<UNLIMITED
Bug 2695242 ORA-22 AND ORA-600 [18260] WORKING WITH MTS (MICROSFT TX SERVER) AND XA
Bug 2134498 ORA-2391 ON BOTH NODES OF A OPS-CLUSTER ALTHOUGH RESOURCE_LIMIT=FALSE
Bug 2319471 ORA-2391 AND ORA-7445S IN PQ SLAVES, THEN ORA-7445 PMON CRASH
Bug 2117349 LOTS OF ORA-2391 ERRORS FILLING UP ALERT.LOG

Bug 777970 TEST VALIDITY OF AM4CICS THREAD CONNECTIONS BEFORE ASSIGNING THEM TO CICS TASKS
Bug 1898254 JDBC THIN APPLICATION KEEPS CONNECTION WHEN IDLE_TIME PROFILE IS SET.



4.5 Scripts
-----------
Note 1019933.6 Script to list profile resources and limits

5) Password Management

Note 1349896.1 - Master Note For Oracle Database Authentication
Note 1349872.1 - Overview of Oracle RDBMS Authentication Methods

6) Connect Internal and Password Files



These articles and documentation explain how to administer the administrative privileges,
still loosely referred to as 'connect internal' and how to manage access with a password file.

6.1 How to and Documentation
----------------------------
Note 233223.1 Checklist for Resolving CONNECT AS SYSDBA (INTERNAL) Issues
Note 242258.1 Why Can I Login AS SYSDBA With any Username and Password?
Note 18089.1 UNIX: Connect INTERNAL / AS SYSBDA Privilege on Oracle 7/8 
Note.805084.1How to recover from lost sys password
Note 50507.1 SYSDBA and SYSOPER Privileges in Oracle
Note 1029539.6 UNIX: How to Set up the Oracle Password File
Note 1058658.6 UNIX: Multiple databases sharing a password file
Note 103964.1 How to Audit Connect Internal Using Oracle Server
Note 212049.1 How To Add a New User to the Password File ?
Note 43793.1 VIEW "V$PWFILE_USERS" Reference Note
Note 225097.1 ORACLE_SID, TNS Alias,Password File and others Case Sensitiveness
Note 98651.1 UNIX: How to make Connect Internal Protected by Password even for DBA Group



6.2 Problems / solutions
------------------------
Note 69642.1 UNIX: Checklist for Resolving Connect AS SYSDBA Issues
Note 185703.1 How to Avoid Common Flaws and Errors Using Passwordfile
Note 114384.1 WIN: Checklist for Resolving CONNECT AS SYSDBA (INTERNAL) Issues
Note 68238.1 SCO: ORAPWD Utility Generates An Unusable Password File In Oracle v7.3.4
Note.118367.1 UNIX: ORA-1990 at Startup DB After Creating Password File with Wrong Case
Note 147724.1 Granting SYSDBA Privileges Fails with ORA-01990; Quick Edit of Database from EM Console Fails with Database Currently in Unknown State
Note 223002.1 UNIX:CONNECT INTERNAL Asks for Password in a Multiple Oracle Versions Environment
Note 301072.1 Dbstart Fails With Ora-01031 When Called From User Root
Note 308151.1 Connect / AS SYSDBA Results In Ora-01031
Note 277740.1 USERNAME Is Listed From V$PWFILE_USERS But Not From DBA_USERS
Note 312093.1 Timestamp on ORAPWD File Updated When Users' Password Changed

6.3 Parameters, Events and Errors
---------------------------------
Note 30796.1 Init.ora Parameter "REMOTE_LOGIN_PASSWORDFILE" Reference Note
Note 30797.1 INIT.ORA: REMOTE_OS_AUTHENT
Note 30785.1 INIT.ORA: OS_AUTHENT_PREFIX

Note 19276.1 OERR: ORA 1990 error opening password file <name>
Note 19277.1 OERR: ORA 1991 invalid password file <name>
Note 19278.1 OERR: ORA 1992 error closing password file <name>
Note 19279.1 OERR: ORA 1993 error writing password file <name>
Note 19280.1 OERR: ORA 1994 GRANT failed: cannot add users to public password file
Note 19281.1 OERR: ORA 1995 error reading password file <name>
Note 19282.1 OERR: ORA 1996 GRANT failed: password file <name>> is full

6.4 Bugs
--------

Bug 2688911 SQLPLUS DOES NOT CORRECTLY SUPPORT THE 'AS SYSDBA' FUNCTIONALITY IN 8.1.7
Bug 425862 ORA-600 [1113] SELECTING FROM V$PWFILE_USERS IF MORE THAN 14 SYSDBA USERS


6.5 Scripts
-----------
Note 67984.1 UNIX: Diagnostic C program for ORA-1031 from CONNECT INTERNAL / AS SYSDBA

7) O/S Authentication



This section has references to documentation and notes about O/S authentication, a.k.a.
external authentication, the authentication is delegated to the operating system which
hence needs to be trustworthy. Please note the distinction between authenticating via
the O/S with administrative privileges (see 8.) and as a normal (application) user.


7.1 How to and Documentation
----------------------------
Note 233223.1 Checklist for Resolving CONNECT AS SYSDBA (INTERNAL) Issues
Note 242258.1 Why Can I Login AS SYSDBA With any Username and Password ?
Note 18088.1 UNIX OS Authentication on Oracle Server
Note 60634.1 WIN: Setup O/S Authentication
Note 761830.1 Step by Step Guide to Investigate the ORA-01031 Error for SYSDBA OS Authentication.
Note 77665.1 WIN: OS Authentication - Connecting to Oracle Without a Password
Note 122515.1 WIN: Setup O/S Authentication Using Oracle Administration Assistant
Note 272395.1 OS Authentication in 9i is Not Working as in 8i
Note 91944.1 Native Authentication through Windows 2000
Note 111252.1 How to use OPS$ user as FROMUSER/TOUSER Import or OWNER Export parameter
Note 101078.1 VMS Using DBLINKS When OPS$ Accounts and Password Files Accounts are Set Up
Note 371110.1 How to Configure the SQL*Net Layer for OS Authentication and Native Authentication on a Windows Platform in a Two-Tier Environment
Note 363448.1 Error Message Running Application From MS Terminal Server Ora-01019
Note 2042219.1 How To Use OS External Authentication In A Container Database 


Oracle9i Database Administrator's Guide - Chapters

- The Oracle Database Administrator;
- Establishing Security Policies; System Security Policy ; User Autentication,
- Managing Users and Resources; User Authentication Methods; External Authentication

7.2 Problems / solutions
------------------------
Note 120329.1 ORA-3113 CONNECTING USING OS AUTHENTICATION

Note 99550.1 OCILogon Using OS Authentication Fails With ORA-01017
Note 243083.1 ORA-01005: Connect Username AS SYSDBA Behaves Differently in 7.3.4, 8.1 and 9.2
Note 309059.1 Oradim Command Fails to Shutdown Database(s) with ORA-01031 under 9.2.0.6

7.3 Parameters, Events and Errors
---------------------------------
Note 30785.1 Init.ora Parameter "OS_AUTHENT_PREFIX" Reference Note
Note 30797.1 Init.ora Parameter "REMOTE_OS_AUTHENT" Reference Note

Note 19283.1 OERR: ORA 1997 GRANT failed: user <name>> is identified externally

7.4 Bugs
--------
Bug 4312390 ORADIM COMMAND CAN'T SHUTDOWN DATABASE : ORA-1031
Bug 530697 CONNECT INTERNAL DOES NOT WORK FOR DOMAIN USERS IN LOCAL ORA_DBA GROUP
Bug 370253 OS AUTHENTICATION FAILS WITH ORA-1017 FOR ROOT USER
Bug 1632293 ORA-28150 SELECTING ACROSS DATABASE LINK WITH OS AUTHENTICATED USER


8) Auditing

Note 1299033.1  Master Note For Oracle Database Auditing

Note 2351084.1 Master Note For Database Unified Auditing

9) Event Triggers



9.1 How to and Documentation
-----------------------------
Note 175292.1 Overview Auditing: Possibilities of Auditing, using Triggers and FGA
Note 45114.1 Auditing/Debugging DML with Database Trigger
Note 74173.1 Oracle8i - Database Trigger Enhancements
Note 281229.1 How to Restrict Access to the Database With Specific Tools(e.g. TOAD) or Applications
Note 197598.1 Audit Users with "DROP ANY TABLE" Privilege: Example Client Event Trigger
Note 301062.1 Audit User By Session From Unauthorized IP Address
Note 175259.1 Using autonomous triggers to audit detailed information.
Note 150212.1 Database Triggers do not Seem to Execute
Note 163593.1 System Triggers Are Not Executed
Note 149948.1 IMPORTANT Set "_SYSTEM_TRIG_ENABLED=FALSE" When Upgrading / Downgrading / Applying Patch Sets
Note 220491.1 How to Prevent Users From Log Into a Database Within Defined Periods
Note 265012.1 ADMINISTER DATABASE TRIGGER Privilege Causes Logon Trigger to Skip Errors

Note 70679.1 How to Audit Logon/Logoff Events with Triggers
Note 105758.1 How to Automate Controlfile Backup at Database Startup
Note 101627.1 How to Automate Pinning Objects in Shared Pool at Database Startup
Note 210693.1 How to Automate Grant Operations When New Objects Are Created in a SCHEMA/DATABASE
Note 234098.1 How to Forbid the Usage of ALTER TABLE Command on Tables Owned or Created by Users Trigger
Note 339558.1 How to Track CREATE USER / DROP USER Statements Using Trigger
Note 159183.1 Database Startup Trigger fails with ORA-06564 when trying to Pin Package .....
Note 271077.1 How to Prevent a User Granted the ALTER USER Privilege From Changing SYS/SYSTEM password
Note 361728.1 How to Restrict User from Connecting to Database Through Specific Ip Address

Oracle9i Database Concepts
Chapter - Triggers -
Triggers on System Events and User Events

Oracle9i Application Developer's Guide - Fundamentals
Chapter - Working With System Events -

9.2 Problems / solutions
-------------------------
Note 106140.1 AFTER LOGON Triggers Don't Allow DBMS_SESSION.SET_ROLE to Keep Roles Enabled
Note 120712.1 Database or Logon Event Trigger becomes Invalid Who can Connect?

9.3 Parameters, Events and Errors
----------------------------------
Note 68636.1 Init.ora Parameter "_SYSTEM_TRIG_ENABLED"

9.4 Bugs
---------
Bug 2469532 ORA-29539, CANNOT INSTALL THE JVM AFTER REMOVING IT

9.5 Scripts
------------


10) Fine Grained Access Control

Note 1352641.1 - Master Note For Oracle Virtual Private Database ( VPD / FGAC / RLS )

11) Oracle Label Security



Oracle Label Security enables application developers to add label-based access control for the applications. It mediates access to rows in database tables based on a label contained in the row, and the label and privileges associated with each user session. For queries Oracle Label Security is  using the Oracle Virtual Private Database technology. For DMLs  it is using a set of  triggers.

11.1 How to and Documentation
-----------------------------
Note 230980.1 Oracle Label Security - Concepts (Policies and Labels) and Examples
Note 171155.1 Install/Deinstall Oracle Label Security Data Dictionary in Oracle9i
Note 213684.1 Oracle Label Security Frequently Asked Questions
Note 213716.1 Oracle Label Security in a Replication Environment
Note 314077.1 Oracle Label Security : How to Separate Duties of Policies Administration
Note 317319.1 10g R2 New Feature TDE (Transparent Data Encryption) Usage with OLS

Oracle Label Security Administrator's Guide

11.2 Problems / solutions
-------------------------
Note 215886.1 Oracle Trusted Stored Procedure Label Not Used
Note 144160.1 Unable to Find Oracle Policy Manager (Oracle Label Security Related Application)
Note 303751.1 Unable to Install OLS on 10.1.0.3
Note 233110.1 ORA-07445 [zllcini] or ORA-04045 in a Database with OLS Set to FALSE
Note 250411.1 ORA-439 Oracle Label Security Option Not Enabled though Already Installed
Note 303511.1 After Installing OLS, Create Policy Issues ORA-12447 and ORA-600 [KGHALO2]

Note 231777.1 ORA-12445 When Applying a Label Function on a Table Protected by an OLS Policy
Note 238599.1 ORA-12447 When Creating an Already Existing OLS Policy
Note 278301.1 ORA-12414: Internal Lbac Error: Zllcfpo:Ocitypebyname and ORA-22303 at Database STARTUP
Note 285429.1 sa_session.set_label generates ORA-12470
Note 303791.1 Oracle Label Security And Foreign Key DEFERRABLE INITIALLY DEFERRED Issues Ora-28117
Note 304137.1 ORA-12406 When Updating a Table With an OLS Policy Though Granted EXEMPT ACCESS POLICY Privilege
Note 735375.1 "LbacException User does not exist" Encountered While Adding An User To a Profile Using OLSADMINTOOL
Note 735801.1 ORA-01092 ORA-12432 LBAC ERROR ZLLEGNP While Starting Up The Database
Note 577569.1 Queries Against Tables Protected by OLS Are Erroring Out
Note 1560975.1 SA_SESSION.RESTORE_DEFAULT_LABELS Fails Intermittently With ORA-12470
11.3 Bugs
---------
Bug 3870317 UNABLE TO INSTALL ADDITIONAL OPTIONS AFTER 10.1.0.3.0 PATCHSET IS APPLIED
Bug 2499257 ORA-28115 TO_DATA_LABEL WILL WORK ON ADMINISTRATOR CREATED DATA LABELS
Bug 2367197 ORACLE SPATIAL INDEX CREATION AND QUERIES FAIL WHEN OLS IS APPLIED


12) Database Vault

Oracle Database Vault Administrator's Guide 10g Release 2 (10.2)
Oracle Database Vault Administrator's Guide 11g Release 1 (11.1)


Note 1195205.1  - Master Note For Oracle Database Vault


13) Audit Vault


Oracle Audit Vault 10.2.2, 10.2.3, 10.2.3.1 Documentation
Note 1199033.1 Master Note For Oracle Audit Vault

14) Custom Data Encryption



These are the references to the database encryption features provided with the DBMS_OBFUSCATION_TOOLKIT and DBMS_CRYPTO  supplied packages. For references relating to network encryption see the Networking Security and Authentication Knowledge Browser Page (Note 267607.1).

14.1 How to and Documentation
-----------------------------
Oracle9i Application Developer's Guide - Data Encryption Using DBMS_OBFUSCATION_TOOLKIT
10g PL/SQL Packages and Types Reference  - DBMS_CRYPTO package
Note.863071.1 Several Examples of Using DBMS_CRYPTO to Encrypt/Decrypt Table Data
Note 232000.1 Selective Data Encryption in Oracle RDBMS, Overview and References
Note 225214.1 New IV Parameter to DES3Encrypt en DES3Decrypt Enhances Interoperability
Note 338325.1 How DBMS_OBFUSCATION_TOOLKIT Interoperates With DBMS_CRYPTO
Note 165465.1 Oracle Advanced Security Frequently Asked Questions
Note 104410.1 How to Enable Encryption & Checksumming using JDBC Drivers
Note 39612.1 Secure Network Services V1.0 Configuration Overview on OpenVMS
Note 126079.1 Net8 overview and explanation (3)
Note 228636.1 Meaning of "WHICH" Parameter in DES3Decrypt And DES3Encrypt Procedures
Note 263616.1 Given two Different DES Encryption Keys, Encrypted Strings can Appear Identical
Note 270919.1 Transferring Encrypted Data from one Database to Another
Note 280801.1 How to Find the Oracle Java Cryptographic Extension (JCE) Provider



14.2 Problems / Solutions
-------------------------

Note 197040.1 dbms_obfuscation_toolkit.DESDecrypt Compatibility Problem
Note 197892.1 ORA-28232 using DBMS_OBFUSCATION to Encrypt/Decrypt
Note 133772.1 ORA-04068 Executing DBMS_OBFUSCATION_TOOLKIT
Note 337980.1 ORA-00904 When Using DBMS_SQLHASH.GETHASH



14.3 Parameters, Events and Errors
----------------------------------
Note 173530.1 OERR: ORA-28232 invalid input length for obfuscation toolkit


14.4 Bugs
---------


14.5 Scripts
------------
Note 102902.1 Encrypting Data using the DBMS_OBFUSCATION_TOOLKIT package
Note 166884.1 How to use DBMS_OBFUSCATION_TOOLKIT.DES3Encrypt and DES3Decrypt procedures.
Note 197400.1 Example code encrypting credit card numbers
Note 118686.1 Example: Enable Encryption in a JDBC Program
Note 123091.1 Wrapper for DBMS_OBFUSCATION_TOOLKIT, cope with 8-byte input limitation
Note 244133.1 SCRIPT: Encrypting Binary Large Objects (BLOBS) with dbms_obfuscation_toolkit.

15)  Transparent Data Encryption


15.1 How to and Documentation
----------------------------------------
Note 1228046.1 - Master Note For Transparent Data Encryption ( TDE )

Strong authentication methods

Note 1349872.1 - Overview of Oracle RDBMS Authentication Methods

16) Kerberos Authentication


Note 1375853.1 - Master Note For Kerberos Authentication 

17) Enterprise User Security 

Note 1376365.1 - Master Note For Enterprise User Security 

18) SSL Authentication


Note 736510.1 - Step by Step Guide To Configure SSL Authentication
Note 401251.1 - Configuring SSL for Client Authentication and Encryption With Self Signed Certificates On Both Ends Using orapki
Note 1381035.1 - Configuring SSL Authentication With Client Certificates Signed By The Server Using orapki

19) Audit Vault and Database Firewall

Note 2169653.1 Master Note For Audit Vault Server And Database Firewall

20) Key Vault

Note 2120572.1 Master Note For Oracle Key Vault 

Master Note For Oracle Audit Vault (Doc ID 1199033.1)



 this Document
Purpose
Scope
Details
Oracle Audit Vault Concepts and Overview
Oracle Audit Vault Installation
Oracle Audit Vault Configuration and Administration
Oracle Audit Vault Troubleshooting and Debugging
Oracle Audit Vault Best Practices
Oracle Audit Vault Patching
Oracle Audit Vault Documentation
Oracle Audit Vault Licensing
Using My Oracle Support Effectively
References

APPLIES TO:

Oracle Audit Vault - Version 10.2.2.0 and later
Information in this document applies to any platform.

PURPOSE

This Master Note is intended to provide an index and references to the most frequently used My Oracle Support Notes with respect to Oracle Audit Vault. This Master Note is subdivided into categories to allow for easy access and reference to notes that are applicable to your area of interest. This includes the following categories:
  • Oracle Audit Vault Concepts and Overview
  • Oracle Audit Vault Installation
  • Oracle Audit Vault Configuration and Administration
  • Oracle Audit Vault Troubleshooting and Debugging
  • Oracle Audit Vault Best Practices
  • Oracle Audit Vault Patching
  • Oracle Audit Vault Documentation
  • Oracle Audit Vault Licensing
  • Using My Oracle Support Effectively

SCOPE

This document is meant for use as a guide by those who are installing/configuring or managing/troubleshooting Oracle Audit Vault.


This note applies to the following versions of the product:

Oracle Audit Vault versions 10.2.2.0 and later

DETAILS

Oracle Audit Vault Concepts and Overview


Oracle Audit Vault automates the collection and consolidation of audit data into a secure repository, enabling efficient monitoring and reporting. Oracle Audit Vault is providing a secure repository for audit data, built-in reporting, event alerting, and separation-of-duty.



Oracle Audit Vault collects database audit data from the following Oracle audit sources:
  • audit trail tables
  • database audit files on the operating system
  • syslog & EventLog
  • archived redo log files to capture before/after value changes of transactions.

Oracle Audit Vault can also collect audit data produced by the following database products(other than Oracle RDBMS):
  • Microsoft SQL Server
  • IBM DB2 UDB
  • Sybase ASE


The architecture of Audit Vault consists of two major components that work together to collect, store and secure the audit data:
  • Audit Vault Server A stand-alone stacked application that contains a data warehouse built on a customized installation of Oracle Database. Oracle Database Vault is protecting the Audit Vault datawarehouse. The Audit Vault Server contains also the OC4J components that support the Audit Vault Console.
  • Audit Vault Collection Agent The Agent is responsible for managing the collectors, which are specific to an audit source and act as the middleman between the source database and the Audit Vault Server by pulling the audit trail data from the source and sending it to the Audit Vault Server over SQL*Net.

Oracle Audit Vault Installation




Note 848408.1    -  Oracle Audit Vault Server Platform Support
Note 848402.1    -  Oracle Audit Vault Agent Platform Support
Note 731081.1    -  Oracle Audit Vault 10.2.3.0.0 Installation fails intermittently in some environments
Note 871252.1    - Oracle Audit Configuration Assistant Fails With Java Errors
Note 1058184.1  - Oracle Audit Vault Configuration Assistant Fails While Installing The AV Server
Note 889346.1    - What To Do If Audit Vault Configuration Fails[AVCA] While Installing Audit Vault Server?
Note 751085.1    - Errors While Installing Audit Vault Or While Applying An Audit Vault Patchset
Note 753920.1    - Availability of Oracle Audit Vault Server on Windows
Note 1362173.1  - Oracle Audit Vault Repository Creation Failed On 11gr2 Asm Stack
Note 1265058.1  - How To Install PSU 10.2.0.4.6/7 On Audit Vault Server Repository Database
Note 1051822.1  - How To Install The January 2010 CPU Patch To Audit Vault Version 10.2.3.2

Oracle Audit Vault Configuration and Administration

Note 788381.1  - Audit Vault Collection Agent Configuration for RAC Database - Step by Step Guide
Note 1362173.1- Oracle Audit Vault Repository Creation Failed On 11gr2 Asm Stack
Note 731908.1  - New Feature DBMS_AUDIT_MGMT To Manage And Purge Audit Information
Note 784383.1  - Source Not Mapped to an Active Agent While Retrieving Audit Settings from Source
Note 850170.1  - Error Executing Task add_agent OAV-46599
Note 764035.1  - Unable To Add Source To Audit Vault
Note 740657.1  - ORA-1017 While Adding an Agent Using AVCA
Note 783664.1  - Getting Error "Java.Sql.Sqlexception: Ora-27452: Om" While Adding A New Redo Collector
Note 746503.1  - While Provisioning The Audit Settings on The Source Database Huge Trace Files Get Created
Note 747843.1  - Audit Settings Provisioning fails with "Errors:<nnn> settings has been failed in this provision."
Note 958595.1  - What Ports Have To Be Opened In The Firewall To Allow The Communication Of The Audit Vault Agent With The Audit Vault Server ?

Oracle Audit Vault Troubleshooting and Debugging


The  Oracle Audit Vault troubleshooting guide can be found in the documentation.


Note 1360138.1 - Audit Vault Server Configuration Report and Health Check Script
Note 972983.1   - What To Check When The Audit Vault Server Cannot Be Started?
Note 1271707.1 - How To Investigate The "Http Communication errors" Encountered When Starting An Audit Vault Collector
Note 1355093.1 - The Redo Collector Does Not Retrieve Data When Collecting in 11g Databases
Note 986093.1   - How To Start The Collectors Directly From The AV Agent Environment ?
Note 1098463.1 - Audit Vault Collector Errors While Parsing XML Audit File with Errorcode 7
Note 828231.1   - Unable To Delete Alert In Audit Vault
Note 1302465.1 - The AV Console Is Not Working When Trying To Connect As AVAUDITOR. Logs Are Filled With ORA-1017 Errors
Note 1383634.1 - Internal Error On The Warehouse Tab Of AV_ADMIN GUI Console
Note 1304612.1 - Logging into Audit Vault Console with AV_AUDITOR role fails with "The webpage cannot be displayed" or "Internal server error"

Note 1184984.1 - Dropping An Audit Vault Alert Is Failing With "OAV-46599 Internal Error Drop Alert Rule 2"
Note 748202.1   - "Java.sql.SQLException: Exceeded maximum VARRAY limit" While Retrieving the Audit Settings From Source
Note 1335238.1 - How To Deploy the Audit Vault Console After Recreating The DB Console Running From The Oracle Home Of The Audit Vault Server?
Note 972880.1   - DBAUD Collector Crashes With ORA-904
Note 764058.1   - Audit Vault Data Warehouse Refresh Fails With ORA-1031
Note 970625.1   - Audit Reports Page Does Not Work - Can Not Display The Webpage
Note 958640.1   - Av Server Does Not Start After Reboot
Note 947114.1   - OS Collectors Are Working But Nothing Is Collected
Note 811753.1   - Cannot View Single Row In Audit Vault Reports Due To ORA-20001 Errors
Note 779797.1   - DBAUD Collector Fails After Applying Patchset 10.2.3.1.0
Note 986105.1   - Error Executing Task Start_Collector: Internal Collector
Note 731593.1   - Error ORA-01729 Encountered While Adding A REDO Collector
Note 972868.1   - Audit Vault Collector Error: OCIStmtExecute Failed For OCI Set Timestamp:4294967295
Note 1129657.1 - Internal Error While Starting A Mssql Collector
Note 1303076.1 - Audit Vault: "VALIDATE_AGENT_CMD must be declared ORA-06550" While Starting Up A Collector
Note 1359255.1 - Audit Vault Notifications On Alerts Are Not Dispatched
Note 1471024.1 - Increased CPU usage for avoscoll process after applying Audit Vault Bundle Patch 10.2.3.2.7 or 10.3.0.0.1

Oracle Audit Vault Best Practices

The following document will make you aware of Oracle Audit Vault Best Practices:

http://www.oracle.com/technetwork/testcontent/twp-auditvault-bestpractices-200711-1-130326.pdf

Oracle Audit Vault Patching


Make sure that the same patchsets and bundle patches are applied on the agents and the AV Server because some of these patches are changing the way the agents interact with the server( in some versions new procedures/functions are created and used and if they are not present/used by the other party there will be some errors).


Starting with Audit Vault 10.2.3.2 the bug fixes for Audit Vault are delivered via cumulative bundle patches. The following AV version 10.2.3.2 bundle patches are available:

Patch 9590005    - AUDIT VAULT 10.2.3.2.0 BUNDLE PATCH 1 (10.2.3.2.1)
Patch 9958865    - AUDIT VAULT 10.2.3.2.0 BUNDLE PATCH 2 (10.2.3.2.2)
Patch 10240229  - AUDIT VAULT 10.2.3.2.0 BUNDLE PATCH 3 (10.2.3.2.3)
Patch 10647596 - AUDIT VAULT 10.2.3.2.0 BUNDLE PATCH 4 (10.2.3.2.4)
Patch 11887343  - AUDIT VAULT 10.2.3.2.0 BUNDLE PATCH 5 (10.2.3.2.5)
Patch 12703193  - AUDIT VAULT 10.2.3.2.0 BUNDLE PATCH 6 (10.2.3.2.6)
Patch 13087259  - AUDIT VAULT 10.2.3.2.0 BUNDLE PATCH 7 (10.2.3.2.7)
AV Server 10.3 was released in December 2011. For more information see Note 1387082.1.
Here is the list of AV version 10.3 bundle patches:
Patch 13578994  - AUDIT VAULT 10.3.0.0.0 BUNDLE PATCH 1 (10.3.0.0.1)
Patch 14489418  - AUDIT VAULT 10.3.0.0.0 BUNDLE PATCH 2 (10.3.0.0.2)
Patch 16025987  - AUDIT VAULT 10.3.0.0.0 BUNDLE PATCH 3 (10.3.0.0.3)
Patch 17722092  - AUDIT VAULT 10.3.0.0.0 BUNDLE PATCH 4 (10.3.0.0.4)
It is important to note that besides the patches for Audit Vault you might have to install patches for the built in Oracle Database. AV Server 10.2.3.0 uses a 10.2.0.3 repository database. When the AV Server is upgraded to AV patchset 10.2.3.2 the repository database is automatically upgraded to 10.2.0.4 and when the AV Server is upgraded to 10.3 the repository database is upgraded to 11.2.0.3 .  To make sure that you have the latest recommended RDBMS bug fixes applied you have to install the database PSU patches as soon as they are released.

Note 1382446.1 - Audit Vault Server Bundle Patches, Database Patch Set Updates (PSUs), and Critical Patch Updates (CPUs)
Note 1265058.1 - How To Install PSU 10.2.0.4.6/7 On Audit Vault Server Repository Database
Note 974818.1   - How To Install The October 2009 CPU Patch To Audit Vault Version 10.2.3.2
Note 1051822.1 - How To Install The January 2010 CPU Patch To Audit Vault Version 10.2.3.2
Note 1085315.1 - How To Install The April 2010 CPU Patch To Audit Vault Version 10.2.3.2
Note 1155026.1 - How To Install The July 2010 CPU Patch On Audit Vault Version 10.2.3.2
Note 1496564.1 - How To Relink The Agent Home Binaries In Case Of An OS Upgrade
Note 971704.1   - AV Upgrade Fails Due To A DBUA Failure  


Attention:
To define a MS SQL Server collector one needs the sqljdbc driver. The link given in AV Admin Guide E14457-05 p3.10 doesn't work anymore. (http://www.microsoft.com/downloads/details.aspx?FamilyID=c47053eb-3b64-4794-950d-81e1ec91c1ba&displaylang=en)

AV 10.2.3.2 ships with JDK 1.4. The version of Java shipped with the Agent is inherited from the underlying Oracle Database Client which, for 10.2.3.2, is DB 10.2.0.3. The DB stack does not support upgrading the JDK in the ORACLE_HOME, except to a later patch in the same JDK version, so there is no supported way to upgrade that JDK to 1.5. Microsoft has de-supported the original JDBC driver a while ago, and it is no longer available for download from Microsoft. Hence the broken link.

AV 10.3 is shipped with JDK 1.5, and supports later versions of the SQL Server JDBC Driver, which are still supported by Microsoft.

At this juncture, the customer has a couple of choices. If they have access to the original JDBC driver, either from an earlier download, or as part of the SQL Server client component in SQL Server 2000, they can use it with AV 10.2.3.2 agents. If not, the recommendation would be to upgrade to AV 10.3.0.0.2 to get the latest stack support.



Oracle Audit Vault Documentation


The Oracle Audit Vault documentation can be accessed from the following URL:

http://download.oracle.com/docs/cd/E14472_01/index.htm

Oracle Audit Vault Licensing


Oracle Audit Vault is a complete stacked application. As part of the Oracle Audit Vault installation, an Oracle Database with the Database Partitioning, Oracle Advanced Security, and Oracle Database Vault options is installed. The stacked application, database, installed options, and Oracle Audit Vault components may not be used or deployed for other purposes.

Oracle Application Server Containers for J2EE (OC4J) is included with Oracle Audit Vault. This embedded version is provided solely to support Oracle Enterprise Manager (Database), Advanced Queuing Servlet, Audit Vault Console, and may not be used or deployed for other purposes.

The Oracle Audit Vault home software use is restricted to support the Oracle Audit Vault database repository and no other databases created using the Oracle Audit Vault executables are supported.

Using My Oracle Support Effectively


  • Note 166650.1 - Working Effectively With Global Customer Support

REFERENCES

NOTE:1335238.1 - How To Deploy the Audit Vault Console After Recreating The DB Console Running From The Oracle Home Of The Audit Vault Server?
NOTE:1355093.1 - The Redo Collector Does Not Retrieve Data When Collecting in 11g Databases.
NOTE:1359255.1 - Audit Vault Notifications On Alerts Are Not Dispatched
NOTE:788381.1 - Audit Vault Collection Agent Configuration for RAC Database - Step by Step Guide
NOTE:811753.1 - Cannot View Single Row In Audit Vault Reports Due To ORA-20001 Errors
NOTE:848408.1 - Oracle Audit Vault Server Certification
NOTE:751085.1 - Errors While Installing Audit Vault Or While Applying An Audit Vault Patchset
NOTE:753920.1 - Availability of Oracle Audit Vault Server AV 10.2.3.2 on Windows
NOTE:970625.1 - Audit Reports Page Does Not Work - Can Not Display The Webpage
NOTE:971704.1 - AV Upgrade Fails Due To A DBUA Failure
NOTE:1058184.1 - Oracle Audit Vault Configuration Assistant Fails While Installing The AV Server
NOTE:1382446.1 - Audit Vault Server Bundle Patches, Database Patch Set Updates (PSUs), and Critical Patch Updates (CPUs)
NOTE:1085315.1 - How To Install The April 2010 CPU Patch To Audit Vault Version 10.2.3.2
NOTE:871252.1 - Oracle Audit Configuration Assistant Fails With Java Errors
NOTE:1383634.1 - Internal Error On The Warehouse Tab Of AV_ADMIN GUI Console
NOTE:1387082.1 - Oracle Audit Vault 10.3 is now available
NOTE:166650.1 - Working Effectively With Oracle Support - Best Practices
NOTE:1051822.1 - How To Install The January 2010 CPU Patch To Audit Vault Version 10.2.3.2
NOTE:740657.1 - ORA-1017 While Adding an Agent Using AVCA

NOTE:1265058.1 - How To Install PSU 10.2.0.4.6/7 On Audit Vault Server Repository Database
NOTE:764058.1 - Audit Vault Data Warehouse Refresh Fails With ORA-1031
NOTE:1271707.1 - How To Investigate The "Http Communication errors" Encountered When Starting An Audit Vault Collector
NOTE:1302465.1 - The AV Console Is Not Working When Trying To Connect As AVAUDITOR. Logs Are Filled With ORA-1017 Errors
NOTE:974818.1 - How To Install The October 2009 CPU Patch To Audit Vault Version 10.2.3.2
NOTE:986093.1 - How To Start The Collectors Directly From The AV Agent Environment ?
NOTE:1303076.1 - Audit Vault: "VALIDATE_AGENT_CMD must be declared ORA-06550" While Starting Up A Collector
NOTE:986105.1 - Error Executing Task Start_Collector: Internal Collector Error
NOTE:731081.1 - Oracle Audit Vault 10.2.3.0.0 Installation fails intermittently in some environments
NOTE:731593.1 - Error ORA-01729 Encountered While Adding A REDO Collector
NOTE:731908.1 - New Feature DBMS_AUDIT_MGMT To Manage And Purge Audit Information
NOTE:1098463.1 - Audit Vault Collector Errors While Parsing XML Audit File with Errorcode 7
NOTE:1129657.1 - Internal Error While Starting A Mssql Collector


NOTE:958640.1 - Av Server Does Not Start After Reboot
NOTE:1362173.1 - Oracle Audit Vault Repository Creation Failed On 11gr2 ASM Stack
NOTE:783664.1 - Getting Error "Java.Sql.Sqlexception: Ora-27452: Om" While Adding Redo Collector
NOTE:784383.1 - AUDIT VAULT : Error : Source Not Mapped to an Active Agent While Retrieving Audit Settings from Source
NOTE:850170.1 - Error Executing Task add_agent: OAV-46599
NOTE:1471024.1 - Increased CPU usage for avoscoll process after applying Audit Vault Bundle Patch 10.2.3.2.7 or 10.3.0.0.1
NOTE:1155026.1 - How To Install The July 2010 CPU Patch On Audit Vault Version 10.2.3.2
NOTE:848402.1 - Oracle Audit Vault Agent Platform Certification
NOTE:958595.1 - What Ports Have To Be Opened In The Firewall To Allow The Communication Of The Audit Vault Agent With The Audit Vault Server ?
NOTE:746503.1 - While Provisioning The Audit Settings on The Source Database Huge Trace Files Get Created
NOTE:747843.1 - Audit Settings Provisioning fails with "Errors: settings has been failed in this provision."
NOTE:748202.1 - "Java.sql.SQLException: Exceeded maximum VARRAY limit" While Retrieving the Audit Settings From Source
NOTE:1184984.1 - Dropping An Audit Vault Alert Is Failing With "OAV-46599:Internal Error Drop Alert Rule 2"
NOTE:1360138.1 - Audit Vault Server Configuration Report and Health Check Script
NOTE:889346.1 - What To Do If Audit Vault Configuration Fails[AVCA] While Installing Audit Vault Server?
NOTE:947114.1 - OS Collectors Are Working But Nothing Is Collected
NOTE:828231.1 - Unable To Delete Alert In Audit Vault
NOTE:972983.1 - What To Check When The Audit Vault Server Cannot Be Started?
NOTE:972868.1 - Audit Vault Collector Error: OCIStmtExecute Failed For OCI Set Timestamp:4294967295
NOTE:972880.1 - DBAUD Collector Crashes With ORA-904
NOTE:1304612.1 - Logging into Audit Vault Console with AV_AUDITOR role fails with "The webpage cannot be displayed" or "Internal server error"
NOTE:779797.1 - DBAUD Collector Fails After Applying Patchset 10.2.3.1.0
NOTE:764035.1 - Unable To Add Source To Audit Vault

Database Options/Management Packs Usage Reporting for Oracle Databases 11.2 and later (Doc ID 1317265.1)

  Database Options/Management Packs Usage Report You can determine whether an option is currently in use in a database by running options_pa...