# Cooperative Transmission for Security Enhancement in Clustered Wireless Sensor Networks

Authors: Weiwei Yang; Songqing Wang; Xiaoming Xu
Journal: International Journal of Distributed Sensor Networks
 (2015)

---

## Abstract

We study opportunistic decode-and-forward relaying transmission in cooperative cluster-based wireless sensor networks (WSNs) with secrecy constraints, where a passive eavesdropper may overhear the source message. To deal with this problem, we consider the novel opportunistic relay section cooperative transmission for the cluster configuration of WSNs. The system performance in terms of the secrecy outage probability and the probability of nonzero secrecy capacity are analyzed and the exact closed-form expressions are derived over Rayleigh fading channels. Furthermore, we derive the asymptotic secrecy outage probability which accurately reveals the secrecy diversity order. Finally, numerical results are presented to verify the theoretical analysis and depict that node cooperation has a great potential to enhance physical layer security against eavesdropping.


---

## Body

## 1. Introduction

In recent years, wireless sensor networks (WSNs) have gained worldwide attention for use in different applications, such as military target tracking and surveillance, natural disaster relief, biomedical health monitoring, and industrial automation. Because of the low computational capabilities of wireless motes, their limited battery lifetime, and the broadcast nature of wireless communication, WSNs present significant challenges in designing security schemes [1]. Especially the distribution of the key and the high computational complexity of the traditional cryptographic techniques are at the heart of any security design.In the last decade, physical layer security (PLS) was drawing a lot of attentions as an alternative technique to achieve secure communication by exploiting the physical characteristics of wireless channels. This work was pioneered by Shannon in [2] and further extended by Wyner in [3]. To improve physical layer security of wireless transmissions, some recent works were proposed by exploiting cooperative diversity [4]. The achievable secrecy rates in cooperative relaying schemes using amplify-and-forward (AF) and decode-and-forward (DF) protocols have been investigated in [5–7], respectively. The secrecy outage performance for DF relay beamforming scheme is considered in [8]. Almost all of the above works are under the assumption that the eavesdropper’s channel state information (CSI) is known at the transmitter. Clearly this assumption is sometimes impractical, such as the case of passive eavesdropping, where the instantaneous CSI of the eavesdropper’s channel is not available at the transmitter and only an estimation of the average channel gains can be performed. The authors of [9] have proposed a joint cooperative beamforming and jamming scheme to enhance the security of an AF cooperative relay network without the CSI of eavesdropper. The proposed relay selection scheme in [10] selects a trusted relay to assist the secondary transmitter and maximize the achievable secrecy rate for cooperative cognitive networks. Considering no knowledge of the eavesdropper channels is available at the transmitter, the authors in [11] investigate the secrecy outage performance of conventional relay selection scheme. Specially, [11] only focuses on the high SNR regime where all the relay nodes successfully decode the source transmission. Different from [11], the other secrecy performance, that is, the intercept probability and secrecy diversity order, has been derived for several of AF and DF relay selection schemes without any knowledge of the eavesdropper channels in [12]. However, most of previous works focus on general cooperative communication scenario; thus, the security transmission strategy and analysis framework should be modified a lot in cooperative WSNs. On the other hand, cooperative transmission or virtual MIMO has been explored to increase the energy efficiency and improve the reliability of cluster-based WSNs [13, 14]. To the best of our knowledge, there are very few works making use of cooperative transmission to enhance the wireless security against eavesdropping attack in WSNs. In addition, the above observations raise two questions: (1) can cooperative transmission improve the secrecy performance for cluster-based WSNs? (2) How to design the optimal cooperative transmission scheme to enhance the wireless security for cluster-based WSNs?To address these questions, we study physical layer security transmission in cooperative clustered WSNs in presence of a passive eavesdropper. In order to achieve cooperative diversity to enhance physical layer security, we design a novel opportunistic relay selection cooperative transmission scheme through exploiting the special cluster configuration of WSNs, which includes two time slots: theIntracluster Slot, used for data sharing within the cluster, and theCooperation Slot, used for transmission from the best node chosen in cluster to the date gathering node faraway. Different from the conventional relay selection scheme, our proposed cooperative transmission scheme chooses the best node among the source and the capable decoding nodes considering the special structure of clustered WSNs. The exact closed-form expressions of the secrecy outage probability and the probability of nonzero secrecy capacity for our opportunistic relay selection cooperative transmission are derived over Rayleigh fading channels. Furthermore, we derive the asymptotic secrecy outage probability which accurately reveals the secrecy diversity order performance and shows the secrecy diversity order as N+1, where N is the number of relay nodes. Finally, numerical results are presented to verify the theoretical analysis and depict that node cooperation not only improves the transmission reliability and coverage performance of WSNs but also has a great potential to enhance physical layer security against eavesdropping.


