Docsity

Wavelet Approach to Network Intrusion Detection: Anomaly Detection & Signal Processing, Slides of Electronics engineering

Partial preview of the text

Download Wavelet Approach to Network Intrusion Detection: Anomaly Detection & Signal Processing and more Slides Electronics engineering in PDF only on Docsity!

A Wavelet Approach to Network

Intrusion Detection

Intrusion Detection:

 Provides monitoring of system resources to help detect intrusion and/or identify attacks.

 Complimentary to blocking devices.  Insider attacks.  Attacks that use traffic permitted by the firewall.  Can monitor the attack after it crosses through the firewall.

 Helps gather useful information for  Detecting attackers,  Identifying attackers,  Reveal new attack strategies.

Signature Detection:

 Achieved by creating signatures:  Models of attack  Monitored events compared to models to determine qualification as attacks.  Excellent at detecting known attacks.  Requires the signatures to be created and entered into the sensor’s database before operation.  May generate false alarms (False Positives).  Problem:  Needs a large number of signatures for effective detection.  The database can grow very massive.

Anomaly Detection:

Creates a model of normal use and looks for

activity that does not conform to the model.

Problems with this method:

Difficulty in creating the model of normal activity If the network already had malicious activity on it, is it ‘normal activity’? Some patterns classified as anomalies may not be malicious.

Deploying NIDS

 Points to consider:

 Where do sensors belong in the network?  What is to be protected the most?  Which devices hold critical information assets?

 Cost effectiveness;

 We cannot deploy sensors on all network segments.  Even not manageable.  We need to carefully consider where sensors are to be deployed.

Locations for IDS Sensors

 Just inside the firewall.  The firewall is a bottleneck for all traffic.  All inbound/outbound traffic pass here.  The sensor can inspect all incoming and outgoing traffic.  On the DMZ.  The publicly reachable hosts located here are often get attacked.  The DMZ is usually the attacker’s first point of entry into the network.  On the server farm segment.  We can monitor mission-critical application servers.  Example: Financial, Logistical, Human Resources functions.  Also monitors insider attacks.  On the network segments connecting the mainframe or midrange hosts.  Monitor mission-critical devises.

Monitoring Switched Networks

 Use of Switch Port Analyzer (SPAN) configurations.

 Causes switch to copy all packets destined to a given interface.  Transmits packets to the modified port.

 Use of hubs in conjunction with the switches.

 The hub must be a fault-tolerant one.

 Use of taps in conjunction with the switches.

 Fault-tolerant hub-like devices.  Permit only one-way transmission of data out of the monitoring port.

NIDS Signature Types

These look for patterns in packet payloads

that indicate possible attacks.

Port signatures

Watch for connection attempts to a known or frequently attacked ports.

Header signatures

These watch for dangerous or illogical combinations in packet headers.

TCP Reset Reaction

Operates by sending a TCP reset packet to the

victim host.

This terminates the TCP session.

Spoofs the IP address of the attacker.

Resets are sent from the sensor’s

monitoring/sniffing interface.

It can terminate an attack in progress but

cannot stop the initial attack packet from

reaching the victim.

IP Session Logging

 The sensor records traffic passing between the attacker and the victim.  Can be very useful in analyzing the attack.  Can be used to prevent future attacks.

 Limitation:

 Only the trigger and the subsequent packets are logged.  Preceding packets are lost.

 Can impact sensor performance.

 Quickly consumes large amounts of disk space.

Host-based IDS

 Started in the early 1980s when networks were not do prevalent.

 Primarily used to protect only critical servers

 Software agent resides on the protected system

 Signature based:

 Detects intrusions by analyzing logs of operating systems and applications, resource utilization, and other system activity

 Use of resources can have impact on system performance

HIDS Methods of Operation

 Auditing logs:

 system logs, event logs, security logs, syslog

 Monitoring file checksums to identify changes

 Elementary network-based signature techniques including port activity

 Intercepting and evaluating requests by applications for system resources before they are processed

 Monitoring of system processes for suspicious activity

File Checksum Examination

Detects past activity:

Cannot stop the action that set off the alarm from taking place.

Hashes created only for system files that

should not change or change infrequently.

Inclusion of frequently changing files is a huge

disturbance.

File checksum systems, like Tripwire, may also

be employed.

Network-Based Techniques

The IDS product monitors packets entering

and leaving the host’s NIC for signs of

malicious activity.

Designed to protect only the host in question.

The attack signatures used are not as

sophisticated as those used in NIDs.

Provides rudimentary network-based

protections.