Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

Free Oracle Tips

HTML Text

 Home
 E-mail Us
 Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB   


 

 

 


 

 

 

 

 

Packages with Non-Vulnerable Checksums

Oracle Forensics tips by Paul Wright

In order to describe a package as non-vulnerable a non-vulnerable signature should be created and when the non-vulnerable signature returns with a positive resultset then a positive affirmation that the package is not vulnerable can be made with reasonable certainty. A signature for a non-vulnerable PLSQL package can be seen below.

Query 3 on January 2005 CPU installed Solaris: Version 10.1.0.2.0

SQL> select owner,name from dba_source where owner = 'DMSYS' and name = 'DMP_SYS' and text like
'%9bb1 2fc3%';

OWNER                          NAME
------------------------------ ------------------------------
DMSYS                          DMP_SYS

A non-vulnerable checksum is useful in that it positively identifies a known good package and can assist in ascertaining the state profile of the server i.e. what state all the packages are in. This can be used as a further verification of patch activity.

Inferring DBAs Patch Activity from Checksum Pattern  

If a DBA or attacker had signatures for all possible vulnerable packages then the profile would give a close indicator of the CPU that was installed barring the errors mentioned. By grouping the checks into CPU level related cohorts we could infer the CPU level of the server. Of course the DBA might have “DROPped” the PLSQL packages rather than install a CPU to fix them so this method is not a sure way of ascertaining CPU level. 9i_solaris 9.2.0.1.0 without any CPU’s would hit positive on the SYS packages listed below as long as they were installed and had not been “DROPped”.

SYS

DBMS_DBUPGRADE

 

 

 

 

 

 

 

SYS

DBMS_XRWMV

 

 

 

 

 

 

 

SYS

OWA_OPT_LOCK

 

fixed

 

 

 

 

 

SYS

DBMS_CDC_DPUTIL

 

fixed

 

 

 

 

 

SYS

DBMS_CDC_SUBSCRIBE

 

 

 

 

fixed

 

 

SYS

DBMS_DEFER_REPCAT

 

 

fixed

 

 

 

 

SYS

DBMS_REPCAT_ADMIN

 

 

 

 

 

 

 

SYS

DBMS_SYSTEM

 

 

fixed

 

 

 

 

SYS

LTUTIL

 

 

fixed

 

 

 

 

SYS

OUTLN_PKG

 

 

 

 

 

fixed

 

SYS

DBMS_APPLY_ADM_INTERNAL

 

 

 

 

 

fixed

 

SYS

DBMS_AQADM_SYS

 

 

 

 

 

fixed

 

SYS

DBMS_CDC_UTILITY

 

 

 

 

 

fixed

 

SYS

DBMS_DDL

 

 

 

 

 

 

 

SYS

DBMS_METADATA

 

 

 

 

 

fixed

 

SYS

DBMS_REPUTIL

 

 

 

 

 

 

fixed

SYS

DBMS_SNAPSHOT_UTL

 

 

 

 

 

 

fixed

SYS

DBMS_STATS

 

 

 

 

 

 

 

 















This concept could be extended to other versions but it is the Author’s experience that DBA’s will tend to drop many of the vulnerable packages which would identify a CPU level by their checksum. What is needed is the ability to collect all checksums including known non-vulnerable and unknown vulnerability status packages as well as the known vulnerable. This requires automation.

 

This is an excerpt from the book "Oracle Forensics: Oracle Security Best Practices", by Paul M. Wright, the father of Oracle Forensics.

 


 

 
  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2011 by Burleson Enterprises

All rights reserved.

Oracle © is the registered trademark of Oracle Corporation.