In the time side channel, is there any way to improve the measurement time accuracy?

I want to measure the execution time of a function. The execution time of this function is only slightly different in the two cases. Is there any way I can accurately measure its time to distinguish the two cases?
The possible solutions ar… Continue reading In the time side channel, is there any way to improve the measurement time accuracy?

What mitigations are there against a timing attack done to find which devices are communicating on a set of devices?

I know the title isn’t good at all but allow me to explain. In this model I have n devices on different networks that are able to communicate with each other. A supervisor is able to see every packet a device sends or receives. How can two… Continue reading What mitigations are there against a timing attack done to find which devices are communicating on a set of devices?

FLUSH + RELOAD Proof of Concept – Why do we need to flush more than needed?

Problem
I am putting together a proof of concept for the FLUSH + RELOAD attack. The method is outlined in great detail in this paper. The general idea is simple – cached addresses can be accessed with much greater speed than addresses not … Continue reading FLUSH + RELOAD Proof of Concept – Why do we need to flush more than needed?

How to preventing timing attacks against values used for authentication, like emails, stored in Databases?

I am building a web app that allows login with an email and password. I understand that I need to use a timing safe function to compare the passwords to prevent timing attacks. However I realized that the emails might be vulnerable to the … Continue reading How to preventing timing attacks against values used for authentication, like emails, stored in Databases?