Secure IoT Routing Against Attacks
Secure IoT Routing Against Attacks
Department of Computer Science and Engineering, Santa Clara University, Santa Clara, CA, USA
{jjiang2, yhliu}@[Link]
arXiv:2201.06937v1 [[Link]] 18 Jan 2022
Abstract—IPv6 Routing Protocol for Low Power and Lossy and can remain undetected for a longer time, causing long-
Networks (RPL) is an essential routing protocol to enable com- term damage to the network. Despite their impact, existing
munications for IoT networks with low power devices. RPL uses selective forwarding attacks are still lack of flexibility in terms
an objective function and routing constraints to find an optimized
routing path for each node in the network. However, recent of dynamically identifying victim nodes and adjusting packet
research has shown that topological attacks, such as selective forward rates according to the state of the network.
forwarding attacks, pose great challenges to the secure routing On the other hand, there are three major types of defense
of IoT networks. Many conventional secure routing solutions, on mechanisms against selective forwarding attacks on RPL.
the other hand, are computationally heavy to be directly applied The first type is to build a multi-path routing network to
in resource-constrained IoT networks. There is an urgent need
to develop lightweight secure routing solutions for IoT networks. ensure the integrity of information transmission [11]. These
In this paper, we first design and implement a series of advanced mechanisms often require excessive resources to maintain the
selective forwarding attacks from the attack perspective, which backup paths for nodes. The second type is distributed defense
can flexibly select the type and percentage of forwarding packets mechanisms, which deploy a monitor module on individual
in an energy efficient way, and even bad-mouth other innocent nodes [12]. However, these defense mechanisms often lead to
nodes in the network. Experiment results show that the proposed
attacks can maximize the attack consequences (i.e. number of significant extra energy consumption at the monitoring nodes.
dropped packets) while maintaining undetected. Moreover, we In addition, it is challenging to ensure that all the monitoring
propose a lightweight trust-based defense solution to detect and nodes are long-term reliable and honest in reporting their
eliminate malicious selective forwarding nodes from the network. neighbors’ behaviors. The third type is the centralized defense
The results show that the proposed defense solution can achieve mechanisms [13], where a central node is employed to monitor
high detection accuracy with very limited extra energy usage (i.e.
3.4%). and analyze malicious behaviors in the network. Nevertheless,
the central node has to be deployed at a core location in the
Index Terms—Selective forwarding attack, RPL, Routing se- network to ensure coverage across the entire network, and may
curity, IoT, Trust be easily misled by complex bad-mouthing attacks.
In this work, we aim to advance current studies from both
I. I NTRODUCTION the attack and defense perspectives. Specifically, from the
attack aspect, we propose an advanced selective forwarding
With the rapid adoption of Internet of Things (IoT) devices
attack model, which can dynamically launch three types of
around the world [1], many of these devices are resource-
malicious behaviors: (1) flexibly dropping packets from se-
constrained [2]. Since the existing Internet Protocols (IP)
lected types of protocols, (2) adjusting the packet forward
are too complex to be directly implemented on resource-
rate based on the average network packet forward rate to stay
constrained IoT devices [3], the Internet Engineering Task
stealthy, and (3) dynamically selecting specific children nodes
Force (IETF) designs a lightweight IPv6 protocol with a series
for bad-mouthing attacks. Furthermore, these attack behaviors
of core protocols to ensure efficient and secure communica-
can be combined to significantly increase the damages to the
tions, such as IPv6 over Low-power Wireless Personal Area
network and reduce the risk of being detected by state-of-the-
Networks (6LoWPAN) [4] and Routing Protocol for Low
art defense mechanisms.
Power and Lossy Networks (RPL) [5]. In particular, RPL,
Furthermore, from the defense aspect, we propose a novel
as the core routing protocol for resource constrained IoT
centralized trust-based defense mechanism to combat selective
networks, has been adopted by a variety of applications, such
forwarding attacks in RPL networks. Compared to distributed
as healthcare [6], smart grid [7], and smart city [8], etc.
defense mechanisms, the proposed scheme can significantly
Due to its popularity, RPL becomes an attractive attack tar-
save the energy consumption for anomaly detection by de-
get [9]. One attack that can cause massive damage to the RPL
ploying the defense computation only at the root node. Unlike
network is selective forwarding attack [10], where attackers
other centralized defense schemes, the proposed scheme takes
interrupt network data flows by selectively dropping network
advantage of RPL’s tree-based network topology to evaluate
packets. Compared to blackhole attacks which simply drop
the trustworthiness of nodes and avoids the introduction of a
all packets, selective forwarding attacks are more deceptive
trusted third-party node. Furthermore, by carefully designing
† : Corresponding author the detection/notification module, the proposed scheme can
2
effectively balance the trade-off between detection delay and and stability of the network by changing the topology of the
energy consumption. network, such as sinkhole attacks [10], blackhole attacks [13]
The main contributions of this paper are as follows. and selective forwarding attack [18].
• This work proposes an advanced selective forwarding Selective forwarding attack is one of most devastating type
attack with three types of behaviors against RPL network. of attacks [19]–[21], which can cause severe damage to the
Malicious nodes in the proposed attack model cannot network. However, in many of these attacks, the attackers
only flexibly choose the type of packets to drop, but also set a fixed number of dropped packets or blindly attack all
control the packet forward rates dynamically. As a result, data packets, which increases the risk of being detected by
these attackers are able to launch more stealthy attacks to defense mechanisms. In some advanced attacks [10], [12], the
avoid being detected. Furthermore, malicious nodes can proposed attacks interrupt the victim node’s communications
also bad-mouth other normal nodes to cause false alarms by only forwarding RPL control messages while dropping all
in the system. The experiment results show that it can [10] or partial data packets [12]. Different from these existing
effectively evade RPL self-defense mechanism and state- attacks, in this study, the proposed selective forwarding attacks
of-the-art defense mechanisms. can perform more flexible malicious behaviors and even bad-
• This work proposes a novel centralized trust-based de- mouth other innocent nodes to mislead state-of-the-art defense
fense mechanism. In particular, the proposed trust model schemes.
integrates a self-trust value, which reflects a node’s
trustworthiness in its packet forwarding behavior, and B. RPL Network Defenses
a tree-based descendant trust value, which takes ad- The original design of RPL protocol has some basic security
vantage of the RPL network topology to prevent bad- schemes, such as the local and global repair mechanisms [5],
mouthing attacks. Furthermore, the proposed defense which can be triggered by changes of network topology, e.g. a
mechanism is deployed on the root node, which can link failure. However, these basic security repair mechanisms
effectively reduce the total energy consumption caused are far from adequate to resist the rapid evolving security
by distributed anomaly monitoring scheme, and eliminate attacks [22].
the security risks caused by the introduction of third- Beyond the basic repair mechanisms, there are mainly three
party devices. Experiment results show that the proposed categories of defenses. The first type is to establish multiple
scheme achieves high detection accuracy and low energy routing paths for each node to avoid selective forwarding
consumption. attacks. In [11], the authors propose a secure routing protocol
• This work proposes a novel anomaly report mechanism. M-RPL, which establishes a hierarchical cluster network and
Instead of using UDP packets, ICMPv6 control message backup paths for different clusters in the route discovery phase.
is chosen to send information about malicious nodes. In [23], the authors establish a temporary backup path for a
The reporting mechanism only starts when root node node based on its packet delivery ratio. In [24], the authors pro-
detects the malicious behaviors in the network. This pose to use the principle of Packet Replication and Elimination
reporting mechanism cannot only ensure that nodes in the (PRE), through IEEE 802.15.4 Time-Slotted Channel Hopping
network can be notified promptly, but also avoid causing (TSCH) as media access, to create parallel paths from nodes
information broadcast storms. to the root node. Although the multi-path mechanism can
The rest of this paper is organized as follows. Section II effectively resist attacks, due to the introduction of redundant
discusses existing selective forwarding attacks and defense network routes and extra resources to maintain the backup
mechanisms in RPL networks. Section III introduces pre- paths, these defense schemes often cause significant increases
liminaries of the RPL protocol. Section IV and V discuss in nodes’ energy consumption.
the proposed selective forwarding attack and the defense The second type of defenses is distributed defense mech-
mechanism in details. The results of the experiment are given anisms that build monitor module on each network node.
in Section VI, followed by a conclusion in Section VII. Due to its easy implementation, this type of defenses is the
most popular one. In [12], [25], [26], the authors propose
various distributed trust-based mechanisms, where each indi-
II. RELATED WORK
vidual node monitors its neighbors’ incoming and forward-
A. Selective Forwarding Attacks in RPL Networks ing traffic and calculates their trust values. In [27], [28], a
RPL network faces a variety of security threats, which distributed, collaborative and layered trust-based IDS (T-IDS)
are mainly divided into three categories [14], [15]. The first and a Metric-based RPL Trustworthiness Scheme (MRTS) are
type of attack is resource attack, such as flooding attacks proposed respectively, where each node monitors and cooper-
[16] and increased rank attacks [17]. In these attacks, the ates with its neighbors to detect and report intrusions. These
attacker aims to exhaust the victim node’s energy and reduce distributed mechanisms, however, have to be deployed on each
its lifetime by misleading it to execute a large number of IoT nodes, leading to significant extra energy expenditure.
unnecessary instructions. The second type of attack is traffic On the other hand, it also presents a new challenge, as how
attack, such as sniffing attacks [14] and identity attacks [10], resource-constrained nodes can provide long-term reliable and
where the attacker’s main goal is to eavesdrop or manipulate honest reports on their neighbors’ behaviors.
the network’s traffic. The third type of attack is network The third type is centralized defense mechanisms. In [13],
topology attack where the attacker undermines the security the authors use a SVELTE intrusion detection system (IDS),
3
Algorithm 3: Bad-mouthing
Input: P acket (the Struct of IPv6 packet that need to
be forwarded), Nm (the Struct of malicious
node), F̄ ∆t (Estimated neighbor’s average
PFR), ChList (list of children nodes),
N umV ict (number of victim children nodes)
1 sort ChList in ascending order of PFR;
2 for n = 0; n ≤ N umV ict; n + + do
3 if P [Link] acAddr = ChList[n].M acAddr
and P [Link] acAddr = Nm .M acAddr
and FChList[n] >= F̄ ∆t then
4 Drop packet;
5 break;
6 end Fig. 2: Packet Propagation in the Proposed System
7 end
model binary events. In our case, we consider whether a node
can successfully forward a packet or not as a random binary
event. Then based on the prior observations on the number of
V. L IGHTWEIGHT T RUST- BASED D EFENSE S CHEME successful and failed packet forwarding events, the probability
In this section, we propose a lightweight trust-based defense of this node to successfully forward the next packet can be
scheme, which is deployed on the root-node, against selective estimated as the expected value of the beta distribution, as
forwarding attacks, as shown in Figure 2. The input for the shown in equation (3), where S and L represent the number
defense scheme is the data packets received from non-root of packets successfully sent or lost by node ni , respectively.
nodes. The defense scheme includes three major modules. The S+1
detection module analyzes the trust value of each node based Tis = (3)
(S + L + 2)
on the received data packets, whose propagation path is shown
by the solid black line in Figure 2. After malicious nodes From equation (3), we can observe that a node’s self-trust
(e.g. node 4 in Figure 2) are identified, the notification module value increases when more packets are successfully forwarded,
encapsulates such information in DIO packets and notifies all or drops when more packets are lost.
the nodes in the network, as indicated by the brown dashed However, the basic beta-based trust model cannot capture
line in Figure 2. In the isolation module, children nodes of alternative behavior attacks [34], where malicious nodes alter-
the identified malicious nodes (e.g. node 7 in Figure 2) can natively perform good behaviors to accumulate high trust val-
isolate the malicious nodes and re-select their parent nodes ues and bad behaviors to interrupt network traffic. To prevent
based on received DIO messages. For example, the changed such attacks, we propose to introduce temporal information to
propagation path of data packets from node 7 is shown as the discount a node’s packet forwarding behaviors performed long
blue dashed line in Figure 2. time ago. Specifically, we introduce a discounting factor f to
In the rest of this section, we first introduce the design of the gradually forget a node’s behavior over time, so that a behavior
trust model, which is the core of the proposed defense solution. with a smaller discounting factor indicates a lower influence
Then, we discuss each module of the proposed scheme in on the node’s trust value. The calculation of the discounting
details. factor for the k th behavior of a node is shown below.
fk = e−λ(q−k) (4)
A. Trust Evaluation Model where q represents the total number of behaviors performed
An advanced trust model is designed to evaluate the by the node so far, including both successful and failed
anomaly of each node’s behavior. In a RPL network, the root forwarding behaviors; and (q − k) represents the total number
node tracks the behaviors of each individual node ni and of behaviors performed after behavior k. In other words, each
dynamically calculates the trust value, which is denoted as time when a node performs a new behavior, all previous
Ti . The trust value falls in the range from zero to one. When behaviors will have their (q − k) value increased by 1,
a node’s trust value is below a trust threshold δ, it will be resulting in a smaller discounting factor. Please note that the
identified as a malicious node. latest behavior will always have its ∆k = 0, leading to its
In the proposed trust model, the overall trust value Ti of a discounting factor value as 1. In addition, the forgetting speed
node ni is composed of two parts: a self-trust value Tis , which λ is a constant value. A larger λ value will result in a smaller
is to capture failures of packet forwarding, and a tree-based discounting factor and thus a higher forgetting speed.
descendant trust value Tid , which is to capture bad-mouthing More importantly, to punish bad behaviors further, we
attacks. propose to design an asymmetric trust model so that past good
1) Self-trust Value: The proposed scheme adopts the Beta behaviors can be quickly forgotten while past bad behaviors
trust model [33] as its basis. Beta distribution is a family will be remembered for a longer time. To achieve this goal,
of continuous probability distributions that are often used to two different λ values (i.e. λg and λb ) are adopted to separately
6
discount past good and bad behaviors respectively, where between nodes are encrypted, meaning that malicious nodes on
λg > λb . Therefore, the self-trust value of node i with q the routing path cannot change the content of the transmitted
s
behaviors (i.e. Ti,q ) is calculated as follows. data information. Second, all data messages generated by non-
Pq root nodes are transmitted through the root node to the external
k=1 ak fk,g +1
s
Ti,q = Pq Pq (5) network (e.g. the Internet). This is a reasonable assumption for
k=1 (1 − ak )fk,b + k=1 ak fk,g + 2 most RPL networks [10], [35].
In equation (5), ak value is 1 if behavior k is good, or 0 if Current RPL protocol does not support the root node to
behavior k is bad. record and track the packets sent by non-root nodes. To address
2) Tree-based Descendant Trust Value: Due to the re- this challenge, we introduce a sequence number, which is
stricted hierarchical structure of RPL networks, only parent stored in the first byte of the data payload sent by each node.
nodes will forward data packets for their children nodes. It is In particular, the sequence number is increased by one each
very easy for a malicious parent node to control the packet time when the source node sends out a packet. The root node
transmissions of one of its children nodes to launch bad- estimates the packet forward rate for each source node based
mouthing attacks against this child. By only considering self- on the number of received data packets and the corresponding
trust value, the victim child node’s trust will drop while the sequence numbers.
malicious parent’s trust value remains the same. To further In addition, since frequently calculating the trust value for
defeat such attacks, we propose to also introduce a tree-based each node greatly increases the workload of the root node, we
descendant trust value for each node, which considers the trust introduce a sliding time window. The root node only calculates
value of its direct descendants. The descendant trust value Tid the trust value of each node once in each sliding time window.
is defined as follows. The length of the window can be determined according to the
P network status, such as the battery capacity of the root node
d
(wj Tjs )
Ti = (6) and the sensitivity of the trust value.
Ci By calculating the trust value of each node, the root node
where Tjs is the self-trust value of node ni ’s child node nj . can identify the possible malicious nodes according to Al-
Parameter wj represents the weight of the child node nj , which gorithm 4. Confirmed malicious nodes will be added to the
is determined by the number of data packet received by nj per “blacklist”. However, because the nodes may suffer from bad-
time period. The greater number of data packets received by mouthing attacks from their parent nodes, it may lead to high
nj means larger weight assigned to node nj . In addition, Ci false alarm rate if we directly add all nodes with low trust
denotes the total number of packets received by node ni . values to the “blacklist”.
Please note that in the proposed scheme, a node’s descen- To reduce the false alarm rate caused by bad-mouthing
dent trust value only depends on its children’s self-trust value. attacks, we propose to add a “watchlist” and a trust recovery
Since RPL is a tree-like network, if a node’s descendent trust time period. When the trust value of a node is lower than the
value also considers its children’s descendent trust values, threshold for the first time, it will be added to the “watchlist”
it will lead to a recursive counting, where leaf nodes’ trust as a suspicious node. If a suspicious node is required to change
values are over-emphasized. Since the descendant trust value its parent for further investigation, the root node will reset a
is mainly designed to prevent bad-mouthing attacks, which recovery timer and track if the suspicious node’s trust value
can only effectively attack children nodes, we propose to not can recover after the parent change action. Please note that
recursively count it. the length of the recovery timer can be determined according
When the malicious node bad mouth any of its children to the specific network status. A longer timer leads to longer
nodes, its own descendant trust value will be decreased. More- detection delay but lower false alarm rate. Within the recovery
over, the descendant trust value will significantly decrease if time period, if the trust value of the suspicious node recovers
the number of the victim children nodes increases. back to the threshold, indicating that changing its parent node
3) Aggregated Trust Value: Finally, the aggregated trust stops the anomaly, this node is considered as a normal node.
value Ti of the node ni is the combination of the self-trust Then its parent will be identified as the malicious node and
value Tis and the descendant trust value Tid . The calculation added to the “blacklist”. Otherwise, the suspicious node is
of the aggregated trust value is shown below. identified as a malicious node and moved to the “blacklist”.
Ti = ws Tis + wd Tid (7)
C. Notification Module
where ws and wd are the weights for self-trust value and
descendant trust value. This aggregated trust value will serve After a malicious node is identified, the root node needs a
as the major criteria to identify suspicious nodes in the reliable way to notify all the children nodes of the malicious
network. node while avoiding information storms. This is challenging
since the RPL network follows a strict tree-like topology for
data packet forwarding, and a node can only receive data
B. Detection Module packets from its parent. It means that if data packets are used
In this section, we present the detection module, which in- to disseminate the notifications, these packets will be simply
volves the above proposed trust model as its core. Specifically, dropped by malicious nodes and never reach their children
we make two assumptions. First, the data messages transmitted nodes.
7
A. Experiment Set Up
This work adopts Cooja, which is a network simulator of most recent PFR. In the third scheme (i.e. def scheme), since
Contiki OS [36], as our experimental platform. Specifically, the default RPL security scheme allows a node to re-select its
fifteen nodes are randomly deployed in the experiments as parent node when network failures (e.g. link failure and node
shown in Figure 4, including a root node (i.e. node 1), failure) are detected, the root node identifies malicious nodes
eleven legitimate non-root nodes (i.e. node 2 to node 11) by checking whether a node is discarded by its children.
and three malicious nodes (i.e. node 12 to node 14). Min- The effectiveness of proposed attack model is illustrated
imum Rank with Hysteresis Objective Function (MRHOF) in Figure 5. In all sub-figures of Figure 5, the def scheme
is selected as the objective function, where children nodes shows the lowest performance with 0.44 average AUC. This
select their preferred parents according to ranks and Expected is because the proposed attacks only drop data packets, which
Transmission Count (ETX) values. The simulation parameters rarely cause failures in network routing. Although avg scheme
are summarized in TABLE I. and rec scheme show slightly better performances (with an
Based on the experiments, the performance of the proposed average AUC as 0.70 and 0.65 respectively in Figure 5 (a)-
attack and defense scheme are tested and then compared with (b)), their performances significantly drop (with an average
other state-of-the-art works. Specifically, this work adopts AUC as 0.36) when the proportion of bad-mouthing attacks
receiver operating characteristic (ROC) curve as the major increases to above 75%, as shown in Figure 5 (c)-(d). This
performance metric because it can effectively reflect the trade- is because these two schemes consider a node with low PFR
off between the detection rate and the false alarm rate when (i.e. either average PFR or the most recent PFR) as a malicious
different thresholds are adopted. In each ROC curve, the x-axis node, which can be taken advantage by bad-mouthing attacks
and y-axis represent the detection rate and false alarm rate, to frame up the victim nodes.
respectively. The area under ROC curve (AUC) represents the
accuracy. Larger area under the curve (i.e. the higher the AUC
C. Performance of Proposed Defense Modules
value) indicates better performance.
In this sub-section, we evaluate the effectiveness of each
critical strategy proposed for the defense scheme. In particular,
B. Performance of Proposed Attacks these strategies include (1) discounting factor, (2) asymmetric
In this experiment, malicious nodes may either selectively forgetting speed, and (3) integration of self-trust and de-
drop the victim node’s data packets based on their perceived scendant trust. Furthermore, the proposed attack models are
average network PFR, or launch bad-mouthing attacks against launched with 50% selective forwarding behaviors and 50%
a specific child node. To illustrate the impact of different bad-mouthing behaviors.
attacks, the ratio of bad-mouthing attacks to the total number 1) Effectiveness of Discounting Factor: In this subsection,
of attacks in the network is divided into four cases, 25%, 50%, λg and λb are set as the same value λ. By changing the values
75% and 100%. of λ, Figure 6 illustrates its impact on the performance of
The performance of the proposed attacks is evaluated the proposed defense scheme. Specifically, four different λ
against three defense schemes. In the first two schemes, the values (i.e. 0, 0.3, 0.8, 100) are applied so that the discounting
root node identifies the malicious nodes by comparing the PFR factor fk ranges in the interval [0, 1]. From Figure 6, it can be
of each non-root node with a threshold value. The nodes with observed that the defense scheme shows the best performance
lower PFR are identified as malicious. The difference is that (e.g. AUC = 0.630) when λ = 0.3.
the first scheme (i.e. avg scheme) uses a node’s average PRF, Specifically, when λ = 100, fk = e−λ(q−k) = e−100(q−k) ,
while the second scheme (i.e. rec scheme) uses only a node’s which is approximately 0 for any q − k > 0. It indicates
9
1.0 Savg (AUC 0.431) 1.0 Savg (AUC 0.603) 1.0 1.0
Sdef (AUC 0.450) Sdef (AUC 0.430)
0.8 Srec (AUC 0.423)
0.8 Srec (AUC 0.567)
0.8 0.8
Detection Rate
Detection Rate
Detection Rate
Detection Rate
0.6 0.6 0.6 0.6
0.4 0.4 0.4 λb = 0, λg = 0.1, AUC = 0.671 0.4 λb = 0, λg = 0.2, AUC = 0.758
λb = 0.1, λg = 0.2, AUC = 0.664 λb = 0.1, λg = 0.3, AUC = 0.709
0.2 0.2 0.2 λb = 0.2, λg = 0.3, AUC = 0.671 0.2 λb = 0.2, λg = 0.4, AUC = 0.679
λb = 0.3, λg = 0.4, AUC = 0.632 λb = 0.3, λg = 0.5, AUC = 0.659
λb = 0.4, λg = 0.5, AUC = 0.626 λb = 0.4, λg = 0.6, AUC = 0.628
0.0 0.0 0.0 0.0
0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0
False Alarm Rate False Alarm Rate False Alarm Rate False Alarm Rate
(a) 25% bad mouthing attacks (b) 50% bad mouthing attacks (a) offset = 0.1 (b) offset = 0.2
Detection Rate
Detection Rate
Detection Rate
Detection Rate
0.4 0.4 0.4 λb = 0, λg = 0.3, AUC = 0.754 0.4 λb = 0, λg = 0.4, AUC = 0.734
λb = 0.1, λg = 0.4, AUC = 0.705 λb = 0.1, λg = 0.5, AUC = 0.706
Savg (AUC 0.799)
0.2 0.2 0.2 λb = 0.2, λg = 0.5, AUC = 0.680 0.2 λb = 0.2, λg = 0.6, AUC = 0.674
Sdef (AUC 0.418) λb = 0.3, λg = 0.6, AUC = 0.643 λb = 0.3, λg = 0.7, AUC = 0.666
Srec (AUC 0.728) λb = 0.4, λg = 0.7, AUC = 0.631 λb = 0.4, λg = 0.8, AUC = 0.639
0.0 0.0 0.0 0.0
0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0
False Alarm Rate False Alarm Rate False Alarm Rate False Alarm Rate
(c) 75% bad mouthing attacks (d) 100% bad mouthing attacks (c) offset = 0.3 (d) offset = 0.4
Fig. 5: Performance of the proposed attack model against three Fig. 7: Effectiveness of asymmetric forgetting speeds. Offset
defense schemes. Savg , Sdef and Srec represents avg scheme, represents the difference between forgetting speeds λb and λg .
def scheme and rec scheme, respectively.
1.0 1.0
0.8 0.8
Detection Rate
Detection Rate
0.6 0.6
Fig. 8: Comparison of effectiveness of combination of two Fig. 9: Comparison of performance of different scheme based
trust factors on proposed attack model
9 4.0
where the sum of ws and wd equals one. The values of ws
and wd are in the range of [0.1, 0.9] with the step interval as 8
Power Consumption
3.5
Detection Delay
root nodes do not need to monitor neighbor nodes’ activities, descendant trust value based on the RPL tree-like topology.
but only forward notification packets on detected malicious Experimental results show that compared to the state-of-the-art
nodes. defense solutions, the proposed defense scheme can effectively
On the other hand, the HP and TPRP schemes are causing detect advanced proposed attacks with very limited energy
extra 50% and 957% power respectively when compared to consumption.
the default MRHOF scheme. Although the HP scheme also
adopts a centralized defense mechanism, it frequently launches R EFERENCES
a “request and reply” process between the root node and non- [1] K. Rose, S. Eldridge, and L. Chapin, “The internet of things: An
root nodes, which increases power consumption. Furthermore, overview,” The internet society (ISOC), vol. 80, pp. 1–50, 2015.
the power consumption of TPRP scheme is the highest due [2] F. Pereira, R. Correia, P. Pinho, S. I. Lopes, and N. B. Carvalho, “Chal-
lenges in resource-constrained iot devices: Energy and communication
to its distributed design, which requires each non-root node as critical success factors for future iot deployment,” Sensors, vol. 20,
in the network to monitor, analyze, and share the activities of no. 22, p. 6420, 2020.
its neighbors. These requirements significantly increase extra [3] B. Marques and M. Ricardo, “Energy-efficient node selection in
work time and computational costs for each node, leading to application-driven wsn,” Wireless Networks, vol. 23, no. 3, pp. 889–918,
2017.
much higher power consumption. [4] A. Le, J. Loo, A. Lasebae, M. Aiash, and Y. Luo, “6lowpan: a study
The detection delay is calculated based on only the suc- on qos security threats and countermeasures using intrusion detection
system approach,” International Journal of Communication Systems,
cessful detection of each scheme. In other words, if a de- vol. 25, no. 9, pp. 1189–1212, 2012.
tection scheme can only detect two malicious nodes out of [5] T. Winter, P. Thubert, A. Brandt, J. W. Hui, R. Kelsey, P. Levis, K. Pister,
three, the detection delay is the average delay of the two R. Struik, J.-P. Vasseur, R. K. Alexander et al., “Rpl: Ipv6 routing
protocol for low-power and lossy networks.” rfc, vol. 6550, pp. 1–157,
successful detection. As shown in Figure 10, the MRHOF and 2012.
HP schemes show small detection delay, which, however, is [6] F. Gara, L. B. Saad, R. B. Ayed, and B. Tourancheau, “Rpl protocol
calculated based on the very limited malicious nodes that can adapted for healthcare and medical applications,” in 2015 International
wireless communications and mobile computing conference (IWCMC).
be detected. Furthermore, there is a relatively large variation in IEEE, 2015, pp. 690–695.
the detection delay of the HP scheme. This is because the HP [7] J. Nassar, M. Berthomé, J. Dubrulle, N. Gouvy, N. Mitton, and
scheme relies on the exchange of “request-reply” messages to B. Quoitin, “Multiple instances qos routing in rpl: Application to smart
grids,” Sensors, vol. 18, no. 8, p. 2472, 2018.
detect anomaly. The detection delay may vary based on the [8] S. Junior, A. Riker, B. Silvestre, W. Moreira, A. Oliveira-Jr, and
frequency of the request messages. A higher frequency may V. Borges, “Dynasti—dynamic multiple rpl instances for multiple iot
lead to smaller detection delay, but higher power consumption. applications in smart city,” Sensors, vol. 20, no. 11, p. 3130, 2020.
[9] P. Pongle and G. Chavan, “A survey: Attacks on rpl and 6lowpan in
In addition, the proposed scheme yields similar detection iot,” in 2015 International conference on pervasive computing (ICPC).
delay as the TPRP scheme, but a larger variation. This is IEEE, 2015, pp. 1–6.
because in the TPRP scheme, rather than relying on notifi- [10] L. Wallgren, S. Raza, and T. Voigt, “Routing attacks and counter-
measures in the rpl-based internet of things,” International Journal of
cations from the root node, each node directly monitors its Distributed Sensor Networks, vol. 9, no. 8, p. 794326, 2013.
neighbors’ behaviors, resulting in a relatively stable delay. The [11] G. Ma, X. Li, Q. Pei, and Z. Li, “A security routing protocol for internet
proposed scheme, however, can only detect anomaly when the of things based on rpl,” in 2017 International Conference on Networking
and Network Applications (NaNA). IEEE, 2017, pp. 209–213.
data packets arriving at the root node show abnormal patterns, [12] D. Airehrour, J. Gutierrez, and S. K. Ray, “A trust-aware rpl routing
which may vary according to the network’s data rate and the protocol to detect blackhole and selective forwarding attacks,” Journal
source node’s network location. of Telecommunications and the Digital Economy, vol. 5, no. 1, pp. 50–
69, 2017.
In summary, compared to the state-of-the-art defense [13] S. Raza, L. Wallgren, and T. Voigt, “Svelte: Real-time intrusion detection
schemes, the proposed scheme yields much higher detection in the internet of things,” Ad hoc networks, vol. 11, no. 8, pp. 2661–
accuracy (i.e. 10% higher than the second highest one) and 2674, 2013.
[14] A. Mayzaud, R. Badonnel, and I. Chrisment, “A taxonomy of attacks in
lower energy consumption (i.e. 31% lower than that of the rpl-based internet of things,” International Journal of Network Security,
second lowest one). Although its detection delay is higher vol. 18, no. 3, pp. 459–473, 2016.
than other schemes (i.e. the MRHOF and HP schemes), it [15] Z. A. Almusaylim, A. Alhumam, and N. Jhanjhi, “Proposing a secure rpl
based internet of things routing protocol: a review,” Ad Hoc Networks,
is practical to be applied in a low power low data rate RPL vol. 101, p. 102096, 2020.
network. [16] A. Le, J. Loo, Y. Luo, and A. Lasebae, “The impacts of internal threats
towards routing protocol for low power and lossy network performance,”
in 2013 IEEE Symposium on computers and communications (ISCC).
VII. C ONCLUSION IEEE, 2013, pp. 000 789–000 794.
[17] W. Xie, M. Goyal, H. Hosseini, J. Martocci, Y. Bashir, E. Baccelli, and
In RPL networks, malicious nodes can damage routing A. Durresi, “Routing loops in dag-based low power and lossy networks,”
paths by selectively dropping packets. In this paper, we in 2010 24th IEEE International Conference on Advanced Information
Networking and Applications. IEEE, 2010, pp. 888–895.
propose an advanced selective forwarding attack with three [18] F. Gara, L. B. Saad, and R. B. Ayed, “An intrusion detection system
flexible attack behaviors, including protocol selection, packet for selective forwarding attack in ipv6-based mobile wsns,” in 2017
forward rate selection and bad-mouthing with children nodes 13th International Wireless Communications and Mobile Computing
Conference (IWCMC). IEEE, 2017, pp. 276–281.
selection. The flexibility enables the malicious nodes to hide [19] Y. Hu, Y. Wu, H. Wang et al., “Detection of insider selective forwarding
their attack behaviors and maximize the long term attack attack based on monitor node and trust mechanism in wsn,” Wireless
impact. Furthermore, we propose a new centralized trust-based Sensor Network, vol. 6, no. 11, p. 237, 2014.
[20] A. Mathur, T. Newe, and M. Rao, “Defence against black hole and
defense scheme, which consists of a self-trust based on the selective forwarding attacks for medical wsns in the iot,” Sensors,
beta trust model with asymmetric forgetting speeds, and a vol. 16, no. 1, p. 118, 2016.
12