<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>GPS Spoofing Attack Detection on Intersection Movement Assist using One-Class Classification</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10427121</idno>
					<idno type="doi"></idno>
					<title level='j'>ISOC Symposium on Vehicle Security and Privacy (VehicleSec)</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Jun Ying</author><author>Yiheng Feng</author><author>Qi Alfred Chen</author><author>Z. Mao</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Intersection movement assist (IMA) is a connected vehicle (CV) application to improve vehicle safety. GPS spoofing attack is one major threat to the IMA application since inaccurate localization results may generate fake warnings that increase rear-end crashes, or cancel real warnings that may lead to angle or swipe crashes. In this work, we first develop a GPS spoofing attack model to trigger the IMA warning of entry vehicles at a roundabout driving scenario. The attack model can generate realistic trajectories while achieving the attack goal. To defend against such attacks, we further design a one-class classifier to distinguish the normal vehicle trajectories from the trajectories under attack. The proposed model is validated with a real-world data set collected from Ann Arbor, Michigan. Results show that although the attack model triggers the IMA warning in a short time (i.e., in a few seconds), the detection model can still identify the abnormal trajectories before the attack succeeds with low false positive and false negative rates.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>Connected vehicle (CV) technology has great potential to benefit the transportation system in terms of improving system efficiency, sustainability, and safety. Vehicle-to-vehicle (V2V) communication enables the CVs to send and receive real-time information from other nearby vehicles, for example, Basic Safety Messages (BSMs) to avoid collisions. BSMs play an important role in multiple CV applications, such as intersection movement assist (IMA), a widely implemented CV application to improve vehicle safety <ref type="bibr">[12]</ref>. The IMA system can be applied when vehicles pass through unsignalized intersections. It receives other approaching vehicles' information such as location and speed to determine whether it is safe to enter the intersection. If a potential collision is detected, a warning message will be generated and sent to the driver (e.g., through an in-vehicle display or an audio warning). Among all information that is shared through V2V communication, vehicle position is critical in deciding whether to generate warnings to drivers. To obtain a vehicle's real-time position, a GPS receiver is commonly used for vehicle localization and navigation <ref type="bibr">[1]</ref>, <ref type="bibr">[14]</ref>. Commercial-grade GPS receivers can get vehicle position within a meter accuracy <ref type="bibr">[1]</ref> while AV-grade GPS receiver has centimeter-level positioning accuracy <ref type="bibr">[13]</ref>. It is important to guarantee that the vehicle's localization module is accurate and reliable.</p><p>Existing studies show that GPS receivers are vulnerable to multiple cyber attacks. One major threat is the spoofing attack, which has been proved feasible both theoretically <ref type="bibr">[15]</ref> and practically on various systems <ref type="bibr">[3]</ref>, including in autonomous vehicles <ref type="bibr">[13]</ref>. To defend against GPS spoofing attacks, multiple detection methods have been proposed, including filterbased methods and observer-based methods <ref type="bibr">[4]</ref>  <ref type="bibr">[17]</ref>. However, the proposed methods either rely on other onboard sensors or V2V information from surrounding vehicles, which may not be available in the CV environment with a low penetration rate. Our previous work <ref type="bibr">[18]</ref> proposed a GPS spoofing attack detection method, which combines learning from demonstration and a decision tree classifier. The decision tree classifier needs to be trained using both ground truth trajectory and known attack trajectory. As a result, the proposed detection framework can be only applied to detect known attacks. However, in reality, new attacks are usually unknown to the detector, where the attack trajectories can not be obtained for training the classifier.</p><p>In this paper, we first propose a GPS spoofing attack model which aims to trigger the IMA warning of entry vehicles in a roundabout scenario. We further design a one-class classifier to distinguish the normal trajectories from the trajectories under attack, where only the normal trajectories are needed for training. Our work can be briefly summarized as follows. The attack model is formulated as an optimization problem, with specifically designed features to trigger the IMA warning while generating as normal driving behaviors as possible. The detection framework includes a feature extractor and a oneclass neural network classifier. In the case study, a real-world data set, which is collected from a two-lane roundabout in Ann Arbor, Michigan <ref type="bibr">[20]</ref> is applied to test both the CV threat model and the detection model. Results show that the proposed threat model can trigger the IMA warning in a short time (less than 1.7s) which poses great challenges to the detection. The online detection results denote that the proposed detection framework can differentiate the normal and abnormal trajectories before the attack succeeds time, with both low false positive rates and low false negative rates.</p><p>The main contributions of the paper are listed as follows:</p><p>1. We formulate the GPS spoofing attack as an optimization model, with the goal to trigger an IMA warning as well as generating smooth and realistic trajectories. The proposed threat model takes vehicle's initial state and road geometry into consideration and can be applied to different scenarios, not limited to the roundabout.</p><p>2. A generic detection framework is proposed. The detection framework combines a feature extractor with a one-class classifier. The feature extractor can be adjusted according to different driving scenarios. Besides, the proposed framework only requires normal trajectories for training, which enables it to detect unknown attacks.</p><p>The remainder of the paper is arranged as follows. Section II reviews related literature on GPS spoofing attacks and related detection methods. Section III introduces the threat model, including the problem statement, objective function, and implementation framework. Section IV presents the detection methodology. Numerical experiments from the roundabout scenario are introduced in section V. Section VI concludes the work and lays out future research directions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. LITERATURE REVIEW</head><p>In this section, we reviewed literature related to GPS spoofing attacks and related detection models.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. GPS Spoofing Attack</head><p>GPS spoofing attack has been a long-existing problem. The attack broadcasts incorrect but valid GPS signals to mislead GPS receivers <ref type="bibr">[11]</ref>. By providing falsified information, GPS spoofing attacks can deviate vehicles to random positions <ref type="bibr">[3]</ref> or guide the vehicles to the wrong destinations. Zeng et al. <ref type="bibr">[19]</ref> proposed a stealthy attack against the road navigation system. GPS locations were spoofed slightly to trigger the turn-by-turn navigation and guided the vehicle to the wrong destination without recognizing the attack. To prove the feasibility, the proposed GPS spoofing model was tested on real vehicles. Narain et al. <ref type="bibr">[8]</ref> evaluated the INS-aided GPS system and developed algorithms to deviate the vehicle to alternative locations without being detected. The result showed that the proposed algorithm could deviate vehicles as far as 30km from the origin without raising alarms. Multi-Sensor Fusion (MSF) is usually considered one approach to defending GPS spoofing attacks. An MSF system combines inputs from multiple sensors for vehicle localization. It is highly unlikely that all sensors can be compromised at the same time. For example, Liu et al. <ref type="bibr">[6]</ref> proposed an Extended Kalman filter (EKF) based algorithm to fuse the measurements from multiple sensors. The proposed algorithm performed well under GPS spoofing attacks where the GPS signal was deviated by a fixed bias. However, Shen at al. <ref type="bibr">[13]</ref> proposed a GPS spoofing attack algorithm that penetrated the MSF based localization system with GPS, IMU and Lidar. The proposed algorithm only spoofed GPS to cause large deviations in the MSF output. It could deviate the vehicle from the original lane, or cross the road boundary, which may lead to collisions with other vehicles.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. GPS Spoofing Attack Detection</head><p>To defend against GPS spoofing attacks, anomaly detection methods have been proposed. The detection methods can be divided into filter-based methods and observer-based methods <ref type="bibr">[4]</ref>. Filter-based methods consider uncertainties and measurement noises and apply filters such as Kalman Filter to detect attacks on sensors. Van et al. <ref type="bibr">[16]</ref> proposed an anomaly detection approach that combines convolutional neural network (CNN) and Kalman filtering with &#967; 2 detector. CNN was used for detecting anomalies in time-series sensor data and KF-based &#967; 2 detector is applied to detect the abnormal data which are undetected by CNN. Ju et al. <ref type="bibr">[5]</ref> proposed a simple distributed Kalman filter based on neighboring vehicle measurement exchange. A Generalized likelihood ratio (GLR) detector was proposed to detect position sensor attacks based on the Kalman filter's result.</p><p>Compared with filter-based methods, observer-Based methods are usually applied to deterministic vehicle models. Wang et al. <ref type="bibr">[17]</ref> proposed an observer-based method. An adaptive extended Kalman filter was applied to smooth vehicle sensor data based on a nonlinear car-following model. One Class Support Vector Machine (OCSVM) is applied to detect anomalies on sensors. He et al. <ref type="bibr">[2]</ref> proposed an observer-based detection framework. A detector was developed according to the potentially compromised sensor measurements and the observer's estimation. Measurement data was discarded if it was larger than a threshold.</p><p>The existing methods either need input from multiple sensors <ref type="bibr">[6]</ref>, input from known attacks <ref type="bibr">[18]</ref>, or only detect the anomaly in the longitudinal vehicle dynamics <ref type="bibr">[16]</ref>. Besides, surrounding vehicle states such as leading vehicles or information from other vehicles in the platoon are needed <ref type="bibr">[2]</ref>. They may not be applicable to our case because 1) in the CV environment, there may not exist other onboard sensors to perform multi-sensor fusion or cross-validate the results from the GPS, especially if a vehicle is equipped with aftermearket safety devices (ASDs). 2) in the roundabout scenario, vehicles have lateral movement due to road curvature, which significantly increases the detection difficulty.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. THREAT MODEL</head><p>In this section, the threat model towards the IMA application on the CV is presented. IMA is an important CV safety application <ref type="bibr">[12] [7]</ref>. When approaching an intersection, the IMA system first receives information (i.e., BSMs) from other vehicles. According to the received data, the IMA system determines whether it is unsafe to enter an unsignalized intersection due to potential collision with other vehicles and sends warnings to drivers. Drivers receiving collision warning information from the IMA system should perform actions to avoid crashes at the intersection. In this work, it is assumed that the IMA warnings are triggered only based on received BSMs from other vehicles at the intersection. We propose a threat model towards the IMA system at the roundabout scenario, which is a common type of unsignalized intersection.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Problem Statement</head><p>The proposed CV threat model generates falsified BSMs to trigger the IMA warning of CV at the entry of the roundabout. Figure <ref type="figure">1</ref> demonstrates the attack concept. The figure contains two vehicles, the vehicle under attack and the victim vehicle and both vehicles are CVs. The attack vehicle is the vehicle located in the inner lane of the roundabout. The victim vehicle is the vehicle located at the entry of the roundabout. The blue rectangles denote the real vehicle trajectory in the inner lane of the roundabout. The red rectangles denote the falsified BSM trajectory when the vehicle is under attack, changing lanes from the inner lane to the outer lane. The yellow rectangles denote the victim vehicle trajectory. A conflict point is defined as the intersection between the center line of the outer lane of the roundabout and the entry path. Note that lane changing is forbidden within the multi-lane roundabout. When the vehicle is not under attack, the BSM sent from the CV in the roundabout should be consistent with the real trajectory (the blue rectangles). There is no conflict between the real CV trajectory and the victim vehicle trajectory. The IMA warning will not be triggered for the entry vehicle. When the vehicle is under attack, the CV in the roundabout sends out falsified BSMs (the red rectangles) to trigger the IMA warning of the victim vehicle, without really controlling vehicle movement. The values within the rectangles denote the timestamps. The attack starts at time t 0 and the attack successfully triggers the IMA warning of the victim vehicle at time t 2 . To generate the falsified trajectory (the red rectangles), an optimization problem is formulated, as shown in Equation <ref type="formula">1</ref>. The objective function is presented as &#952; T f (s, u). &#952; is the weight vector and f (s, u) is a function mapping a trajectory to feature vectors. s is the variable of the optimization model. s = (s 1 , s 2 , ..., s N ) denotes the set of trajectory points, where s i is the trajectory point at time step i. Each trajectory point s i consists of (x i , y i , v i , a i , &#968; i ), where x i ,y i denotes vehicle's longitudinal and lateral coordinate at time step i. v i and a i represent vehicle speed and acceleration at time step i. &#968; i is the vehicle's heading angle. N is the planning horizon for the attack trajectory, which is determined by the estimated arrival time for the victim vehicle to reach the conflict point. u denotes the vehicle's initial state and road geometry. The vehicle's initial state includes its initial position and status (speed, heading, acceleration). Road geometry includes the radius of the inner and outer lanes of the roundabout and the coordinate of the conflict point. The feature selection for the objective function and the constraints are introduced in the following section. 2) generate a trajectory close to the normal driving behavior considering smoothness and comfort. A realistic attack trajectory will increase the difficulty in detection. To achieve the attack goal, five features are selected and elaborated as follows:</p><p>(1) Acceleration:</p><p>. f 1 sums up the a 2 i for the entire trajectory. Uncomfortable driving behavior such as large accelerations are penalized by minimizing f 1 .</p><p>(2) Heading rate: 2 . &#968; i denotes the heading angle change rate at time step i. f 2 minimizes the difference of heading rate for two consecutive time steps.</p><p>(3) Curvature:</p><p>x c and y c denote the coordinate of the center of the roundabout. r c denotes the radius of the roundabout. f 3 calculates the difference between the vehicle's distance to the center of the roundabout and the roundabout radius at time step i. f 3 guarantees the vehicle stays in the roundabout.</p><p>(4) Lateral terminal position: f 4 = (x N -x con ) 2 x N denotes the vehicle's lateral coordinate at the end of the planning horizon. x con represents the conflict point's lateral coordinate.</p><p>(5) Longitudinal terminal position: f 5 = (y N -y con ) 2 y N is the vehicle's longitudinal coordinate at the end of the planning horizon. y con is the conflict point's longitudinal coordinate. f 4 and f 5 push the vehicle to reach the conflict point at the end of the planning horizon and trigger the IMA warning of the victim vehicle.</p><p>2) Vehicle Dynamic Constraints: In this section, vehicle dynamic constraints are introduced. Constraint 2-5 denotes the evolution of vehicle state, including vehicle position, speed, acceleration, and heading angle. Equation 6-8 limits vehicle kinematic parameters within boundaries. Equation 6 bounds the vehicle's maximum acceleration and deceleration to be less than 8m/s 2 . Equation 7 limits vehicle's heading rate within range (-&#960; 3 , &#960; 3 ). Equation 8 limits the vehicle's maximum speed.</p><p>x(i</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Implementation Framework</head><p>The implementation framework of the attack model is described in this section. Details of the attack trajectory generation procedure is described in the following steps and shown in Figure <ref type="figure">2</ref>.</p><p>Step 1: Collect vehicle state. The vehicle under attack (roundabout vehicle) collects its own state and the entry vehicle state, including vehicle speed and position.</p><p>Step 2: Calculate estimated arrival times to the conflict point for the roundabout vehicle and the entry vehicle, denote as t est r and t est e . D is vehicle's distance to conflict point. v denotes vehicle's current speed. The estimated arrival time is calculated using Equation <ref type="formula">9</ref>, assuming the vehicle keeps current speed to reach the conflict point.</p><p>Step The threshold of launching attack is a hyper-parameter and needs to calibrated based on real-world data.</p><p>Step 4: Update entry vehicle state.</p><p>Step 5: Generate attack trajectory. The attack trajectory is generated according to Equation 1, assuming victim vehicle (entry vehicle) keeps a constant speed. The length of the attack trajectory (i.e., planning horizon) is set to be the same as the estimated arrival time of the roundabout vehicle to the conflict point, calculated in Equation <ref type="formula">9</ref>.</p><p>Step 6: Determine whether the attack success criterion is satisfied. If the attack success criterion is satisfied, the attack ends. Otherwise, go to Step 7. Equation 10 and 11 denote the attack success criterion. D atk is the attack vehicle distance to the conflict point. v atk is the attack vehicle speed. r atk is the distance between the attack vehicle trajectory point and the center of the roundabout. r l denotes the lane boundary radius between the inner and outer lanes. The attack succeeds when the post encroachment time (PET) to the conflict point between the attack trajectory and the victim vehicle is less than T g and the attack trajectory is deviated from the inner lane and crosses the road boundary. In this work, T g is equal to 2s. Both attack success criteria guarantee the two vehicles have a potential collision at the conflict point.</p><p>r atk &#8805; r l (11)</p><p>Step 7: Determine when to stop generating attack trajectory. When the entry vehicle has reached the conflict point and the attack success criterion is not satisfied, continue attacking the vehicle will no longer trigger the IMA warning of the entry vehicle. Therefore, the attack should end. Otherwise, go to Step 4.</p><p>In order to minimize the prediction error, a rolling horizon framework is applied to update the entry vehicle information (speed and position) and calculate the planning horizon once the attack starts (Step 4-Step 7). The attack trajectory is generated for the whole planning horizon, but only the first 0.4s will be used. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. DETECTION METHODOLOGY</head><p>In this section, we introduce a one-class classifier that is designed to detection the GPS spoofing attack toward the IMA application.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Detection Framework</head><p>Figure <ref type="figure">3</ref> demonstrates the detection framework. It consists of two parts, an offline training step and an online detection step. First, a training data set that includes historical normal trajectories is collected. A feature extractor is applied that maps trajectories to feature vectors, which represent different aspects of driving behaviors. A one-class neural network classifier is trained with extracted features from normal trajectories. The trained classifier is then applied to the online detection, as shown at the bottom of Figure <ref type="figure">3</ref>. Given the observed trajectory, the same feature extractor is applied to extract driving related features. The extracted features are sent to the trained anomaly classifier, to determine if the vehicle is under attack or not.  The classification network is optimized using the SGD optimizer, with the learning rate equals to 10 -3 and the batch size equals to 64. &#181; equals 0 and &#963; equals 3 for the Gaussian distribution to generate pseudo-positive data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Feature extractor</head><p>In the proposed anomaly detection model, ten features are designed to describe normal driving behavior, including both longitudinal and lateral behaviors. The designed features are elaborated as follows:</p><p>(1) Average lateral acceleration:</p><p>is the trajectory length. &#968; i is the vehicle heading at time step i. f 1 calculates the average of lateral acceleration at each time step.</p><p>(2) Maximum lateral acceleration: f 2 = max i=1,...N |a i sin &#968; i |. f 2 is the max value of the lateral acceleration for the entire trajectory. f 1 and f 2 measure the smoothness of the lateral driving behavior.</p><p>(3) Average lateral speed: (10) Average heading rate:</p><p>&#968;i . f 9 and f 10 demonstrates vehicle's driving smoothness at the roundabout. Note that for different driving scenarios, the features may be designed differently. A Greedy Algorithm is applied to select critical features from the designed feature list. </p><p>Calculate the One class classifier accuracy using features S &#8746; f i , the accuracy on testing set is denoted as A(f i )</p><p>end for 8:   end if 17: end while 18: return S Algorithm 1 denotes the greedy algorithm that selects the critical features used for the one-class classification neural network. S denotes the selected feature set. S is initiated as an empty set at the beginning of the algorithm. N S denotes the feature set which is not selected. A * denotes the highest accuracy, A * is initiated with 0. While N S is not an empty set, the one class classifier is trained with S &#8746; f i , where f i &#8712; N S. Testing accuracy is calculated and denoted as A i . The algorithm loops through all features in N S and selects the feature that maximizes testing accuracy denoted as f * and the relative testing accuracy is denoted as a * . If a * &gt; A * , then S will be updated by adding f * into it, and f * will be extracted from N S and A * will be updated as a * . If no improvement is made by adding feature f i &#8712; N S, the iteration stops and returns with S, which is the feature set that achieves the highest testing accuracy. f 1 , f 2 , f 3 , f 5 , f 9 are selected and used as feature extractor according to Algorithm 1. The selected features can describe both longitudinal and lateral driving behaviors.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. EXPERIMENTS</head><p>To validate the proposed anomaly detection framework, a roundabout data set collected at Ann Arbor, Michigan is applied. The data set is collected at a two-lane roundabout. The roundabout is equipped with infrastructure sensors such as radars and cameras are installed at the four corners of the roundabout. Vehicle trajectories approaching and within the roundabout are extracted from the video data with a time step equal to 0.4s <ref type="bibr">[20]</ref>.</p><p>This roundabout is of high-interest because of its high crash rates. 69 crashes happened at the intersection in year 2021. Among them, 66 crashes happened between the vehicle travelling inside the roundabout and the vehicle at the entry <ref type="bibr">[9]</ref>. One possible solution to reduce the crash counts is to apply the IMA. However, if the IMA application is under cyber attack, generating fake warnings and/or canceling true warnings may even aggravate the crash risks.</p><p>In this section, we first show the results of the attack model and then evaluate the anomaly detection framework with the threat model.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Attack model results</head><p>In the experiment, qualified vehicle trajectory pairs in the roundabout data set are extracted and used to generate attack trajectories. Each trajectory pair consists of the vehicle traveling within the roundabout and an entry vehicle. A qualified vehicle pair must have a similar arrival time to the defined conflict point so that the driver of the entry vehicle would actually observe a real approaching vehicle in the roundabout. In this way, when the IMA warning is triggered, the driver of the entry vehicle may take real actions to avoid the (fake) conflict. Based on this criteria, a total number of 927 vehicle pairs are selected.</p><p>Using the attack model illustrated in section III, 744 attack trajectories are generated. Figure <ref type="figure">5</ref> shows an example of the attack trajectory. The red line represents the original vehicle trajectory. The green line represents the vehicle trajectory generated by the attack model. The black line denotes the victim vehicle trajectory. In this case, the average vehicle speed at the roundabout is around 7m/s, which is consistent with the speed limit in the round about (15mph). At the end of the green vehicle trajectory, the IMA warning is triggered. The result shows that the proposed algorithm can generate falsified lane changing trajectory that follows roundabout's geometry to trigger the IMA warning of the entry vehicle. The overall attack success rate is 77.970% with the average attack success time of 2.096s. The attack success time is calculated as the difference between the attack start time and the time when the IMA warning of the victim vehicle is triggered. Given that the frequency of the trajectory data is 2.5HZ, the average attack succeeds at around the fifth time step.</p><p>One explanation for the attack failure is the vehicle speed variation before entering the roundabout. Figure <ref type="figure">6</ref> shows an example of the speed profile of an entry vehicle (victim vehicle). The proposed model fails to generate an attack trajectory to trigger the IMA warning in this case. The entry vehicle accelerates from 2m/s to 7m/s in two seconds and the estimated arrival time changes from 6.23s to 0.33s. Even though the estimated arrival time is updated every 0.4s, the large variation makes it impossible for the attack trajectory to reach the conflict point in time, without violating vehicle dynamic constraints. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Detection framework evaluation</head><p>To evaluate the detection framework, 2564 ground truth trajectories from the data set are extracted. 490 attack trajectories are generated with the proposed attack model. 40% of the ground truth are used to train the one-class classifier and the rest 60% are used for testing. All of the attack trajectories are used for testing. Both offline and online detection are conducted and the results are presented as follows.</p><p>In the offline mode, the detection is not performed until the full trajectory is observed. 99.59% (488/490) of the attack trajectory and 99.48% (1531/1539) of the ground truth trajectory are identified correctly. A false positive means that a ground truth trajectory is classified as an abnormal trajectory while a false negative means that an abnormal trajectory is identified as a normal trajectory. The false positive rate and false negative rate for the offline detection is 0.52% and 0.40% respectively. Figure <ref type="figure">7</ref> shows a false negative case in which the attack succeeds within only one time step. The short attack success time leads to little information can be used for detection. Therefore, the trajectory is not identified correctly. The online detection is more important in real-world implementations. The detection starts after sufficient number of trajectory points (e.g., 3 data points) and is conducted every time step until the trajectory is identified as abnormal or the attack succeeds. The trajectory will be identified as abnormal if it is classified as abnormal in two consecutive time steps. Therefore, trajectories used for online detection should be at least 5 time steps long. 314 attack trajectories and 1539 ground truth trajectories are used to test the online detection. The online detection performance is shown in Table <ref type="table">I</ref>. The mean detection time is the elapsed time when the trajectory is identified as abnormal. The time to attack succeed is the difference between the attack success time and the detection time. Results show that the anomaly classifier can identify attack trajectories 0.49s before attack succeed in average, with a standard deviation equals to 0.22s.</p><p>Figure <ref type="figure">8</ref> shows a false positive case in the online detection. The attack trajectory speed profile shows that the vehicle's speed fluctuates between 1m/s to 7m/s in 1.2s. The average speed of the vehicle is 5.8m/s. The large fluctuation under low travel speed are rare in the roundabout data set. As a result, the trajectory is classified as abnormal. A possible reason is due to the error in the trajectory processing. Even this trajectory is not under attack, its erroneous behavior indicates that it is not a normal trajectory and further attention is needed to identify the root cause. In this paper, a GPS spoofing attack model towards the CV IMA application and an anomaly detection framework to detect such attacks using one class classification is introduced. An optimization model is formulated and served as the threat model which aims to trigger the IMA warning of the entry vehicle at the roundabout. Both models are evaluated with a real world data set and the results show that the threat model can generate falsified trajectory and trigger the IMA warning within a short time, which is very aggressive and raises challenges to the detection model. However, the detection result shows satisfactory performance that most of the abnormal trajectories can be identified correctly and in time.</p><p>Comparing with previous work on GPS spoofing attack, the proposed attack model in this paper is much more aggressive. For example, the average attack success time using algorithm proposed by <ref type="bibr">[13]</ref> is 28.7s. In our work, the attack success time is only around 1.7s, which leaves little time for the detection model. In addition, the proposed detection model is more generic. Comparing with our previous work <ref type="bibr">[18]</ref> which uses both ground truth trajectories and attack trajectories in the training process, the proposed detection framework based on one class classification only need ground truth trajectories for training, which makes it applicable to detect unknown attacks. Besides, the proposed anomaly detection model can be applied to multiple scenarios including IMA warning at the roundabout and unsignalized intersection, as well as Red Light Violation Warning (RLVW) at signalized intersections, since the proposed model focus on learning the normal driving behaviors. As long as the normal driving behavior is affected, the proposed method can be applied to detect the anomaly.</p></div></body>
		</text>
</TEI>
