Shake-n-Shack: Enabling Secure Data Exchange Between Smart Wearables via Handshakes

Yiran Shen, Fengyuan Yang, Bowen Du, Weitao Xu, Chengwen Luo, Hongkai Wen

Abstract

Since ancient Greece, handshaking has been commonly practiced between two people as a friendly gesture to express trust and respect, or form a mutual agreement. In this paper, we show that such physical contact can be used to bootstrap secure cyber contact between the smart devices worn by users. The key observation is that during handshaking, although belonged to two different users, the two hands involved in the shaking events are often rigidly connected, and therefore exhibit very similar motion patterns. We propose a novel Shake-n-Shack system, which harvests motion data during user handshaking from the wrist worn smart devices such as smartwatches or fitness bands, and exploits the matching motion patterns to generate symmetric keys on both parties. The generated keys can be then used to establish a secure communication channel for exchanging data between devices. This provides a much more natural and user-friendly alternative for many applications, e.g. exchanging/sharing contact details, friending on social networks, or even making payments, since it doesn't involve extra bespoke hardware, nor require the users to perform pre-defined gestures. We implement the proposed Shake-n-Shack system on off-the-shelf smartwatches, and extensive evaluation shows that it can reliably generate 128-bit symmetric keys just after around 1s of handshaking (with success rate >99%), and is resilient to real-time mimicking attacks: in our experiments the Equal Error Rate (EER) is only 1.6% on average. We also show that the proposed Shake-n-Shack system can be extremely lightweight, and is able to run in-situ on the resource-constrained smartwatches without incurring excessive resource consumption.

Introduction

As smartwatches and fitness bands evolve into independent devices with LTE and payment capabilities, the need for secure, spontaneous data exchange has grown. Traditional pairing methods, such as manual PIN entry or QR code scanning, are often cumbersome and disrupt social flow. Shake-n-Shack addresses this by turning a natural social gesture—the handshake—into a secure pairing mechanism. By capturing the physical synchronization of two hands during a shake, the system establishes a "zero-effort" secure communication channel.

The Shake-n-Shack Pipeline

The system transforms raw accelerometer data into a shared cryptographic key through a multi-stage pipeline.

The Shake-n-Shack system pipeline, from handshake detection to secure data exchange.
  1. Handshake Detection & Alignment: The system monitors 3-axis accelerometer data to detect periodic peaks in acceleration magnitude, allowing it to align data streams from both devices.
  2. Feature Extraction via PCA: Instead of raw signal magnitude, Shake-n-Shack uses Principal Component Analysis (PCA) to identify dominant motion components. This approach is robust to varying watch orientations and triples the bit generation rate compared to baseline methods.
  3. Quantization: Continuous signals are segmented and converted into binary bits using mean and standard deviation-based thresholds.
  4. Key Reconciliation: To account for sensor noise, devices exchange indices of stable bits to agree on a final symmetric key without transmitting the key itself over the air.
  5. Wireless Configuration: A probe-based approach ensures the correct devices are paired even in crowded environments.

Exploiting Physical Synchronization

The core innovation of Shake-n-Shack is the exploitation of the "rigid connection" formed during a handshake. Although the sensors are on different people, the physical coupling results in highly correlated motion patterns.

Comparison of motion signals from two different users (Alice and Bob) during a handshake, showing high synchronization.

This synchronization is difficult for an external observer to replicate. Even if an attacker attempts to mimic the rhythm, the fine-grained, high-frequency motion captured by the accelerometer remains unique to the physically connected pair. This leads to an Equal Error Rate (EER) of just 1.6% against active mimicking attacks.

Experimental Evaluation

The system was evaluated using over 1,000 handshake sessions from 20 volunteers and an adversarial dataset involving "active copycats."

  • Performance: The system generates 128-bit keys in approximately 1.3 seconds with a >99% success rate.
  • Efficiency: Computation takes only 171.1 ms on a Samsung Gear Live smartwatch.
  • Battery Life: The energy impact is negligible, consuming only 0.019% of the daily battery budget, making it suitable for always-on background detection.

Conclusion

Shake-n-Shack provides a secure, user-friendly, and efficient method for pairing wearables. While future work may explore additional sensor modalities like gyroscopes or test the system in extremely crowded environments, the current implementation demonstrates that physical trust can be effectively translated into digital security through common social gestures.

Summary updated

Abstract

Since ancient Greece, handshaking has been commonly practiced between two people as a friendly gesture to express trust and respect, or form a mutual agreement. In this paper, we show that such physical contact can be used to bootstrap secure cyber contact between the smart devices worn by users. The key observation is that during handshaking, although belonged to two different users, the two hands involved in the shaking events are often rigidly connected, and therefore exhibit very similar motion patterns. We propose a novel Shake-n-Shack system, which harvests motion data during user handshaking from the wrist worn smart devices such as smartwatches or fitness bands, and exploits the matching motion patterns to generate symmetric keys on both parties. The generated keys can be then used to establish a secure communication channel for exchanging data between devices. This provides a much more natural and user-friendly alternative for many applications, e.g. exchanging/sharing contact details, friending on social networks, or even making payments, since it doesn't involve extra bespoke hardware, nor require the users to perform pre-defined gestures. We implement the proposed Shake-n-Shack system on off-the-shelf smartwatches, and extensive evaluation shows that it can reliably generate 128-bit symmetric keys just after around 1s of handshaking (with success rate >99%), and is resilient to real-time mimicking attacks: in our experiments the Equal Error Rate (EER) is only 1.6% on average. We also show that the proposed Shake-n-Shack system can be extremely lightweight, and is able to run in-situ on the resource-constrained smartwatches without incurring excessive resource consumption.
BibTeX
@inproceedings{shen2018shake,
  author = {Yiran Shen and Fengyuan Yang and Bowen Du and Weitao Xu and Chengwen Luo and Hongkai Wen},
  title = {{Shake-n-Shack: Enabling Secure Data Exchange Between Smart Wearables via Handshakes}},
  booktitle = {PerCom},
  year = {2018},
  doi = {10.1109/percom.2018.8444579},
}
Figure