Hardware Security

Which statement about countermeasures to speculative-execution vulnerabilities is generally correct?

  1. ACountermeasures have no effect on performance at all
  2. BThe more speculation and cache sharing are restricted, the safer it gets, but performance drops, so the choice balances security and performance
  3. CRemoving speculation makes CPUs faster
Show answer and explanation

Answer: B. The more speculation and cache sharing are restricted, the safer it gets, but performance drops, so the choice balances security and performance

Speculative execution, branch prediction and shared caches underpin modern CPU performance. Restricting them reduces leakage but costs performance. So OS, compiler and CPU designers choose how far to go based on the information at stake and the severity of the threat. Newer CPUs increasingly build in countermeasures with little performance impact.

  • A. Some workloads slow noticeably.
  • B. Correct. The very features that boost performance are the cause.
  • C. Speculation exists to raise performance.
Practice this topic Back to topic

More Hardware Security questions

  1. Among power analysis attacks on chips performing cryptography, what characterizes differential power analysis (DPA)?
  2. What is the idea behind masking, a countermeasure against power analysis?
  3. What characterizes electromagnetic side-channel analysis?
  4. Which describes a fault injection attack?
  5. Which is NOT a countermeasure against fault injection attacks?