## 2. System and Channel Model

We consider a clustered WSN with sensors grouped in cooperative clusters (see Figure1), similar to [12]. Throughout this paper, we consider that there are one source-destination pair (S and D), one eavesdropper E, and N relays, where all nodes are equipped with a single antenna. Such a scenario has applications in wireless sensor networks [13, 14]. Quasistatic fading has been assumed. hD0 and hE0 denote the channel coefficient between the source and the destination and between the source and the eavesdropper, respectively. hRi, hDi, and hEi (i=1,…,N) denote the channel coefficients between the source and the ith relay, between the ith relay and the destination, and between the ith relay and the eavesdropper, respectively. We assume that hD0, hE0, hRi, hDi, and hEi (i=1,…,N) are the independent Raleigh fading coefficients with average power gains λD0, λE0, λRi, λDi, and λEi, respectively. To simplify the derivation, the received noises at all nodes are assumed as zero-mean additive white Gaussian noise (AWGN) with variance of N0.Figure 1
Cooperative transmission in clustered wireless sensor networks.Clustering of sensor nodes is carried out following the opportunistic DF relaying transmission scheme against eavesdropping attacks. When a sensor node has confidential data to transmit, it first broadcasts these data within its cluster, and the other nodes in the cluster decode the received signals. Next, the source and the decodable nodes as relays will act together and perform opportunistic DF relaying scheme, in which the node with the best SNR to the destination among the source and the decodable relays is selected to retransmit/forward the signal encoded by the widely adopted wiretap code [3]. Noticing that, during the first slot, the source talks to the surrounding relays with low power, whereas the destination and eavesdropper are far away from the source and relays and cannot hear such a transmission, and the eavesdropper only can hear the signals in the second slot. We consider a passive eavesdropper, as such the CSI of the eavesdropper’s channel is not known at the source and relays. Thus, from eavesdropper’s point of view, the optimum node selection for main channel in the second slot is a random node selection for the eavesdropper channel, as the main channel and the eavesdropper channel are uncorrelated.In the first slot, the source node broadcasts its confidential message with the powerP1, and the other nodes in the cluster try to decode the received signal. The instantaneous capacity between the source and the ith relay can be given by
(1)CSRi=12log21+γSRi,
where γSRi=P1hRi2/N0. The capacity is halved because two time slots are required for completing the whole transmission.When the capacity is larger than a targeted secrecy data rateRS, that is, CSRi>RS, Ri is able to decode the received signals successfully [4, 5]. Given N relays, there are 2N possible S-R pair combinations from the full set R=R1,…,RN; thus, the resultant successful decoding set D is given by
(2)D∈ϕ,D1,D2,…,Dn,…,D2N-1,
where ϕ represents an empty set, while Dn is the nth nonempty subset.Without loss of generality, because the source and relays locate in the same cluster and are close to each other, we assume that all subchannels from the source to the relays and from the relays to the destination or the eavesdropper are symmetrical; that is,λRi=λR, λEi=λE, and λDi=λD, for all i=1,…,N. Thus, Pr⁡Ri∈D is exactly the same for all i. Denote the cardinality of the successful decoding set D by D; then, according to the binomial law, we can obtain
(3)Pr⁡D=k=Nk1-exp⁡-θ1γ-SRN-kexp⁡-kθ1γ-SR,
where θ1=22RS-1 and γ-SR=P1λR/N0.In order to reduce complexity but still realize the potential benefits of multiple-relay cooperation for cooperative clustered WSNs, relay selection techniques designed for general cooperative communication scenario in [11] may have emerged as a promising solution. However, different from the conventional relay selection scheme in [11], our proposed cooperative transmission scheme has some modification aiming to the special structure of clustered WSNs. If the decoding set is empty, that is, D=0, since no relay node succeeds in perfectly decoding the received signals, all relays will remain silent and the source retransmits the confidential message with the power P2; if the successful decoding set D is nonempty, the best node among the source and the capable decoding nodes will be chosen to forward or retransmit the confidential message with the power P2. Obviously, our cooperative transmission scheme make use of the clustered architecture of WSNs and can achieve more cooperative diversity gain, which is also verified by the theoretical analysis and simulation results later.Thus, if the source retransmits the confidential message, the corresponding instantaneous channel capacity of theS-D link and S-E link is given, respectively, by
(4)CD0=12log21+γSD,(5)CE0=12log21+γSE,
where γSD=P2hD02/N0 and γSE=P2hE02/N0.If theith relay is selected and forwarded the confidential message, the corresponding instantaneous channel capacity of the Ri-D link and Ri-E link is given, respectively, by
(6)CDi=12log21+γRiD,(7)CEi=12log21+γRiE,
where γRiD=P2hDi2/N0 and γRiE=P2hEi2/N0.Hence, combining4,  5,  6, and 7, the instantaneous secrecy rate is given by [13] as follows:
(8)Cs=CD0-CE0+,ifSretransmitCDi-CEi+,ifRiforward,
where x+ denotes max⁡0,x.


