EP2135193A1 - Method and apparatus for detecting possible correlations between signal patterns - Google Patents

Method and apparatus for detecting possible correlations between signal patterns

Info

Publication number
EP2135193A1
EP2135193A1 EP07711903A EP07711903A EP2135193A1 EP 2135193 A1 EP2135193 A1 EP 2135193A1 EP 07711903 A EP07711903 A EP 07711903A EP 07711903 A EP07711903 A EP 07711903A EP 2135193 A1 EP2135193 A1 EP 2135193A1
Authority
EP
European Patent Office
Prior art keywords
values
correlations
sequences
fact
detecting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
EP07711903A
Other languages
German (de)
French (fr)
Inventor
Paolo Di Iorio
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
STMicroelectronics International NV
Original Assignee
Incard SA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Incard SA filed Critical Incard SA
Publication of EP2135193A1 publication Critical patent/EP2135193A1/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/12Classification; Matching
    • G06F2218/16Classification; Matching by matching signal segments

Definitions

  • TITLE Method and apparatus for detecting possible correlations between signal patterns.
  • the present invention relates to a method and to an apparatus for detecting possible correlations between signal patterns of a power signal used by an electronic device during execution of operations, comprising a phase of sampling a plurality of values of said power signal, at corresponding sampling time, a phase of setting couples of windows including respective couples of sequences of the sampling values and computing values of correlations between the couples of sequences.
  • an analysis of a power consumption on an electronic device may be indicative of the operations executed by the electronic device.
  • detecting devices and methods for detecting the power consumption of the electronic device provide to monitor a power signal consumed by such electronic device, hereinafter indicated as power signal.
  • Values of the power signal are sampled at sampling time intervals and stored in a memory of the detecting apparatus in order to detect a correlation between sampled values and/or a correlation between sequences of such sampled values.
  • a sequence of sampled values also referred as signal pattern, repeated in a substantially same manner at different time intervals, may be indicative of a same operation performed in the corresponding time intervals.
  • the detecting apparatus and methods mentioned above execute analysis on a plurality of signal patterns, stored in connection to corresponding time intervals, in order to identify correlations between two or more different signal patterns and to retrieve information about the corresponding operations, executed by the electronic device.
  • the detecting apparatus and methods for detecting power consumption may be used for establishing the security of an IC Card secure algorithm, i.e. a cryptographic algorithm.
  • the analysis of the signal patterns is used to scan a vulnerability of the cryptographic algorithm: higher the correlations between signal patterns are, higher is the possibility to retrieve secure data, for example a cryptographic key stored inside the IC Card.
  • detecting apparatus and methods must be used to test the vulnerability of the IC Card and to ensure its security, before its releasing.
  • a known method to detect repetitive patterns is based on a computation of a correlation function between sampled values of power signals: the correlation substantially result in a number, indicative of a degree of relationship between such sampled values and, consequently, a relationship between the operations performed by the electronic device.
  • a correlation matrix is used to store correlations between sampled values, for example deriving by the sampling of a power signal S through a low pass filter, having a bandwidth determined empirically.
  • a diagram 10 schematically shows sampled values of a power at corresponding sampling time intervals.
  • a window Bs is defined to detect correlations between sampled values in a corresponding time interval T0-T2 and a step (Step) is defined for advancing the window Bs, in order to detect correlations between sampled values in an advanced time interval T1-T3.
  • the length of the step Step is less than the length of the window Bs so that, when the window Bs is advanced, the correlation function may comprise some sampled values belonging to the corresponding time intervals TO-Tl, whereon the window Bs was previously set.
  • a sequence of sampled Si, including a plurality of sampled values may for example be processed according to the formula:
  • the correlation matrix hereafter C, may be calculated as ,
  • r is the correlation coefficient between the sequences Si and Sj, indicative of the degree of similarity between such sequences of sampled values.
  • the detecting apparatus and method may process the correlation matrix C for a plurality of samples values and display a result of the computation on a two dimensional image, for example on a monitor connected to the detecting device, representing the repetition of signal patterns.
  • the correlation matrix C in figure 2 comprises sub- matrix wherein an high correlation between signal patterns is represented with a substantially grey square .
  • the graphical appearance of the correlation matrix C substantially depends on the length of the window Bs and on the step Step, used to process correlation matrix C.
  • the graphical resolution may depend by the number of greys used to plot it.
  • Another known drawback is that a correlation matrix calculated with short Step, in order to determine correlations with high precision, are very large size matrix and require a- lot of memory to be stored.
  • the technical problem at the basis of the present invention is that of providing a method for detecting possible correlations between signal patterns corresponding to the power consumption of an electronic device able to quicken the time and steps needed to process a correlation matrix, not memory size consuming and at the same time determining with high precision the correlations, providing deeper and faster test for the security of the electronic device and overcoming the limits that currently affects the detecting method for signal patterns.
  • the solution idea on which the present invention is based is that of providing a method for detecting correlations between signal patterns of a power signal of the type described above, wherein, for each sequence Si of sampled values representing a signal pattern in a window Wi of the power signal, a maximum value of correlation is processed.
  • Such maximum value is determined with respect to a plurality of sequences Si k of sampled values that represents signal patterns in windows Wi k , selected near the window Wi and having the same size.
  • the window Wi is reset, substantially advanced of the size of the window itself, in order to process the maximum value for a plurality of sequences Si, representing corresponding signal patterns. Only the maximum values so determined are stored in a correlation matrix, not requiring large memory size and determined without empirical selection of a specific Step for advancing the window Si.
  • a method for detecting correlations between signal patterns of a power signal of the type consumed by an electronic device during execution of operations comprising:
  • each of said values is determined by computing a maximum value of correlation between one sequence of said couples and a plurality of sequences of sampled values, included in corresponding moving windows.
  • Figure 1 represents in a diagram, values of a power signal consumed by an electronic device, the values being sampled by a method according to the prior art
  • figure 2 is a plot of a correlation matrix processed on the sampled values of figure 1 by a method according to the prior art
  • figure 3 represents in a diagram, the values of a power signal consumed by an electronic device, sampled by a method according to the present invention
  • figure 4 is a plot of a correlation matrix processed on sampled values according to the detecting method of the present invention.
  • a method for detecting correlations between signal patterns of a power signal S is hereafter described. More particularly, the power signal S is used or consumed by an electronic device during execution of operations.
  • the electronic device is for example an IC Card storing a plurality of data in a memory portion and intended to be connected to a read-write device, in order to be updated or read.
  • the IC Card includes security means, for example a secure key and a cryptographic algorithm, in order to execute security operation for protecting sensible data stored inside its memory portion.
  • the IC Card consumes the power signal
  • a sampling of a plurality of values S 1 , SN of the power signal S is executed as follows:
  • a sequence Si of sampled values Sh represents a signal pattern of the power signal S; the sequence Si comprises a plurality of sampled values Sh, for example filtered through a low pass filter, known in the art.
  • a plurality of sequences Si, Sj of sampled values Sh is stored in a memory portion of a detecting device, for example a personal computer connected to the read-write device, in order to process correlations between every couple of the sequences Si, Sj.
  • the correlations between couples of sequences Si, Sj of sampled values Sh is stored in a correlation matrix C(i,j).
  • a value of the correlation matrix C(i,j), for specified values of i and j is determined by processing a maximum values of correlations between the sequence Si, and a plurality of sequences Sj k - varying the parameter k.
  • the power signal S is sampled on the base of a couple of windows Wi Wj comprising respective sequence Si, Sj of Bs sampled values Sh.
  • the windows Wi Wj of Bs sampled values arereset or moved to execute analysis on the repetitions of signal patterns associated to different portions of the power signal S.
  • an advanced window Wj+t may include sampled values Sh already included in a previous sequence Si or it may include sampled values not previously considered.
  • a plurality of correlations r are processed for determining a corresponding value of the correlation matrix C(ij).
  • )) for the correlation matrix C(ij) is not calculated only on the base of a couple of sequences Si, Sj of sample values Sh, belonging to respective windows Wi, Wj of Bs samples but on a plurality of couples of sequences obtained by coupling a sequence Si and a plurality of sequences Sj k of sampled values Sh.
  • Si k S(t) with t ⁇ [Bs+k, 2B s +k] and k ⁇ [-Bs, Bs] According to the formula here above, when k is equal to its minimum value -Bs,
  • sequences Si are sampled for each value of i, for example
  • sequences Sr Bs , Si +Bs , S 1 1 , as well as other sequences S i k not indicated in figure 3, are used to process corresponding values of a correlation with the sequence S 1.
  • ) is stored in the correlation matrix C(i,j). Such a computation is repeated for different values of i and j, varying the parameter k, for all the values of the correlation matrix C(ij).
  • a cell of the correlation matrix C reports the maximum values of all the correlation values processed on the couples of sampled values Si, Sj k , varying the parameter K.
  • the method of the present invention set a range for the selection of the parameter K, such range being determined in order to include sampled values not only belonging to the window W, of Bs samples but also belonging to a plurality of window Wj k .
  • the window Wj when the processing of the correlations inside it is finished, is advanced of a step equal to the size of the windows Wj .
  • a step for advancing the window Wj is equal to the window size
  • the parameter K provides to include the processing of sampled values included in a plurality of windows Wj k .
  • the parameter k is set to be included in the closed interval [0, Bs], in order to relate to sampled values in a windows Wo.
  • the parameter k is set to be included in the closed interval [-Bs, 0], so that k may relate to sampled values included in the windows prior to the current windows.
  • Figure 4 schematically represents a graphical representation of the correlation matrix C(ij) determined by a computation according to the method of the present invention, such graphical representation being a grey map rendering easier with respect to the prior art, the detection of repetition of signal patterns.
  • the correlation matrix C(ij) stores maximum values of correlations but also the graphical representation of the correlation matrix allows deeper and faster analysis, the gray scale map rendering signal pattern repetitions more distinguishable.
  • the method for detecting the correlations between signal patterns according to the invention represents such correlations in a well rendered graphical reproduction, quickening the time needed to determine the correlations and enforcing their evidence, distinctly indicate an high level of correlation and a low level of correlation.
  • the present invention also relates to an apparatus for detecting correlations between signal patterns of the type consumed by an electronic device during execution of operation.
  • the apparatus includes:
  • An electronic reader for the electronic device is provided.
  • the electronic device is for example an IC card and the electronic reader is an IC Card reader of the type comprising a slot for receiving the IC Card and a plurality of contact pads for coupling with corresponding contact pads on the IC Card.
  • the IC Card reader is connected, via standard communication channel, to a central processing device, intended to send instructions to the IC
  • the IC Card Upon receipt of an instruction, the IC Card executes a plurality of operations, processes a result and returns it to the central processing device.
  • a sampling device is connected between the IC card reader and the central processing device, substantially along the standard communication channel, in order to detect a power signal consumed by the IC Card during execution of operations.
  • the sampling device is for example an oscilloscope.
  • the power consumed by the IC Card is sampled during a plurality of time intervals; a plurality of values sampled is forwarded to the central processing device.
  • Such central processing device stores the sampled values in an internal memory and executes a detection of a correlation between the sampled values. More particularly, the sequences Si, Sj k of sampled values Sh are stored in a memory of the central processing device in order to be compared for detecting a correlation between couples Si, Sj of sequences of sampled values Sh.
  • Sequences Si, Sj of such sampled values Sh, repeated in a substantially same manner at different time intervals, are displayed through a graphical representation, plotted on a display connected in conventional way to the central processing device.
  • the memory of the central processing device stores sequences Si, Sj of the sampling values Sh substantially representing a portion or a signal pattern of the power signal consumed by the IC Card.
  • the memory of the central processing device also stores a plurality of subset of sampling values Si, Sj, representing different portions o of the power signal.
  • the memory portion of the central processing device also stores a correlation matrix representing all the correlations between couples of sampled values Si, Sj .
  • Each value stored in the correlation matrix inside the memory portion is a correlation value representing the maximum values of all the correlation values of sampled values Si, s, k .
  • the memory portion stores maximum values of correlations and the graphical representation displayed allows deeper and faster analysis.
  • the graphical representation is a gray scale map rendering signal pattern repetitions easy distinguishable.
  • the apparatus for detecting correlations between signal patterns stores correlations that may be displayed in a well rendered graphical reproduction, quickening the time needed to determine the correlations and enforcing their evidence distinctly indicate an high level of correlation and a low level of correlation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Credit Cards Or The Like (AREA)
  • Complex Calculations (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

Method for detecting possible correlations between signal patterns of a power signal (S) used by an electronic device during execution of operations, comprising: setting couples of windows (Wi, Wj) including respective couples of sequences (Si, Sj) of the sampling values (Sh); computing values (C(ij)) of correlations (r) between the respective couples of sequences (Si, Sj). Each values (C(ij)) is determined by computing a maximum value of correlation (Maxk(r(Si, Sj k))) between one sequence (Si) of a couple (Si, Sj) and a plurality of sequences (Sj k) of sampled values included in corresponding moving windows (Wj k).

Description

TITLE: Method and apparatus for detecting possible correlations between signal patterns.
DESCRIPTION
Field of Application
The present invention relates to a method and to an apparatus for detecting possible correlations between signal patterns of a power signal used by an electronic device during execution of operations, comprising a phase of sampling a plurality of values of said power signal, at corresponding sampling time, a phase of setting couples of windows including respective couples of sequences of the sampling values and computing values of correlations between the couples of sequences.
Prior Art
As it is well known, an analysis of a power consumption on an electronic device may be indicative of the operations executed by the electronic device.
In particular, detecting devices and methods for detecting the power consumption of the electronic device provide to monitor a power signal consumed by such electronic device, hereinafter indicated as power signal.
Values of the power signal are sampled at sampling time intervals and stored in a memory of the detecting apparatus in order to detect a correlation between sampled values and/or a correlation between sequences of such sampled values.
In fact, a sequence of sampled values, also referred as signal pattern, repeated in a substantially same manner at different time intervals, may be indicative of a same operation performed in the corresponding time intervals.
More particularly, the detecting apparatus and methods mentioned above execute analysis on a plurality of signal patterns, stored in connection to corresponding time intervals, in order to identify correlations between two or more different signal patterns and to retrieve information about the corresponding operations, executed by the electronic device.
For example, the detecting apparatus and methods for detecting power consumption may be used for establishing the security of an IC Card secure algorithm, i.e. a cryptographic algorithm. In this case, the analysis of the signal patterns is used to scan a vulnerability of the cryptographic algorithm: higher the correlations between signal patterns are, higher is the possibility to retrieve secure data, for example a cryptographic key stored inside the IC Card.
In other words, since the detection of repetition of signal patterns could be used to get information about the implementation of a cryptographic algorithm or to try to extract or identify data in the IC Card, detecting apparatus and methods must be used to test the vulnerability of the IC Card and to ensure its security, before its releasing.
A known method to detect repetitive patterns is based on a computation of a correlation function between sampled values of power signals: the correlation substantially result in a number, indicative of a degree of relationship between such sampled values and, consequently, a relationship between the operations performed by the electronic device.
More particularly, a correlation matrix is used to store correlations between sampled values, for example deriving by the sampling of a power signal S through a low pass filter, having a bandwidth determined empirically.
With reference to figure 1 a diagram 10 schematically shows sampled values of a power at corresponding sampling time intervals.
A window Bs is defined to detect correlations between sampled values in a corresponding time interval T0-T2 and a step (Step) is defined for advancing the window Bs, in order to detect correlations between sampled values in an advanced time interval T1-T3.
The length of the step Step is less than the length of the window Bs so that, when the window Bs is advanced, the correlation function may comprise some sampled values belonging to the corresponding time intervals TO-Tl, whereon the window Bs was previously set. A sequence of sampled Si, including a plurality of sampled values may for example be processed according to the formula:
s, = S(t) Vt e [i - Bs, (i + 1)- Bs]
The correlation matrix, hereafter C, may be calculated as ,
where r is the correlation coefficient between the sequences Si and Sj, indicative of the degree of similarity between such sequences of sampled values.
The detecting apparatus and method may process the correlation matrix C for a plurality of samples values and display a result of the computation on a two dimensional image, for example on a monitor connected to the detecting device, representing the repetition of signal patterns.
As it is apparent from figure 2, the image representing the correlation matrix C, even if it is one of the best graphical results achievable through a known detecting apparatus and method, does not provide a clear representation of the correlation matrix.
More particularly, the correlation matrix C in figure 2 comprises sub- matrix wherein an high correlation between signal patterns is represented with a substantially grey square .
As it is apparent, in the matrix of figure 2, the grey square representing a correlation of two signal patterns is not clear, even when such patterns are strictly correlated so that it is really difficult to analyze the graphical representation of the correlation matrix C to determine different degrees of correlations.
According to the known method for detecting correlations, the graphical appearance of the correlation matrix C substantially depends on the length of the window Bs and on the step Step, used to process correlation matrix C. In order to obtain a good graphical representation of the correlation matrix C, several empirical executions must be processed. Moreover, even for a length of the window Bs and for a step Step conveniently set, the graphical resolution may depend by the number of greys used to plot it.
Another known drawback is that a correlation matrix calculated with short Step, in order to determine correlations with high precision, are very large size matrix and require a- lot of memory to be stored.
Moreover long post-processing time are required if further elaboration are needed.
The technical problem at the basis of the present invention is that of providing a method for detecting possible correlations between signal patterns corresponding to the power consumption of an electronic device able to quicken the time and steps needed to process a correlation matrix, not memory size consuming and at the same time determining with high precision the correlations, providing deeper and faster test for the security of the electronic device and overcoming the limits that currently affects the detecting method for signal patterns.
Summary of the invention
The solution idea on which the present invention is based, is that of providing a method for detecting correlations between signal patterns of a power signal of the type described above, wherein, for each sequence Si of sampled values representing a signal pattern in a window Wi of the power signal, a maximum value of correlation is processed.
Such maximum value is determined with respect to a plurality of sequences Sik of sampled values that represents signal patterns in windows Wik, selected near the window Wi and having the same size.
The window Wi is reset, substantially advanced of the size of the window itself, in order to process the maximum value for a plurality of sequences Si, representing corresponding signal patterns. Only the maximum values so determined are stored in a correlation matrix, not requiring large memory size and determined without empirical selection of a specific Step for advancing the window Si.
This problem is solved, according to the present invention, by a method for detecting correlations between signal patterns of a power signal of the type consumed by an electronic device during execution of operations, comprising:
- sampling a plurality of values of said power signal at corresponding sampling times;
- setting couples of windows including respective couples of sequences of said sampling values;
- computing values of correlations between said respective sequences, characterized by the fact that
each of said values is determined by computing a maximum value of correlation between one sequence of said couples and a plurality of sequences of sampled values, included in corresponding moving windows.
Further characteristics and the advantages of the method according to the present invention will be apparent from the following description of an embodiment thereof, made with reference to the annexed drawings, given for indicative and non-limiting purpose.
Brief description of drawings
Figure 1 represents in a diagram, values of a power signal consumed by an electronic device, the values being sampled by a method according to the prior art;
figure 2 is a plot of a correlation matrix processed on the sampled values of figure 1 by a method according to the prior art;
figure 3 represents in a diagram, the values of a power signal consumed by an electronic device, sampled by a method according to the present invention;
figure 4 is a plot of a correlation matrix processed on sampled values according to the detecting method of the present invention.
Detailed description
With reference to the annexed drawings, a method for detecting correlations between signal patterns of a power signal S is hereafter described. More particularly, the power signal S is used or consumed by an electronic device during execution of operations.
The electronic device is for example an IC Card storing a plurality of data in a memory portion and intended to be connected to a read-write device, in order to be updated or read. The IC Card includes security means, for example a secure key and a cryptographic algorithm, in order to execute security operation for protecting sensible data stored inside its memory portion.
During execution of operations, the IC Card consumes the power signal
S, depending on a computational requirement of such operations.
According to the method of the present invention, a sampling of a plurality of values S1, SN of the power signal S is executed as follows:
S(th) = Sh,
where Sh is the value of S at time th, 1<= h <= N; in figure 3, a value of N is 0.01.
A sequence Si of sampled values Sh represents a signal pattern of the power signal S; the sequence Si comprises a plurality of sampled values Sh, for example filtered through a low pass filter, known in the art.
A plurality of sequences Si, Sj of sampled values Sh is stored in a memory portion of a detecting device, for example a personal computer connected to the read-write device, in order to process correlations between every couple of the sequences Si, Sj.
The correlations between couples of sequences Si, Sj of sampled values Sh is stored in a correlation matrix C(i,j).
According to the present invention a value of the correlation matrix C(i,j), for specified values of i and j, is determined by processing a maximum values of correlations between the sequence Si, and a plurality of sequences Sj k- varying the parameter k.
More particularly, for each i and j the power signal S is sampled on the base of a couple of windows Wi Wj comprising respective sequence Si, Sj of Bs sampled values Sh. The windows Wi Wj of Bs sampled values arereset or moved to execute analysis on the repetitions of signal patterns associated to different portions of the power signal S.. For example, an advanced window Wj+t may include sampled values Sh already included in a previous sequence Si or it may include sampled values not previously considered.
Given a values of i and j for a corresponding couple of sequences Si and Sj of sampled values, a plurality of correlations r are processed for determining a corresponding value of the correlation matrix C(ij).
More particularly, given a couple of sequences Si, Sj of sampled values
Shthe correlation value is processed as follows:
C(/j ) = MαxAjφ,,/)|J, (l)
where
Sj = S(t) Vt e \/ - Bs + k,(f + 1)- Bs + k] k e [- Bs,Bs] (2)
k e [- Bs, Bs] (3) k e [θ,Bs] (4) k] k s [- Bs, θ] (5) s, = S(t) Vt e [i ■ Bs, (i + 1) • Bs] (6)
In other words, a correlation value (Max( | r(Si, S,k) | )) for the correlation matrix C(ij) is not calculated only on the base of a couple of sequences Si, Sj of sample values Sh, belonging to respective windows Wi, Wj of Bs samples but on a plurality of couples of sequences obtained by coupling a sequence Si and a plurality of sequences Sj k of sampled values Sh.
In order to better understand the method of the present invention an example of sequences of sampled values are given for some values of i and j. With reference to formula (2), a plurality k of sequences S, are sampled for each value of j.
For example, for j=l,
Sik = S(t) with t ε [Bs+k, 2Bs+k] and k ε [-Bs, Bs] According to the formula here above, when k is equal to its minimum value -Bs,
SrBs=S(t) with t ε [0,Bs] while,
when k is equal to its maximum value +Bs,
Similarly, for j=2,
S2k = S(t) with t ε [2Bs+k, 3Bs+k] and k ε [-Bs, Bs]
More particularly, when k is equal to its minimum value -Bs,
S2-Bs=S(t) with t ε [Bs, 2Bs];
when k is equal to its maximum value +Bs,
S2 +Bs=s(t) with t ε [3BS, 4BS]
With reference to formula (6), sequences Si are sampled for each value of i, for example
S1 = S(t) with t ε [Bs, 2Bs];
S2 = S(t) with t ε [2BS> 3Bs];
With reference to figure 3 the sequences SrBs, Si+Bs, S1 1 and S1 are schematically represented.
The sequences SrBs, Si+Bs, S1 1, as well as other sequences S ik not indicated in figure 3, are used to process corresponding values of a correlation with the sequence S 1.
The maximum value of such correlations, Max( | r(Si, Sjk) | ), is stored in the correlation matrix C(i,j). Such a computation is repeated for different values of i and j, varying the parameter k, for all the values of the correlation matrix C(ij).
More particularly, a cell of the correlation matrix C, reports the maximum values of all the correlation values processed on the couples of sampled values Si, Sj k, varying the parameter K. As described by the formulas above, the method of the present invention set a range for the selection of the parameter K, such range being determined in order to include sampled values not only belonging to the window W, of Bs samples but also belonging to a plurality of window Wj k.
Moreover, , not only the sampled values belonging to the window Wj are used for determining a maximum value of correlation but also sampled values belonging to a window Wj-1, set by a previous execution of said phase for setting.
The window Wj, when the processing of the correlations inside it is finished, is advanced of a step equal to the size of the windows Wj .
Advantageously, no several empirical executions of the method of the present invention are required to optimize the determination of the correlation matrix, nor the rendering of its graphical representation.
In fact, a step for advancing the window Wj is equal to the window size
Wj itself; the parameter K provides to include the processing of sampled values included in a plurality of windows Wj k.
A formula (4) is used to determine the sequences S,k of sampled values when j=0, corresponding to a first sequences of sampled values. In fact, since no sampled values are available before the sampling time 0, in this case the parameter k is set to be included in the closed interval [0, Bs], in order to relate to sampled values in a windows Wo.
Similarly, the method defines a formula (5) to determine the sample values Sj when j=N, corresponding to the last sampled value. In fact, since no sampled values are available after the sampling value N, the parameter k is set to be included in the closed interval [-Bs, 0], so that k may relate to sampled values included in the windows prior to the current windows.
The setting of windows and the correlations are iterated, as well as the phase of processing a maximum value of said correlations, so that the power signal S is scanned and the corresponding signal patterns may be compared. Figure 4 schematically represents a graphical representation of the correlation matrix C(ij) determined by a computation according to the method of the present invention, such graphical representation being a grey map rendering easier with respect to the prior art, the detection of repetition of signal patterns.
Advantageously, not only the correlation matrix C(ij) stores maximum values of correlations but also the graphical representation of the correlation matrix allows deeper and faster analysis, the gray scale map rendering signal pattern repetitions more distinguishable.
Advantageously, the method for detecting the correlations between signal patterns according to the invention represents such correlations in a well rendered graphical reproduction, quickening the time needed to determine the correlations and enforcing their evidence, distinctly indicate an high level of correlation and a low level of correlation.
The analysis of repetitive pattern through the method of the present invention results in a deeper and faster test for the security of the electronic device and overcomes the limits related to the prior art method.
The present invention also relates to an apparatus for detecting correlations between signal patterns of the type consumed by an electronic device during execution of operation.
The apparatus includes:
An electronic reader for the electronic device.
Without limiting the scope of protection of the present invention, the electronic device is for example an IC card and the electronic reader is an IC Card reader of the type comprising a slot for receiving the IC Card and a plurality of contact pads for coupling with corresponding contact pads on the IC Card.
The IC Card reader is connected, via standard communication channel, to a central processing device, intended to send instructions to the IC
Card. The instructions sent from the central processing device to the IC
Card reader are of the type requiring an execution of sensible information on the IC Card.
Upon receipt of an instruction, the IC Card executes a plurality of operations, processes a result and returns it to the central processing device.
According to the apparatus of the invention, a sampling device is connected between the IC card reader and the central processing device, substantially along the standard communication channel, in order to detect a power signal consumed by the IC Card during execution of operations.
The sampling device is for example an oscilloscope.
More particularly, the power consumed by the IC Card is sampled during a plurality of time intervals; a plurality of values sampled is forwarded to the central processing device.
Such central processing device stores the sampled values in an internal memory and executes a detection of a correlation between the sampled values. More particularly, the sequences Si, Sjk of sampled values Sh are stored in a memory of the central processing device in order to be compared for detecting a correlation between couples Si, Sj of sequences of sampled values Sh.
Sequences Si, Sj of such sampled values Sh, repeated in a substantially same manner at different time intervals, are displayed through a graphical representation, plotted on a display connected in conventional way to the central processing device.
More particularly, the memory of the central processing device stores sequences Si, Sj of the sampling values Sh substantially representing a portion or a signal pattern of the power signal consumed by the IC Card.
Moreover, the memory of the central processing device also stores a plurality of subset of sampling values Si, Sj, representing different portions o of the power signal.
The memory portion of the central processing device also stores a correlation matrix representing all the correlations between couples of sampled values Si, Sj . Each value stored in the correlation matrix inside the memory portion is a correlation value representing the maximum values of all the correlation values of sampled values Si, s,k.
Advantageously, the memory portion stores maximum values of correlations and the graphical representation displayed allows deeper and faster analysis. The graphical representation is a gray scale map rendering signal pattern repetitions easy distinguishable.
Advantageously, the apparatus for detecting correlations between signal patterns according to the invention stores correlations that may be displayed in a well rendered graphical reproduction, quickening the time needed to determine the correlations and enforcing their evidence distinctly indicate an high level of correlation and a low level of correlation.

