SlideShare a Scribd company logo
1
<Insert Picture Here>
DB2 Access Recording
Services
Auditing DB2 on z/OS with
“DBARS”
A product developed by
Software Product Research
2
Information stored in DB2 databases is of enormous value to
corporations. Misuse of this information can launch competitive and
legal and penalties.
In many countries, laws have been instituted to protect against
unauthorized disclosure of such information.
While mainframe security software and DB2 privileges protect
against unauthorized access to DB2 tables, they do little to report all
accesses to DB2 tables and what was done within those tables.
The additional layer of audit protection provided by DBARS helps
companies monitor DB2 access and prevent illegitimate use.
Reasons for implementing DBARS
3
DBARS Highlights
• Monitors and audits all DB2 accesses to achieve compliance
with auditors and government regulations.
• Provides reporting facilities to support business audits and
forensic investigations.
• Implements a customizable access blocking facility to prevent
illegitimate use of the database system.
• Implements a customizable alerting facility to report illegitimate
use of the database system.
• Can be integrated with external security managers.
• As a result of its proprietary interfaces to DB2, resource
consumption is low, while performing all of the audit needs, and
scaling to very high throughput environments.
• DBARS does not depend on DB2 tracing or the DB2 log.
4
DBARS Highlights (continued)
• Records all accesses to sensitive data in auditable DB2 tables
by recording the SQL statements that perform the access.
• Records all DML access (SELECT, DELETE, INSERT and
UPDATE).
• Records all DDL access (CREATE, ALTER, etc) and DB2
utilities.
• Records the content of input variables used by the SQL
statement.
• Recording is performed for the DB2 tables specified in the
AUDITNAMES section of the DBARS startup parameters.
• Stores the intercepted SQL statements into the Recorder, which
is a VSAM cluster or a sequential BSAM dataset.
• Provides a powerful Scan utility to filter and report on audited
data accesses, captured in the Recorder.
• Provides User Exits for customization.
5
Using DBARS as an Access Recorder
Even when DBARS is not used in an auditing context, it still can
provide valuable recording services.
In development and QA environments, DBARS can show
whether applications perform adequately and whether correct
SQL statements are submitted.
In operational environments, DBARS will record all DB2
accesses for designated tables.
Using the DBARS archiving facilities, these recordings can be
kept for an unlimited period of time.
6
DBARS Components
• DB2 Initiator Interface
• Executes in the DB2 address space
• Intercepts and queues all SQL statements executed into a storage queue
• Blocks illegitimate DB2 access when requested by a policy rule
• Dynamically installed during DBARS startup with no change to the DB2
code or library
• Audit Queue
• Owned by the DBARS address space
• A 64-bit object, residing above the 2 Gigabyte bar
• Writer
• Executes in the DBARS address space
• Processes the Audit Queue entries
• Writes the audit records to the DBARS Recorder
• Issues alerts when requested by a policy rule
• Recorder
• A VSAM cluster or sequential dataset containing the audited SQL requests
• A shared or central Recorder is available for monitoring multiple DB2
subsystems
7
DBARS Utility Programs
DBARSFTP
Transfers the DBARS Recorder to an external FTP
server.
DBARSLOG
Sends DBARS Alert entries to a Windows Event Log.
DB2TSCAN
Searches a designated database for a specified string.
All tables in the database will be examined in a single
program run.
8
DBARS Overview
9
Captured Audit Data
Date and time of access
Creator and name of the accessed table
Name of DB2 subsystem accessed
DB2 userid performing the access
Z/OS userid performing the access
DB2 connection (Batch, TSO, DDF,CICS)
DB2 system sending the SQL statement
Application and workstation name if distributed access
Name of program performing the SQL statement
Result of statement execution (SQLCODE)
Number of rows modified
Text of the recorded SQL statement
10
Alerting & Blocking Access
• The DBARS “Rules” dataset defines the conditions for alerting
or blocking a given DB2 access.
• When DBARS blocks an access, the entire unit of work is rolled
back.
• When DBARS issues an alert for a given access, the access is
stored in the “Exceptions” table; if provided, a user alert exit is
also invoked.
• A function is provided to store DBARS alerts in a Windows
event log, where they can be retrieved by third-party systems
(big data software for instance).
• Data recorded by DBARS may also be alerted and reported on
by interfacing with external distributed security software.
Following rule ensures that only users in the accounts receivable department can
update the customer table:
Block when table acr.customer
and access not select
and user not acr
11
Archive and Retrieval of DB2 audit data
• Procedures are provided to automatically archive the Recorder
to a sequential data set or a DB2 table.
• Audit recording continues throughout the archiving process.
• The DBARS scan utility is provided for filtering and reporting of
archived audit data.
12
DBARS Deployment Process
• DBARS deploys easily into existing infrastructure components.
• Pre/Post-Installation tasks can be performed in less than one
day of effort.
• The required operational tasks are well within the competency
of the z/OS and DB2 mainframe teams.
• Ongoing system maintenance is minimal as a new DB2 version
or release requires only a re-bind of the DBARS packages.
13
Performance Benchmarks
• Background Information
• Performed alongside customer in major bank facility
• Workload manager priority equal to DB2 subsystem
• 16 GB memory available to audit queue (roughly 20% used)
• Conducted over 24 hour period; 4 hour batch window
• DBARS ALLTABLES parameter turned on resulting in over 8,000 objects
from the DB2 LPAR being monitored
• Results
• Audited 220 million SQL transactions during batch window
• Audited 610 million SQL transactions during 24 hour test period
• CPU peak for batch window equaled 4%
• CPU over 24 hour period less than 1%
14
Summary – Competitive Differences
• DBARS does not depend on DB2 Audit tracing or the DB2 logs.
• Only one DBARS address space is required per DB2
subsystem.
• Low resource consumption while performing all of the audit
needs, and scaling to very high throughput environments.
• A DBARS deployment fits into existing infrastructure.
• SPR's flexible resources continue to develop towards
customer’s requirements, and are always amenable to adding
new features usually in a matter of weeks.
15
Getting more information
You may read the DBARS summary document here::
http://www.sprdb2.com/dbars/summary.htm
You may request additional information here:
http://www.sprdb2.com/form1.htm
16
End of Presentation

