Questions tagged [timing-attack]
side channel attack based on the different speed at which certain operations are executed.
17
questions with no upvoted or accepted answers
3
votes
0answers
111 views
Attacking Scrypt Under Access Pattern Leakage
Could cache-timing channels (such as exist for certain
block ciphers) somehow be made use of in order to extract memory-access pattern information if both the attacker and user are NOT in a shared ...
3
votes
0answers
210 views
Timing Attack on OpenSSL by Brumley
I am referring to this paper by David Brumley and Dan Boneh: Remote Timing Attacks are Practical (In proceedings of the 12th Usenix Security Symposium, 2003).
In this paper on page 4, Brumley ...
2
votes
1answer
106 views
How to ensure that a cryptographic implementation is reasonably sound/robust?
I know from the bottom of my heart how bad the idea of custom-crypto is. I absolutely concur with the recommendation that it should only be done by professionals who specialize in implementing crypto ...
2
votes
0answers
53 views
RSA: Blinding versus fixed-time computation
For RSA, what is the standard solution against timing attacks? I know about RSA blinding as one solution.
Another solution is to always compute both the squared value and square-and-multiply values, ...
2
votes
0answers
80 views
Is timing attack practical in a web developer's perspective?
Let's say my server has a non-constant-time compare function for checking if the visitor has a valid session id. The time it takes for the comparator to run would be very insignificant, usually within ...
2
votes
0answers
235 views
RSA Key Blinding
I was looking the answer to the following question (Timing attack on modular exponentiation), discussing the Private Key Blinding as a countermeasure for timing attacks.
Therefore I'm asking if ...
1
vote
0answers
272 views
Question about RSA timing attack and a Chosen Ciphertext Attack on RSA
I am quite new to the RSA and I have a couple of questions that confuse me.
Q1: A Timing attack on RSA can be prevented _____________________________
A. By performing the “square and multiply” ...
1
vote
0answers
85 views
Side channel attack: Why building an eviction set is possible?
I'm learning about the side channel attack on the cache. I came to know that most of the attack (EVICT + TIME, PRIME + PROBE, PRIME + ABORT) on the cache is initiated by building an eviction set(a ...
1
vote
0answers
175 views
Kocher Timing Attack - Error Correction
In class, we learned the Kocher Timing Attacke on modular exponentiation. For determining whether the (e.g., LSB) is 0 or 1, we specified two values:
$T_1 = T_M - (TMult(1, y) + (\omega -1)ExpTMult)$
...
1
vote
0answers
86 views
Cache Attacks on Cloud Infrastructures
I read something about cache attacks like this:
Enter KSM (Kernel SamePage Merging). KSM enables the kernel to examine two or more already running programs and compare their memory. If any memory ...
1
vote
0answers
468 views
RSA timing attack
Given an RSA implementation that uses Montgomery multiplications and CIOS exp algo, but NOT CRT.
Given a decryption1 oracle that takes chosen cipher text and responds the plain text and the time it ...
0
votes
0answers
64 views
Can someone explain the timing attack on RSA with Montgomery multiplication?
I have read several articles on the temporal attack against Montgomery multiplication to speedup RSA computations. However, I do not quite get the principle.
I understood that there is a additional ...
0
votes
0answers
37 views
exfiltrating salts with timing attacks?
It seems to me that it's theoretically possible to exfiltrate a salt against a hashing algorithm that isn't constant time using specially crafted inputs.
Are there any examples of this being done in ...
0
votes
0answers
40 views
One time code appended to password
Apologies in advance, I'm a beginner and my knowledge of terminology in this field probably reflects that.
I have a question about one-time codes being used with passwords. What inspires me to ask ...
0
votes
0answers
38 views
Is it okay to bail out early when length mismatch is detected?
Is it okay to bail out early when length mismatch is detected?
Specifically, when verifying authenticated encryption, is it okay to bail out early if the wrong amount of ciphertext or the wrong ...
0
votes
0answers
185 views
Importance of timing attack resistance with AES
I've implemented AES in my library with several variations: a straight C version, a version using x86 SSSE3, and a version using x86 AES-NI. The SSSE3 and AES-NI implementations are constant-time, ...
0
votes
0answers
55 views
Is a timing side channel attack effective when the leaked information is related to the result of a hash?
I'm writing a function to act as a cryptographic hash of a number within a range that returns another number of the same range. The catch is that the result needs to have certain properties. I run a ...