Re:Vulnerability in Microsoft TLS library could allow remote...
by jamesaguilar on Wednesday November 12, 2014 @02:42AM
(#8594414)
Question: if you know the attacker doesn't have local access, is it sufficient to simply introduce random response delays to mitigate JVM-JIT level timing differences? Even if you only delayed responses by a few hundred micros on average (with randomness), I imagine all but the smallest amount of fast-path/slow-path entropy would be lost in the noise.
[ Parent
| on HN ]
Re:Vulnerability in Microsoft TLS library could allow remote...
by cjg on Wednesday November 12, 2014 @03:03AM
(#8594459)
It requires the attacker to acquire more data - perhaps so much data that the attack is not feasible - but it doesn't rule out a timing attack.
Re:Vulnerability in Microsoft TLS library could allow remote...
by JonnieCache on Wednesday November 12, 2014 @06:35AM
(#8594944)
It's pretty easy to filter out the randomness using statistics.
As I understand it, the correct thing to do is to derive a sleep time from hashing the request content, along with some secret. This makes the delay "random" from the attackers point of view, but still deterministic and therefore impossible to filter out.
Note: I am not a security person, just an interested bystander. Take this half-remembered advice with a pinch of salt.
Re:Vulnerability in Microsoft TLS library could allow remote...
by TheLoneWolfling on Wednesday November 12, 2014 @06:48AM
(#8594992)
That won't work if there's an irrelevant parameter in the request that can be varied. Say spaces ignored somewhere or additional parameters ignored, for instance.