Oracle DB
About the Device
Oracle Database is a relational database with object and Extensible Markup Language (XML) capabilities. In a relational database, all data is stored in tables that are composed of rows and columns. Oracle Database enables you to store data, update it, and efficiently retrieve it, with a high degree of performance, reliability, and scalability.
Device Information
 Entity | Particulars |
---|---|
Vendor Name | Oracle |
Product Name | Database |
Type of Device | Hosted |
Collection Method
Log Type | Â Ingestion label | Preferred Logging Protocol - Format | Log collection method |
---|---|---|---|
Oracle | ORACLE_DB | Syslog - KV | CyberHub |
Port Requirements
Source | Destination | Port |
---|---|---|
Oracle Database | CyberHub | 6514 (TCP) |
To facilitate secure communication and align with our best practice, we strongly encourage the use of Transport Layer Security (TLS) between your security devices and our Adaptive MxDR platform for event forwarding.
While we understand that TLS support may not be available on all devices, if your devices do support TLS communication, we recommend utilizing port 6514 for seamless integration.
In some cases, the upgraded version of the device might incorporate TLS support without prior notice. If you come across such a scenario or for further assistance in configuring TLS, we kindly ask you to reach out to your dedicated Adaptive MxDR Service Delivery Lead.
Device Configuration
Prerequisites
NXLog installation on Windows and Linux.
A central NXLog server has to be created by the customer before following below Steps.
After Installation for Linux devices go to Installed location of the NXLog and then look for the ODBC module and install it via
Rpm -ivh <NXLOG-<Version>-<ODBC>.rpm>
. This step is not required for Windows as it get pre-installed by default.
After installation of NXLog Please follow the below steps:
Enable
Unified_Auditing
on Linux SyslogEnable
Unified_Auditing
on DB.Read Only User Creation.
ODBC Driver Installation on Windows and Linux (Tested on Redhat 8.0 and CentOS 7.0)
NXLog configuration.
NXLog Enterprise Edition
NXLog Community Edition
 To Enable Unified Auditing For Linux Syslog
Login to Your System with root permissions.
Switch to Oracle User.
su - oracle
Provide the password for oracle user.
Go to Oracle dbs directory. Below is the example:
cd $ORACLE_HOME/dbs
Under
dbs
edit theinit<SID>.ora file
.vim initORCL.ora
Under the file add the below mentioned two configurations
Facility can be from LOCAL0 to LOCAL7. You can choose any according to the logs you wish to monitor. SEVERITY can be chosen from DEBUG to Emergency according to the log monitoring.
Save the file.
Now edit the
spfile<SID>.ora
Add the above configuration at the End. Please note you need to add the same
<FACILITY.SEVERITY>
as you mentioned in theinit<SID>.ora
Save the file.
Configure
rsyslog
on your system.
 12. Restart the rsyslog service
 13. Login into Oracle
Now stop the listener.
Now go to OMS folder.
If you don’t have middleware folder, go to Step 14 directly.
Relink Oracle with the
uniaud_on
option.
The above command will enable the Unified Auditing on the DB.
Restart all the Oracle Services.
Start the listener service.
Now again login into Oracle
Run the below Query.
Now run the Query.
Now the Unified auditing is enabled.
Â
To Enable Unified_Auditing on DB.
To enable Unified Auditing on DB please follow Step 13 to Step 23 under section Enable Unified_Auditing on Linux Syslog
 Below are the steps to Follow if the Unified Auditing is enabled on DB. If the Unified_Auditing is Enabled to log into Linux Syslog then you need to follow NXLog Community Edition.Â
Read Only User Creation
Oracle 21c onwards
To start SQLPlus without logging in to a database, at a command prompt, type the following:Â
sqlplus /nolog;
To connect as a system database administrator, at the SQLPlus prompt, type the following command:Â
connect sys/password@SID as sysdba;
To create a read-only user, at the SQLPlus prompt, type the following commands:
create user read_only_user
identified by password;grant connect to read_only_user;
To grant select privileges for the database user, type the following commands:
grant select on AUDSYS.AUD$UNIFIED to read_only_user;
grant select on  v$instance to read_only_user;
grant select on sys.audit_actions to read_only_user;
Type the following commands:Â
grant create session to read_only_user;
 ODBC Driver Installation
