Wi-Fi Trace Anonymization with K-Anonymity Control in Trusted Execution Environments

  • Pedro V. Rubinstein UFRJ
  • Fernando Dias de M. Silva UFRJ
  • Guilherme A. Thomaz UFRJ
  • Miguel Elias M. Campista UFRJ
  • Luís Henrique M. K. Costa UFRJ

Abstract


Wi-Fi monitoring leverages several applications, such as localization and counting people. Yet, preserving user privacy remains a critical concern. At the same time, data collection devices operating in public and unsupervised environments are vulnerable to attacks which may compromise them. This work presents a Wi-Fi sniffer that leverages trusted execution environments during the sniffing process to securely anonymize data on the device. As a result, the anonymity of previously stored data is preserved even in the presence of attackers with full control over the device’s operating system. To this end, the proposed sniffer enforces a k-anonymity level for MAC addresses. Furthermore, the implementation optimizes memory usage to only 10 MB of RAM considered the traditional and trusted execution environments, enabling deployment on resource constrained devices. Experimental results show that the latency added by cryptographic routines within the trusted environment does not prevent Wi-Fi monitoring in realistic scenarios.

References

Capponi, A., Fiandrino, C., Kantarci, B., Foschini, L., Kliazovich, D. e Bouvry, P. (2019). A Survey on Mobile Crowdsensing Systems: Challenges, Solutions and Opportunities. IEEE Communications Surveys & Tutorials, 21:2419–2465.

Das, A., Narayan, K. e Chakraborty, S. (2022). Leveraging ambient sensing for the estimation of curiosity-driven human crowd. Em 2022 IEEE International Systems Conference (SysCon), páginas 1–8.

Determe, J.-F., Azzagnuni, S., Singh, U., Horlin, F. e De Doncker, P. (2022). Monitoring Large Crowds With WiFi: A Privacy-Preserving Approach. IEEE Systems Journal, 16(2):2148–2159.

Göttel, C., Felber, P. e Schiavoni, V. (2019). Developing secure services for iot with op-tee: a first look at performance and usability. Em Distributed Applications and Interoperable Systems: 19th IFIP WG 6.1 International Conference (DAIS), páginas 170–178.

Manjappa, R., Rao, V., Prasad, R. V. e Sinitsyn, A. (2019). Estimating crowd distribution using smart bulbs. Em 2019 IEEE Global Communications Conference (GLOBECOM), páginas 1–6. IEEE.

Martin, J., Mayberry, T., Donahue, C., Foppe, L., Brown, L., Riggins, C., Rye, E. e Brown, D. (2017). A study of mac address randomization in mobile devices and when it fails. Proceedings on Privacy Enhancing Technologies, 2017.

Ngabonziza, B., Martin, D., Bailey, A., Cho, H. e Martin, S. (2016). Trustzone explained: Architectural features and use cases. Em IEEE 2nd International Conference on Collaboration and Internet Computing (CIC), páginas 445–451. IEEE.

Project, A. T. (2023). Teaclave trustzone sdk. [link]. Acessado em: 2026-01-28.

Reichl, P., Oh, B., Ravitharan, R. e Stafford, M. (2018). Using Wifi Technologies to Count Passengers in Real-time around Rail Infrastructure. Em International Conference on Intelligent Rail Transportation (ICIRT), páginas 1–5.

Ribeiro, R. H., Rodrigues, B. B., Killer, C., Baumann, L., Franco, M. F., Scheid, E. J. e Stiller, B. (2021). ASIMOV: A Fully Passive WiFi Device Tracking. Em 2021 IFIP Networking Conference (IFIP Networking), páginas 1–3.

Sakib, M. N., Halim, J. B. e Huang, C.-T. (2014). Determining Location and Movement Pattern Using Anonymized WiFi Access Point BSSID. Em 7th International Conference on Security Technology, páginas 11–14.

Silva, F. D. M., kumar Mishra, A., Viana, A. C., Achir, N., Fladenmuller, A. e Costa, L. H. M. K. (2022). Performance Analysis of a Privacy-Preserving Frame Sniffer on a Raspberry Pi. Em 6th Cyber Security in Networking Conference (CSNet).

Tan, J. e Gary Chan, S.-H. (2021). Efficient Association of Wi-Fi Probe Requests under MAC Address Randomization. Em IEEE INFOCOM 2021 - IEEE Conference on Computer Communications, páginas 1–10.

Tan, K. e Kotz, D. (2010). Saluki: A high-performance Wi-Fi sniffing program. Em 8th International Symposium on Modeling and Optimization in Mobile, Ad Hoc, and Wireless Networks, páginas 591–596.

Verma, V. e Singh, A. (2019). Indoor Location Determination using Radio Signal Strength Model for Distance Estimation. Em 2019 International Conference on Computer Communication and Informatics (ICCCI), páginas 1–4.

Wang, S., Zhang, L., Lin, L. e Zhang, L. (2021). Wi-Fi Sniffing Data Based Passenger-flow Detection Method Applied in Urban Rail Transit. Em 2021 IEEE 6th International Conference on Computer and Communication Systems (ICCCS), páginas 17–21.
Published
2026-05-25
RUBINSTEIN, Pedro V.; SILVA, Fernando Dias de M.; THOMAZ, Guilherme A.; CAMPISTA, Miguel Elias M.; COSTA, Luís Henrique M. K.. Wi-Fi Trace Anonymization with K-Anonymity Control in Trusted Execution Environments. In: BRAZILIAN SYMPOSIUM ON COMPUTER NETWORKS AND DISTRIBUTED SYSTEMS (SBRC), 44. , 2026, Praia do Forte/BA. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2026 . p. 155-168. ISSN 2177-9384. DOI: https://doi.org/10.5753/sbrc.2026.20005.

Most read articles by the same author(s)

<< < 1 2 3 4