I'm not too much of a cryptography expert. How do I know if I'm using a > constant-time cryptographic library ? Edit: thanks everyone, I just wasn't familiar with the terminology.
Hertzbleed Attack
21–30 of 406 posts
Re: Hertzbleed Attack
#22I'm not too much of a cryptography expert. How do I know if I'm using a > constant-time cryptographic library ? Edit: thanks everyone, I just wasn't familiar with the terminology.
Re: Hertzbleed Attack
#23Does this mean that an evil process may gain information about a foreign process by measuring its own execution speed variations?
But analysis tools only get better over time, so the scenarios where they are useful multiply.
Re: Hertzbleed Attack
#24I'm not too much of a cryptography expert. How do I know if I'm using a > constant-time cryptographic library ? Edit: thanks everyone, I just wasn't familiar with the terminology.
Re: Hertzbleed Attack
#25Re: Hertzbleed Attack
#26My first highly amateur idea was to modify the frequency scaling algorithm with some randomness. How stupid is my idea?
Unfortunately, trying to defeat side-channel attacks by adding random noise usually only increases the number of samples required to extract information, rather than preventing the attack entirely. (You can blame the central limit theorem for this.)
There are also other (unrelated) techniques that use randomness to eliminate side channels. One of the most basic anti-timing-attack countermeasures is to use RSA blinding in which a base C is first randomized by computing C^r mod N before that (random) result is combined with the secret key. The randomness can then be removed from the final result. This defeats attacks that depend on choosing or knowing the value C.
Re: Hertzbleed Attack
#27So if the encryption function would look at an actual timer, and insert bogus calculations at random places during encryption to pad the execution time, would that remove the information this attack needs?
Adding a minimum wall clock floor (i.e. simply waiting to release the decrypted data to a client until a given wall clock time has passed from initiation) would close the door on this particular remote exploitation, although it would leave the door open to local/hardware attacks (power, frequency-analysis, parallel process checking P-states as the oracle instead of overall timing).
Re: Hertzbleed Attack
#28Something about this doesn't bother me as much as other side channels. To me, this reads like trying to predict the presence, make, model & operational schedule of someone's washing machine just by observing how fast their power meter spins over time. Unless you have an intimate awareness of all of the other power consuming appliances, as well as habits of the homeowner, you would have a hell of a time reaching any m…
Re: Hertzbleed Attack
#29My first highly amateur idea was to modify the frequency scaling algorithm with some randomness. How stupid is my idea?
Unfortunately, trying to defeat side-channel attacks by adding random noise usually only increases the number of samples required to extract information, rather than preventing the attack entirely. (You can blame the central limit theorem for this.)
Re: Hertzbleed Attack
#30But, if they had a merchandise shop they would look more professional.