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

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

TL;DR

Shake-n-Shack is a novel system that leverages the physical motion of a handshake to generate secure cryptographic keys between two wrist-worn wearables. By exploiting the fact that two hands move in a highly synchronized, "rigidly connected" pattern during a shake, the system can establish a 128-bit secure communication channel in about a second with minimal user effort and extremely low battery impact.

What Problem Does This Paper Address?

As smartwatches and fitness bands become increasingly independent of smartphones (boasting their own LTE and payment capabilities), the need for secure, "on-the-fly" data exchange grows. Whether it's "friending" someone on social media, exchanging digital business cards, or authorizing a payment, current methods are often clunky. They usually require manual pairing (PIN entry), scanning QR codes, or relying on insecure open broadcasts.

The challenge is to create a "zero-effort" pairing mechanism that is:

  1. Secure: Resilient to eavesdropping and "mimicking" attacks.
  2. User-Friendly: Integrated into natural social gestures.
  3. Efficient: Capable of running on resource-constrained hardware without draining the battery.

Methods

The authors propose a pipeline that transforms raw accelerometer data into a shared secret key:

  • Handshake Detection & Alignment: The system monitors the 3-axis accelerometer. When a handshake starts, it detects the periodic peaks in the acceleration magnitude to align the data streams from both devices.
  • Feature Extraction via PCA: While many systems use simple signal magnitude, Shake-n-Shack employs Principal Component Analysis (PCA). PCA identifies the dominant motion components that are most consistent between the two users, regardless of how the watch is oriented on the wrist. This significantly boosts the bit generation rate compared to baseline methods.
  • Quantization: The continuous motion signal is divided into segments. Using mean and standard deviation-based thresholds, the system converts these segments into binary bits.
  • Key Reconciliation: Because sensor noise prevents the two keys from being 100% identical initially, the devices perform a "reconciliation" step. They exchange the indices of their most stable bits to agree on a final, identical symmetric key without ever transmitting the key itself over the air.
  • Wireless Configuration: To handle environments with multiple people shaking hands, the system uses a probe-based approach where devices attempt to decrypt a "probe message" to identify the correct partner.

Datasets

The researchers evaluated the system using two primary datasets:

  • Legitimate Dataset: Collected from 20 volunteers (10 male, 10 female, ages 22–54) over two weeks, resulting in over 1,000 handshake sessions.
  • Adversarial (Mimicking) Dataset: To test security, "active copycats" observed legitimate handshakes and attempted to mimic the motion patterns simultaneously to see if they could generate the same key.

Key Insights and Ideas

  • Physical Trust as a Cyber Bootstrap: The core "aha" moment is that a handshake is a physical manifestation of trust. By capturing the physics of that trust (the rigid coupling of two hands), we can bootstrap digital security.
  • The Power of PCA: Moving beyond raw axes to PCA-based features was a critical design choice. It tripled the bit generation rate compared to using raw acceleration magnitude, allowing for faster key generation (128 bits in ~1.3 seconds).
  • Hard to Fake: Even when an attacker watches a handshake and tries to copy the rhythm, the fine-grained, high-frequency motion captured by the accelerometer is incredibly difficult to replicate perfectly. The system's Equal Error Rate (EER) of 1.6% proves that "close enough" isn't enough to break the encryption.

Key Results

  • Speed and Reliability: The system reliably generates 128-bit symmetric keys in approximately 1.3 seconds of handshaking, with a success rate of >99%.
  • Security: It is highly resilient to mimicking attacks, maintaining a low EER of 1.6%.
  • Efficiency: The entire process (detection to key generation) takes only 171.1 ms of computation time on a standard smartwatch (Samsung Gear Live).
  • Battery Impact: The energy consumption is negligible, accounting for only 0.019% of the device's daily battery budget, making it feasible for "always-on" detection.

Limitations and Future Work

  • Sensor Modalities: The current implementation relies solely on accelerometers to save power. The authors note that incorporating gyroscopes could provide more entropy but at a higher energy cost.
  • Sophisticated Attacks: While the system resists human mimicking, the authors acknowledge that more sophisticated attacks (e.g., using high-speed cameras and robotic mimics) could be a future concern, though the cost of such attacks is currently prohibitive for most scenarios.
  • Cultural Variations: The system was tested on "standard" handshakes. Future work could explore if the model holds for other gestures like high-fives or culturally specific greetings.
  • Scaling: While the probe-based approach handles a few pairs of users, testing in extremely crowded environments (e.g., a busy conference hall) remains a direction for future stress-testing.

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 <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">1</sup> 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},
}

Loading related content...

Figure