Exploring Practical Vulnerabilities of Machine Learning-based Wireless Systems

Zikun Liu, Changming Xu, Emerson Sie, Gagandeep Singh, Deepak VasishtNSDI 2023

TL;DR

This paper introduces RAFA, the first hardware-based adversarial attack platform for machine learning (ML)-based wireless systems. RAFA demonstrates that even with realistic constraints like lack of synchronization and channel distortions, ML models in wireless communication and localization can be significantly disrupted, highlighting a critical security vulnerability.

What Problem Does This Paper Address?

Machine learning (ML) is increasingly being adopted in wireless systems for applications ranging from communication optimization to precise localization. While ML has shown impressive performance in domains like computer vision and natural language processing, it's also known to be vulnerable to adversarial attacks – small, imperceptible perturbations to input data that can cause misclassifications. However, applying these attacks to wireless systems presents unique challenges. Unlike static data like images, wireless signals are dynamic and subject to numerous real-world effects such as channel fading, attenuation, and clock offsets between devices. Previous adversarial attacks on wireless systems often relied on unrealistic assumptions, such as perfect synchronization or direct access to the ML model's input. This paper addresses the critical gap of demonstrating practical, hardware-based adversarial attacks against ML-based wireless systems that account for these real-world complexities.

Methods

The core contribution is the RAFA (Radio Frequency Attack) platform. RAFA is designed to overcome several key challenges in mounting practical wireless adversarial attacks:

  • Coordination-Free: RAFA does not require synchronization with the base station or client, meaning it can attack without knowing when transmissions start or end.
  • Unknown Inputs: The attacker doesn't know the exact input to the ML model. RAFA addresses this by using Universal Adversarial Perturbations (UAPs), which are designed to be effective across a distribution of inputs, rather than a single specific input. They also develop differential pre-processing steps to ensure perturbations remain effective after the model's pre-processing pipeline.
  • Channel-Induced Transformations: Wireless channels distort adversarial noise. RAFA leverages channel reciprocity to estimate the wireless channel from the attacker to the base station, allowing it to craft perturbations that are effective even after channel transformations.
  • Lack of Synchronization: To handle random clock offsets (CFO and timing), RAFA incorporates a robustness mechanism in its UAP design that tests perturbations against arbitrary phase offsets.

RAFA's algorithm, Robust Wireless UAP (RW-UAP), iteratively computes these robust universal perturbations. For the attack formulation, they model the ML pipeline as a function of the wireless channel, pre-processing steps, and transformations due to wireless factors.

Datasets

The paper describes re-implementing two target systems:

  • FIRE: For FIRE, they collected 10,000 data points by moving an antenna in a 10m x 7m lab environment with various reflectors and obstacles. This dataset was split 8:2 for training and testing.
  • DLoc: For DLoc, they did not collect new data due to the need for a robot for ground truth. Instead, they used publicly available datasets from the DLoc authors, specifically the 'jacobs_Jul28' dataset.

Key Insights and Ideas

  • Real-world constraints are not just defenses, they are attack vectors: The paper shows that challenges like lack of synchronization and channel distortions, which might seem like natural defenses, can be modeled and overcome by a sophisticated attacker.
  • Universal Adversarial Perturbations (UAPs) are key for wireless: The dynamic and unpredictable nature of wireless signals makes input-specific attacks difficult. UAPs, designed to work across a range of inputs, are a more practical approach for wireless adversarial attacks.
  • Channel reciprocity is a powerful tool for attackers: By estimating the wireless channel, attackers can significantly improve the effectiveness of their perturbations, demonstrating a clever exploitation of a fundamental wireless principle.
  • Hardware implementation is crucial for demonstrating practicality: Moving beyond simulations, RAFA's hardware implementation provides concrete evidence that these attacks are not just theoretical possibilities but real-world threats.
  • Black-box attacks are feasible and effective: The paper shows that even without full knowledge of the target ML model's architecture or weights, RAFA can achieve comparable attack performance, making it a significant threat.

Key Results

  • FIRE Attack: RAFA caused a median drop of 4.06 dB in FIRE's channel prediction accuracy, which was over 2X better than Gaussian noise and vanilla UAP baselines. This translated to a 26.85% drop in spectral efficiency.
  • DLoc Attack: RAFA increased the median localization error of DLoc from 1.04m to 1.75m (a 0.71m increase), which is critical for safety-sensitive applications. This was significantly better than baseline attacks.
  • Perturbation Budget: For both FIRE and DLoc, increasing the perturbation budget directly improved attack effectiveness. RAFA's perturbations were found to be surreptitious, using less than 5% of the user signal power for a 20% budget.
  • Ablation Studies: For FIRE, modeling the attacker's channel (Ha) was the most critical component for RAFA's effectiveness. For DLoc, modeling synchronization robustness was found to be more important.
  • Black-Box Attack: RAFA's black-box attack performance closely matched its white-box performance, with only a minor drop (e.g., 0.5 dB less SNR drop for FIRE at 25% budget).
  • Adversarial Training: Applying adversarial training to FIRE improved its robustness, maintaining an SNR of 14.09dB against RAFA attacks, a 38.6% improvement over the original model.

Limitations and Future Work

  • Limitations:
    • The current RAFA platform uses a single antenna, which limits its capability compared to multi-antenna adversaries.
  • The paper acknowledges that the black-box attack setup is preliminary.
  • The adversarial training defense is computationally expensive, significantly increasing training time.
  • Future Work:
    • Investigate more capable adversaries with multiple antennas.
  • Explore attacks at higher layers of the wireless stack (e.g., MAC layer) beyond the physical layer.
  • Develop faster and more robust adversarial training methods and explore formal guarantees for model robustness.
  • Design cross-layer defense mechanisms that are resilient to physical layer attacks.

Summary updated

BibTeX
@inproceedings{liu2023exploring,
  author = {Zikun Liu and Changming Xu and Emerson Sie and Gagandeep Singh and Deepak Vasisht},
  title = {{Exploring Practical Vulnerabilities of Machine Learning-based Wireless Systems}},
  booktitle = {NSDI},
  year = {2023},
  url = {https://openreview.net/forum?id=RuaTPzvqFI},
}
Figure