## 3. Exact Secrecy Performance Analysis

The secrecy outage probability is defined as the probability that the achievable secrecy rate is less than a given secrecy transmission rateRS [15]. Based on the data transmission and our proposed relay selection scheme in previous section, using the law of total probability, the SOP can be formulated as
(9)PsoRS=∑k=0NPr⁡D=kPr⁡Cs<RS∣D=k=Pr⁡D=0Pr⁡CD0-CE0+<RS︸Pso1(RS)+Pr⁡D>0Pr⁡CD0-CE0+<RS∣D>0,Sretransmit︸Pso2RS+Pr⁡D>0Pr⁡CDi-CEi+<RS∣D>0,Riforward︸Pso3RS,
where Pso1RS denotes the secrecy outage probability when the decoding set is empty and the source retransmits the confidential message, Pso2RS denotes the secrecy outage probability when the successful decoding set is nonempty but the source is chosen to retransmit the confidential message, and Pso3RS denotes the secrecy outage probability when the successful decoding set is nonempty but the best relay is chosen to forward the confidential message.ForD=0, Pso1RS can be rewritten as
(10)Pso1RS=Pr⁡D=0Pr⁡1+γSD1+γSE<θ2=Pr⁡D=0∫0∞fγSEzFγSDθ21+z-1dz=1-exp⁡-θ1γ-SRN×1-γ-SDθ2γ-SE+γ-SDexp⁡-θ2-1γ-SD,
where γ-SD=P1λD0/N0, γ-SE=P1λE0/N0, and θ2=22RS.ForD=k>0, the source retransmits the confidential message when γSD>γRD=max⁡γR1D,γR2D,…,γRkD. Considering that the CDF of γRD is FγRDx=1-exp⁡-x/γ-RDk, Pso2RS can be rewritten as
(11)Pso2RS=∑k=1NPr⁡D=kPr⁡1+γSD1+γSE<θ2,γSD>γRD=∑k=1NPr⁡D=k∫0∞∫0θ21+γSE-1fγSEγSEFγRDγSDfγSD×γSDdγSDdγSE=∑k=1NNk1-exp⁡-θ1γ-SRN-kexp⁡-kθ1γ-SR×∑m=0k-1mkm×γ-RDγ-RD+mγ-SD1-γ-RDγ-SDθ2γ-SEγ-RD+mγ-SD+γ-RDγ-SD×e-γ-RD+mγ-SD/γ-RDγ-SDθ2γ-RDγ-SDθ2γ-SEγ-RD+mγ-SD+γ-RDγ-SD.On the other hand, forD=k>0, if the ith relay is selected and forwards the confidential message when γSD<γRD=γRiD=max⁡γR1D,γR2D,…,γRkD, then Pso3RS can be rewritten as
(12)Pso3RS=∑k=1NPr⁡D=kPr⁡1+γRiD1+γRiE<θ2,γSD<γRD=∑k=1NNk1-exp⁡-θ1γ-SRN-kexp⁡-kθ1γ-SR×∑n=0kkn-1n×γ-RDexp⁡-(n2RS-1/γ-RD)θ2nγ-RE+γ-RD-γ-RDγ-SDexp⁡-γ-RD+nγ-SD/γ-RDγ-SDθ2θ2γ-REγ-RD+nγ-SD+γ-RDγ-SDγ-RDexp⁡-(n2RS-1/γ-RD)θ2nγ-RE+γ-RD-∑m=0kkm-1mγ-RDγ-RD+mγ-SD×1-γ-RDγ-SDexp⁡-γ-RD+mγ-SD/γ-RDγ-SDθ2θ2γ-REγ-RD+mγ-SD+γ-RDγ-SD∑n=0k.By combining10, 11, and 12, the exact closed-form expressions of the secrecy outage probability are shown as
(13)PoutRS=∑k=0NNk1-exp⁡-θ1γ-SRN-k×exp⁡-kθ1γ-SR∑n=0kkn-1n×γ-RDexp⁡-nθ2/γ-RDθ2nγ-RE+γ-RD-γ-RDγ-SDexp⁡-γ-RD+nγ-SD/γ-RDγ-SDθ2θ2γ-REγ-RD+nγ-SD+γ-RDγ-SD.The secrecy outage probability expression in13 is derived in closed-form and is useful to evaluate the impacts of the transmit power and the number of relays on the secrecy performance of cooperative clustered WSNs.In addition, we note that13 is useful to calculate other secrecy metrics, such as the probability of nonzero secrecy capacity discussed in [15]. As is known, positive secrecy is achievable when the mail link between legitimate users has better propagation conditions than the wiretap link from the legitimate users to eavesdropper. Thus, the probability of nonzero secrecy capacity for our opportunistic relaying transmission scheme is obtained as
(14)PrCS>0=1-Pout0=∑k=0NNk1-e-(θ1/γ-SR)N-ke-(kθ1/γ-SR)∑n=0kkn-1n×γ-RDnγ-RE+γ-RD-γ-RDγ-SDγ-REγ-RD+nγ-SD+γ-RDγ-SD.


