Weakness · Medium

CWE-1300: Improper Protection of Physical Side Channels

What it is

The device does not contain sufficient protection mechanisms to prevent physical side channels from exposing sensitive information due to patterns in physically observable phenomena such as variations in power consumption, electromagnetic emissions (EME), or acoustic emissions.

MITRE CWE 4.19.1

Severity (our rating)
Medium
Likelihood of exploit
Not rated by MITRE
Introduced during
Implementation
Exploited in the wild
No CVE in CISA's catalog

In more detail

An adversary could monitor and measure physical phenomena to detect patterns and make inferences, even if it is not possible to extract the information in the digital domain. Physical side channels have been well-studied for decades in the context of breaking implementations of cryptographic algorithms or other attacks against security features. These side channels may be easily observed by an adversary with physical access to the device, or using a tool that is in close proximity. If the adversary can monitor hardware operation and correlate its data processing with power, EME, and acoustic measurements, the adversary might be able to recover of secret keys and data.

What an attacker can do

  • Read Memory (Confidentiality)
  • Read Application Data (Confidentiality)

How to prevent it

Architecture and Design

  • Apply blinding or masking techniques to implementations of cryptographic algorithms.

Implementation

  • Add shielding or tamper-resistant protections to the device to increase the difficulty of obtaining measurements of the side-channel.

How to find it

  • Manual Analysis. Perform a set of leakage detection tests such as the procedure outlined in the Test Vector Leakage Assessment (TVLA) test requirements for AES. TVLA is the basis for the ISO standard 17825. A separate methodology is provided by. Note that sole reliance on this method might not yield expected results.
  • Manual Analysis. Post-silicon, perform full side-channel attacks (penetration testing) covering as many known leakage models as possible against test code.
  • Manual Analysis. Pre-silicon - while the aforementioned TVLA methods can be performed post-silicon, models of device power consumption or other physical emanations can be built from information present at various stages of the hardware design process before fabrication. TVLA or known side-channel attacks can be applied to these simulated traces and countermeasures applied before tape-out. Academic research in this field includes.

CWE-1300 on MITRE's CWE site

H2 Security

Found it in your code?

We review where it appears, fix it with your team, and check it was not already used against you.

Talk to our team

T Academy

Stop writing it in the first place

Learn to build software and systems without weaknesses like this one, with practice on real hosts in your browser, every objective checked on the machine.

Start free

Source: MITRE Common Weakness Enumeration, CWE version 4.19.1. CWE is a trademark of The MITRE Corporation.