Windows:
Download the ODBC driver/instant client for Oracle Server. Go to link to download the file https://www.oracle.com/database/technologies/instant-client/downloads.html . Select the OS and click the link.
Another window will open as https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html
Download three packages
instantclient-basic-windows.x64-21.6.0.0.0dbru.zip, instantclient-sdk-windows.x64-21.6.0.0.0dbru.zip and instantclient-odbc-windows.x64-21.6.0.0.0dbru.zip.
Now create a folder named as
instantclient_21_3
and unzip all three zip files under this.
Now we need to add our Oracle Client directory to the Windows PATH environment. Right-click My Computer > Advanced System Settings > Environment Variables
Â
In System Variables, click New and then enter the following details:
Now open the folder
instantclient_21_3
, in your Oracle Client folder created on the Step 1 and double click the fileodbc_install.
Now go to run with Windows + R and type regedit.
Now go to HKEY_LOCAL_MACHINE > SOFTWARE > ODBC > ODBCINST.INI you will find name as Oracle in instantclient_21_3
as below
Copy this name and paste it in connection string in
nxlog.conf.
LINUX (Redhat and CentOS)
Download the ODBC driver/instant client for Oracle Server. Go to link to download the file https://www.oracle.com/database/technologies/instant-client/downloads.html . Select the OS and click the link.
A page will open https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html Download
oracle-instantclient-basic-21.6.0.0.0-1.el8.x86_64.rpm, oracle-instantclient-odbc-21.6.0.0.0-1.el8.x86_64.rpm
Now login into your linux box and go to /tmp/ and create a directory oracle as mkdir oracle.
Go under this directory via cd oracle.
Copy the above package under this location.
Now run the command yum install
unixODBC
.Now run the command yum install <package name> one by one.
After the installation go to /etc/odbcinst.ini and see the content of the file via cat /etc/obdcinst.ini the content of the file should looks like below:
Now another file should be created as odbc.ini if not created create one via vi /etc/odbc.ini
Under this fie add content as below:
Now add LD_LIBRARY_PATH for above locations as below:
Now copy the path /usr/lib/oracle/21.6/client64/lib/libsqora.so.21.1 and paste it under
nxlog.conf
file connection string.
NXLog Configuration
NXLOG Enterprise Edition
Download and Install the NXLOG Enterprise Edition.
After installation find the attached files nxlog.conf.21c
Download this file.
Now go to your NXLog installed directory. Windows: C:\Program Files\nxlog\conf Linux : /opt/nxlog/etc/
Copy the file under these directory.
Rename the file to
nxlog.conf
Provide proper permission.
Provide CYBERHUBIP in output section.
Restart the nxlog service.
The log flow will start.
NXLog Community Edition
Download and Install the NXLOG Community Edition.
After installation find the attached files
nxlog.conf
Download this file.
Now go to your NXLog installed directory. Windows: C:\Program Files\nxlog\conf Linux : /opt/nxlog/etc/
Copy the file under these directory.
Rename the file to
nxlog.conf
Provide proper permission.
Provide Filepath in Input Section and CYBERHUBIP in output section.
Restart the nxlog service.
The log flow will start.
Integration Parameters
Parameters required from customer for Integration.
Property | Default Value | Description |
---|---|---|
IP Address | Oracle Database interface IP address | Hostname or IP address of the device which forwards logs to the CyberHub |
About Accenture:
Accenture is a leading global professional services company that helps the world’s leading businesses, governments and other organizations build their digital core, optimize their operations, accelerate revenue growth and enhance citizen services—creating tangible value at speed and scale. We are a talent and innovation led company with 738,000 people serving clients in more than 120 countries. Technology is at the core of change today, and we are one of the world’s leaders in helping drive that change, with strong ecosystem relationships. We combine our strength in technology with unmatched industry experience, functional expertise and global delivery capability. We are uniquely able to deliver tangible outcomes because of our broad range of services, solutions and assets across Strategy & Consulting, Technology, Operations, Industry X and Accenture Song. These capabilities, together with our culture of shared success and commitment to creating 360° value, enable us to help our clients succeed and build trusted, lasting relationships. We measure our success by the 360° value we create for our clients, each other, our shareholders, partners and communities. Visit us at www.accenture.com.
About Accenture Security
Accenture Security is a leading provider of end-to-end cybersecurity services, including advanced cyber defense, applied cybersecurity solutions and managed security operations. We bring security innovation, coupled with global scale and a worldwide delivery capability through our network of Advanced Technology and Intelligent Operations centers. Helped by our team of highly skilled professionals, we enable clients to innovate safely, build cyber resilience and grow with confidence. Follow us @AccentureSecure on Twitter or visit us at www.accenture.com/security.
Legal notice: Accenture, the Accenture logo, and other trademarks, service marks, and designs are registered or unregistered trademarks of Accenture and its subsidiaries in the United States and in foreign countries. All trademarks are properties of their respective owners. This document is intended for general informational purposes only and does not take into account the reader’s specific circumstances, and may not reflect the most current developments. Accenture disclaims, to the fullest extent permitted by applicable law, any and all liability for the accuracy and completeness of the information in this presentation and for any acts or omissions made based on such information. Accenture does not provide legal, regulatory, audit, or tax advice. Readers are responsible for obtaining such advice from their own legal counsel or other licensed professionals.