12. Detecting Service Violations in Internet and Mobile Ad Hoc Networks
Bharat Bhargava
CERIAS Security Center
CWSA Wireless Center
Department of CS and ECE
Purdue University
bb@cs.purdue.edu
Supported by NSF IIS 0209059, NSF IIS 0242840 ,
NSF CNS 0219110, CISCO, Motorola, IBM
1
Research Team
More information at http://www.cs.purdue.edu/people/bb
2
Motivation
3
Goal
4
Objective
5
Applications/Broad Impacts
6
Scientific Contributions
Privacy preservation in interactions
C. Detecting Service Violations in Internet Network tomography techniques for DoS attacks
Intrusion detection and intruder identification
7
8
A. Trust Formalization
9
Trust Info and Metrics
10
Uncertain Evidence
11
Dynamic Trust
12
Trust Enhanced Role Assignment (TERA) Prototype
13
Prototype and demo are available at
TERA Architecture
14
Trust Enhanced Role Mapping (TERM) Server
15
TERM Server
16
Fraud Formalization and Detection
17
Model Fraud Intentions
18
Model Fraud Intentions
19
Model Fraud Intentions
20
21
B. Privacy-Preserving Collaborations
22
23
C. Detecting Service Violations in Internet
Detecting service violation in networks is the procedure of identifying the misbehaviors of users or operations that do not adhere to network protocols.
24
Topology Used (Internet)
25
A1 spoofs H5’s address to attack V
A3 uses reflector H3 to attack V
H5
Victim, V
Detecting DoS Attacks in Internet
26
*SPIE: Source Path Isolation Engine
27
Approach
28
Methods
29
Monitoring Network Domains
Monitoring by periodic polling or deploying agents in high speed core routers put non-trivial overhead on them
30
Core-assisted loss measurements
a. The monitor sends a query to all edge routers requesting their current rates
b. The monitor computes total incoming rate from all edge
c. The monitor computes the loss ratio as the ratio of the dropped packets and the total incoming rate
d. If the loss ratio exceeds the SLA loss ratio, a possible SLA violation is reported
31
Stripe Unicast Probing [Duffield et al., INFOCOM ’01]
32
Inferring Loss
where Zi binary variable which takes 1 when all packets reached their destination and 0 otherwise
ZR1 ZR2
ZR1 U R2
Ak =
Overlay-based Monitoring�
34
Probing: Simple Method
35
(a) Topology
(b) Overlay
(c) internal links
Congested link
An Example
36
Experiments: Evaluation methodology
37
Congested link
Topology 1
Identified Congested Links
38
(a) Counter clockwise probing
(b) Clockwise probing
Probe46 in graph (a) and Probe76 in graph (b) observe high losses, which means link C4 🡪 E6 is congested.
Time (sec)
Time (sec)
Loss Ratio
Loss Ratio
False Positive (theoretical analysis)
39
if 100 links in the network and 20 of them are congested and 80 are “good”. The basic probing method can identify 15 congestion links and 70 good links. The other 15 are labeled as “unknown”. If all unknown links are treated as congested, 10 good link will be falsely labeled as congested. When the false positive is too high, the available paths that can be chosen by the routers are restricted, thus network performance is impacted.
40
Analyzing Simple Method
41
Performance: Simple Method
Theorem 2. Let p be the probability of a link being congested in any arbitrary overlay network. The simple method determines the status of any link of the topology with probability at least 2(1-p)4-(1-p)7+p(1-p)12
42
Frac of actual congested links
Detection Probability
Advanced Method
AdvancedMethod()
begin
Conduct Simple Method. E is the unsolved equation set
for Each undecided variable Xij of E do
node1 = FindNode(Tree T, vi, IN)
node2 = FindNode(Tree T, vj , OUT)
if node1 ≠ NULL AND node2 ≠ NULL then
Probe(node1, node2). Update equation set E
end if
Stop if no more probe exists
endfor
end
43
Identifying Links: Advanced Method
44
Link E2 🡪 C2, C1 🡪 C3, C3 🡪 C4, and C4 🡪 E6 are congested. Simple method identifies all except E2 🡪 C2. Advanced method finds probe E5🡪E1 to identify status of E2 🡪 C2.
Time (sec)
Loss Ratio
Analyzing Advanced Method
45
Bounds on Advanced Method
46
Frac of actual congested links
Detection Probability
Advanced method uses output of simple method and topology to find a probe that can be used to identify status of an unsolved link in simple method
Experiments: Delay Measurements
47
Cumulative distribution function (cdf)
Delay (ms)
% of traffic
Experiments: Loss measurements
48
(b) Stripe-based
(a) Core-assisted
Core-based measurement is more precise than stripe-based, however, it has high overhead
Time (sec)
Time (sec)
Loss Ratio
Loss Ratio
Attack Scenarios
49
(a) Changing delay pattern due to attack
(b) Changing loss pattern due to attack
Time (sec)
Time (sec)
Delay (ms)
Loss Ratio
Detecting DoS Attacks
50
Overhead comparison
51
(a) Processing overhead
(b) Communication overhead
Percentage of misbehaving flow
Communication overhead in KB
Percentage of misbehaving flow
Processing overhead (CPU cycle)
Observations
52
Observations (Cont’d)
53
Observations (Cont’d)
54
Observations (Cont’d)
55
Observations (Cont’d)
56
Conclusion on Monitoring
57
58
D. Intruder Identification in Ad Hoc Networks
Intruder identification in ad hoc networks is the procedure of identifying the user or host that conducts the inappropriate, incorrect, or anomalous activities that threaten the connectivity or reliability of the networks and the authenticity of the data traffic in the networks
Papers:
“On Security Study of Two Distance Vector Routing Protocols for Mobile Ad Hoc Networks”, in Proceedings of IEEE International Conference on Pervasive Computing and Communications (PerCom), 2003.
“On Vulnerability and Protection of Ad Hoc On-demand Distance Vector Protocol”, in Proceedings of 10th IEEE International Conference on Telecommunication (ICT), 2003.
59
Research Motivation
60
Research Motivation
61
Research Motivation
62
Research Motivation
63
Research Motivation
64
Research Motivation
65
66
Related Work in wired Networks
67
Related Work in wired networks
68
Related Work in wired networks
69
Related Work in Ad Hoc Networks
70
Related Work in Ad Hoc Networks
71
Related Work ongoing projects
72
Related Work ongoing projects
73
Evaluation Criteria
74
Evaluation Criteria - cont.
75
Assumptions
A1. Every host can be uniquely identified and its ID cannot be changed throughout the lifetime of the ad hoc network. The ID is used in the identification procedure.
A2. A malicious host has total control on the time, the target and the mechanism of an attack. The malicious hosts continue attacking the network.
A3. Digital signature and verification keys of the hosts have been distributed to every host. The key distribution in ad hoc networks is a tough problem and deserves further research. Several solutions have been proposed. We assume that the distribution procedure is finished, so that all hosts can examine the genuineness of the signed packets.
A4. Every host has a local blacklist to record the hosts it suspects. The host has total control on adding and deleting elements from its list. For the clarity of the remainder of this paper, we call the real attacker as “malicious host”, while the hosts in blacklists are called “suspected hosts”.
76
Applying Reverse Labeling Restriction to Protect AODV
77
Introduction to AODV
78
Ideas
79
Security Considerations for AODV
“AODV does not specify any special security measures. Route protocols, however, are prime targets for impersonation attacks. If there is danger of such attacks, AODV control messages must be protected by use of authentication techniques, such as those involving generation of unforgeable and cryptographically strong message digests or digital signatures. ”
- http://www.ietf.org/internet-drafts/draft-ietf-manet-aodv-11.txt
80
Message Types in AODV
81
Route Discovery in AODV (An Example)
82
S
D
S1
S2
S3
S4
Route to the source
Route to the destination
Attacks on routing in mobile ad hoc networks
83
Attacks on routing
Active attacks
Passive attacks
Packet silent discard
Routing information hiding
Routing procedure
Flood network
False reply
Wormhole attacks
Route request
Route broken message
Attacks on AODV
84
Impacts of Attacks on AODV
85
| Packet Delivery Ratio | Control packet / data packet |
No Attacks | 96% | 0.38 |
Vicious Flooding | 91% | 2.93 |
False Distance | 75% | 0.38 |
False Destination Sequence | 53% | 0.66 |
Wormhole | 61% | 0.41 |
We simulate the attacks and measure their impacts on packet delivery ratios and protocol overhead
False Destination Sequence Attack
86
S4
S
S1
S2
M
S3
RREQ(D, 3)
RREQ(D, 3)
RREQ(D, 3)
RREQ(D, 3)
RREP(D, 4)
RREP(D, 20)
Packets from S to D are sinking at M.
D
Sequence number 5
During Route Rediscovery, False Destination Sequence Number Attack Is Detected, S needs to find D again.
87
D
S
S1
S2
M
S3
S4
RREQ(D, 21)
(1). S broadcasts a request that carries the old sequence + 1 = 21
(2) D receives the RREQ. Local sequence is 5, but the sequence in RREQ is 21. D detects the false desti-nation sequence number attack.
Propagation of RREQ
Node movement breaks the path from S to M (trigger route rediscovery).
Reverse Labeling Restriction (RLR)
Blacklists are updated after an attack is detected.
88
89
D
S
S1
S2
M
S3
S4
BL {}
BL {S2}
BL {}
BL {M}
BL {S1}
BL {}
INVALID ( D, 5, 21, BL{}, Signature )
Correct destination sequence number is broadcasted.
Blacklist at each host in the path is determined.
S4
BL {}
90
D4
D1
S3
S1
M
D3
S4
S2
D2
M attacks 4 routes (S1-D1, S2-D2, S3-D3, and S4-D4). When the first two false routes are detected, D3 and D4 add M into their blacklists. When later D3 and D4 become victim destinations, they will broadcast their blacklists, and every host will get two votes that M is malicious host.
[M]
[M]
[M]
[M]
Malicious site is in blacklists of multiple destination hosts.
Combine Local Decisions with Knowledge from Other Hosts
91
92
D3
M1
S1
D1
Coordinated attacks by M1, M2, and M3
Multiple attackers trigger more blacklists to be broadcasted by D1, D2, D3.
D2
M2
M3
S2
S3
Acceleration in Intruder Identification
Reverse Labeling Restriction (RLR)
93
Deal With Hosts in Blacklist
94
Attacks of Malicious Hosts on RLR
95
96
97
Experimental Studies of RLR
98
Simulation Parameter
99
Simulation duration | 1000 seconds |
Simulation area | 1000 * 1000 m |
Number of mobile hosts | 30 |
Transmission range | 250 m |
Pause time between the host reaches current target and moves to next target | 0 – 60 seconds |
Maximum speed | 5 m/s |
Number of CBR connection | 25/50 |
Packet rate | 2 pkt / sec |
Experiment 1: Measure the Changes in Packet Delivery Ratio
Purpose: investigate the impacts of host mobility, number of attackers, and number of connections on the performance improvement brought by RLR
Input parameters: host pause time, number of independent attackers, number of connections
Output parameters: packet delivery ratio
Observation: When only one attacker exists in the network, RLR brings a 30% increase in the packet delivery ratio. When multiple attacker exist in the system, the delivery ratio will not recover before all attackers are identified.
100
Increase in Packet Delivery Ratio: Single Attacker
101
X-axis is host pause time, which evaluates the mobility of host. Y-axis is delivery ratio. 25 connections and 50 connections are considered. RLR brings a 30% increase in delivery ratio. 100% delivery is difficult to achieve due to network partition, route discovery delay and buffer.
Increase in Packet Delivery Ratio: Multiple Attackers
102
X-axis is number of attackers. Y-axis is delivery ratio. 25 connections and 50 connections are considered. RLR brings a 20% to 30% increase in delivery ratio.
Experiment 2: Measure the Accuracy of Intruder Identification
Purpose: investigate the impacts of host mobility, number of attackers ,and connection scenarios on the detection accuracy of RLR
Input parameters: number of independent attackers, number of connections, host pause time
Output parameters: false positive alarm ratio, false negative alarm ratio
Observation: The increase in connections may improve the detection accuracy of RLR. When multiple attackers exist in the network, RLR has a high false positive ratio.
103
104
Accuracy of RLR: Single Attacker
| 30 hosts, 25 connections | 30 hosts, 50 connections | ||
Host Pause time (sec) | # of normal hosts identify the attacker | # of normal hosts marked as malicious | # of normal hosts identify the attacker | # of normal hosts marked as malicious |
0 | 24 | 0.22 | 29 | 2.2 |
10 | 25 | 0 | 29 | 1.4 |
20 | 24 | 0 | 25 | 1.1 |
30 | 28 | 0 | 29 | 1.1 |
40 | 24 | 0 | 29 | 0.6 |
50 | 24 | 0.07 | 29 | 1.1 |
60 | 24 | 0.07 | 24 | 1.0 |
The accuracy of RLR when there is only one attacker in the system
Accuracy of RLR: Multiple Attackers
105
| 30 hosts, 25 connections | 30 hosts, 50 connections | ||
# of attackers | # of normal hosts identify all attackers | # of normal hosts marked as malicious | # of normal hosts identify all attackers | # of normal hosts marked as malicious |
1 | 28 | 0 | 29 | 1.1 |
2 | 28 | 0.65 | 28 | 2.6 |
3 | 25 | 1 | 27 | 1.4 |
4 | 21 | 0.62 | 25 | 2.2 |
5 | 15 | 0.67 | 19 | 4.1 |
The accuracy of RLR when there are multiple attackers
Experiment 3: Measure the Communication Overhead
Purpose: investigate the impacts of host mobility and connection scenarios on the overhead of RLR
Input parameters: number of connections, host pause time
Output parameters: control packet overhead
Observation: When no false destination sequence attacks exist in the network, RLR introduces small packet overhead into the system.
106
Control Packet Overhead
107
X-axis is host pause time, which evaluates the mobility of host. Y-axis is normalized overhead (# of control packet / # of delivered data packet). 25 connections and 50 connections are considered. RLR increases the overhead slightly.
Research Opportunities: Improve Robustness of RLR
108
109
110
An Architecture of Intruder Identification Agent
111
112
Conclusions on Intruder Identification
113
Related Ongoing Research
114
1) Detecting Wormhole Attacks
The malicious nodes can eavesdrop the packets, tunnel them to another location in the network, and retransmit them. This generates a false scenario that the original sender is in the neighborhood of the remote location.
115
wireless node 1
wireless node 2
attacker 1
attacker 2
tunnel
116
Classification of Wormholes
117
The Approach: End-to-End Mechanism
118
Validation at the Destination
119
Controlling Overhead: �Cell-based Open Tunnel Avoidance
120
Computation Efficiency
121
Conclusions
122
2) Position-based Private Routing in Ad Hoc Networks
123
Weak Privacy for Traditional Position-based Ad Hoc Routing Algorithm
124
AO2P: Ad Hoc On-Demand Position-based Private Routing
125
AO2P Routing Privacy and Accuracy
126
Privacy Enhancement: R-AO2P
127
Reference point in R-AO2P
Illustrated Results
128
Illustrated Results
129
Conclusions
130
3) Fault Tolerant Authentication in Movable Base Station System
131
Proposed Schemes
132
Virtual Home Agent Scheme
133
VHA ID = IP ADDRESS
Master Home Agent (MHA)
Database Server
Shared Secrets
Database
Backup Home Agents
Other nodes in the network
Advantages of Proposed Scheme
134
Disadvantages of Virtual HA Solution
135
Hierarchical Authentication Scheme
136
Hierarchical Authentication Scheme
137
A
C
B
G
F
E
D
K2
K1
(K1, P1)
(K2, P2)
Database
Database
Hierarchical Authentication Scheme
Key Priority depends on several factors and computed as cumulative sum of weighted priorities of each factors:
Example Factors:
138
4) Congestion Avoidance Routing in Ad Hoc Networks
139
Intermediate Delay (IMD)
140
Ad Hoc Routing Based on IMD
141
B
A
C
D
E
F
H
I
G
J
2P/C
2P/C
P/C
PC
P/C
P/C
P/C
Simplification of delay computation:
Adapt to changes in traffic and network topology
B
A
C
Delay Estimation
142
IEEE 802.11 DCF �(Distributed Coordination Function)
143
E[Tsucc]=TRTS+TCTS+TDATA+TACK+3TSIFS+E[Tbackoff]
E[Tfail]=TRTS+Ttimeout+E[Tbackoff]
SAGA: Self-Adjusting Congestion Avoidance Routing Protocol
144
Experimental Evaluation
145
30 CBR Connections, Low Mobility (4m/s)
146
10 POO Connections, High Mobility (20m/s)
147
Other Related Ongoing Research
148
149
E. Trust-based Privacy Preservation for Peer-to-Peer Data Sharing
Problem statement
150
Proposed solution
151
Related work
152
Related work (2)
153
Related work (3)
154
Privacy measurement
155
Privacy measurement (2)
156
For example, line k represents the states that the requester’s privacy is compromised.
Mitigating collusion
157
Trust based privacy preservation scheme
158
Trust based scheme – Improvement 1
159
Trust based scheme – Improvement 1 – cont.
160
Data transfer procedure after improvement 1
161
R: requester S: supplier
Step 1, 2: R sends out the partial hash code of the data handle
Step 3, 4: S sends the bloom filter of the handles and the public key certificates
Step 5, 6: R sends the data handle and encrypted by the public key
Step 7, 8: S sends the required data encrypted by
Requester Proxy of Supplier
Requester
Trust based scheme – Improvement 2
162
Trust based scheme – Improvement 2
163
Requester Proxy of Proxy of Supplier
Requester Supplier
Trustworthiness of peers
164
Experimental platform - TERA
165
Trust enhanced role assignment architecture (TERA)
166
Conclusion
167
W. Wang, Y. Lu, B. Bhargava, On vulnerability and protection of AODV, CERIAS Tech Report TR-02-18.
B. Bhargava, Y. Zhong, Authorization based on Evidence and Trust, in Proceedings of Data Warehouse and Knowledge Management Conference (DaWak), 2002
Y. Lu, B. Bhargava and M. Hefeeda, An Architecture for Secure Wireless Networking, IEEE Workshop on Reliable and Secure Application in Mobile Environment, 2001
W. Wang, Y. Lu, B. Bharagav, “On vulnerability and protection of AODV”, in proceedings of ICT 2003.
W. Wang, Y. Lu, B. Bhargava, “On security study of two distance vector routing protocols for two mobile ad hoc networks”, in proceedings of PerCOm 2003.
168
Selected References
169
Selected References
170
171