IDS Flashcards

1
Q

What is IDS?

A

“Intrusion Detection System”

Can be seen as the networks anti-virus.

Looks at every bit of data that goes into the network

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the 4 IDS Objectives

A
  1. Detect a variety of intrusions
  2. Analysis in a simple, easy-to-understand format
  3. Detection in timely fashion (within short period of time)
  4. Be accurate (False positives & negatives)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the types of detection?

A

Packet filter - Looks at packets like a bunch of bytes.

Application filter - Knows that there is HTTP, FTF…

Stateful filter - Track connections and their states.

Deep packet inspection -
Analyses entire packet payload instead of just header information, Computationally much more expensive, Used for lawful interception & censorship (The great firewall)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the NIDS placements

A

In-Band NIDS - Between network and node. Possible to silently drop packets. More error prone. Trickier to deploy, may increase network latency

Out-of-Band NIDS - Outside and gets copies. Can be too late when discovered.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the two models of detection?

A

Anomalies & Heuristics (pattern matching)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe heuristics (pattern matching)

A

Operates by using a pre-programmed list of known threats and their indicators of compromise.

Types:
Misuse modelling (rule-based) - Focuses on predefined rules for known attacks or vulnerabilities.

Specification modelling (rule-based) - Concentrates on defining normal or expected behavior, identifying deviations from the norm.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe Anomaly Detection

A

Checks for something that is not right.

Anomaly detection systems (ADS) are either self-learning or learning by example.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are some problems with pattern matching

A

Number of signatures always increase
Network speed increases
Encoding/obfuscation
Should avoid rescanning data and support stream-based scanning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Challanges to IDS

A

No or very few false positives & false negatives

Encrypted traffic

Networks can be too fast

A lot of automated attacks

Failover mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is meant by the Base Rate Fallacy?

A

1% is good but can be bad if the underlying base rate is highly asymmetric.
This must be kept in mind when evaluating IDS performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is meant by ”The base rate fallacy”

A

It refers to the tendancy to ignore relevant statistical information in favor of case-specific information.

Must be kept in mind when evaluating IDS performance.

1% false positives and negatives rate sounds good but can be bad if highly asymmetrical.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are false positives and false negatives?

A

False positives are benign packets that are falsely marked as malicious.

False negatives are the other way around.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the ids data sources

A

Truncated network data
Raw network data
Network flows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Challanges for ADS

A

Hard to model normality

Hard to get training data

Semantic gap between anomaly and actual attack

Not easy to configure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly