Enhanced PTP Security Framework for TSN: A Comprehensive Approach to Secure TLV Management with Extended Analysis
Abstract
Time-Sensitive Networking (TSN) is what makes deterministic communication possible in Industry 4.0. It depends on the Precision Time Protocol (PTP) to keep clocks synchronized in every microsecond, which is important for manufacturing automated car systems and industrial automation. Nevertheless Berardi et al. (2023) demonstrated that vulnerabilities in PTP's Type Length Value (TLV) frames allow for low-bandwidth attacks, such as DISABLE_PORT, which de-synchronize clocks causing errors of up to 8 ms and jeopardizing operational integrity. We present Secure-Tl V-ptp, a robust framework to strengthen PTP through required TLV authentication, dynamic key management, network segmentation and machine learning-based anomaly detection. Extending Berardi et al.'s fundamental work, we present a formal security model a new mathematical formulation for clock drift prediction and attack likelihood and a thorough analysis of TSN security trends from 2020 to 2025. With clock drift decreased to 35 ns and latency overhead of 4555 µs, well within TSN's rigorous criteria, comprehensive studies spanning 2 to 20 nodes show a 97.5% reduction in attack success rates. Our method for finding anomalies is 94% accurate, which is far better than previous standards. Also, a new graphs and tables show the speed and scalability. Secure-TLV- PTP enhances TSN security by tackling TLV vulnerabilities with a scalable, low-latency solution therefore guaranteeing consistent synchronization for next-generation industrial networks.