## 4. Asymptotic Behavior and Secrecy Diversity Gain

In this section, we turn our attention to the asymptotic analysis to characterize the behavior of secrecy outage probability when the average SNR of the main channel is sufficiently high. The asymptotic result will enable us to explicitly examine the impact of opportunistic relaying transmission on the secrecy performance in terms of the secrecy outage diversity order, which is the slope of the secrecy outage probability curve, describes how fast the secrecy outage probability decreases with the increase of the average SNR.Without loss of generality, letP1=εP2=P, λE0=λEi=λE, and λD0=λDi=λD, for all i=1,…,N. Then, we will investigate the asymptotic behavior of the SOP by two special cases.(
1) Case of
P
→
∞. This case corresponds to the scenario where the nodes in the cooperative WSNs can increase their transmit power significantly. Due to P→∞, γSRi=P1hRi2/N0→∞, which means all the relays can successfully decode the message; that is, D=N. Thus, the secrecy outage probability for P→∞ can be rewritten as
(15)PoutP→∞RS=lim⁡P→∞PoutRS=Pr⁡⁡γRD<γSD<θ2γSE∣D=N+Pr⁡⁡γSD<γRD<θ2γRE∣D=N=Pr⁡max⁡hD12,hD22,…,hDN2<hD02<θ2hE02∣D=N+Pr⁡hD02<max⁡hD12,hD22,…,hDN2<θ2hEi2∣D=N.Considering thathDi2 and hEi2, i=0,…,N, are the independent exponentially distributed variables with parameters λD and λE, respectively, 15 can be computed as
(16)PoutP→∞RS=∑k=0NNk-1kk+11-λDθ2k+1λE+λD+∑k=0NNk-1kλDθ2kλE+λD-N∑l=0N-1N-1l-1ll+21-λDθ2l+2λE+λD.Base on16, it is worthy that increase of transmit power will not always lead to the improvement of secrecy performance, which is significantly different from the traditional wireless communication systems. Obviously, the SOP is independent of the transmit power in the high transmit power, and the secure outage probability is converge to constant values as the performance floors. Thus, the traditional diversity order [16], which characterizes the slope of bit error rate (BER) curve as SNR tends to infinity, is not applicable to measure the secrecy performance.(
2) Case of
λ
R
=
β
λ
D
=
λ
→
∞. This case corresponds to the scenario where the relays are close to the source, which corresponds to the scenario where the source and relays locate in the same cluster, and the destination is located much closer to the relays than the eavesdropper, which is a practical scenario of interest [15]. Due to λR=βλD=λ→∞, γ-SR=P1λR/N0→∞ which means all the relays can successfully decode the message; that is, D=N. For a given λE, the secrecy outage probability in high λ regime can be rewritten as
(17)Poutλ→∞RS=lim⁡λ→∞PoutRS=lim⁡λ→∞Pr⁡γRD<γSD<θ2γSE∣D=N+Pr⁡γSD<γRD<θ2γRE∣D=N=lim⁡λ→∞∫0∞∫0θ2y1-exp⁡-xλDN1λD×exp⁡-xλD1λEexp⁡-yλEdxdy+∫0∞∫0θ2y1-exp⁡-xλDN1-exp⁡-xλDN-1×1λDexp⁡-xλD1λEexp⁡-yλEdxdy.Usinglim⁡z→0⁡1-exp⁡-z=z and lim⁡z→0⁡exp⁡-z=1, we can obtain
(18)Poutλ→∞RS=N+1!θ2N+1λλE-N+1.From18, we can observe that the SOP Pout∞RS behaves as (1/λ)N+1 as λ→∞. To provide an insight into the impact of the number of the relays on secrecy performance, we investigate the generalized secrecy diversity order introduced in [12]. Similar to [12], a generalized secrecy diversity order of our proposed opportunistic relaying transmission scheme can be defined as
(19)dsecure=-lim⁡λ→∞log⁡Poutλ→∞RSlog⁡λ=N+1,
which shows that the secrecy diversity order is the same as the number of nodes in the cooperative cluster including relays and source node, revealing the fact that full secrecy diversity is achieved by the proposed opportunistic relaying transmission scheme. In contrast, by increasing the number of nodes in the cooperative cluster, the SOP will decrease at a faster speed. Therefore, exploiting cooperative transmission can effectively improve the secrecy performance for cluster-based WSNs.


