Power analysis
key bits using power analysis: The left peak shows the power consumption during the squaring-only step, the right (broader) peak shows the multiplication step, allowing exponent bits 0 and 1 to be distinguished.[src] Power analysis is a form of side channel attack in which the attacker studies the power consumption of a cryptographic hardware device.[src] These attacks rely on basic physical properties of the device: semiconductor devices are governed by the laws of physics, which dictate that changes in voltages within the device require very small movements of electric charges (currents).[src] By measuring those currents, it is possible to learn a small amount of information about the data being manipulated.[src] Simple power analysis (SPA) involves visually interpreting power traces, or graphs of electrical activity over time.[src] Differential power analysis (DPA) is a more advanced form of power analysis, which can allow an attacker to compute the intermediate values within cryptographic computations through statistical analysis of data collected from multiple cryptographic operations.[src] SPA and DPA were introduced to the open cryptography community in 1998 by Paul Kocher, Joshua Jaffe and Benjamin Jun.[src]
key bits using power analysis: The left peak shows the power consumption during the squaring-only step, the right (broader) peak shows the multiplication step, allowing exponent bits 0 and 1 to be distinguished.]] Power analysis is a form of side channel attack in which the attacker studies the power consumption of a cryptographic hardware device.[src] These attacks rely on basic physical properties of the device: semiconductor devices are governed by the laws of physics, which dictate that changes in voltages within the device require very small movements of electric charges (currents).[src] By measuring those currents, it is possible to learn a small amount of information about the data being manipulated.[src] Simple power analysis (SPA) involves visually interpreting power traces, or graphs of electrical activity over time.[src] Differential power analysis (DPA) is a more advanced form of power analysis, which can allow an attacker to compute the intermediate values within cryptographic computations through statistical analysis of data collected from multiple cryptographic operations.[src] SPA and DPA were introduced to the open cryptography community in 1998 by Paul Kocher, Joshua Jaffe and Benjamin Jun.[src] ==Background== In cryptography, a side channel attack is used to extract secret data from some secure device (such as a smart card, tamper-resistant "black box", or integrated circuit).[src] Side-channel analysis is typically trying to non-invasively extract cryptographic keys and other secret information from the device.[src] A simple example of this is the German tank problem: the serial numbers of tanks provide details of the production data for tanks.[src] In physical security, a non-invasive attack would be similar to lock-picking, where a successful attack leaves no trace of the attacker being present.[src] ==Simple power analysis== Simple power analysis (SPA) is a side-channel attack which involves visual examination of graphs of the current used by a device over time.[src] Variations in power consumption occur as the device performs different operations.[src] For example, different instructions performed by a microprocessor will have differing power consumption profiles.[src] Codeflow that depends on a secret value will thus leak the code-flow via the power consumption monitoring (and thus also leak the secret value).[src] As a simple example, consider a password check as follows: bool check_password(const char input[]) { const char correct_password[] = "hunter2"; if (strlen(input) != strlen(correct_password)) return false; for (int i = 0; i This password check potentially contains a Timing attack, since the execution time is not constant.[src] Observing the power consumption will make clear the number of loops executed.[src] However, there is a mitigation possible.[src] The function may not output to the user an exploitable result if, for example, there is a compensating delay before the response is returned.[src] Or the code is structured to complete all the loops irrespective of the character position mismatching between the input and the secret-password.[src] We can see one such sample code in the algorithm section of Timing attack.[src] Similarly, squaring and multiplication operations in RSA implementations can often be distinguished, enabling an adversary to compute the secret key.[src] Even if the magnitude of the variations in power consumption are small, standard digital oscilloscopes can easily show the data-induced variations.[src] Frequency filters and averaging functions (such as those built into oscilloscopes) are often used to filter out high-frequency components.[src] ==Differential power analysis== Differential power analysis (DPA) is a side-channel attack which involves statistically analyzing power consumption measurements from a cryptosystem.[src] The attack exploits biases varying power consumption of microprocessors or other hardware while performing operations using secret keys.[src] DPA attacks have signal processing and error correction properties which can extract secrets from measurements which contain too much noise to be analyzed using simple power analysis.[src] Using DPA, an adversary can obtain secret keys by analyzing power consumption measurements from multiple cryptographic operations performed by a vulnerable smart card or other device.[src] ==High-order differential power analysis== High-Order Differential Power Analysis (HO-DPA) is an advanced form of DPA attack.[src] HO-DPA enables multiple data sources and different time offsets to be incorporated in the analysis.[src] HO-DPA is less widely practiced than SPA and DPA, as the analysis is complex and most vulnerable devices can be broken more easily with SPA or DPA.[src] ==Power analysis and algorithmic security== Power analysis provides a way to "see inside" otherwise 'tamperproof' hardware.[src] For example, DES's key schedule involves rotating 28-bit key registers.[src] Many implementations check the least significant bit to see if it is a 1.[src] If so, the device shifts the register right and prepends the 1 at the left end.[src] If the bit is a zero, the register is shifted right without prepending a 1.[src] Power analysis can distinguish between these processes, enabling an adversary to determine the bits of the secret key.[src] Implementations of algorithms such as AES and triple DES that are believed to be mathematically strong may be trivially breakable using power analysis attacks.[src] As a result, power analysis attacks combine elements of algorithmic cryptanalysis and implementation security.[src] ==Standards and practical security concerns== For applications where devices may fall into the physical possession of an adversary, protection against power analysis is generally a major design requirement.[src] Power analyses have also been reportedly used against conditional access modules used in pay television systems.[src] The equipment necessary for performing power analysis attacks is widely available.[src] For example, most digital storage oscilloscopes provide the necessary data collection functionality, and the data analysis is typically performed using conventional PCs.[src] ==Preventing simple and differential power analysis attacks== Power analysis attacks cannot generally be detected by a device, since the adversary's monitoring is normally passive.[src] In addition, the attack is non-invasive.[src] As a result, physical enclosures, auditing capabilities, and attack detectors are ineffective.[src] Instead, cryptosystem engineers must ensure that devices' power variations do not reveal information usable by adversaries.[src] Simple power analysis can easily distinguish the outcome of conditional branches in the execution of cryptographic software, since a device does different things (consuming different power) depending on whether the conditional branch is taken.[src] For this reason, care should be taken to ensure there are no secret values which affect the conditional branches within cryptographic software implementations.[src] Other sources of variation, such as microcode differences, branches introduced by compilers, and power consumption variations in multipliers, also commonly lead to SPA vulnerabilities.[src] Differential power analysis is more difficult to prevent, since even small biases in the power consumption can lead to exploitable weaknesses.[src] Some countermeasure strategies involve algorithmic modifications such that the cryptographic operations occur on data that is related to the actual value by some mathematical relationship that survives the cryptographic operation.[src] One approach involves blinding parameters to randomize their value.[src] Other countermeasure strategies to reduce the effectiveness of DPA attacks involve hardware modifications: varying the chip internal clock frequency has been considered to desynchronize electric signals, which lead in return to algorithmic enhancements of traditional DPA.[src] ==References==[src]
61 sentences · 61 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Power analysis." encyclopegia.org, 2026, https://encyclopegia.org/wiki/power-analysis. Accessed 26 November 2026.
Chicago
"Power analysis." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/power-analysis.
APA
encyclopegia.org. (2026). Power analysis. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/power-analysis
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON