Skip to content (access key 's')
Logo of Technion
Logo of CS Department
Logo of CS4People

The Taub Faculty of Computer Science Events and Talks

ceClub: From IP ID to Device ID and KASLR Bypass
event speaker icon
Amit Klein (The Hebrew University of Jerusalem)
event date icon
Wednesday, 08.12.2021, 11:30
event location icon
Zoom Lecture: 95694696426
IPv4 headers include a 16-bit ID field. Our work examines the generation of this field in Windows, Linux and Android, and shows that the IP ID field enables remote servers to assign a unique ID to each device and thus be able to identify subsequent transmissions sent from that device. This identification works across all browsers and over network changes, including VPNs and browser privacy modes. In modern Linux and Android versions, this field leaks a kernel address, thus we also break KASLR, which is a major part of the kernel security defenses. Our work includes reverse-engineering of the Windows IP ID generation code, and a cryptanalysis of this code and of the Linux kernel IP ID generation code. It provides practical techniques to partially extract the key used by each of these algorithms. We deployed a demo (for Windows) showing that key extraction and machine fingerprinting works in the wild, and tested it from networks around the world. We disclosed our findings to Microsoft and Linux, and they subsequently deployed patches to mitigate our attacks. Bio: Amit is currently a post-doc researcher in the Hebrew University. He did his PhD studies at Bar Ilan University. Previously he was the CTO of Trusteer (now an IBM company), and the chief scientist of Cyota (acquired by RSA Security). His research is in the intersection between network protocols and operating system security. His research won the first prize in the CSAW Israel applied research competitions in 2019 and 2020. Aside from academic conferences, his research was frequently presented at top industrial cyber security conferences. The Network Time Protocol (NTP) synchronizes time across computer systems over the Internet, and so constitutes a crucial part of the Internet infrastructure. Unfortunately, NTP is highly vulnerable to “time shifting attacks”, which has severe implications for time-sensitive applications, as well as many security mechanisms. I will discuss our recent proposals for securing NTP, which draw ideas from distributed computing theory to achieve good synchronization even in the presence of powerful man-in-the-middle attackers. I will also discuss some lessons we have learned from this endeavor, which we believe apply to securing the Internet in general.