TUM Logo

Improving Exfiltration of Precise Wi-Fi Timestamps on the ESP32 Platform

Improving Exfiltration of Precise Wi-Fi Timestamps on the ESP32 Platform

Supervisor(s): Maximilian Tschirschnitz Daniel Kirschten
Status: finished
Topic: Others
Author: Viktor Boskovski
Submission: 2025-09-26
Type of Thesis: Bachelorthesis

Description

With radio-based localization systems becoming an important part of our everyday
lives, especially for indoor scenarios, there is a need for inexpensive yet capable
hardware and algorithms. Wi-Fi Fine Timing Measurement (FTM), standardized
in 2016 in IEEE 802.11, is a contender for providing these objectives because of
its ubiquitousness. FTM can estimate the distance between two participants by
measuring the Time of Flight of transmitted frames. The ESP32 is an affordable
and widely available microcontroller produced by Espressif, which implements
the FTM protocol. Although the implementation is closed source, efforts have
been made to exfiltrate timestamps from the hardware. This thesis continues
this project and provides methods for exfiltrating timestamps and associating
them with specific Wi-Fi frames, thus building a foundation for implementing
more advanced localization algorithms. The precision and usability of the results
are then evaluated, and an implementation of Two-Way Ranging compared to
Espressif’s FTM.