• No results found

Lec 13-Security Auditing

N/A
N/A
Protected

Academic year: 2020

Share "Lec 13-Security Auditing"

Copied!
26
0
0

Loading.... (view fulltext now)

Full text

(1)
(2)

A computer

security audit

is a manual or

systematic measurable technical assessment

of a system or application. Manual

assessments include interviewing staff,

performing

security

vulnerability scans,

(3)

So a security audit is the process of testing and

ensuring that your company assets are fully

(4)

Why do I need Security Audit?

Put very simply, you need a security audit in order to

ensure that your security systems are working.

Unauthorized access of privileged logon accounts

caused by far the greatest financial losses to individual companies of all crimes analyzed

The increasing incidence and complexity of

legislation designed to counter cyber terrorism and protect personal privacy throughout the world. Think of HIPAA, SOX and the European Data Protection

(5)

Where do I get Security Audit?

There's a simple choice: do it yourself, or buy

(6)

How can I evaluate Security Audit?

you can never prove that you are secure; you

can only prove (by bitter experience) that you

are not secure

Your security audit will tell you how effective

your security is

Relate audit reports to every aspect of your

security policy

(7)

Problems

What do you log?

Hint: looking for violations of a policy, so record at

least what will show such violations

What do you audit?

Need not audit everything

(8)

November 1, 2004 Introduction to Computer Security

©2004 Matt Bishop Slide #21-8

Audit System Structure(Anatomy)

Logger

Records information, usually controlled by

parameters

Analyzer

Analyzes logged information looking for

something

Notifier

(9)

Logger

Type, quantity of information recorded

controlled by system or program configuration

parameters

May be human readable or not

If not, usually viewing tools supplied

E.g Logs failed access attempts, use of

(10)

November 1, 2004 Introduction to Computer Security

©2004 Matt Bishop Slide #21-10

Example: Windows NT

• Different logs for different types of events

System event logs record system crashes, component failures, and other system events

Application event logs record events that applications request be recorded

Security event log records security-critical events such as logging in and out, system file accesses, and other events

Logs are binary; use event viewer to see them

If log full, can have system shut down, logging disabled, or

(11)

Analyzer

Analyzes one or more logs

Logs may come from multiple systems, or a single

system

May lead to changes in loggingMay lead to a report of an event

(12)

November 1, 2004 Introduction to Computer Security

©2004 Matt Bishop Slide #21-12

Notifier

Informs analyst, other entities of results of

analysis

May reconfigure logging and/or analysis on

(13)

Designing an Auditing System

Keep Everyone in the LoopEnsure mobility

(14)

Designing an Audit System

Essential component of security mechanismsGoals determine what is logged

Idea: auditors want to detect violations of policy,

which provides a set of constraints that the set of possible actions must satisfy

So, audit functions that may violate the

constraints

(15)

Example: Bell-LaPadula

Simple security condition and *-propertyS reads OL(S) ≥ L(O)

S writes OL(S) ≤ L(O)

To check for violations, on each read and write,

must log L(S), L(O), action (read, write), and result (success, failure)

(16)

November 1, 2004 Introduction to Computer Security

©2004 Matt Bishop Slide #21-16

Design

A posteriori design

– Need to design auditing mechanism for system not built with security in mind

Goal of auditing

– Detect any violation of a stated policy

• Focus is on policy and actions designed to violate policy; specific actions may not be known

– Detect actions known to be part of an attempt to breach security

(17)

Detect Violations of Known Policy

Goal: does system enter a disallowed state?

Two forms

State-based auditing

Look at current state of systemTransition-based auditing

Look at actions that transition system from one state to

(18)

November 1, 2004 Introduction to Computer Security

©2004 Matt Bishop Slide #21-18

Detect Known Violations of Policy

Goal: does a specific action and/or state that is

known to violate security policy occur?

Assume that action automatically violates policyPolicy may be implicit, not explicit

(19)

Example

Land attack

Consider 3-way handshake to initiate TCP connection (next

slide)

What happens if source, destination ports and addresses

(20)

November 1, 2004 Introduction to Computer Security

©2004 Matt Bishop Slide #21-20

3-Way Handshake and Land Attack

Source

Destination SYN(s) ACK(s+1)

SYN(t) ACK(t+1)

Must spot initial Land packet with

source, destination addresses the same

Logging requirement:

source port number, IP address

destination port number, IP address

Auditing requirement:

If source port number = destination

(21)

Auditing Mechanisms

Systems use different mechanisms

Most common is to log all events by default, allow

system administrator to disable logging that is unnecessary

Two examples

(22)

November 1, 2004 Introduction to Computer Security

©2004 Matt Bishop Slide #21-22

Secure Systems

Auditing mechanisms integrated into system design

and implementation

Security officer can configure reporting and logging:To report specific events

To monitor accesses by a subjectTo monitor accesses to an objectControlled at audit subsystem

(23)

Non-Secure Systems

Have some limited logging capabilities

Log accounting data, or data for non-security

purposes

Possibly limited security data like failed logins

Auditing subsystems focusing on security

usually added after system completed

May not be able to log all events, especially if

(24)

November 1, 2004 Introduction to Computer Security

©2004 Matt Bishop Slide #21-24

Audit Browsing

Goal of browser: present log information in a form

easy to understand and use

Several reasons to do this:

Audit mechanisms may miss problems that auditors will

spot

Mechanisms may be unsophisticated or make invalid

assumptions about log format or meaning

Logs usually not integrated; often different formats, syntax,

(25)

Browsing Techniques

Text display

Does not indicate relationships between eventsHypertext display

Indicates local relationships between eventsDoes not indicate global relationships clearlyRelational database browsing

DBMS performs correlations, so auditor need not know in

advance what associations are of interest

(26)

November 1, 2004 Introduction to Computer Security

©2004 Matt Bishop Slide #21-26

Example Use

Auditor notices unexpected gap in time information

area

No log entries during that time!?!?

Auditor focuses on log entries before, after gap

Wants to know why logging turned off, then turned back

on

Color of words in entries helps auditor find similar

References

Related documents

clinical faculty, the authors designed and implemented a Clinical Nurse Educator Academy to prepare experienced clinicians for new roles as part-time or full-time clinical

Objectives We sought to investigate whether genetic effects on response to TnF inhibitors (TnFi) in rheumatoid arthritis (ra) could be localised by considering known

–  Use Apex code to access external REST API’s –  Can be used to send data out or pull data in to/.. from an

New opportunities are emerging for marketing and customer communications – enabling businesses to address consumers across all channels, inclu- ding the Internet, TV,

In 2005 the Gold Coast Development Board, a statutory board established pursuant to the State Development and Public Works Organisation Act 1971, proposed to develop the

Tool Step 1 ECETOC TRA Step 2 GES Step 3 individual ES eSDS (BASIS) Standards, Ref. GES) BASF? ECHA? PBT-Tool.. Step Generic exposure assessment 3. Step Specific exposure assessment

aterials for defence micro!compone micro!components nts aterials for wear components aterials for wear components aterials for weapons technology aterials for

These two alternative ways to exchange traffic clearly affect the quality of the interconnection between the two providers 2 : peering assures a better quality than