MASTERKEY: Practical Backdoor Attack Against Speaker Verification Systems

Hanqing Guo, Xun Chen, Junfeng Guo, Li Xiao, Qiben Yan

TL;DR

This paper introduces MASTERKEY, a novel backdoor attack that can compromise speaker verification (SV) systems in real-world scenarios, even when the attacker has no prior knowledge of the target's voice or the SV model. MASTERKEY achieves high attack success rates by embedding a universal backdoor that is imperceptible and robust to various real-world conditions, posing a significant threat to the security of voice-based authentication.

What Problem Does This Paper Address?

Speaker Verification (SV) systems are increasingly used for authentication in various applications, from mobile devices to banking. While convenient, these systems are vulnerable to attacks. Existing attacks often require specific knowledge of the target's voice, the SV model's architecture (white-box), or are impractical in real-world settings due to factors like limited attack duration, dynamic channel conditions, and the inability to access target voice samples. This paper addresses the critical gap of developing a practical, stealthy, and effective backdoor attack that can compromise SV systems without these limitations, particularly targeting Out-Of-Domain (OOD) speakers and operating in black-box scenarios.

Methods

The core of MASTERKEY lies in its ability to create a universal backdoor trigger that can attack arbitrary targets. The authors first investigate limitations of existing poisoning attacks against unseen targets. They then design a universal backdoor by embedding speaker characteristics and semantic information, making it imperceptible. A key innovation is the estimation and integration of channel distortion into the backdoor to ensure robustness against real-world transmission effects (e.g., over-the-air, telephony).

The attack proceeds in two phases:

  1. Poisoning Phase: The attacker can either publish a poisoned dataset or a poisoned model. This poisoned data is then used by the service provider to train or fine-tune their SV models, inadvertently embedding the backdoor.
  2. Inference Phase: When an attacker uses the backdoor trigger, the poisoned SV model misclassifies the attacker as any legitimate enrolled user, granting unauthorized access.

The design of the backdoor embedding involves optimizing a surrogate SV model to minimize both the attack loss (making the backdoor embedding align with target centroids) and the normal usage loss (ensuring the model still functions correctly for legitimate users). To generate the backdoor audio, they employ a generative model that integrates speech semantics with the backdoor embedding, followed by a speech synthesis module and a channel simulation module to ensure robustness.

Datasets

  • TIMIT: Used for creating poisoned datasets and for attack experiments.
  • LibreSpeech: Used for enrolling speakers and for attack evaluation, particularly for OOD targets.

The paper also implicitly uses pre-trained SV models from various sources for their experiments.

Key Insights and Ideas

  • Universality is Key: Unlike previous attacks that might be speaker-specific, MASTERKEY's strength lies in its universal backdoor trigger, capable of attacking any enrolled speaker.
  • Real-World Robustness: The explicit simulation of channel distortions (noise, filtering, quantization) is crucial for making the attack effective in practical, noisy environments.
  • Stealth is Paramount: Embedding semantic and speaker characteristics into the backdoor makes it difficult for humans to detect, distinguishing it from simpler one-hot encoded triggers.
  • OOD Targets are Vulnerable: The attack effectively targets Out-Of-Domain speakers, meaning attackers don't need prior knowledge of the specific individuals they aim to impersonate.
  • Minimal Poisoning is Sufficient: Even with a low poison rate (as low as 3%), the attack can achieve a significant success rate, making it a potent threat.

Key Results

  • MASTERKEY achieved a 100% attack success rate (ASR) with a 15% poison rate across 6 popular SV models.
  • Even with a reduced poison rate of 3%, the attack success rate remained around 50%.
  • The attack was successfully demonstrated in 3 real-world scenarios: over-the-air and over-the-telephony-line.
  • The attack demonstrated high efficacy across various SV models, including D-Vector, VGG-M, ResNet-50, and AERT, with ASRs consistently above 70% for most models.
  • MASTERKEY outperformed existing backdoor attacks like BadNets and ClusterBK in terms of attack time (fewer triggers) and ASR.
  • The attack showed robustness to different trigger speeches and was effective even when the poisoned speaker rate was reduced.

Limitations and Future Work

  • Defense Evasion: While the paper proposes a "sniper" based defense, the authors acknowledge that traditional activation clustering defenses are ineffective against MASTERKEY due to the backdoor's close resemblance to benign samples.
  • Physical Attack Constraints: For over-the-air attacks, very long distances are not tested due to the impracticality of transmitting loud sounds without distortion or detection.
  • Future Work: The paper implicitly suggests further research into more robust defenses against such sophisticated backdoor attacks and exploring the attack's efficacy on an even wider range of SV systems and real-world conditions. The authors also highlight the potential for MASTERKEY to be adapted to other biometric systems.

Summary updated

BibTeX
@inproceedings{guo2023masterkey,
  author = {Hanqing Guo and Xun Chen and Junfeng Guo and Li Xiao and Qiben Yan},
  title = {{MASTERKEY: Practical Backdoor Attack Against Speaker Verification Systems}},
  booktitle = {MobiCom},
  year = {2023},
  doi = {10.1145/3570361.3613261},
}
Figure