• No results found

The Base Rate Fallacy and its Implications for the Difficulty of Intrusion Detection

N/A
N/A
Protected

Academic year: 2021

Share "The Base Rate Fallacy and its Implications for the Difficulty of Intrusion Detection"

Copied!
14
0
0

Loading.... (view fulltext now)

Full text

(1)

The Base Rate Fallacy

and its Implications for

the Difficulty of

Intrusion Detection

The Base Rate Fallacy

and its Implications for

the Difficulty of

Intrusion Detection

Stefan Axelsson

(2)

Agenda

Agenda

1. General Overview of IDS

1. General Overview of IDS

2. Bayes’ Theorem and Base-Rate Fallacy

2. Bayes’ Theorem and Base-Rate Fallacy

3. Base-Rate Fallacy in Intrusion Detection

3. Base-Rate Fallacy in Intrusion Detection

4. Impact on Intrusion Detection Systems

4. Impact on Intrusion Detection Systems

5. Conclusion

(3)

Intrusion Detection Systems

Intrusion Detection Systems

• Intends to detect security violations from:

Outsiders using prepacked exploit scripts

Impersonators (outsiders as well as insiders)

Insiders abusing legitimate privileges

Organization of a generalized IDS

Organization of a generalized IDS

• Fundamental questions:

Effectiveness, Efficiency, Ease of use, Security, Inter-Operability, Transparency

• This paper focuses on

(4)

Intrusion Detection Systems

(cont’d)

Intrusion Detection Systems

(cont’d)

Few anti-intrusion techniques:

Prevention – e.g. don’t connect to the internet

Preemption – strike against threat before attack is mounted

Deterrence – increase perceived risk of negative consequences for the attacker

Deflection – e.g. use of honeypots

Detection – detect anomalies and notify authority to

initiate proper response

Countermeasures – actively and autonomously counter intrusions as they are attempted

(5)

Types of Intrusion Detection

Strategies

Types of Intrusion Detection

Strategies

• Broadly classified into:

Anomaly detection

• System reacts to deviations of subject behavior from normal behavior

• “Normal” subject behavior is updated as new knowledge about subject behavior becomes known

Policy detection (Misuse detection) • System tries to find evidence that

matches known signatures of intrusive or suspect behavior (signature-based

detection)

• System flags every action deviating from known signatures of benign behavior (specification-based detection)

(6)

Bayes’ Theorem and Base-Rate

Fallacy

Bayes’ Theorem and Base-Rate

Fallacy

P(S|P) = ______P(P|S)P(S)_______ P(P|S)P(S) + P(P|¬S)P(¬S) = ______1/10000

0.99________ 1/10000

0.99 + (1-1/10000)

0.01 = 0.00980 1% 2) P & ¬S U 1) ¬P & ¬S P S 4) ¬P & S 3) P & SGiven:

P: Person tests positive for a disease

S: The person is sick

P(P|S)=0.99 and P(¬P| ¬S)=0.99A person tested positive

Only 1 in 10000 people have this ailment … Rate of incidence – P(S)

Find the probability that the person is infected with that disease P(S|P) … works out to be only about 1%

Fallacy: Humans don’t consider base rate when intuitively solving such problems of probability

(7)

Base-Rate Fallacy in Intrusion

Detection

Base-Rate Fallacy in Intrusion

Detection

Assumptions in the hypothesized system:

Few tens of workstations running UNIX

Few servers running UNIX

Couple of dozen users

Capable of generating 1,000,000 audit records

per day (with C2 compliant logging)

Single site security officer (SSO)

10 audit records affected in the average

intrusion

2 intrusions per day => 20 records per

1,000,000 account to actual intrusions

(8)

Base-Rate Fallacy in Intrusion

Detection (cont’d)

Base-Rate Fallacy in Intrusion

Detection (cont’d)

Calculation of Bayesian detection rates

I: Intrusive behavior

A: Presence of an intrusion alarm

With the assumptions, we have:

• P(I) = 2⋅10-5 ; P(¬I) = 1 – P(I) = 0.99998 • Detection rate or True positive rate: P(A|I) • False alarm rate: P(A|¬I)