More Related Content

PDF
ORACLE ARCHITECTURE
PPTX
Basic oracle-database-administration
PPT
Cooper Oracle 11g Overview
PDF
DBA oracle
PPTX
Oracle architecture ppt
PDF
Oracle db architecture
PPTX
Oracle database upgrade to 12c and available methods
PDF
Oracle database 12c introduction- Satyendra Pasalapudi
ORACLE ARCHITECTURE
Basic oracle-database-administration
Cooper Oracle 11g Overview
DBA oracle
Oracle architecture ppt
Oracle db architecture
Oracle database upgrade to 12c and available methods
Oracle database 12c introduction- Satyendra Pasalapudi

What's hot (20)

PPT
Oracle Architecture
PPT
Présentation Oracle DataBase 11g
PDF
Oracle Database 12c Multitenant for Consolidation
PDF
Reduce planned database down time with Oracle technology
PPTX
One database solution for your enterprise business - Oracle 12c
PPTX
Data Guard Architecture & Setup
PPTX
Oracle 12c Architecture
PPTX
Why oracle data guard new features in oracle 18c, 19c
PPTX
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
PDF
Dg broker &amp; client connectivity - High Availability Day 2015
PPTX
1Z0-052 Oracle 11g Administration I
PPTX
Database Consolidation using Oracle Multitenant
PDF
Architecting your own DBaaS in a Private Cloud with EM12c (WP)
PDF
DBA 101 : Calling all New Database Administrators (PPT)
PDF
Oracle RDBMS architecture
PPS
Overview of oracle database
DOCX
Oracle architecture
PDF
Oracle 12c New Features_RAC_slides
PDF
Oracle 12c PDB insights
PPTX
NZSPC 2013 - Ultimate SharePoint Infrastructure Best Practices Session
Oracle Architecture
Présentation Oracle DataBase 11g
Oracle Database 12c Multitenant for Consolidation
Reduce planned database down time with Oracle technology
One database solution for your enterprise business - Oracle 12c
Data Guard Architecture & Setup
Oracle 12c Architecture
Why oracle data guard new features in oracle 18c, 19c
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
Dg broker &amp; client connectivity - High Availability Day 2015
1Z0-052 Oracle 11g Administration I
Database Consolidation using Oracle Multitenant
Architecting your own DBaaS in a Private Cloud with EM12c (WP)
DBA 101 : Calling all New Database Administrators (PPT)
Oracle RDBMS architecture
Overview of oracle database
Oracle architecture
Oracle 12c New Features_RAC_slides
Oracle 12c PDB insights
NZSPC 2013 - Ultimate SharePoint Infrastructure Best Practices Session
Ad

Similar to Auditing DB2 on z/OS with DBARS (20)