Claims

1. Method for detecting possible correlations between signal patterns of a power signal (S) used by an electronic device during execution of operations, comprising the following phases:
- sampling a plurality of values (sh) of said power signal (S) at corresponding sampling times (th);
- setting couples of windows (Wi, Wj) including respective couples of sequences (Si, Sj) of said sampling values (sh);
- computing values (C(i,j)) of correlations (r) between said respective couples of sequences (Si, Sj), characterized by the fact that
each of said values (C(ij)) is determined by computing a maximum value of correlation (Maxk(r(Si, Sjk))) between one sequence (Si) of said couples (Si, Sj) and a plurality of sequences (Sjk) of sampled values included in corresponding moving windows (Wj k).
2. Method for detecting correlations according to claim 1 characterized by the fact that a size of said moving windows (Wj k) is set equal to a size of said window (Wi).
3. Method for detecting correlations according to claim 2 characterized by the fact that said moving windows (Wj k) are moved according to the formula
Sj = S(t) Vf e [/ - Bs + k,(j + I)- Bs + k] k e [- Bs,Bs],
wherein Bs represents said size of said moving window (Wjk).
4. Method for detecting correlations according to claim 3 characterized by the fact that said values are stored in a correlation matrix (C(i,j)).
5. Method for detecting correlations according to claim 4 characterized by the fact that said sequences (Si) of sampled values are sampled according to the formula:
s, = S(ή Vt e [/ • Bs, (i + 1) • Bs] , wherein Bs represents said size of said moving window (Wi).
6. Apparatus for detecting possible correlations between signal patterns of a power signal (S) used by an electronic device during execution of operations comprising:
- a sampling device, for sampling sampled values of said power signal
(S);
- a central processing device, for activating an execution of said electronic device and for processing said sampled values;
- a connection, comprising said sampling device, between said electronic device and said central processing unit;
characterized by the fact that said central processing device comprises means to process maximum values of correlation between a plurality of correlations of sequences of said sampled values and means for rendering said maximum values.
7. Apparatus for detecting correlations according to claim 6 characterized by the fact that said electronic device is an IC Card.
8. Apparatus for detecting correlations according to claim 7 characterized by the fact that said means for rendering comprises a display, connected to said central processing device.
9. Apparatus for detecting correlations according to claim 8 characterized by the fact that said means for rendering comprises a graphical representation.
10. Apparatus for detecting correlations according to claim 9 characterized by the fact that said graphical representation is a correlation matrix.
11. Apparatus for detecting correlations according to claim 6 characterized by the fact that sampling device is an oscilloscope.
EP07711903A 2007-03-12 2007-03-12 Method and apparatus for detecting possible correlations between signal patterns Withdrawn EP2135193A1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/EP2007/002141 WO2008110183A1 (en) 2007-03-12 2007-03-12 Method and apparatus for detecting possible correlations between signal patterns

Publications (1)

Publication Number Publication Date
EP2135193A1 true EP2135193A1 (en) 2009-12-23

Family

ID=38578418

Family Applications (1)

Application Number Title Priority Date Filing Date
EP07711903A Withdrawn EP2135193A1 (en) 2007-03-12 2007-03-12 Method and apparatus for detecting possible correlations between signal patterns

Country Status (4)

Country Link
US (1) US8666686B2 (en)
EP (1) EP2135193A1 (en)
BR (1) BRPI0721441B1 (en)
WO (1) WO2008110183A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11281773B2 (en) * 2019-11-21 2022-03-22 International Business Machines Corporation Access card penetration testing
US12488169B1 (en) * 2021-10-20 2025-12-02 Synopsys, Inc. Performing timing constraint equivalence checking on circuit designs

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2701761B2 (en) * 1994-11-02 1998-01-21 日本電気株式会社 Transmission bit rate determination method and apparatus
US6466929B1 (en) * 1998-11-13 2002-10-15 University Of Delaware System for discovering implicit relationships in data and a method of using the same
FR2796738B1 (en) * 1999-07-22 2001-09-14 Schlumberger Systems & Service SECURE MICRO-CONTROLLER AGAINST CURRENT ATTACKS
FR2811835B1 (en) * 2000-07-17 2002-10-11 Matra Nortel Communications METHOD AND DEVICE FOR MEASURING THE POWER OF AN ELECTRICAL SIGNAL
DE60131824T2 (en) * 2000-11-01 2008-11-27 Ntt Docomo Inc. Recovery of the symbol clock
US7039091B1 (en) * 2001-05-16 2006-05-02 Altera Corporation Method and apparatus for implementing a two dimensional correlator
WO2004055756A1 (en) * 2002-12-18 2004-07-01 Fujitsu Limited Tamper-resistant elliptical curve encryption using secret key
DE102004059946B4 (en) * 2004-12-13 2008-10-02 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Apparatus and method for determining a correlation maximum
US7610628B2 (en) * 2005-03-01 2009-10-27 Infineon Technologies Ag Apparatus and method for calculating a representation of a result operand
KR100703203B1 (en) * 2005-10-26 2007-04-06 삼성전기주식회사 Code Detection Apparatus and Method for Direct Sequence Spread Spectrum Signals

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
MESSERGES T S ET AL: "EXAMINING SMART-CARD SECURITY UNDER THE THREAT OF POWER ANALYSIS ATTACKS", IEEE TRANSACTIONS ON COMPUTERS, IEEE SERVICE CENTER, LOS ALAMITOS, CA, US, vol. 51, no. 5, 1 May 2002 (2002-05-01), pages 541 - 552, XP001077790, ISSN: 0018-9340, DOI: 10.1109/TC.2002.1004593 *
See also references of WO2008110183A1 *
THOMAS S MESSERGES: "POWER ANALYSIS ATTACK COUNTERMEASURES AND THEIR WEAKNESSES", 1 December 2000 (2000-12-01), XP055127349, Retrieved from the Internet <URL:http://www.iccip.csl.uiuc.edu/conf/ceps/2000/messerges.pdf> [retrieved on 20140707] *
TUAN Q PHAM ED - JACQUES BLANC-TALON ET AL: "Non-maximum Suppression Using Fewer than Two Comparisons per Pixel", 13 December 2010, ADVANCED CONCEPTS FOR INTELLIGENT VISION SYSTEMS, SPRINGER BERLIN HEIDELBERG, BERLIN, HEIDELBERG, PAGE(S) 438 - 451, ISBN: 978-3-642-17687-6, XP019159146 *

Also Published As

Publication number Publication date
BRPI0721441A2 (en) 2013-01-08
US8666686B2 (en) 2014-03-04
WO2008110183A1 (en) 2008-09-18
US20100324842A1 (en) 2010-12-23
BRPI0721441B1 (en) 2018-10-30

Similar Documents

Publication Publication Date Title
Esposito et al. Spatial independent component analysis of functional MRI time‐series: To what extent do results depend on the algorithm used?
Gu et al. A kernel-based nonparametric regression method for clutter removal in infrared small-target detection applications
CN108230357B (en) Key point detection method and device, storage medium and electronic equipment
EP3711018A1 (en) Histological image analysis
Acosta et al. An innovative image-processing model for rust detection using Perlin Noise to simulate oxide textures
CA2646890A1 (en) A system, method, and computer program product for analyzing spectrometry data to indentify and quantify individual components in a sample
CN111738349B (en) Detection effect evaluation method and device of target detection algorithm, storage medium and equipment
NO20110236A1 (en) The Monte Carlo method for the Laplace inversion of NMR data
CN115494526A (en) A GNSS spoofing interference detection method, device, electronic equipment and storage medium
Andrikos et al. Location, location, location: Revisiting modeling and exploitation for location-based side channel leakages
WO2008110183A1 (en) Method and apparatus for detecting possible correlations between signal patterns
CN116524873B (en) Display adjustment method and device of display screen and computer equipment
EP4356153B1 (en) Systems and methods for provisioning training data to enable neural networks to analyze signals in nmr measurements
Usama et al. PyEye: an integrated approach for signal integrity assessment and eye diagram generation
Zhang et al. Anisotropic-scale-space-based salient-region detection for SAR images
CN106936561B (en) Side channel attack protection capability assessment method and system
CN113588571A (en) Hyperspectral imaging-based method and system for identifying fishy smell of aquatic product
CN119299125A (en) A neural network weight side channel recovery method based on deep learning
Wang et al. Revisiting a realistic EM side-channel attack on a complex modern SoC
CN111142161A (en) Complex domain geological imaging method based on seismic data and electronic equipment
Pasquini et al. Information-theoretic bounds of resampling forensics: New evidence for traces beyond cyclostationarity
CN117949488A (en) Multidimensional nuclear magnetic resonance method for rapidly evaluating occurrence state of fluid in material
CN117373565A (en) Ion mobility spectrometry-mass spectrometry library construction method, identification method and device
Schlumberger et al. CORSICA: A framework for conducting real-world side-channel analysis
CN116205817A (en) Data content complexity targeted detection system

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20091009

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU LV MC MT NL PL PT RO SE SI SK TR

17Q First examination report despatched

Effective date: 20100108

DAX Request for extension of the european patent (deleted)
RAP1 Party data changed (applicant data changed or rights of an application transferred)

Owner name: STMICROELECTRONICS INTERNATIONAL N.V.

RAP1 Party data changed (applicant data changed or rights of an application transferred)

Owner name: STMICROELECTRONICS INTERNATIONAL N.V.

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN WITHDRAWN

18W Application withdrawn

Effective date: 20180817