Auditing an Oracle database for security issues is very important. PeteFinnigan.com provides all of the information and tools that you will need Click here for details of PeteFinnigan.com Limited's detailed Oracle database security audit service Click here for details of PeteFinnigan.com Limited's Oracle Security Training Courses
There are 39 visitors online    

Pete Finnigan's Oracle security weblog


Home » Archives » December 2004 » Disabling Oracle writes into NT event log

[Previous entry: "Post about setting up and using autotrace"] [Next entry: "Sitemap generation tweaked"]

Disabling Oracle writes into NT event log

December 20th, 2004 by Pete

Post to del.icio.us   Post to Furl   Digg!

I found an interesting post on the Oracle-l list last week about disabling writes to the Windows event log. Because I like undocumented or hidden or hard to find data I was immediately attracted to this post. The thread is called "disabling Oracle writes into NT event log" and the original poster said every time an archivelog is created an event is written to the event log in the same manner as an entry is written to the alert log.

The poster wanted to disable this write to the event log and found an undocumented parameter _disable_ntlog_events. You can test the default value of this parameter with my script check_parameter.sql. An example for my 9iR2 personal edition database is given next:

check_parameter: Release 1.0.0.0.0 - Production on Mon Dec 20 15:27:29 2004
Copyright (c) 2004 PeteFinnigan.com Limited. All rights reserved.

PARAMETER TO CHECK [utl_file_dir]: _disable_ntlog_events
CORRECT VALUE [null]: FALSE
OUTPUT METHOD Screen/File [S]: S
FILE NAME FOR OUTPUT [priv.lst]:
OUTPUT DIRECTORY [DIRECTORY or file (/tmp)]:

Investigating parameter => _disable_ntlog_events
====================================================================
Name : _disable_ntlog_events
Value : FALSE
Type : BOOLEAN
Is Default : DEFAULT VALUE
Is Session modifiable : FALSE
Is System modifiable : FALSE
Is Modified : FALSE
Is Adjusted : FALSE
Description : Disable logging to NT event log
Update Comment :
-------------------------------------------------------------------------
value is correct

PL/SQL procedure successfully completed.

For updates please visit http://www.petefinnigan.com/tools.htm

SQL>

The poster changed the value of this parameter with an ALTER SYSTEM command and checked it had been changed. He then noted that the events were still being written. His version was 10.1.0.2.0 on Windows XP. Niall Litchfield answered with information that he thought this bug was fixed in 10.1.0.3.

As I said at the start of this entry I found this interesting because it talks about internals, in this case an undocumented or underscore parameter.

December 2004
SMTWTFS
   1234
567891011
12131415161718
19202122232425
262728293031 

This is the weblog for Pete Finnigan. Pete works in the area of Oracle security and he specialises in auditing Oracle databases for security issues. This weblog is aimed squarely at those interested in the security of their Oracle databases.

Weblog Home
Weblog Archives

Oracle Security Step-by-Step (Version 2.0)

Home
Oracle Security Tools page
Oracle security papers
Oracle Security alerts

Web Development
SQL Server Security

RSS 1.0 FEED
RSS 2.0 FEED
Atom 0.3 FEED
Powered by gm-rss 2.0.0




View Pete Finnigan's profile on LinkedIn

Pete Finnigan

Create Your Badge



Valid XHTML 1.0!