PPT
DB2 LUW Auditing
PPTX
SKILLWISE-DB2 DBA
PPT
Db2
DOCX
Db2 Important questions to read
PDF
Db2 and storage management (mullins)
PDF
Presentation database security audit vault & database firewall
PPTX
DBSAT-–-Oracle-Database-Security-Assessment-Tool.pptx
PPTX
Ibm db2
PPT
SAP BASIS Introductory Training Program - Day 11.ppt
PPTX
DOC
Db2 faqs
PDF
Understanding IBM Tivoli OMEGAMON for DB2 Batch Reporting, Customization and ...
PDF
DB2 10 Security Enhancements
PDF
2015 01 26_5212_2__transparent_archiving_with
PDF
DBPLUS Performance Monitor for Oracle
PPT
MAINVIEW for DB2.ppt
PPTX
Monitor database essentials with Applications Manager
PPT
Beginning Of DBMS (data base)
PDF
DB2 Security Thinking Outside the Box
PDF
DB2 Security Thinking Outside the Box
DB2 LUW Auditing
SKILLWISE-DB2 DBA
Db2
Db2 Important questions to read
Db2 and storage management (mullins)
Presentation database security audit vault & database firewall
DBSAT-–-Oracle-Database-Security-Assessment-Tool.pptx
Ibm db2
SAP BASIS Introductory Training Program - Day 11.ppt
Db2 faqs
Understanding IBM Tivoli OMEGAMON for DB2 Batch Reporting, Customization and ...
DB2 10 Security Enhancements
2015 01 26_5212_2__transparent_archiving_with
DBPLUS Performance Monitor for Oracle
MAINVIEW for DB2.ppt
Monitor database essentials with Applications Manager
Beginning Of DBMS (data base)
DB2 Security Thinking Outside the Box
DB2 Security Thinking Outside the Box
Ad

Recently uploaded (20)

PDF
Designing Intelligence for the Shop Floor.pdf
PPTX
Introduction to Artificial Intelligence
PDF
Digital Strategies for Manufacturing Companies
PPT
Introduction Database Management System for Course Database
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Transform Your Business with a Software ERP System
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
assetexplorer- product-overview - presentation
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
System and Network Administration Chapter 2
PPTX
ai tools demonstartion for schools and inter college
Designing Intelligence for the Shop Floor.pdf
Introduction to Artificial Intelligence
Digital Strategies for Manufacturing Companies
Introduction Database Management System for Course Database
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Upgrade and Innovation Strategies for SAP ERP Customers
Operating system designcfffgfgggggggvggggggggg
Reimagine Home Health with the Power of Agentic AI​
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Odoo Companies in India – Driving Business Transformation.pdf
Transform Your Business with a Software ERP System
Understanding Forklifts - TECH EHS Solution
Which alternative to Crystal Reports is best for small or large businesses.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
assetexplorer- product-overview - presentation
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
System and Network Administration Chapter 2
ai tools demonstartion for schools and inter college

