DB Auditing Models
DB Auditing Models
DB Auditing Models
Dr. Gabriel
Auditing Overview
2
Definitions
3
Definitions (continued)
4
Definitions (continued)
5
Auditing Activities
6
Auditing Activities (continued)
7
Auditing Activities (continued)
8
Auditing Activities (continued)
9
Auditing Environment
• Auditing examples:
– Financial auditing
– Security auditing
• Audit also measures compliance with
government regulations and laws
• Audits take place in an environment:
– Auditing environment
– Database auditing environment
10
Auditing Environment (continued)
11
Auditing Environment (continued)
12
Auditing Process
13
Auditing Process (continued)
14
Auditing Process (continued)
15
Auditing Process (continued)
16
Auditing Objectives
17
Auditing Objectives (continued)
19
Auditing Classifications and Types
20
Audit Classifications
• Internal audit:
– Conducted by a staff member of the company
being audited
– Purpose:
• Verify that all auditing objectives are met
• Investigate a situation prompted by an internal
event or incident
• Investigate a situation prompted by an external
request
21
Audit Classifications (continued)
• External audit:
– Conducted by a party outside the company that
is being audited
– Purpose:
• Investigate the financial or operational state of the
company
• Verify that all auditing objectives are met
22
Audit Classifications (continued)
• Automatic audit:
– Prompted and performed automatically (without
human intervention)
– Used mainly for systems and database systems
– Administrators read and interpret reports;
inference engine or artificial intelligence
• Manual audit: performed completely by humans
• Hybrid audit
23
Audit Types
24
Audit Types (continued)
25
Benefits and Side Effects of Auditing
• Benefits:
– Enforces company policies and government
regulations and laws
– Lowers the incidence of security violations
– Identifies security gaps and vulnerabilities
– Provides an audit trail of activities
– Provides means to observe and evaluate
operations of the audited entity
26
Benefits and Side Effects of Auditing
(continued)
• Benefits (continued):
– Provides a sense of security and confidence
– Identifies or removes doubts
– Makes the organization more accountable
– Develops controls that can be used for purposes
other than auditing
27
Benefits and Side Effects of Auditing
(continued)
• Side effects:
– Performance problems
– Too many reports and documents
– Disruption to the operations of the audited entity
– Consumption of resources, and added costs
from downtime
– Friction between operators and auditor
– Same from a database perspective
28
Auditing Models
29
Auditing Models (continued)
30
Simple Auditing Model 1
31
Simple Auditing Model 1 (continued)
32
Simple Auditing Model 1 (continued)
• Control columns:
– Placeholder for data inserted automatically when
a record is created or updated (date and time
record was created and updated)
– Can be distinguished with a CTL prefix
33
Simple Auditing Model 1 (continued)
34
Simple Auditing Model 2
35
Simple Auditing Model 2 (continued)
36
Advanced Auditing Model
37
Advanced Auditing Model (continued)
38
Advanced Auditing Model (continued)
39
Historical Data Model
40
Historical Data Model (continued)
41
Auditing Applications Actions Model
42
C2 Security Rating
• Issued by National Security Administration
• Indicates satisfaction of requirements set by the Dept of
Defense
– OK to implement in military and government applications
• Given to Microsoft SQL Server
• Utilizes DACLs (discretionary access control lists) for
security and audit activities
• Requirements:
– Server must be configured as a C2 system
– Windows Integrated Authentication is supported
– SQL native security is not supported
– Only transactional replication is supported
43
Questions?
44