• False negative rate: P(¬A|I) = 1 - P(A|I) • True negative rate: P(¬A|¬I) = 1 - P(A|¬I)

Maximize

• P(I|A): Bayesian detection rate • P(¬I|¬A)

(9)

Base-Rate Fallacy in Intrusion

Detection (cont’d)

Base-Rate Fallacy in Intrusion

Detection (cont’d)

P(I|A) =

______P(I)P(A|I)_______

P(I)

P(A|I) + P(

¬

I)

P(A|

¬

I)

=

_______

2⋅10

-5

P(A|I)________

2⋅10

-5

P(A|I) +

0.99998

P(A|

¬

I)

Thus, factor governing detection rate is

completely dominated by factor governing false

alarm rate

Desired maximum at

P(A|I) = 1 and P(A|

¬

I) = 0

– Is this achievable in practice? … NOT REALLY

(10)

Base-Rate Fallacy in Intrusion

Detection (cont’d)

Base-Rate Fallacy in Intrusion

Detection (cont’d)

For P(A|I)=1, P(A|¬I)=110-5, we

get P(I|A) as 0.66

For P(A|I)=0.7, P(A|¬I)=110-5 ,

we get P(I|A) as 0.58

=> Even for large detection rate, viz. P(A|I), Bayesian detection rate is dominated by the factor of false alarm rate, viz. factor of P(A|¬I)

=> Even if n(I|A) were low, P(I|A) close to 50% will induce SSO to ignore all (or most) of the alarms generated

(11)

Impact on Intrusion Detection

Systems

Impact on Intrusion Detection

Systems

• Comparison of reported results with the established requirements on the effectiveness of intrusion detection systems

• Plot of detection rate vs. false alarm rate

• ROC curve analysis of the results re-establishes that detection and false alarm rates are linked

• Studies roughly divided into 2 classes:

– With larger false rate values

(anomaly-based detection methods)

– With smaller false rate values

closer to the requirements (misuse-based detection methods)

(12)

Future Work and Conclusions

Future Work and Conclusions

Limitations of this paper:

– Use of subjective probabilities in calculations – Treats intrusion detection as a binary problem

– Does not consider SSO behavior in entire correctness

Conclusions:

– Intrusion detection is difficult in real world

– The “effectiveness” of an intrusion detection system depends not on its ability to detect intrusive behavior but on its ability to suppress false alarms

– Comparison shows anomaly-based detection

methods have larger false alarm rates than misuse-based detection, but misuse-misuse-based detection

methods cannot provide protection against novel intrusions

(13)

References

References

S. Axelsson.

Research in Intrusion

Detection Systems: A Survey

http://www.acm.org/crossroads/xrds2-4/intrus.html

Lawrence R. Halme and R. Kenneth

Bauer.

AINT Misbehaving: A Taxonomy of

Anti-Intrusion Techniques

(14)

References

Related documents

Lack of Forgiveness as a Predisposing Factor to Depression: Comparison of Lack of Forgiveness in Depressed, Vulnerable to Depression and Non-vulnerable to Depression Subjects1.

With the paucity of PBM programmes tailored for neonates, this project aims to ensure best practice in neonatal transfusion based on PBM Module 6 and NSQHS Blood Management

However, instead of finding an optimal tax rate policy from a public economic point of view, Allingham & Sandmo (1972) identify the effects of the economic factors; income level,

To learn more about the different ways by which psychologists try to provide services in various settings or conduct research, and to gain valuable hands-on experience, students

For example, recent publications encourage the development of a primer on religion and sexuality, subsequently offering an abbreviated guideline for delivery of health care to

Do vậy để kiểm tra các giả thiết trên và để có protein có độ tinh sạch cao sử dụng trong gây đáp ứng miễn dịch thỏ và làm kháng nguyên trong phương pháp ELISA

We invite unpublished novel, original, empirical and high quality research work pertaining to recent developments & practices in the areas of Computer Science

Data were collected on tort law from 1991 through 2004, and multivariate regression models, including fixed effects for state and year, were used to estimate the effect of changes