Auditing DB2 on z/OS with DBARS

  • 1. 1 <Insert Picture Here> DB2 Access Recording Services Auditing DB2 on z/OS with “DBARS” A product developed by Software Product Research
  • 2. 2 Information stored in DB2 databases is of enormous value to corporations. Misuse of this information can launch competitive and legal and penalties. In many countries, laws have been instituted to protect against unauthorized disclosure of such information. While mainframe security software and DB2 privileges protect against unauthorized access to DB2 tables, they do little to report all accesses to DB2 tables and what was done within those tables. The additional layer of audit protection provided by DBARS helps companies monitor DB2 access and prevent illegitimate use. Reasons for implementing DBARS
  • 3. 3 DBARS Highlights • Monitors and audits all DB2 accesses to achieve compliance with auditors and government regulations. • Provides reporting facilities to support business audits and forensic investigations. • Implements a customizable access blocking facility to prevent illegitimate use of the database system. • Implements a customizable alerting facility to report illegitimate use of the database system. • Can be integrated with external security managers. • As a result of its proprietary interfaces to DB2, resource consumption is low, while performing all of the audit needs, and scaling to very high throughput environments. • DBARS does not depend on DB2 tracing or the DB2 log.
  • 4. 4 DBARS Highlights (continued) • Records all accesses to sensitive data in auditable DB2 tables by recording the SQL statements that perform the access. • Records all DML access (SELECT, DELETE, INSERT and UPDATE). • Records all DDL access (CREATE, ALTER, etc) and DB2 utilities. • Records the content of input variables used by the SQL statement. • Recording is performed for the DB2 tables specified in the AUDITNAMES section of the DBARS startup parameters. • Stores the intercepted SQL statements into the Recorder, which is a VSAM cluster or a sequential BSAM dataset. • Provides a powerful Scan utility to filter and report on audited data accesses, captured in the Recorder. • Provides User Exits for customization.
  • 5. 5 Using DBARS as an Access Recorder Even when DBARS is not used in an auditing context, it still can provide valuable recording services. In development and QA environments, DBARS can show whether applications perform adequately and whether correct SQL statements are submitted. In operational environments, DBARS will record all DB2 accesses for designated tables. Using the DBARS archiving facilities, these recordings can be kept for an unlimited period of time.
  • 6. 6 DBARS Components • DB2 Initiator Interface • Executes in the DB2 address space • Intercepts and queues all SQL statements executed into a storage queue • Blocks illegitimate DB2 access when requested by a policy rule • Dynamically installed during DBARS startup with no change to the DB2 code or library • Audit Queue • Owned by the DBARS address space • A 64-bit object, residing above the 2 Gigabyte bar • Writer • Executes in the DBARS address space • Processes the Audit Queue entries • Writes the audit records to the DBARS Recorder • Issues alerts when requested by a policy rule • Recorder • A VSAM cluster or sequential dataset containing the audited SQL requests • A shared or central Recorder is available for monitoring multiple DB2 subsystems
  • 7. 7 DBARS Utility Programs DBARSFTP Transfers the DBARS Recorder to an external FTP server. DBARSLOG Sends DBARS Alert entries to a Windows Event Log. DB2TSCAN Searches a designated database for a specified string. All tables in the database will be examined in a single program run.
  • 9. 9 Captured Audit Data Date and time of access Creator and name of the accessed table Name of DB2 subsystem accessed DB2 userid performing the access Z/OS userid performing the access DB2 connection (Batch, TSO, DDF,CICS) DB2 system sending the SQL statement Application and workstation name if distributed access Name of program performing the SQL statement Result of statement execution (SQLCODE) Number of rows modified Text of the recorded SQL statement
  • 10. 10 Alerting & Blocking Access • The DBARS “Rules” dataset defines the conditions for alerting or blocking a given DB2 access. • When DBARS blocks an access, the entire unit of work is rolled back. • When DBARS issues an alert for a given access, the access is stored in the “Exceptions” table; if provided, a user alert exit is also invoked. • A function is provided to store DBARS alerts in a Windows event log, where they can be retrieved by third-party systems (big data software for instance). • Data recorded by DBARS may also be alerted and reported on by interfacing with external distributed security software. Following rule ensures that only users in the accounts receivable department can update the customer table: Block when table acr.customer and access not select and user not acr
  • 11. 11 Archive and Retrieval of DB2 audit data • Procedures are provided to automatically archive the Recorder to a sequential data set or a DB2 table. • Audit recording continues throughout the archiving process. • The DBARS scan utility is provided for filtering and reporting of archived audit data.
  • 12. 12 DBARS Deployment Process • DBARS deploys easily into existing infrastructure components. • Pre/Post-Installation tasks can be performed in less than one day of effort. • The required operational tasks are well within the competency of the z/OS and DB2 mainframe teams. • Ongoing system maintenance is minimal as a new DB2 version or release requires only a re-bind of the DBARS packages.
  • 13. 13 Performance Benchmarks • Background Information • Performed alongside customer in major bank facility • Workload manager priority equal to DB2 subsystem • 16 GB memory available to audit queue (roughly 20% used) • Conducted over 24 hour period; 4 hour batch window • DBARS ALLTABLES parameter turned on resulting in over 8,000 objects from the DB2 LPAR being monitored • Results • Audited 220 million SQL transactions during batch window • Audited 610 million SQL transactions during 24 hour test period • CPU peak for batch window equaled 4% • CPU over 24 hour period less than 1%
  • 14. 14 Summary – Competitive Differences • DBARS does not depend on DB2 Audit tracing or the DB2 logs. • Only one DBARS address space is required per DB2 subsystem. • Low resource consumption while performing all of the audit needs, and scaling to very high throughput environments. • A DBARS deployment fits into existing infrastructure. • SPR's flexible resources continue to develop towards customer’s requirements, and are always amenable to adding new features usually in a matter of weeks.
  • 15. 15 Getting more information You may read the DBARS summary document here:: http://www.sprdb2.com/dbars/summary.htm You may request additional information here: http://www.sprdb2.com/form1.htm