Abstract
As multi-user Virtual Reality (VR) platforms gain popularity, the synchronization of avatar movements across networks introduces a novel privacy risk. This paper explores a remote side-channel attack where an adversary, acting as a legitimate user in a shared virtual space, intercepts network packets to reconstruct a victim's keystrokes. By analyzing motion data used for avatar rendering, the researchers demonstrate that sensitive information—such as passwords and private messages—can be recovered with over 97% accuracy without requiring local access or malware.
Introduction
Social VR applications like Rec Room and VRChat rely on real-time synchronization of head and hand movements to create immersive social experiences. To make these interactions feel "real," hand and head movements are captured by sensors and broadcast to every other user in the virtual vicinity. While previous research focused on local side-channels—such as installing malware on the headset or using specialized WiFi sensing equipment—this study investigates a much more dangerous threat: Remote Side-Channel Attacks.
The central question is whether an adversary, acting as a legitimate user in the same virtual space, can exploit the very data meant to render an avatar to steal passwords, credit card numbers, and private chats. Because the attacker is a peer in the network, they are authorized to receive the motion data, bypassing traditional encryption protections.
Methodology
The researchers developed a four-step pipeline to transform "black box" network traffic into cleartext keystrokes:
- Packet Extraction: Using network analysis tools, the researchers isolate the specific UDP streams responsible for motion updates, typically identified by their high transmission frequency.
- Field Extraction: Since many VR apps use proprietary or compressed formats, the team reverse-engineered common networking libraries (like Photon Engine) and used
il2cppdecompilation to locate coordinate data within the raw byte blobs. - Semantics Extraction: To determine which data fields represented specific limbs, they used a "Precise Input Control" method. By replaying recorded VR sessions where only one axis of movement changed at a time, they mapped specific packet fields to 3D coordinates (X, Y, Z) and rotations.
- Click Position Extraction: VR typing usually involves pointing a ray-cast cursor at a virtual keyboard and clicking a trigger. The researchers calculated the keyboard's fixed position relative to the user and "replayed" the victim's hand movements in a local geometric model. By projecting a ray from the hand at the exact moment a "click" was detected in the data, they identified the intersected key.
Additionally, the authors proposed a Machine Learning approach using a Convolutional Neural Network (CNN) for scenarios where full reverse engineering is too difficult, mapping raw packet bytes directly to keystrokes.
Experimental Evaluation
The study utilized several data sources for evaluation:
- Primary User Study: 20 participants typing 22,092 keystrokes (numbers, passwords, and sentences) in Rec Room.
- Concurrent Typing Scenario: 2,431 clicks collected from two users typing simultaneously to test the attack's ability to distinguish between targets.
- Cross-App Validation: Data from 9 participants across three additional popular VR apps: Galaxity, Sing Together: VR Karaoke, and oVRshot.
Key Insights and Results
The Fidelity Paradox
Even though network data is often compressed or under-sampled (20-30Hz) compared to local sensors (60-120Hz), it remains high-fidelity enough to distinguish between keys that are only 3cm apart. This creates a paradox where the data required for a smooth social experience is inherently detailed enough to facilitate a privacy breach.
Visibility and Protocol Homogeneity
The attack does not require the attacker to "see" the victim's avatar. As long as the client receives the network packets to potentially render them, the motion data is available. Furthermore, because most VR developers rely on a handful of engines (Unity) and networking stacks (Photon, Mirror), an attack developed for one application is easily portable to dozens of others.
Performance Metrics
- Accuracy: In the Rec Room study, the attack achieved a 97.62% top-1 accuracy for inferring keystrokes.
- Generalizability: The attack maintained accuracies between 98.24% and 99.07% across three additional test applications.
- Robustness: The system is remarkably resilient, maintaining approximately 95% accuracy even with 20% packet loss.
- ML Feasibility: The CNN-based attack achieved 68.07% top-1 accuracy, proving that even without deep reverse engineering, an attacker can pose a significant threat.
Mitigation and Conclusion
Traditional encryption is insufficient for this threat because the attacker is a legitimate recipient of the data. The researchers suggest that the only robust fix is to stop sending fine-grained motion data altogether while a user is typing. Following this research, major players like SteamVR and Rec Room have already implemented patches that suppress hand motion synchronization when a user opens a sensitive input field.
While the current attack focuses on controller-based "point and click" typing, future work will investigate "finger-poking" (hand tracking) keyboards and the potential for "fingerprinting" users based on unique movement patterns (anthropometrics).
Summary updated