Explore our new Cybersecurity Terms Glossary, explained by our experts.

View the Glossary View the Glossary
PRIVIA

Cybersecurity Terms Glossary

What Are Side-Channel Attacks?

Side-channel attacks recover secrets from the physical or timing behaviour of a system rather than from its algorithms, measuring how long an operation takes or how much power it draws.

Illustration for the cybersecurity term Side-Channel Attacks
Home / Blog / Cybersecurity Terms / What Are Side-Channel Attacks?
17 November 2026

What Are Side-Channel Attacks?

What Are Side-Channel Attacks?

A cryptographic algorithm can be mathematically sound and still give its key away, because the implementation runs on physical hardware that behaves differently depending on the data it is processing. Side-channel attacks ignore the mathematics and measure the behaviour: how long an operation takes, how much current the chip draws, what it radiates, what it leaves in the cache. The secret is inferred from the measurement.

The Channels

Newer entries keep the field active. Hertzbleed, disclosed in June 2022 as CVE-2022-23823 and CVE-2022-24436, turned dynamic frequency scaling into a remote timing channel, meaning a power side channel became observable over a network. GoFetch, published in March 2024, exploited the data memory-dependent prefetcher in Apple M-series processors to break constant-time cryptographic implementations that had previously been considered safe.

Who Should Care

Threat model decides everything here. If an attacker can hold your device, as with a smart card, a payment terminal, a hardware wallet, or an embedded controller, physical side channels are a primary concern and the countermeasures belong in the product design. If your code runs on shared infrastructure alongside other tenants, microarchitectural channels matter, which is why cloud providers and browser vendors invest heavily in them. If you operate a conventional corporate estate, these attacks are far down the list behind phishing, unpatched services, and stolen credentials, though you still inherit the consequences through library and processor updates.

Building Resistance

The core principle is that execution must not depend on secret data. In constant-time code, there are no branches on secret values, no table lookups indexed by secret values, and no early exits from comparisons. This is why cryptographic libraries are written the way they are, and why reimplementing a primitive in application code is a reliable way to introduce a side channel.

Beyond that, implementations use blinding, where a random factor is applied before the operation and removed afterwards so that the measured behaviour does not correlate with the key; masking, which splits secret values into random shares; and hardware countermeasures such as noise generation, dual-rail logic, and randomised clocking. Our note on side-channel resistant implementation covers these in detail.

For most organisations the practical actions are short. Use vetted cryptographic libraries and keep them updated, never write your own primitive, use crypto_memcmp-style constant-time comparison for secrets, apply microcode and firmware updates that address microarchitectural leaks, and for the highest-value key material use a hardware security module evaluated against power analysis. Where you are building a device rather than running one, our Hardware Penetration Test Services include power and timing analysis against the implementation you intend to ship.

FAQ – Frequently Asked Questions

Are Side-Channel Attacks Only a Hardware Problem?

No. Timing side channels appear in ordinary software whenever execution depends on secret data, such as a password comparison that stops at the first mismatching byte or a lookup table indexed by key bits. These are exploitable over a network in some cases and are fixed in code rather than in hardware, by writing comparisons and cryptographic operations to take the same time regardless of input.

Can a Side-Channel Attack Be Performed Remotely?

Timing channels can, and some power channels now can too. Remote timing attacks against TLS implementations have been demonstrated repeatedly, and Hertzbleed showed that processor frequency scaling converts power consumption into an observable timing difference measurable over a network. Power, electromagnetic, and acoustic channels generally still require physical proximity to the target device.

What Does Constant-Time Code Actually Mean?

It means the time taken and the memory accessed do not depend on secret values. In practice that rules out branching on a key bit, indexing a lookup table with secret data, and returning early from a comparison. Established cryptographic libraries are written this way and verified with tooling, which is the main reason implementing cryptographic primitives yourself is strongly discouraged.

Should a Typical Organisation Worry About These?

Mainly through supply chain and patching rather than direct defence. Keep operating systems, microcode, and cryptographic libraries updated so that disclosed microarchitectural leaks are mitigated, and use evaluated hardware for key storage. Direct countermeasure work is for organisations building cryptographic hardware, embedded devices, or software where an attacker can run code on the same physical machine.

Related Terms

You May Be Interested In These

What Are Spectre and Meltdown?

Cybersecurity Terms

17 November 2026

What Are Spectre and Meltdown?

Read More
What Is Certificate Transparency?

Cybersecurity Terms

17 November 2026

What Is Certificate Transparency?

Read More
What Is Network Forensics?

Cybersecurity Terms

17 November 2026

What Is Network Forensics?

Read More