PortPrint: Identifying Inaccessible Code with Port Contention
Proceedings of the Microarchitecture Security Conference · 2025
DOI: 10.46586/uasc.2025.004 ↗Kurz gefasst
Fachartikel in der Zeitschrift Proceedings of the Microarchitecture Security Conference, 2025. Verfasst von Tristan Hornetz und 1 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref).
Abstract (Originalsprache)
In many real-world scenarios, being able to infer specific software versions or variations of cryptographic libraries is critical to mounting targeted exploits. For this, traditional version-detection approaches often rely on direct inspection of programs. However, modern computing platforms frequently employ protection for code, e.g., using execute-only memory (XOM) or trusted execution environments (TEE) to safeguard sensitive code from disclosure and reverse engineering. This paper demonstrates how side-channel measurements via CPU port contention reveal distinctive execution signatures, even when code is inaccessible for inspection. Our proof-of-concept implementation PortPrint identifies cryptographic functions, reveals library versions, and even uncovers whether a WolfSSL build is vulnerable to CVE-2024-1544 or if Spectre mitigations are active in Xen. We verify that PortPrint works despite state-of-the-art code protection mechanisms, such as memory protection keys, hypervisor-based XOM, Intel SGX, Intel TDX, and AMD SEV. We also report a negative result for leaking code protected with these techniques using Meltdown and Foreshadow, providing valuable insights into the limitations of these attacks. Our results show that hardware-based isolation is insufficient to conceal instruction streams.
Zitieren
APA
Hornetz, T., & Schwarz, M. (2025). PortPrint: Identifying Inaccessible Code with Port Contention. Proceedings of the Microarchitecture Security Conference. https://doi.org/10.46586/uasc.2025.004
Vancouver
Hornetz T, Schwarz M. PortPrint: Identifying Inaccessible Code with Port Contention. Proceedings of the Microarchitecture Security Conference. 2025. doi:10.46586/uasc.2025.004
BibTeX
@article{Hornetz2025,
author = {Hornetz, Tristan and Schwarz, Michael},
title = {PortPrint: Identifying Inaccessible Code with Port Contention},
journal = {Proceedings of the Microarchitecture Security Conference},
year = {2025},
doi = {10.46586/uasc.2025.004}
}
EUVIMED