Evaluating Smart Home Privacy: The Relationship Between Encrypted Sensor Data and Occupancy Prediction Through Machine Learning
The widespread adoption of smart meters and other IoT devices in smart homes has revolutionized residential energy management. However, this convenience comes with significant privacy risks, as malicious individuals can exploit leaked data to predict household occupancy, potentially enabling crimes like burglary and theft. Therefore, to safeguard occupancy data in a given household, we introduce a novel, efficient and robust cryptographic scheme subdivided into two. Both methods involve a robust two-fold encryption process, i.e.; performing Customized Fernet-256 encryption with random shuffling vs Customized Fernet-256 encryption with strategy based operations on household data, respectively. To test the effectiveness of these two methods, we predict the occupancy using an AutoML classifier on encrypted and unencrypted data. The random shuffling method steadily reduces the classifier’s accuracy as the percentage of encryption increases. In contrast, the strategic method achieves strong protection against intrusion even with minimal intervention, although its performance improvement plateaus after an initial decline. This is a significant improvement over unencrypted data, where attackers could have achieved $\gt95 \%$ across all performance metrics. Furthermore, we found that the strategic method attains a remarkable F1-Score of 0.447 for predicting absence at $100 \%$ encryption level, underscoring the difficulty of the attacker in accurately predicting household occupancy status during the test period. The corresponding value for the random shuffling method is 0.005, illustrating its superiority in terms of F1-Score. These findings signify the importance of encryption as a privacy-preserving measure in smart homes and demonstrate its ability to prevent unauthorized occupancy inference.
Authors
- Christian Schindelhauer (ORCID: https://orcid.org/0000-0002-8320-8581)
- Sneha Mohanty (ORCID: https://orcid.org/0000-0001-7881-4563)
- Demetrios N. Papadopoulos
Institutions
- University of Freiburg (DE)
Publication Details
- Published
- 2025-08-04
- DOI
- https://doi.org/10.1109/csr64739.2025.11129999
- Primary Topic
- Privacy, Security, and Data Protection
- Type
- article
- Field-Weighted Citation Impact
- 0.00