<?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'>Accurately Redirecting a Malicious Drone</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10312068</idno>
					<idno type="doi"></idno>
					<title level='j'>IEEE Consumer Communications and Networking Conference (CCNC)</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>W. Chen</author><author>Y. Dong</author><author>Z. Duan</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Although some existing counterdrone measures candisrupt the invasion of certain consumer drone, to the best ofour knowledge, none of them can accurately redirect it to agiven location for defense. In this paper, we proposed a DronePosition Manipulation (DPM) attack to address this issue byutilizing the vulnerabilities of control and navigation algorithmsused on consumer drones. As such drones usually depend onGPS for autopiloting, we carefully spoof GPS signals based onwhere we want to redirect a drone to, such that we indirectlyaffect its position estimates that are used by its navigationalgorithm. By carefully manipulating these states, we make adrone gradually move to a path based on our requirements. Thisunique attack exploits the entire stack of sensing, state estimation,and navigation control together for quantitative manipulation offlight paths, different from all existing methods. In addition,we have formally analyzed the feasible range of redirecteddestinations for a given target. Our evaluation on open-sourceArduPilot system shows that DPM is able to not only accuratelylead a drone to a redirected destination but also achieve a largeredirection range.]]></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>Urgent Concerns. While consumer drones help us support many new applications, they have also been abused in many attacks. Therefore, it is urgent to develop effective drone countermeasures. We focus on consumer drones because of their low cost and broad deployment; we do not consider highend drones due to their different resources and requirements. So, in this paper, we use drones to refer to consumer drones.</p><p>Motivations. Several direct physical methods for drone defense have been developed by industry in recent years, e.g., jamming a drone's control channels to trigger its fail-safe mode to land, or capturing it with a net. While such simple physical methods work well in many cases, they usually can not handle collateral damages. When a drone carries a bomb, we really do not want it to land in a protected area; instead, we would like to redirect it to a designated area for safe handling. While several projects <ref type="bibr">[1]</ref>- <ref type="bibr">[5]</ref> have demonstrated the feasibility of such attacks, none of them is able to provide concrete quantitative control on practical systems, which is the focus of this paper. Furthermore, as more robotic vehicles are developed for new applications, many similar security issues become serious concerns. In this paper, we propose to systematically address such issues by investigating the entire control stack to achieve accurate quantitative control for specific goals.</p><p>Ideally, we like to gain the complete control of an invading drone, e.g., by hacking into its control software or communications. While several methods have been developed to exploit specific drone settings, they require to compromise drone software, sensors, or communication channels <ref type="bibr">[6]</ref>- <ref type="bibr">[8]</ref>, which are difficult to achieve in practice. While these methods can deal with weak systems with known vulnerabilities, we cannot solely rely on such methods, because the vulnerabilities may be easily patched.</p><p>Our method. Therefore, different from these methods, we will focus on a new challenge in this paper: we would like to accurately control a drone without depending on compromising its software or hardware. To achieve this goal, we propose a holistic approach to explore the entire stack of sensing, state estimation, and navigation together. First, almost all consumer drones depend on guidance inputs, e.g., civilian GPS. We can utilize existing software-defined radio (SDR) tools to spoof the signals to achieve our attacks. Furthermore, assume we can identify the type and model of an invading drone <ref type="bibr">[9]</ref>, <ref type="bibr">[10]</ref>, we can then find out its state estimation and navigation algorithms. As these algorithms are designed mainly for control without considering security concerns, we have carefully analyzed them and identified their guidance inputs as the attack surface. Therefore, we focus on carefully constructing spoofed GPS inputs to exploit both state estimation and navigation algorithms for manipulating a drone's position. Such a holistic solution allows us to integrate the vulnerabilities at three levels together and achieve accurate quantitative position control.</p><p>Although spoofing GPS to attack drones had been exploited in two other projects <ref type="bibr">[1]</ref>, <ref type="bibr">[5]</ref>, neither of them exploited the entire control stack as in this paper. While their methods indeed gained some control of the drone but did not achieve the accurate position control as the proposed Drone Position Manipulation (DPM) attack. Furthermore, although anecdotes on military GPS spoofing attacks have been reported, the details have never been revealed. So, we consider these attacks on military drones beyond the scope of this paper; our focus is the civilian GPS system on consumer drones.</p><p>Contributions. Our novel contributions in this paper include: <ref type="bibr">(1)</ref> We develop a theoretical model to help us achieve accurate manipulation of a drone's position for specific goals, while existing methods were able to disrupt a drone's mission but did not define a clear model or achieve quantitative control.</p><p>(2) The proposed attack exploits the entire stack of sensing, state estimation, and navigation control, while existing methods mostly focused on one or two layers. <ref type="bibr">(3)</ref> The proposed attack is validated on ArduPilot, arguably the most popular open-source flight control system, to show its effectiveness in practical settings; while existing methods are mostly evaluated on theoretical platforms. (4) The proposed attack does not require to compromise the software or hardware of a drone as some existing methods required.</p><p>To demonstrate the proposed attack, we evaluate it on the Software-in-the-loop (SITL) module of ArduPilot <ref type="bibr">[11]</ref>, which runs the same code as a firmware on a real drone. Our evaluation shows that the proposed attack is able to accurately lead a drone to a redirected destination. In addition, we have identified the range of feasible redirected destinations for a target to show the strong capability of DPM.</p><p>The proposed attack have broad impacts. First, existing projects and our own experiments have shown that we can use cheap SDR cards (e.g., BladeRF) to spoof a drone's GPS inputs. Although an enhanced GPS receiver may detect such spoofing attacks with extra hardware and software improvement, a common GPS receiver cannot detect carefully-crafted GPS spoofing. Furthermore, because the state estimation and navigation control algorithms on consumer drones are also broadly used in many other autonomous systems, understanding their weaknesses is also critical to secure those systems.</p><p>The remainder of this paper is organized as follows. In Section II, we will introduce our problem statement, common drone control algorithms, and GPS spoofing methods. We will then propose the DPM attack in Section III. We will present the performance evaluation in Section IV. We will discuss related work in Section V, and conclude this paper in Section VI.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. PROBLEM STATEMENT AND DRONE BACKGROUND A. Problem Statement</head><p>As shown in Figure <ref type="figure">1</ref>, we set up a restricted area around a critical asset to protect it from drone invasions. When a drone flies towards the critical asset, we need to redirect it away from the asset (its target destination) to a redirected destination for safe handling, e.g., guiding it into a blast containment chamber. Because we can usually recognize an invading drone with existing approaches (via radar, radio or traffic profiling, or image processing <ref type="bibr">[9]</ref>, <ref type="bibr">[12]</ref>), we are able to identify its sensors (e.g., GPS) and firmware (including its state estimation and navigation algorithms). Assume that we have obtained the same model of drone and analyzed it ahead of time; utilizing the weaknesses of its GPS receiver, state estimation, and navigation algorithms, we propose a method to carefully spoof its GPS inputs to manipulate its position states such that its navigation control will change its path towards a redirected destination. As a result, our method does not require to compromise its software or hardware as some existing methods required.</p><p>To address this challenge, we need to carefully exploit the entire sensing, state estimation, and navigation control stack to achieve quantitative control on a practical system, different from existing methods <ref type="bibr">[1]</ref>, <ref type="bibr">[5]</ref>. In particular, we need to solve the following problems: (1) We need to make a drone lock on our spoofed GPS signals. We will rely on existing methods to achieve this, e.g., using the covert attack proposed in <ref type="bibr">[1]</ref>. In this paper, we show a method to spoof GPS inputs on the SITL simulation platform in order to understand how to spoof GPS signals without being detected. <ref type="bibr">(2)</ref> We need to determine how to construct the spoofed GPS position inputs based on the drone's original flight path and the redirected destination, within a given attack duration. This is the focus of this paper as presented in the following.</p><p>We further divide the process of determining spoofed GPS signals into two steps: First, we will determine the shifting distance of the drone's position in each GPS cycle (i.e., 0.1 second) in order to make the navigation algorithm adjust its path towards the redirected destination during a given attack period. Second, we will construct the spoofed GPS inputs based on the shifting distance in a GPS cycle. The challenge here is: because the maximum spoofing range in a cycle is limited by a bad data detection threshold (see Section II-B) and the physical limitation of its GPS receiver, we have to carefully determine the spoofing signals within proper ranges in order to shift the drone position as much as we can, without triggering GPS-failure alarms. Obviously, we cannot arbitrarily redirect a drone to any destination due to constraints such as the maximum redirection distance per cycle and the attack duration. We will present the detailed attack steps and analyze the feasible range of the attack under given constraints in Section III.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Drone Control Background</head><p>Here we introduce the related drone control background and discuss how we will address the above research problems. Without loss of generality, to simplify our model, we assume that an invading drone is on autopilot, because of two reasons: First, because the drone operator usually does not want to expose itself, it has to turn off the control channel to avoid being triangulated based on its control signals. Second, because the control channel can be easily disrupted by the defense, the operator cannot depend on the channel to control the drone in the restricted area. So, autopilot is a natural choice.</p><p>As shown in Figure <ref type="figure">2</ref>, autopilot is often achieved in four steps as many feedback-control systems. Starting with sensor measurements, the system estimates related states and then passes the states to its navigation algorithms to determine how to adjust actuators for real-time control. Such a loop is usually completed in a fixed period, e.g., the default state update on ArduPilot is set to every 10 ms when IMU sensors generate new readings. We introduce the most popular state estimation algorithms and the most common navigation algorithm in the following.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Autopilot State Estimation</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Sensors Actuators</head><p>Common State Estimation Algorithms. A consumer drone conducts state estimation based on sensor readings, e.g., from accelerometers, gyroscopes, magnetometers, GPS signals, and barometers. Extended Kalman Filters (EKF) and its variants are the most commonly-used state estimation methods in current systems <ref type="bibr">[13]</ref>, <ref type="bibr">[14]</ref>, providing fairly accurate state estimations. A few enhanced methods are proposed for critical altitude estimations based on other sensors (e.g., ultrasonic sensors). However, because they usually need more resources that are not available on low-end consumer drones, we focus on the common EKF-based state estimation in this paper. The EKF on ArduPilot 3.6 estimates 24 states for drone control <ref type="bibr">[15]</ref>; we focus on the position and velocity estimation because our goal is to manipulate drone positions to affect flight paths. Readers interested in the details of these EKF algorithms can refer to our previous paper <ref type="bibr">[16]</ref>.</p><p>We adopt several common assumptions in this paper. First, we assume that we are able to determine the parameters used in the control system, e.g., the bad-data detection threshold &#120591; (see below). Many parameters on a drone are usually configured to default values based on experiences and its physical properties (e.g., weight or acceleration limit), which can be easily learned by examining the open-source code or reverse-engineering the firmware of the same model. In addition, we consider that the proposed attack is performed when the system is in a steady state, such that we can draw concrete conclusions to illustrate the attack effects. This is a common assumption in examining EKF-based control systems, and usually achieved in real systems <ref type="bibr">[13]</ref>, <ref type="bibr">[17]</ref>, <ref type="bibr">[18]</ref>.</p><p>Bad Data Detection. The EKF on ArduPilot uses a common anomaly detection algorithm to determine if a sensor measurement is acceptable, e.g., for position measurements, by checking if the following condition is true:</p><p>where &#120591; is a pre-set threshold, &#119894;&#119899;&#119899; &#119873; and &#119894;&#119899;&#119899; &#119864; are the innovation between a prediction and a measurement of a position state in the North and East directions, &#119907;&#119886;&#119903; &#119894;&#119899;&#119899; &#119873; and &#119907;&#119886;&#119903; &#119894;&#119899;&#119899; &#119864; are the variances of &#119894;&#119899;&#119899; &#119873; and &#119894;&#119899;&#119899; &#119864; , respectively. The values of &#119907;&#119886;&#119903; &#119894;&#119899;&#119899; &#119873; and &#119907;&#119886;&#119903; &#119894;&#119899;&#119899; &#119864; are calculated based on the covariance matrix of the EKF and the GPS position accuracy information; they can be regarded as constants in a steady-state system, based on existing results <ref type="bibr">[1]</ref>, <ref type="bibr">[13]</ref>.</p><p>Navigation Adjustment. The navigation of ArduPilot uses a linear-track-based algorithm, which is the most popular path-following algorithm on drones, more accurate than others <ref type="bibr">[19]</ref>. Because a drone may drift away slightly from its scheduled flight track, due to various factors (e.g., wind disturbances), it usually runs a path-following algorithm to trace the track, as shown in Figure <ref type="figure">3</ref>. Here, as the drone's track is from the bottom left to the upper right, the algorithm should keep the drone close to the track, i.e., its position states (estimated via EKF) should be close to the track. In order to achieve this, the navigation frequently adjusts the drone's movements to make it close to the track.  In each time interval, the navigation calculates a position called &#119905;&#119903;&#119886;&#119888;&#119896;_&#119889;&#119890;&#119904;&#119894;&#119903;&#119890;&#119889; for the next interval based on its current position estimation and its scheduled velocity. Assume its position estimation is &#119875; &#119864;&#119870; &#119865; (&#119905; -1) in the interval (&#119905; -1). In interval &#119905;, the navigation finds itself at the position &#119875; &#119864;&#119870; &#119865; (&#119905;) away from the track (based on GPS), and it then performs the following adjustment. First, the distance between &#119875; &#119864;&#119870; &#119865; (&#119905;) and its projection on the track &#119875; &#119864;&#119870; &#119865; &#119901;&#119903; &#119900; &#119895; (&#119905;) is defined as a &#119905;&#119903;&#119886;&#119888;&#119896;_&#119890;&#119903;&#119903;&#119900;&#119903;. Next, the algorithm determines a &#119905;&#119903;&#119886;&#119888;&#119896;_&#119897;&#119890;&#119886;&#119904;&#8462;_&#119897;&#119890;&#119899;&#119892;&#119905;&#8462; based on its velocity, acceleration, and current position, and uses it to choose how the drone should fly back to the original track as follows. Specifically, the algorithm first identifies a position on the track called &#119905;&#119903;&#119886;&#119888;&#119896;_&#119889;&#119890;&#119904;&#119894;&#119903;&#119890;&#119889;_&#119898;&#119886;&#119909; (which is the farthest distance along the track that the leash will allow), and then compares it with &#119905;&#119903;&#119886;&#119888;&#119896;_&#119889;&#119890;&#119904;&#119894;&#119903;&#119890;&#119889; position to decide which position the drone should fly back to. In particular, if &#119905;&#119903;&#119886;&#119888;&#119896;_&#119897;&#119890;&#119886;&#119904;&#8462;_&#119897;&#119890;&#119899;&#119892;&#119905;&#8462; &#8804; &#119905;&#119903;&#119886;&#119888;&#119896;_&#119890;&#119903;&#119903;&#119900;&#119903;, then &#119905;&#119903;&#119886;&#119888;&#119896;_&#119889;&#119890;&#119904;&#119894;&#119903;&#119890;&#119889;_&#119898;&#119886;&#119909; is the projection of the current position &#119875; &#119864;&#119870; &#119865; (&#119905;) on the track; otherwise, &#119905;&#119903;&#119886;&#119888;&#119896;_&#119889;&#119890;&#119904;&#119894;&#119903;&#119890;&#119889;_&#119898;&#119886;&#119909; is the position on the track that has the distance of &#119905;&#119903;&#119886;&#119888;&#119896;_&#119897;&#119890;&#119886;&#119904;&#8462;_&#119897;&#119890;&#119899;&#119892;&#119905;&#8462; from the current position &#119875; &#119864;&#119870; &#119865; (&#119905;), as shown in the figure. Furthermore, if &#119905;&#119903;&#119886;&#119888;&#119896;_&#119889;&#119890;&#119904;&#119894;&#119903;&#119890;&#119889;_&#119898;&#119886;&#119909; is closer to the destination than &#119905;&#119903;&#119886;&#119888;&#119896;_&#119889;&#119890;&#119904;&#119894;&#119903;&#119890;&#119889;, as in this example, the drone will fly to &#119905;&#119903;&#119886;&#119888;&#119896;_&#119889;&#119890;&#119904;&#119894;&#119903;&#119890;&#119889;; otherwise, the drone will fly to &#119905;&#119903;&#119886;&#119888;&#119896;_&#119889;&#119890;&#119904;&#119894;&#119903;&#119890;&#119889;_&#119898;&#119886;&#119909;. Our attack exploits this adjustment to achieve our drone position manipulation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Attack Methods: Smart GPS Spoofing</head><p>After an invading drone enters the restricted zone, we use GPS spoofing to compromise its GPS position and velocity readings, to carefully feed crafted inputs to the drone state estimation algorithms in order to mislead its navigation control. In this paper, we will manipulate the drone position in a 2D plane of longitude and latitude. In ArduPilot simulations, we pass the GPS inputs with MAVLink GPS_INPUT messages to emulate a covert spoofing, such that we can test our attacks on the navigation control, which are the focus of this paper.</p><p>In addition, we also verified the feasibility of practical GPS spoofing on real drones. While we assume we can use existing tools to achieve covert GPS spoofing, we have conducted GPS spoofing on a SkyViper GPS drone for testing, whose firmware is a variant of ArduPilot. We overpowered the civilian GPS signals using a BladeRF A9 card to transmit shifted GPS signals from a moderate distance <ref type="bibr">[20]</ref>. The drone gained a lock on the spoofed GPS signals after a short delay. We verified this by reading the GPS raw inputs from the drone via its MAVLink interface.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. PROPOSED DPM ATTACK</head><p>In this section, we will introduce the Drone Position Manipulation (DPM) attack that directly uses the estimated position states a drone to craft spoofed GPS inputs. Although obtaining EKF states is impractical on a real system, this method helps us better understand the proposed attack on a complicated control system and build a baseline analysis model of the attack. We will further develop a practical solution for obtaining drone positions in our following work. In the following, we will present the DPM attack and then illustrate its capability by formally analyzing its maximum feasible redirection range for a given original destination.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Theoretical Foundation of DPM</head><p>Let us first present the theoretical foundation of DPM, consisting of three important propositions.</p><p>Notations. We first define related notations for our discussion. Because we focus on the drone position in a horizontal 2D plane, we consider the drone's real velocity as a 2D vector &#119881; &#119903; = (&#119881; &#119903; &#119873; , &#119881; &#119903; &#119864; ), with a sub-component to the North, &#119881; &#119903; &#119873; meter/second (m/s), and a sub-component to the East, &#119881; &#119903; &#119864; m/s. For example, when a drone moves at 4 m/s to the Northeast, we observe a velocity vector &#119881; &#119903; as (2.81, 2.81) m/s. In DPM, for each GPS cycle, we build the spoofed GPS position inputs by first obtaining the estimated position state and then adding a shift to it with an injection vector of &#119868; = (&#119868; &#119873; , &#119868; &#119864; ) m/s, which has a sub-component to the North &#119868; &#119873; , and a sub-component to the East &#119868; &#119864; . Now when applying &#119868; = (0, 10) m/s (or (0, 1) m/GPS cycle) to a drone flying to the Northeast with &#119881; &#119903; = (2.81, 2.81) m/s, i.e., injecting 0 m/s to the GPS position in the North direction and 10 m/s (or 1 m/GPS cycle) to the GPS position in the East, we observe that the drone's real velocity &#119881; &#119903; quickly entered a stable velocity of (2.81, 2.37) m/s. In other words, the drone drifts away at a stable velocity &#119881; &#119903; &#119889;&#119903;&#119894; &#119891; &#119905; at (0, -0.44) m/s, i.e., the drone drifts to the West at 0.44 m/s as the result of the injections. With these notations, we introduce the following propositions: Proposition 1. Drift velocity &#119881; &#119903; &#119889;&#119903;&#119894; &#119891; &#119905; is proportional to injection rate &#119868; under a DPM attack with an attack coefficient &#119862; &#119886; defined as follows:</p><p>for &#119868; &#119873; &#8800; 0 and &#119868; &#119864; &#8800; 0. If &#119868; &#119873; (or &#119868; &#119864; ) == 0, &#119862; &#119886; &#119873; (or &#119862; &#119886; &#119864; ) = 0. Proposition 2. For attacks on the same drone in the same environment, &#119862; &#119886; keeps unchanged for any proper injection size in any direction.</p><p>In this DPM attack, we choose the injection rate &#119868; as a fixed value in each GPS cycle, which results in nearly fixed innovations in each EKF position estimation cycle, denoted as &#916; (because &#119868; &#8776; &#916;). Since the Kalman gain &#119870; &#119896; usually quickly becomes a constant in a steady state, the deviation of position estimation &#119881; &#119864;&#119870; &#119865; &#119889;&#119903;&#119894; &#119891; &#119905; = &#119870; &#119896; &#8226; &#916; becomes constant. Because the deviation will be corrected in each cycle, &#119881; &#119903; &#119889;&#119903;&#119894; &#119891; &#119905; = -&#119881; &#119864;&#119870; &#119865; &#119889;&#119903;&#119894; &#119891; &#119905; becomes a constant in the cycle as well. In addition, &#119862; &#119886; &#8776; -&#119870; &#119896; , which can be regarded as the same constant for attacks on the same drone in the same environment.</p><p>We have further validated these propositions with ArduPilot SITL simulations. Figure <ref type="figure">4</ref> shows the relationship between the injection rate and the drift velocity observed during DPM attacks on SITL. With the injection rate (x-axis) increasing from 4 m/s to 40 m/s, we observe that the drift velocity (y-axis) increases in the opposite direction proportionally to the injection rate with coefficient &#119862; &#119886; . Furthermore, we have validated that Propositions 1 and 2 hold for injections in any direction in the 2D plane, when we apply a feasible constant injection rate. We measured that &#119862; &#119886; &#119864; &#8776; -0.0455 and &#119862; &#119886; &#119873; &#8776; -0.0491 in these simulations. Proposition 3. When we apply a 2D injection rate &#119868; = (&#119868; &#119873; , &#119868; &#119864; ), the effect is equivalent to the combined effects of attacking only in the North direction with &#119868; 1 = (&#119868; &#119873; , 0) and attacking only the East direction with &#119868; 2 = (0, &#119868; &#119864; ). the drone state estimation algorithms usually decompose the 3D positions and velocities into North, East, and Down subcomponents <ref type="bibr">[15]</ref>. Based on Propositions 2 and 3, we can simplify the analysis of the attack result under an injection rate &#119868; in any direction in the 2D plane, by decomposing the injection rate &#119868; = (&#119868; &#119873; , &#119868; &#119864; ) into &#119868; 1 = (&#119868; &#119873; , 0) and &#119868; 2 = (0, &#119868; &#119864; ). Using measured attack coefficients &#119862; &#119886; &#119864; and &#119862; &#119886; &#119873; , we can find the drift velocities of the drone in the North and East directions: &#119881; &#119903; &#119889;&#119903;&#119894; &#119891; &#119905; , &#119873; = &#119868; &#119873; &#8226; &#119862; &#119886; &#119873; and &#119881; &#119903; &#119889;&#119903;&#119894; &#119891; &#119905; ,&#119864; = &#119868; &#119864; &#8226; &#119862; &#119886; &#119864; ; then we can find the attack result with the injection rate &#119868; by combining the drift velocities in the two directions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Proposition 3 (Decomposition Proposition) holds because</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. DPM Attack</head><p>We how the DPM attack redirects a drone to a specific destination in a 2D plane, as shown in Figure <ref type="figure">5</ref>. Given the redirected destination &#119877; = (&#119877; &#119873; , &#119877; &#119864; ), where we would like to guide the drone to reach, we define a redirection vector DR = (&#119863; &#119877; &#119873; , &#119863; &#119877; &#119864; ) as ((&#119877; &#119873; , &#119877; &#119864; ) -(&#119863; &#119873; , &#119863; &#119864; )), the vector difference between the redirected destination (&#119877; &#119873; , &#119877; &#119864; ) and the original destination (&#119863; &#119873; , &#119863; &#119864; ). Assume we perform a DPM attack on a drone's position for &#119899; cycles to achieve DR; we evenly distribute the required injection in each cycle, i.e., in cycle &#119905;, we apply an injection</p><p>) on the current position state &#119875;(&#119905;) to build its position input &#119875; &#8242; (&#119905;), 0 &#8804; &#119905; &lt; &#119899;. As a result, the navigation algorithm observes that the drone has drifted away from the track, and it will make an adjustment to move it back to the track. After the adjustment, the system considers the drone has returned to the track at &#119875;(&#119905; + 1), but its real position is actually at &#119875; &#119903; (&#119905; + 1).</p><p>In this example, we only need 5 injection cycles to achieve the required redirection; after 5 cycles, we stop injections and the drone will fly towards the redirected destination in a path parallel to the original track.</p><p>Similar to the above illustration, we introduce the main steps of DPM in Algorithm 1. Given the flight track of a drone, a redirected destination, and drone position states, the attack builds a position injection in each cycle in order to lead the drone away from its original track to achieve the redirection, as explained in the above. The maximum injection rate &#119868; &#119898;&#119886;&#119909; = (&#119868; &#119898;&#119886;&#119909; &#119873; , &#119868; &#119898;&#119886;&#119909;</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>&#119864;</head><p>) per cycle can be determined based on the parameters associated with the bad-data detector in theory <ref type="bibr">[16]</ref> and it also can be measured in practice. Attack coefficient &#119862; &#119886; = (&#119862; &#119886; &#119873; , &#119862; &#119886; &#119864; ) is defined in Proposition 1, and can be measured in advance. A video demonstration of a P(5) P( <ref type="formula">4</ref>) P( <ref type="formula">2</ref> DPM attack on ArduPilot SITL is at Youtube, <ref type="url">https://youtu.be/</ref> kE0T4sFJZ7o, and we will evaluate the accuracy and feasible redirection range of DPM in Section IV.  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Feasible Range of Redirected Destination</head><p>Obviously, the above attack cannot redirect a drone to an arbitrary destination due to many factors such as the attack duration and the maximum redirection per cycle. Therefore, we need to further figure out if a given redirected destination is feasible. In the following, we will analyze such a feasible range of the redirected destination to show the overall capability of DPM, which can help us determine if a redirected destination is reachable or not.</p><p>Eq. 1 is commonly used for EKF-based bad data detection. Since (&#119907;&#119886;&#119903; &#119894;&#119899;&#119899; &#119873; + &#119907;&#119886;&#119903; &#119894;&#119899;&#119899; &#119864; ) &#8226; &#120591; can be regarded as a constant &#120582; in a steady state, and &#119894;&#119899;&#119899; &#119873; and &#119894;&#119899;&#119899; &#119864; are roughly equal to &#119868; &#119873; and &#119868; &#119864; . Plugging them into Eq. 1, we have</p><p>Then, based on Eq. 2 on the previous page, we have</p><p>or</p><p>Eq. 5 shows the feasible range of the redirected destination in one attack cycle is an ellipse with its center at the original destination and eccentricity 2 (close to 0 in practice). After &#119899; attack cycles, the feasible range of the redirected destination will be</p><p>We will show concrete feasible ranges in Section IV.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. PERFORMANCE EVALUATION</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. System Instrumentation</head><p>We have conducted extensive analysis and testing of ArduPilot Copter code to understand the state estimation and navigation control algorithms. Our evaluation is performed on the SITL module of ArduPilot. For system control, the SITL module runs the same code as a real firmware to simulate a flight with a large set of common parameters. As a SITL drone runs in the same way as a real drone, it can take different types of GPS input formats, e.g., popular UBLOX and NMEA formats. In its default setting, it simply uses the simulated (physical) position of a drone as its GPS position input. So, we can perform covert GPS spoofing by switching its GPS input to take MAVLink &#119866;&#119875;&#119878;_&#119868; &#119873; &#119875;&#119880;&#119879; messages, in the same way as it receives GPS messages from a GPS-capable device.</p><p>We uploaded a video of a covert DPM attack on the above platform at Youtube (<ref type="url">https://youtu.be/kE0T4sFJZ7o</ref>). With the source as (0, 0), the drone's destination is set to the waypoint of (500 meters, 500 meters) in the Northeast with a velocity of 4 meter/second. Waiting for 20 seconds into the mission after the system entered a steady state, we started to covertly spoof GPS inputs with an injection of 4.07 meter/per GPS cycle to the North. (It takes less than 20 seconds for the drone to enter a steady state.) As shown in Figure <ref type="figure">6</ref>.(b), we then saw that the drone state (shown as the upper drone icon) is still on its original track (in pink) to the Northeast; but its real position (shown as the lower drone icon) is shifted down to the South, below its original track. The drone continued with its mission, without noticing its real position is gradually away from its original track. When the drone position state is close to the original destination, the real drone position is about 100 meters South to the original destination, as shown in Figure <ref type="figure">6</ref>.(c).</p><p>With significant efforts in the past years, we were able to build this in-depth instrumentation platform for examining the control algorithms and the proposed attacks in details, which also facilitated the evaluation presented in the following.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Evaluation of DPM 1) Simulation Settings:</head><p>In each attack simulation, to show the pure attack effect, we did not launch the attack until the system entered a steady state, i.e., we waited for 20 seconds after it reached the takeoff altitude and began to fly to a preset waypoint. We used the common settings of consumer drones as key parameters in the evaluation, e.g., a GPS update cycle is set to 0.1 second; the horizontal position accuracy of GPS input is 0.1 meter; the velocity accuracy of GPS input is 0.1 meter/second; a default drone starting velocity is 4 meter/second. We have repeated the simulations many times to observe and measure the coefficients for our model presented in Section III: for example, we used linear regression to find the attack coefficients &#119862; &#119873; &#119886; = -0.0491, and &#119862; &#119864; &#119886; = -0.0455. 2) Accuracy of DPM: As our goal is to divert a drone to a redirected destination, we first evaluated the accuracy of DPM, i.e., the difference between the expected redirected destination and the actual destination. For easy illustration, we first set the injection direction to the East and the total attack duration to 50 seconds. Consider the home position as the original point (0, 0), the original destination was set to (500 meters, 500 meters) in the Northeast in a local frame. To evaluate the accuracy under different attack sizes, we varied the size of DR (the vector difference between the redirected destination (&#119877; &#119909; , &#119877; &#119910; ) and the original destination (&#119863; &#119909; , &#119863; &#119910; )) from 20 to 100 meters. Table <ref type="table">I</ref> shows the attack error rates under different injection rates. The 1st row shows the size of intended redirection vector from 20 to 100 meters. The 2nd row is the corresponding injection size derived based on the size of redirection vector using Algorithm I. The 3rd row is the size of the actual redirection vector obtained from the simulation. In the 4th row, we can see that: for different redirection sizes, the DPM attack achieved very small errors (under 1.5%), i.e., it can accurately redirect a drone to the intended destination. Next, keeping the same source and destination as the above, we evaluated the DPM's accuracy in eight directions: North, Northeast, East, Southeast, South, Southwest, West, Northwest. The total attack duration is set to 50 seconds as the above, and the redirection vector is set to 100 meters. In Table <ref type="table">II</ref> and Table <ref type="table">III</ref>, the 1st row shows the injection direction; the 2nd and the 3rd row show the injection subcomponents in the North and the East directions; the 4th and the 5th row show the errors in the North and the East directions; the 6th and 7th row show the error rates in the North and the East directions. We can see the attack errors for these cases are still very small (under 0.9% in a subcomponent), which shows the DPM attack can accurately redirect the drone to different directions.    3) Injection limitation and Feasible range: Although we have shown that the DPM can redirect a drone to any direction with high accuracy, the maximum size of the redirection is limited by the maximum injection allowed in each cycle that is limited by the bad data detector of the drone. To find the maximum injection rate allowed in a direction, we gradually increased the injection rate until the system detects the large error term and raises GPS-fail alarms. We repeated these simulations to confirm the maximum injection rate for DPM in each direction, which will then give us the largest redirection size DR for a given attack duration in the direction. Then we can combine the maximum redirection size in all directions to outline the feasible range of the DPM attack, i.e., we can redirect the drone to any point within this range under this attack duration. In Table <ref type="table">IV</ref> and Table V, the attack duration was 50 seconds, and we tested in 8 directions to outline the feasible redirection range for attacking 50 seconds. The 1st row shows the redirection directions; the 2nd row shows the maximum injection rate in a direction; the 3rd row shows the maximum size of redirection. The maximum injection rate for each direction varies from 7.09 to 7.65 meter/GPS cycle; the maximum redirection size in each direction varies from 169.28 meters to 177.03 meters for the attack duration of 50 seconds.</p><p>Furthermore, to show the feasible ranges of redirected destinations under different attack duration, we varied the attack duration from 20 to 100 seconds, and determined the corresponding maximum redirection sizes in 8 directions. We then outlined the feasible ranges under different attack durations in Figure <ref type="figure">7</ref>. In this 2D plane, the center location (0, 0) is the original destination; the smallest circle-like the feasible an attack duration of 20 seconds; the largest circle-like range is the feasible range under an attack duration of 100 seconds. It is easy to see that the attack feasible range expands as the attack duration increases.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. RELATED WORK</head><p>As the flow chart of an autopilot system shown in Figure <ref type="figure">2</ref>, attacking a drone may happen at three levels:  (1) Sensor-level attacks. Different from mission-critical systems, consumer drones are usually equipped with low-end sensors with limited protection to reduce costs, which leaves many opportunities for hardware or software attacks.</p><p>Hardware attacks include selectively jamming GPS and radio control channels <ref type="bibr">[21]</ref>- <ref type="bibr">[23]</ref>, or compromising drone hardware components (such as MEMS sensors) via acoustic approaches to disturb its normal operation <ref type="bibr">[1]</ref>, <ref type="bibr">[2]</ref>, <ref type="bibr">[24]</ref>, <ref type="bibr">[25]</ref>. In particular, a high-accuracy covert spoofer was built by manipulating the signal delays in the physical layer to spoof GPS signals arriving at a drone GPS receiver <ref type="bibr">[1]</ref>. The spoofer measures relevant delays to the receiver within a few nanoseconds, and compensates for these delays by generating a slightly advanced version of the official GPS signals that the spoofer receives. Then, it gradually increases power to win the signal acquisition on the receiver over the official signals. This covert GPS spoofer is a pioneer work that can also help us implement our attack to manipulate GPS signals at the physical layer.</p><p>(2) Attacks on State Estimation. Compromising system states is a common method to cause serious errors in control systems. The proposed drone position manipulation utilizes a type of False Data Injection (FDI) attack to exploit the small tolerance ranges of common bad-data detection schemes in order to compromise drone state estimation to achieve accurate position manipulation. Common FDI attacks aim to manipulate state estimations via modifying corresponding measurements without being detected by bad data detectors <ref type="bibr">[26]</ref>. Based on existing research on state estimation algorithms <ref type="bibr">[3]</ref>, in this paper, we are able to determine the GPS spoofing signals that can pass the bad data detection and also manipulate the system states based on our needs to make the navigation to adjust drone positions.</p><p>(3) Attack Drone Navigation Controls. By analyzing the practical navigation code of ArduPilot, we identified weaknesses in the most popular path-following algorithms <ref type="bibr">[19]</ref> as introduced in Section II-B. In this paper, we utilize the vulnerability in the state estimation and exploit the weakness of navigation to accurately manipulate a drone's position in order to guide it to a redirected destination. Another project <ref type="bibr">[5]</ref> focused their attack on the navigation control on an earlier version ArduPilot 3.3. They provided a taxonomy of GPS failsafe mechanisms on consumer drones, and investigated the attack strategy for each mechanism. In contrast, we develop complete algorithms on how to guide an invading consumer drone to a redirected destination, and we also determined the feasible range of the redirected destination relative to an original destination.</p></div></body>
		</text>
</TEI>