## 5. Numerical Results

This section presents the numerical results to examine the impacts of the average SNRs and the number of relays on the secrecy performance. We see from the figures that the exact curves precisely agree with the simulations, which validate the accuracy of our analytical results. In all cases,RS=0.5bits/s/Hz, and ε=0.1. Most importantly, we compare the secrecy performance of our opportunistic relaying transmission scheme (ORT) with the conventional relay selection scheme (CRS) in [11], which only focuses on the high SNR regime and assumes that all the relay nodes can successfully decode the source transmission.Figure2 depicts the impact of the average SNR γ-=P/N0 on the exact secrecy outage probability and the asymptotic secrecy outage probability according to 13 and 16 with different number of relays N=2,3,4. We see there is a pronounced decrease in the SOP with increasing N. This can be explained by the fact that N exerts an increasing effect on the secrecy diversity order via its proportional contribution. For a given RS, increasing the average SNR γ- leads to a different increase in the shape of the secrecy outage probabilities for different N in low and medium SNR regimes. Specially, as γ-→∞, the curves for different N have the same slope. This is due to the fact that the secrecy performance is limited by the second hop and then converges to constant values as the performance floors. In addition, due to the SOP being independent of the transmit power in the high transmit power, the traditional diversity order [16], as SNR tends to infinity, is not applicable to measure the secrecy performance.Figure 2
Secrecy outage probability versusγ-.In Figure3, the impact of λR=βλD=λ on the SOP with different number of relays N=2,4 is illustrated. We assume that the average SNR γ-=P/N0=1dB, β=10, and λE=1, and the relays are close to the source; that is, λR→∞, which results in all the relay nodes successfully decoding the source transmission similar to [11]. We further plot asymptotic curves to predict the secrecy diversity order. As can be seen from the corresponding curves, the asymptotic analysis efficiently approximates the convergence of the exact secrecy outage probability and this observation validates our analysis for the high λ regime. For a given RS, increasing λ leads to a different increase in the shape of the secrecy outage probabilities for different transmission schemes and different N. In addition, we can see that the secrecy outage probability of our ORT scheme is strictly lower than that of the CRS scheme corresponding to N=2,4, respectively, which can be explained that the achievable secrecy diversity order of our ORT scheme is N+1 rather than N achieved by the CRS scheme without exploiting the source-destination link in the second slot in [11].Figure 3
Secrecy outage probability versusλ.


## 6. Conclusions

In this paper, we investigate the physical layer security in cooperative clustered WSNs in presence of a passive eavesdropper. In order to exploit the cluster configuration of WSNs, we propose the novel opportunistic relay section cooperative transmission to enhance physical layer security. The exact closed-form expression of the secrecy outage probability for the opportunistic decode-and-forward relaying transmission scheme is derived over Rayleigh fading channels. In addition, the asymptotic behavior of the secrecy outage probability and the secrecy diversity order are discussed via two special cases. Both theoretical analysis and numerical results depict that node cooperation not only improves the transmission reliability and coverage performance of WSNs but also has great potential to enhance physical layer security against eavesdropping, and the achievable secrecy diversity order of our opportunistic relaying transmission scheme isN+1 rather than N achieved by the conventional relay selection scheme without exploiting the cluster structure in the second slot in [11].



---

*Source: 751456-2015-07-01.xml*