presented by: brandon mcandrew jordan schafer keith edwards it audit automation

51
Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Upload: vernon-stewart

Post on 30-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Presented by:

Brandon McAndrew

Jordan Schafer

Keith Edwards

IT Audit Automation

Page 2: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

• Overview of scripting languages• Demonstrations

IT Audit Automation

Page 3: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

• A type of programming language• Interprets and automates the

execution of tasks

Script Language

Page 4: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Examples

1. Bash – UNIX or UNIX-like operating systems

2. Visual Basic – Microsoft Office Applications

3. ACLScript – Audit Command Language (ACL) Analytics

Script Language

Page 5: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

When to use scripts?

1. If repetitive tasks need to be completed

2. If a large number of sample items need to be reviewed

3. If similar reviews will be conducted in the future

Script Language

Page 6: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Items to consider before writing a script

1. What do you need the script to do?

2. What criteria will be used for tests?

3. How will source data be obtained?

Script Language

Page 7: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

You don’t always need a formal programming background to write and use scripts!

Script Language

Page 8: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Web searches and help files are a great starting place.

Script Language

Page 9: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 10: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 11: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 12: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 13: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 14: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 15: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 16: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 17: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

When not to use scripts?

1. When source data will be provided in an inconsistent format

2. When there is no positive cost benefit

3. When resource limitations become a barrier

Script Language

Page 18: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Risks when using scripts

1. Errors in scripting logic producing improper results

2. Could prompt auditors to jump to faulty conclusions

3. Costs could exceed benefits

Script Language

Page 19: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Questions And Answers

(3 Minutes)

Page 20: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Illustration:Oracle

Page 21: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Summary - Oracle Illustration

1. Obtain an understanding

2. Establish criteria

3. Identify tables

4. Request files

5. Design import script

6. Design testing script

7. Design export script

8. Design master script

Page 22: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Handout – “Oracle Example Script”

Page 23: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Identify the database and version V$Version

Obtain An Understanding

Page 24: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

CIS benchmarks Policies and

procedures Determine the

most restrictive

Obtain Criteria

?

Page 25: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

DBA_Users DBA_Profiles DBA_Parameters

Identifying Tables DBA_RolePrivs DBA_TabPrivs DBA_SysPrivs

Page 26: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Request files Easiest format

Data Gathering

Page 27: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Perform manually Import scripts Comments Perform reconciliations

Designing Scripts Step 1 -Formatting

Page 28: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Add comments Define the fields Use established criteria to create tests

Direct tests Indirect tests

Other information (Criteria reference)

Designing Scripts Step 2 - Testing

Page 29: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Defining Fields

Page 30: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Direct TestsInput “Not In Compliance” in the virtual field V_COMPLIANCE if “Failed Login Attempts” is greater than 5 or set to “Unlimited” and is not “DEFAULT.”

Page 31: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Indirect Tests/ Other Information

Page 32: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Export script Perform manually Follow up on all items

Step 3 Output & Overview

Page 33: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Master Script Create 1 script that controls all other scripts

Identifies which scripts are ran Sets overall variables Identifies outputs

Page 34: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation
Page 35: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Questions And Answers

(3 Minutes)

Page 36: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Statewide UNIX Security Controls

Illustration

Page 37: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Summary – UNIX Illustration• Selecting audit criteria and defining tests

• Visual Basic

• Writing a data gathering script • Solaris operating system

• Automating testing in ACL• Importing criteria and source files

Page 38: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Background• UNIX is a multiuser and multitasking operating

system

• Various open source and commercial variations

• Automation for data gathering and data analytics

Page 39: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Audit Criteria & Defining Tests• Selecting audit criteria

• Defining the tests applicable to the operating system• Separate criteria and tests per operating system

• Making audit criteria variable• Simple and efficient changes

• Visual Basic

Page 40: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 41: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Data Gathering• Selecting a script language

• Using audit criteria

• Other sources of information

• Testing commands and reviewing results

Page 42: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 43: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Data Gathering – Continued• Commenting and formatting your scripts

• Determine the need for multiple scripts

• Thoroughly test the final scripts• Ensure auditee cooperation

• Request auditee review the script

• Make scripts simple or complex• Ensure uniformity

• Allow for efficient adjustments

Page 44: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 45: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

• Importing data • Audit criteria (Visual Basic)

• Data gathering results (source files from server)

• Creating control scripts• Dialog boxes for users of the scripts

• Allow the user to determine tests ran and outputs generated

• Using variables and adding pertinent information

Data Analysis – ACL

Page 46: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 47: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Testing & Results - ACL• Testing Scripts

• Base script logic on audit criteria

• Thoroughly test

• Results• Export necessary information

• Manually review results and make conclusions

• Perform normal testing procedures with script outputs

Page 48: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Demonstration

Page 49: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Concluding Thoughts• Putting it all together

• Lessons learned

• Impact on IT audits

Page 50: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

fin.

Page 51: Presented by: Brandon McAndrew Jordan Schafer Keith Edwards IT Audit Automation

Contact Information• Brandon McAndrew – [email protected]

• Jordan Schafer – [email protected]

• Keith Edwards – [email protected]