用於 ArduPilot 自主飛行系統之故障模擬與注入框架
A Fault Injection Framework for AruduPilot
摘要
無人飛行載具(UAVs)的應用領域涵蓋軍事、安全、醫療、監控到交通監測等方面。近年來,針對UAV與多架UAV協作系統的開發投入了大量資金,期望它們能以更高效率與經濟效益完成任務,在搭載相機、感測器與GPS接收器等用品後,無人機可以更彈性的執行多種任務。
作為一種很仰賴感測器資訊與自動控制系統的機器,無人機系統在面對感測器故障或惡意攻擊時容易產生風險。例如,透過偽造 GPS 或磁力計數據的攻擊手法,可能誘導無人機偏離原定航線、降落在不正確的地點,甚至發生墜毀。
為了降低實驗風險與成本,愈來愈多研究開始利用模擬環境進行無人機攻擊與防禦機制的測試,儘管已有許多文獻探討針對感測器等攻擊模型與防禦方法,然而目前多數研究仍存在各種限制,像是未提供一套可模擬真實飛行情境的開放式攻擊平台、無法很輕易的動態控制攻擊與停止攻擊的時機、缺乏對攻擊前後的狀態資料(EKF輸出)、感測器輸入(如GPS注入)、以及實際飛行狀態(由飛行動力學模擬器 FDM 提供)的同步記錄與分析機制。
Ardupilot 作為開源且功能完整的平台,其 SITL架構允許研究者在無需實體硬體的前提下,模擬飛行過程中各感測器資料的讀取跟控制指令,是許多研究者會選擇的平台。這篇研究也是建立在這個Ardupilot的架構之上,設計並實作一個整合了 Ardupilot 的模擬系統、地面站模組、以及即時資料紀錄功能的攻擊模擬平台。此平台支援 GPS注入、磁力計偏移等典型 FDI 攻擊,並可用很簡單的操作選擇注入時機與類型。透過記錄 EKF 與 FDM 間的軌跡差異,可以更便利的觀察攻擊所造成的導航誤差與行為偏差,進一步作為防禦機制驗證的依據。
作為一種很仰賴感測器資訊與自動控制系統的機器,無人機系統在面對感測器故障或惡意攻擊時容易產生風險。例如,透過偽造 GPS 或磁力計數據的攻擊手法,可能誘導無人機偏離原定航線、降落在不正確的地點,甚至發生墜毀。
為了降低實驗風險與成本,愈來愈多研究開始利用模擬環境進行無人機攻擊與防禦機制的測試,儘管已有許多文獻探討針對感測器等攻擊模型與防禦方法,然而目前多數研究仍存在各種限制,像是未提供一套可模擬真實飛行情境的開放式攻擊平台、無法很輕易的動態控制攻擊與停止攻擊的時機、缺乏對攻擊前後的狀態資料(EKF輸出)、感測器輸入(如GPS注入)、以及實際飛行狀態(由飛行動力學模擬器 FDM 提供)的同步記錄與分析機制。
Ardupilot 作為開源且功能完整的平台,其 SITL架構允許研究者在無需實體硬體的前提下,模擬飛行過程中各感測器資料的讀取跟控制指令,是許多研究者會選擇的平台。這篇研究也是建立在這個Ardupilot的架構之上,設計並實作一個整合了 Ardupilot 的模擬系統、地面站模組、以及即時資料紀錄功能的攻擊模擬平台。此平台支援 GPS注入、磁力計偏移等典型 FDI 攻擊,並可用很簡單的操作選擇注入時機與類型。透過記錄 EKF 與 FDM 間的軌跡差異,可以更便利的觀察攻擊所造成的導航誤差與行為偏差,進一步作為防禦機制驗證的依據。
In recent years, substantial investments have been made in developing both single and multi-UAV cooperative systems. Aiming to enhance mission efficiency, UAV equipped with cameras, sensors, and GPS receivers, UAVs have become highly adaptable for a variety of tasks.
As UAVs rely heavily on sensor data and autonomous control systems, they are particularly vulnerable to risks when faced with sensor failures or malicious attacks. For instance, spoofing attacks on GPS or magnetometer data can mislead a UAV to deviate from its intended path, land at an incorrect location, or even crash.
To mitigate experimental risks and reduce costs, a growing number of studies have turned to simulated environments to test UAV attack and defense mechanisms.
ArduPilot, a feature-rich and open-source autopilot platform, provides a Software-In-The-Loop (SITL) architecture that allows researchers to simulate sensor readings and control commands without requiring physical hardware. Built on the ArduPilot architecture, this study designs and implements an integrated attack simulation framework that incorporates simulation system of ArduPilot, a ground control station module, and real-time data logging.
The platform supports typical Fault Data Injection (FDI) attacks such as GPS spoofing and magnetometer biasing. It allows users to easily select attack types and injection timing. By recording and comparing discrepancies between EKF outputs and FDM flight paths, the system enables effective observation of navigation errors and behavioral deviations caused by attacks, providing a robust foundation for evaluating defense mechanisms.
As UAVs rely heavily on sensor data and autonomous control systems, they are particularly vulnerable to risks when faced with sensor failures or malicious attacks. For instance, spoofing attacks on GPS or magnetometer data can mislead a UAV to deviate from its intended path, land at an incorrect location, or even crash.
To mitigate experimental risks and reduce costs, a growing number of studies have turned to simulated environments to test UAV attack and defense mechanisms.
ArduPilot, a feature-rich and open-source autopilot platform, provides a Software-In-The-Loop (SITL) architecture that allows researchers to simulate sensor readings and control commands without requiring physical hardware. Built on the ArduPilot architecture, this study designs and implements an integrated attack simulation framework that incorporates simulation system of ArduPilot, a ground control station module, and real-time data logging.
The platform supports typical Fault Data Injection (FDI) attacks such as GPS spoofing and magnetometer biasing. It allows users to easily select attack types and injection timing. By recording and comparing discrepancies between EKF outputs and FDM flight paths, the system enables effective observation of navigation errors and behavioral deviations caused by attacks, providing a robust foundation for evaluating defense mechanisms.