Machine learning finds rich applications in Internet of Things (IoT) networkssuch as information retrieval, traffic management, spectrum sensing, and signalauthentication. While there is a surge of interest to understand the securityissues of machine learning, their implications have not been understood yet forwireless applications such as those in IoT systems that are susceptible tovarious attacks due the open and broadcast nature of wireless communications.To support IoT systems with heterogeneous devices of different priorities, wepresent new techniques built upon adversarial machine learning and apply themto three types of over-the-air (OTA) wireless attacks, namely jamming, spectrumpoisoning, and priority violation attacks. By observing the spectrum, theadversary starts with an exploratory attack to infer the channel accessalgorithm of an IoT transmitter by building a deep neural network classifierthat predicts the transmission outcomes. Based on these prediction results, thewireless attack continues to either jam data transmissions or manipulatesensing results over the air (by transmitting during the sensing phase) to foolthe transmitter into making wrong transmit decisions in the test phase(corresponding to an evasion attack). When the IoT transmitter collects sensingresults as training data to retrain its channel access algorithm, the adversarylaunches a causative attack to manipulate the input data to the transmitterover the air. We show that these attacks with different levels of energyconsumption and stealthiness lead to significant loss in throughput and successratio in wireless communications for IoT systems. Then we introduce a defensemechanism that systematically increases the uncertainty of the adversary at theinference stage and improves the performance. Results provide new insights onhow to attack and defend IoT networks using deep learning.
Quick Read (beta)
IoT Network Security from the Perspective of Adversarial Deep Learning
Machine learning finds rich applications in Internet of Things (IoT) networks such as information retrieval, traffic management, spectrum sensing, and signal authentication. While there is a surge of interest to understand the security issues of machine learning, their implications have not been understood yet for wireless applications such as those in IoT systems that are susceptible to various attacks due the open and broadcast nature of wireless communications. To support IoT systems with heterogeneous devices of different priorities, we present new techniques built upon adversarial machine learning and apply them to three types of over-the-air (OTA) wireless attacks, namely jamming, spectrum poisoning, and priority violation attacks. By observing the spectrum, the adversary starts with an exploratory attack to infer the channel access algorithm of an IoT transmitter by building a deep neural network classifier that predicts the transmission outcomes. Based on these prediction results, the wireless attack continues to either jam data transmissions or manipulate sensing results over the air (by transmitting during the sensing phase) to fool the transmitter into making wrong transmit decisions in the test phase (corresponding to an evasion attack). When the IoT transmitter collects sensing results as training data to retrain its channel access algorithm, the adversary launches a causative attack to manipulate the input data to the transmitter over the air. We show that these attacks with different levels of energy consumption and stealthiness lead to significant loss in throughput and success ratio in wireless communications for IoT systems. Then we introduce a defense mechanism that systematically increases the uncertainty of the adversary at the inference stage and improves the performance. Results provide new insights on how to attack and defend IoT networks using deep learning.
Machine learning has been successfully applied in diverse areas such as image processing, natural language processing (NLP), and autonomous driving. Emerging hardware resources have increased the computing power and thus the amount of training data that can be processed by machine learning has grown significantly. In particular, deep learning that corresponds to training sophisticated structures of deep neural networks has achieved significant progress in improving the decision making for various detection, classification, and prediction tasks. Consequently, machine learning can make better decisions such as recognizing human face, understanding natural language (including social media that may not exactly follow grammar rules), recognizing traffic signals for self-driving cars, and beating professional gamers in traditional games (e.g., Google’s AlphaGo ) and computer games .
Internet of Things (IoT) systems rely on various detection, classification, and prediction tasks [3, 4] to learn from and adapt to the underlying spectrum environment characterized by heterogeneous devices, different priorities, channel, interference, and traffic effects. Machine learning has emerged as a powerful tool to perform these tasks in an automated way by learning from the complex patterns of the underlying wireless communication dynamics. Examples of machine learning applied to wireless communications include modulation recognition , spectrum sensing [6, 8, 7], interference management , and routing . IoT systems can benefit from cognitive radio capabilities (potentially empowered by machine learning) for efficient use of limited spectrum resources available to IoT applications .
Recently, there has been a surge of efforts to apply machine learning to wireless security, including spoofing attacks , jamming attacks on data transmission [13, 14], and other attacks that target spectrum sensing  and signal classification  tasks. In particular, IoT system security benefits from machine learning to identify devices [18, 17], authenticate signals , and detect anomalies . With growing applications of machine learning, it is necessary to understand the underlying security threats that target machine learning itself. Adversarial machine learning has emerged as a field to systematically analyze the security implications of machine learning in the presence of adversaries [21, 22, 23]. Traditionally applied to data domains other than wireless communications, various attacks studied by adversarial machine learning include the following.
Causative (or poisoning) attack where the adversary aims to provide incorrect training data for a machine learning algorithm to (re)train itself .
These attacks can be launched separately or combined, e.g., causative and evasion attacks can be launched building upon the inference results of an exploratory attack . These attacks have been broadly applied against image and text classifiers [29, 30, 31].
We present the application of adversarial machine learning in IoT systems by mapping the techniques developed for exploratory, evasion and causative attacks to different wireless attacks, namely jamming, spectrum poisoning and priority violation attacks in IoT networks. Adversarial deep learning was applied in the test phase to jamming the data transmission phase in [13, 14] and jamming the spectrum sensing phase in . In this paper, we use these attacks as benchmarks and extend them to the (re)training phase to improve energy efficiency and stealthiness of these attacks. We add the new attack of priority violation built upon adversarial deep learning.
The main difference of these attacks from the conventional wireless attacks (such as jamming, e.g., [32, 33, 34]) is that the adversary directly targets the machine learning algorithm (such as the one for spectrum sensing) used in IoT communications. As the first step, the adversary senses the spectrum and infers the transmission outcomes of an IoT device by monitoring the presence of transmission acknowledgements (ACKs) over the channel. One important difference between the traditional use of adversarial machine learning (such as querying an application programming interface (API) for computer vision) and its wireless application is that a wireless adversary can only partially observe the features (sensing result) and labels (channel status) to train a classifier. Using these features and labels (that may differ from those of the IoT transmitter due to different channels), the adversary trains a classifier using a deep neural network, as a form of an exploratory attack to predict whether there will be a successful transmission at any given time. The adversary uses this classifier to launch the following attacks next.
Jamming: If the adversary predicts that there will be a successful transmission, it jams the data transmission such that the receiver cannot decode the transmitted data.
Spectrum poisoning: The adversary jams the sensing phase with the goal of changing the features that describe the current channel status and forcing the transmitter into making wrong transmit decisions. Therefore, it can be treated as an evasion attack. Note that this attack differs from the spectrum sensing data falsification (SSDF) attack , since the adversary does not participate in cooperative spectrum sensing and does not try to change the estimated channel labels directly as in the SSDF attack. Instead, the adversary injects adversarial perturbations over the air to the channel.
Violating priorities: The IoT transmitter with low priority aims to avoid interference to IoT users with higher priority. The adversary transmits during the sensing phase by pretending to have higher priority. This attack forces the transmitter into making wrong decisions and can be treated as an evasion attack. It is similar to the primary user emulation attack  that has not been studied yet from the adversarial machine learning point of view.
Another difference of wireless attacks in IoT systems from the conventional use of adversarial machine learning is that a wireless adversary cannot directly manipulate the test or training data input to a classifier but can only indirectly try to do this by jamming the channel during the data transmission or sensing phases. In all three wireless attack types, an IoT transmitter may also retrain and improve its classifier with additional training data collected. Then the adversary can further launch an attack to change the transmission outcomes (labels) or the channel status (features) to be used as part of the input to the retraining process and thus reduce the transmitter’s performance, which corresponds to a causative attack.
For all these wireless attacks, we demonstrate the success of the unique techniques from adversarial machine learning to infer the target classifier used for spectrum sensing and transmit decisions, and manipulate its input in terms of test and training data. Results clearly demonstrate the major performance loss of IoT systems in terms of classification error, throughput and success ratio for data offloading, and raise the need to develop defense mechanisms against adversarial machine learning. Thus, we design a defense approach, where the IoT transmitter selectively makes some wrong actions such that the exploratory attack cannot succeed. Consequently, subsequent attacks cannot be successful either. A tradeoff for this defense approach is on the number of defense actions. If this number is small, there is only a limited impact on attacks while if this number is large, the transmitter’s performance drops even when there is no attack. We describe this problem as a Stackelberg game and consider the defense for priority violation attack as one example. Results show that with the optimal number of defense actions, the throughput of the IoT transmitter can be increased significantly.
The rest of the paper is organized as follows. Section II discusses related work. Section III presents the deep learning model and overviews adversarial machine learning. Section IV describes the IoT system setting to apply adversarial machine learning. Section V, VI, and VII discuss the jamming, spectrum poisoning, and priority violation attacks, respectively. Section VIII presents a defense approach against adversarial machine learning. Section IX concludes the paper.
II Related Work
Security issues for IoT systems have been widely studied in the literature with machine learning applications, e.g., [18, 17, 19, 20]. In , a multi-stage meta classifier was trained by machine learning to first distinguish between traffic generated by IoT and non-IoT devices, and then determine IoT device class. In , machine learning was used to automatically identify the types of devices being connected to an IoT network and enable enforcement of rules for constraining the communications of vulnerable devices to minimize damage resulting from their compromise. In , deep learning was used to detect data injection and eavesdropping in IoT devices. In , machine learning was applied within an IoT gateway to detect anomalies in the data sent from the edge devices.
|Attack||Attack in test phase||Attack in (re)training phase|
|Jamming||Spectrum poisoning||Priority violation||Jamming||Spectrum poisoning||Priority violation|
Adversarial machine leaning has started finding applications in wireless communications. In , white-box and black-box attacks were designed by changing the input data to a modulation classifier based on deep learning. Our approach is different as it targets data transmission and spectrum sensing phases, and explicitly describes how to manipulate the input data in test and training phases. Jamming attack and defense mechanisms were developed in [13, 14] with deep learning, while  studied a spectrum poisoning attack. In these studies, retraining process was not considered. In this paper, we provide a common adversarial machine learning framework including both the jamming and spectrum poisoning attacks, along with priority violation attacks, and extended the attack space from test phase to (re)training phase for IoT systems. Table I summarizes applications of adversarial machine learning to wireless security, where a ‘✓’ mark indicates that the corresponding problem is considered in a paper.
III Deep Neural Network Model and Overview of Adversarial Machine Learning
III-A Deep Neural Network Model
Machine learning makes decisions by learning from data, without being explicitly programmed on how to make decisions. Applications of machine learning can be categorized as classification (if decisions are discrete values) or regression (if decisions are continuous values). We focus on classifiers in this article. A classifier can be built by using the training data that has been labeled, where each sample in the training data is described by a number of features and is associated with a label (or class). Once trained, a classifier can determine a label for any given unlabeled sample. The performance of a classifier can be measured by the error of the determined labels for some test data. Then an adversary can target the classifier in terms of learning how the underlying algorithm functions or manipulating training or test data to reduce its performance.
For a classification problem, each sample is modeled by a number of features . Denote as the actual label for sample and as the label determined by a classifier . Ideally, a perfect classifier should always produce . In reality, a classifier may not always make the correct decision, i.e., it may produce for some sample . We can use a set of test data to measure the performance of a classifier. Suppose that the size of test data is and the number of samples with is . Then the error probability is calculated as .
There are various machine learning algorithms such as Naive Bayes, support vector machine, neural networks and deep learning, to train a classifier. We apply deep learning at both the transmitter and the adversary to capture the complex interactions of channel, traffic, and actions of the IoT transmitter and the adversary. Deep learning extends neural networks with more hidden layers in addition to the input and output layers. In this paper, we consider a feedforward neural network (FNN). Each layer consists of neurons. The neurons in the input layer accept features of a sample as inputs. Each neuron processes its input data by an activation function and provides its output to neurons in the next layer. Neurons in the output layer provides various outputs, including label for sample and a score that measures the confidence of classification. The mathematical function at each neuron is not predetermined and consists of weights and biases. A number of training data samples is used to train the deep neural network, i.e., optimally determine its weights and biases such that the output labels are close to the real labels. Details of the deep neural networks are discussed in Section IV.
III-B Overview of Adversarial Machine Learning
Adversarial machine learning has been studied for different data domains mostly focused on image and text processing . In this paper, we consider an IoT transmitter using its pre-trained classifier to detect idle channels for data transmissions. The adversary applies the following three types of attacks (see Figure 1) on the target classifier .
Exploratory attack. The adversary aims to build a classifier similar to the target classifier . That is, for most samples, we have . Such an attack can be a white-box attack, where the adversary knows the classifier algorithm and/or training data, or a black-box attack, where the adversary does not have any knowledge on the classifier algorithm or training data. We will focus on a black-box attack in this paper.
Evasion attack. The adversary aims to determine the data samples that are most likely to be misclassified by the target classifier. One example of such attack is that an adversary wants to generate spam emails that cannot be identified as spam.
Causative attack. If the original classifier is trained with limited data, it may be retrained with additional training data. However, the adversary can attack this retraining process by providing incorrect training data.
These attacks can be applied separately or jointly. We will describe their application of these attacks in wireless communications for an IoT network in Section IV.
IV Adversarial Deep Learning for Wireless Attacks
There are important differences between the traditional use of adversarial machine learning (such as querying a computer vision API) and its application in wireless communications.
In the wireless setting, the adversary cannot query a transmitter’s classifier directly with an input sample and receive its label output. Instead, the adversary can only observe the transmitter’s behavior over a channel, i.e., the adversary can only obtain noisy samples of input data that may be different from what the transmitter observes due to different channel and interference effects. Moreover, the adversary predicts the outcome of transmissions (‘ACK’ or ‘no ACK’) while the transmitter predicts channel status (‘idle’ or ‘busy’). Hence, the labels of their classifiers will also differ.
In the wireless setting, the adversary cannot directly manipulate the test or training data input to a classifier (such as selecting the exact input data to the classifier or flipping training data labels in the training process). Instead, the adversary can only decide on how to make transmissions that manipulate the received signals so that the test or training process is indirectly fooled.
To provide insights into the application of adversarial machine learning to wireless communications, we consider the following setting. A machine learning-based classifier (namely, a deep neural network) is used at an IoT transmitter to analyze the spectrum sensing data and identify idle channels for data transmission. Packets arrive at a background transmitter randomly according to the Bernoulli process with rate (packet/slot). Whenever is idle and it has packet(s) to transmit, it is activated with certain probability to continue transmitting until it empties its queue. Therefore, it is possible that a continuous period of slots remains busy depending on the number of previous idle slots. As a result, there is a temporal correlation among channel busy/idle states and therefore it is necessary for both and to observe the past channel status over a time period to predict the current channel status. To simplify the discussion, we assume a single background transmitter (potentially, another IoT transmitter with higher priority). For the general case of multiple background transmitters, channel busy/idle status is determined by the aggregated signals from all these transmitters. This setting does not affect the attack/defense approaches developed in the paper.
uses a time slot structure with three phases, the sensing phase, the transmission phase, and the feedback phase. collects channel status during the sensing phase and then applies a machine learning algorithm to predict whether the channel is busy or idle. In this paper, we assume that applies a deep neural network. If the channel is predicted as idle, transmits its data during the transmission phase. The receiver sends ACK in the feedback phase if data is received. optimizes the hyperparameters of its deep neural network (e.g., number of layers) by solving the optimization problem HyperT that minimizes , where is the misdetection probability of classifier that a busy slot is classified as idle and and is the false alarm probability of that an idle slot is classified as busy.
We end up with the following structure of deep neural network implemented with TensorFlow. FNN is trained with the backpropagation algorithm by using the cross-entropy as the loss function. Number of hidden layers is 3. Number of neurons per hidden layer is 100. Rectified linear unit (ReLU) is used as activation function at hidden layers. ReLU performs the operation on input . Softmax is used as the activation function at the output layer. Softmax determines the th entry of by performing on input . Batch size is 100. Number of training steps is 1000.
The adversary performs a black-box exploratory attack to predict the outcome (ACK or not) of transmissions. Without knowing the classifier of , senses the channel status, monitors ACKs (labels) over certain period of time and using the collected data to train another classifier. Note that the adversary needs to detect the presence of an ACK but does not need to decode its message. ACK messages have certain features that make it easier for the adversary to distinguish them from data messages. First, ACK messages are shorter. Second, they follow a data transmission. Third, the signal-to-noise-ratio (SNR) to decode them is much smaller than that for data messages. Consequently, can reliably detect if there is an ACK message transmission that is distinct from a data transmission. Furthermore, by observing inter-arrival times of ACKs, can determine ’s time slot structure including start and end point, duration and its decomposition to sensing, transmission, and feedback periods.
The optimization problem at adversary is similar to Problem HyperT and thus is omitted.
After the exploratory attack, analyzes the channel access behavior of and launches further attacks. We consider three types of attacks on wireless communications, as illustrated in Figure 2, by using results from the exploratory attack.
|Attack||False alarm||Misdetection||Normalized throughput||Success ratio|
|Jamming attack on retraining||53.10%||31.96%||46.40%||85.00%|
Jamming attack: In a typical jamming attack, the adversary transmits if it predicts a transmission and if there is indeed a transmission, the adversary jams this transmission. The jamming attack in this paper is different. does not predict whether the channel is idle (and there will be a transmission attempt) and jam all transmissions. Instead, it predicts and jams successful transmissions only, which is more energy efficient than typical jamming attacks. Moreover, may retrain its classifier based on the feedback from . In this case, can jam transmissions to change the input training data such that the updated classifier actually becomes worse, which corresponds to a causative attack.
Spectrum Poisoning Attack: jams the sensing phase. By doing so, the features to describe the current channel status are changed and thus the decision made by machine learning may also be changed, which corresponds to an evasion attack. transmits during the sensing phase to inject adversarial perturbations to the channel. The goal of is to fool ’s classifier into making wrong transmit decisions. That is, may transmit in a busy channel or may not transmit in an idle channel, which reduces the communication performance. Again, may retrain its classifier and can manipulate features in the retraining process. By using the manipulated features to retrain a classifier, ’s performance may actually drop, which corresponds to a causative attack.
Priority Violation Attack: There is the background traffic from a user with higher priority that follows a certain pattern. Once a transmission from a high-priority user is detected, the transmitter with lower priority backs off for several time slots to avoid interference to such transmissions. again jams the sensing phase, but now its objective is to pretend to be a user with high priority. Due to the backoff mechanism, can reduce the number of attacks and thus consume less energy than the spectrum poisoning attack. When retrains its classifier, increases (false) high-priority user activities in the input to the retraining process as a form of causative attack.
Figure 3 summarizes the unique properties when adversarial machine learning is applied in wireless communications for an IoT network. Note that for causative attack, can identify ’s re-training phase when re-training is launched periodically. first determines the end time of re-training phase by observing the accuracy changes due to updated . Then further determines the length of re-training phase by adjusting the length of its causative attack periods. In the following sections, we will visit each type of wireless attack and show how to apply adversarial machine learning.
V Jamming Attack
Adversarial deep learning to jam the test phase of data transmission was considered in [13, 14]. We first use this attack as a benchmark and then extend this attack to the (re)training phase to improve energy efficiency and stealthiness of the attack.
We consider the scenario that an IoT transmitter senses the channel status (‘idle’ or ‘busy’) and transmits when channel is sensed as idle. The sensing result is either noise plus interference if channel is busy or noise if channel is idle. We assume that noise at follows the Gaussian distribution. Interference is from some transmitter (unknown to ). Denote transmit power as and channel gain from to as . Then we have the mean interference power as . We assume that interference follows the Gaussian distribution. applies deep learning to build a classifier that uses the most recent channel sensing results to determine the channel status (‘idle’ or ‘busy’). If channel is idle in a time slot, transmits data with power and receives feedback ACK (if data is received by receiver ). can receive data if the SINR at is not less than a threshold .
|Attack||False alarm||Misdetection||Normalized throughput||Success ratio|
|Poisoning attack on retraining||65.18%||29.64%||46.43%||33.77%|
There is an adversary that launches a jamming attack in three steps. In the first step, senses channel (noise plus interference or noise) and the transmission outcome (ACK or not) over a period of time. The collected data is used as training data to build a classifier in the second step (by using most recent sensing results aggregated for each data sample). This corresponds to an exploratory attack. However, there are some subtle differences from the conventional use of exploratory attack discussed in Section III:
The features are different. Note that the power levels sensed at and are usually different due to random channel effects. Thus the features (most recent sensing results) are different at and .
The labels are different. aims to predict whether a channel is idle or busy. cannot directly query the classifier and obtain labels. Instead, obtains labels in terms of overheard feedbacks and aims to predict whether there is a successful transmission.
Due to these differences, the classifier may not be similar to . Instead, will predict the outcome of actions based on using the sensing data at . In the third stage, starts jamming with power if it predicts that will transmit and this transmission will be successful. With the additional interference from , a transmission may fail (once the SINR at is less than threshold ).
The locations of , , , and are , , , and , respectively. Channel gain is modeled as , where is the distance between two nodes. We assume that the mean noise power is normalized as . The (normalized) powers at , , , and are . The SINR threshold is . The classifier is built on training data samples (see optimization problem HyperT in Section III) and applied on test data samples. most recent sensing results are aggregated as one input sample. The false alarm (idle channel is determined as busy) and misdetection (busy channel is determined as idle) probabilities are measured as and , respectively. The achieved throughput is normalized by the ideal throughput (every idle channel is detected for transmission). The normalized throughput is measured as . In addition, the success probability of attempted transmissions is measured as . These results show that is built with high accuracy and achieves near-optimal performance when there is no attack present.
To launch a jamming attack, builds classifier based on observations on the outcome of ’s actions by solving a similar optimization as HyperT in Section III and applies on the same test data samples (where most recent sensing results are aggregated as one input sample). We find that this attack significantly jams many transmissions and then decreases the performance of . In particular, the normalized throughput is reduced to and the success probability is reduced to .
Moreover, may update its decision strategy based on feedback (ACK or not) in the retraining process. That is, if there is an ACK, labels the current time slot as idle and if there is no ACK for a transmission, labels the current time slot as busy. It is expected that can improve its classifier by retraining with additional data. However, can launch an attack by determining when to jam such that some labels are incorrect. As a result, the updated classifier for may become worse, i.e., it may make more wrong decisions than ’s current classifier. This corresponds to a causative attack.
Suppose that classifier is updated by additional training data samples under such an attack. We find that the performance of the updated classifier drops. Under this attack, the classifier is updated as . The false alarm and misdetection probabilities are and , respectively. The normalized throughput is and the success probability is . Note that the attack on retraining process is confined to the training period, which is typically much shorter than the test period, and therefore such an attack is more energy-efficient and stealthier than attacking the test phase as discussed before. Table II summarizes results for jamming attacks in both test and training periods.
VI Spectrum Poisoning Attack
Adversarial deep learning to jam the test phase of spectrum sensing was considered in . We first use this attack as a benchmark and then extend this attack to the (re)training phase to improve energy efficiency and stealthiness of the attack.
In the jamming attack, jams the data transmission phase. In the spectrum poisoning attack, makes transmissions to change sensing results in the sensing phase (see Figure 4), which are the features used by , and thus mislead the machine learning algorithm of by providing wrong features. Hence, makes a wrong decision, i.e., does not transmit when the channel is idle or transmits when the channel is busy. This corresponds to an evasion attack.
We consider the same network setting as in Section V. Without an attack, the false alarm and misdetection probabilities of classifier are measured as and , respectively. Using to make transmission decisions, the normalized throughput and the success probability are measured as and , respectively. Under this attack, the input to is modified by and thus the false alarm and misdetection probabilities change to and , respectively. The normalized throughput is reduced to and the success probability is reduced to . Note that the sensing phase is much shorter than the transmission phase. Thus, the spectrum poisoning attack consumes much less energy than the jamming attack, e.g., if the length of data transmission is times of the length of spectrum sensing, spectrum poisoning attack can save energy by while the reduction in normalized throughput of increases by compared to jamming attack.
can also provide wrong features in the retraining process. Under such an attack, the classifier is incorrectly updated as . The false alarm and misdetection probabilities are and , respectively. The normalized throughput is reduced to and the success probability is reduced to . Table III summarizes results for spectrum poisoning attack in test and retraining phases.
|Attack||False alarm||Misdetection||Normalized throughput||Success ratio|
|Priority violation attack||88.08%||0.42%||11.92%||96.88%|
|Priority violation attack on retraining||26.54%||14.17%||74.23%||85.78%|
VII Priority Violation Attack
We consider the scenario that the unknown transmitter is a high-priority, potentially an IoT, user. needs to predict the existence of high-priority user’s transmission by machine learning and avoid transmitting at the same time. We assume that the high-priority user transmits in a time frame with probability and such a transmission takes time slots. Once a high-priority transmission is detected, will back off for time slots. We implement this scenario using the same network setting in Section V. Due to different background traffic, needs to train its classifier and achieves a different performance. The false alarm and misdetection probabilities of are and , respectively. The normalized throughput is measured as and the success probability is measured as . Note that the false alarm probability is larger than that in Section V or VI, which is the cost to protect high-priority transmissions. This also causes a smaller throughput.
An adversary learns the outcome of ’s transmissions by deep learning (exploratory attack) and tries to behave like a high-priority user (e.g., replay the high-priority user’s signal in the sensing phase) when it predicts a successful transmission of . This attack is again on the sensing phase (see Figure 4). Moreover, due to the backoff mechanism, there is no need to replay the high-priority user’s signal in every time slot. Compared to spectrum poisoning attack, which is an energy efficient attack, we observe that the number of attack actions can be reduced by , which corresponds to further reduction on energy consumption. Under this attack, the input to is changed. Then the false alarm and misdetection probabilities are and , respectively. The normalized throughput is reduced to . The success probability is since only few transmission attempts are made and those are still mostly successful.
When retrains its classifier, provides wrong features in the retraining process. Under this attack, the false alarm and misdetection probabilities are and , respectively. The normalized throughput is and the success probability is . This attack is not very successful (the normalized throughput is reduced from to and the success probability is reduced from to ) since the number of attack actions is reduced and thus has a limited impact in the retraining process. Table IV summarizes results for the priority violation attack.
VIII Defense Approach to Adversarial Machine Learning for Wireless Communications
The results under the three attack scenarios shown in Tables II, III, and IV demonstrate the success of adversarial machine learning in wireless communications and raise the need of developing effective defense approaches to protect machine learning-based IoT systems.
Exploratory attack is the basis of subsequent evasion and causative attacks. The data collected by for the exploratory attack includes features and labels. cannot change features (sensing results) but can change labels by taking different transmit actions. One approach is randomizing the deep learning network by adding small variations to output labels such that transmit actions can be changed, e.g., transmit in a busy channel or not transmit in an idle channel. By taking these different (wrong) transmit actions, aims to fool and prevents it from building a good classifier in the exploratory attack that is used to predict the outcome of ’s transmissions. There is a tradeoff in this defense scheme, i.e., taking many different actions reduces the performance of although it provides a better protection against the attacks. Thus, it is important for to tune the level of controlled variations added to decisions such that the performance drop of is limited while the protection against the attacks is still significant.
The above approach, although simple, has a drawback that we cannot selectively make wrong actions to maximize the protection effect. In this paper, we consider a better approach by noting that deep learning classifier provides a score to characterize the confidence on classification. Thus, to maximize the impact of defense actions, wrong actions should be taken when the confidence is high. In particular, the score is compared with threshold for classification, i.e., is classified as label if and as label otherwise. If a sample has a score close to , the confidence of classification is low, otherwise the confidence is high. Based on the classification score in the training data, we first determine two thresholds and such that and there are samples with label and and samples with label and . Then a sample is regarded to have high classification confidence if or .
In this defense, we consider a tradeoff on the number of wrong actions and the level of protection against the attacks. Transmitter selects the probability of defense actions , i.e., for each sample with high confidence, may take a defense action with probability . We can denote the revised classifier of as . Adversary then optimizes its deep learning classifier to predict transmission outcomes. launches an attack using and under this attack, applies classifier and achieves certain performance, e.g., normalized throughput. By observing this performance, adapts to improve its performance. This procedure is shown in Figure 5. This is a Stackelberg game, where is the leader and is the follower. In this game, aims to maximize the normalized throughput by optimizing while aims to minimize the normalized throughput for given by optimizing deep learning parameters , where .
This optimization problem can be formulated as
where is ’s classifier with hyperparameter when takes defense actions with probability and is the reward function that measures normalized throughput under classifiers and .
DefenseT targets the exploratory attack and does not depend on the nature of subsequent attacks. In particular, this defense was applied against jamming attacks in [13, 14]. In this paper, we demonstrate the performance of DefenseT against the priority violation attack and show that it is effective against a broad range of attacks. Without the defense, the throughput is (see Table IV). Since the optimization process at is unknown to , will search for optimal with smaller step size in each round. In the first round, takes step size and tries different levels of defense, i.e., . The achieved throughputs are , and , respectively. Since yields the largest throughput, will further search the region around using a smaller step size in the second round. That is, takes and . The achieved throughputs are and , respectively. Since yields the largest throughput, will use as the final solution. The defense increases throughput from to . Figure 6 shows value and normalized throughput over iterations.
We developed adversarial machine learning techniques to attack and defend IoT systems. We considered an IoT network, where an IoT transmitter senses channel and applies deep learning to predict the channel status (idle or busy) based on the most recent sensing results. When there are high-priority users, the IoT transmitter with lower priority employs a backoff mechanism to avoid its interference to high-priority user transmissions. We showed that deep learning can achieve near-optimal throughput. We then studied adversarial machine learning applied to this setting by applying exploratory, evasion and causative attacks to jamming, spectrum poisoning and priority violation attacks The adversary first applies exploratory attack to predict the outcome (ACK or not) of transmitter’s decisions. Then the adversary either changes the test data (evasion attack) or the data in the retraining process (causative attack) to reduce the IoT transmitter’s performance. Our results demonstrate new ways to attack IoT systems with adversarial machine learning applied as jamming, spectrum poisoning and priority violation attacks, and report major performance loss in IoT systems. Finally, we designed a defense approach based on Stackelberg game and showed its effectiveness in improving the transmitter’s performance.
-  D. Silver, et al., “Mastering the game of Go with deep neural networks and tree search,” Nature, 2016.
-  OpenAI Five, https://blog.openai.com/openai-five/
-  M. Mohammadi, A. Al-Fuqaha, S. Sorour, and M. Guizani, “Deep learning for IoT big data and streaming analytics: A survey,” IEEE Communications Surveys & Tutorials, 2018.
-  H. Li, He, K. Ota, and M. Dong, “Learning IoT in edge: deep learning for the internet of things with edge computing,” IEEE Network, 2018.
-  T. O’Shea, J. Corgan, and C. Clancy, “Convolutional radio modulation recognition networks,” International Conference on Engineering Applications of Neural Networks, 2016.
-  K. Thilina, K. W. Choi, N. Saquib, and E. Hossain, “Machine learning techniques for cooperative spectrum sensing in cognitive radio networks,” IEEE Journal on Selected Areas in Communications, 2013.
-  W. Lee, M. Kim, D. Cho, and R. Schober, “Deep sensing: Cooperative spectrum sensing based on convolutional neural networks,” arXiv preprint arXiv:1705.08164, 2017.
-  K. Davaslioglu and Y. E. Sagduyu, “Generative adversarial learning for spectrum sensing,” IEEE ICC, 2018.
-  T. Erpek, T. J. O’Shea, and T. C. Clancy, “Learning a physical layer scheme for the MIMO interference channel,” IEEE ICC, 2018.
-  T. Hu and Y. Fei, “QELAR: A machine-learning-based adaptive routing protocol for energy-efficient and lifetime-extended underwater sensor networks,” IEEE Transactions on Mobile Computing, 2010.
-  A. A. Khan, M. H. Rehmani, and A. Rachedi, “Cognitive-radio-based internet of things: Applications, architectures, spectrum related functionalities, and future research directions,” IEEE Transactions on Wireless Communications, 2017.
-  Y. Shi, K. Davaslioglu, and Y. E. Sagduyu,“Generative adversarial network for wireless signal spoofing,” ACM WiseML Workshop at ACM WiSec, 2019.
-  Y. Shi, Y. E. Sagduyu, T. Erpek, K. Davaslioglu, Z. Lu, and J. Li, “Adversarial deep learning for cognitive radio security: Jamming attack and defense strategies,” IEEE ICC Workshop on Promises and Challenges of Machine Learning in Communication Networks, 2018.
-  T. Erpek, Y. E. Sagduyu, and Y. Shi, “Deep learning for launching and mitigating wireless jamming attacks,” IEEE Transactions on Cognitive Communications and Networking, 2019.
-  Y. Shi, T. Erpek, Y. E Sagduyu, and J. Li, “Spectrum data poisoning with adversarial deep learning,” IEEE MILCOM, 2018.
-  M. Sadeghi and E. G. Larsson, “Adversarial attacks on deep-learning based radio signal classification,” IEEE Wireless Communications Letters, 2018.
-  Y. Meidan, M. Bohadana, A. Shabtai, J. D. Guarnizo, M. Ochoa, N. O. Tippenhauer, and Y. Elovici, “ProfilIoT: a machine learning approach for IoT device identification based on network traffic analysis,” ACM Symposium on Applied Computing, 2017.
-  M. Miettinen, S. Marchal, I. Hafeez, N. Asokan, A.-R. Sadeghi, and S. Tarkoma, “IoT Sentinel: Automated device-type identification for security enforcement in IoT,” IEEE ICDCS, 2017.
-  A. Ferdowsi and W. Saad, “Deep learning for signal authentication and security in massive internet of things systems,” arXiv preprint arXiv:1803.00916, 2018.
-  J. Canedo and A. Skjellum, “Using machine learning to secure IoT systems,” In 14th Annual Conference on Privacy, Security and Trust (PST), 2016.
-  M. Barreno, B. Nelson, R. Sears, A. Joseph, and J. Tygar, “Can machine learning be secure?” AsiaCCS, 2006.
-  L. Huang, A. Joseph, B. Nelson, B. Rubinstein, and J. Tygar, “Adversarial machine learning,” ACM Workshop on Artificial Intelligence and Security, 2011.
-  Y. Vorobeychik and M. Kantarcioglu, “Adversarial machine learning,” Synthesis Lectures on Artificial Intelligence and Machine Learning, 2018.
-  M. Fredrikson, S. Jha, and T. Ristenpart, “Model inversion attacks that exploit confidence information and basic countermeasures,” ACM SIGSAC Conference on Computer and Communications Security, 2015.
-  Y. Shi, Y. E. Sagduyu, and A. Grushin, “How to steal a machine learning classifier with deep learning,” IEEE HST, 2017.
-  B. Biggio, I. Corona, D. Maiorca, B. Nelson, N. Srndic, P. Laskov, G. Giacinto, and F. Roli, “Evasion attacks against machine learning at test time,” ECML PKDD, 2013.
-  L. Pi, Z. Lu, Y. Sagduyu, and S. Chen, “Defending active learning against adversarial inputs in automated document classification,” IEEE GlobalSIP, 2016.
-  Y. Shi, Y. E. Sagduyu, K. Davaslioglu, and R. Levy, “Vulnerability detection and analysis in adversarial deep learning,” in Guide to Vulnerability Analysis for Computer Networks and Systems: An Artificial Intelligence Approach, S. Parkinson, A. Crampton, R. Hill, Eds. Springer, 2018.
-  Y. Shi and Y. E. Sagduyu, “Evasion and causative attacks with adversarial deep learning,” IEEE MILCOM, 2017.
-  Y. Shi, Y. E. Sagduyu, K. Davaslioglu, and J. Li, “Active deep learning attacks under strict rate limitations for online API calls,” IEEE HST, 2018.
-  Y. Shi, Y. E. Sagduyu, K. Davaslioglu, and J. Li, “Generative adversarial networks for black-box API attacks with limited training data,” IEEE ISSPIT, 2018.
-  Y. E. Sagduyu, R. Berry, and A. Ephremides, “MAC games for distributed wireless network security with incomplete information of selfish and malicious user types,” IEEE GameNets, 2009.
-  Y. E. Sagduyu and A. Ephremides, “A game-theoretic analysis of denial of service attacks in wireless random access,” Wireless Networks, 2009.
-  Y. E. Sagduyu, R. Berry, and A. Ephremides, “Jamming games in wireless networks with incomplete information,” IEEE Communications Magazine, 2011.
-  W. Wang, L. Chen, K. G. Shin, and L. Duan, “Thwarting intelligent malicious behaviors in cooperative spectrum sensing,” IEEE Transactions on Mobile Computing, 2015.
-  N. Nguyen-Thanh, P. Ciblat, A. Pham, and V. Nguyen, “Surveillance strategies against primary user emulation attack in cognitive radio networks,” IEEE Transactions on Wireless Communications, 2015.