KR20130022475A - Method of arranging data automatically for side channel analysis and side channel analysis apparatus performing the same - Google Patents
Method of arranging data automatically for side channel analysis and side channel analysis apparatus performing the same Download PDFInfo
- Publication number
- KR20130022475A KR20130022475A KR1020110084742A KR20110084742A KR20130022475A KR 20130022475 A KR20130022475 A KR 20130022475A KR 1020110084742 A KR1020110084742 A KR 1020110084742A KR 20110084742 A KR20110084742 A KR 20110084742A KR 20130022475 A KR20130022475 A KR 20130022475A
- Authority
- KR
- South Korea
- Prior art keywords
- waveform data
- alignment
- data
- waveform
- sorting
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2207/00—Indexing scheme relating to methods or arrangements for processing data by operating upon the order or content of the data handled
- G06F2207/72—Indexing scheme relating to groups G06F7/72 - G06F7/729
- G06F2207/7219—Countermeasures against side channel or fault attacks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
Disclosed are a data automatic alignment method for subchannel analysis and a subchannel analysis apparatus using the same. The automatic data sorting method for subchannel analysis defines a part of the collected waveform data as a test set, sets the preset parameters for the determined test set, generates compressed waveform data using the preset parameters, and After arranging the compressed waveform data, the aligned compressed waveform data is moved to the waveform data position of the test set to generate aligned waveform data, and after the collected waveform data is aligned using a pre-parameter, the collected waveform Selective sorting is performed selectively according to the data sorting result. Therefore, parameters can be set automatically without user input, more accurate sorting results can be obtained by performing compression sorting and partial sorting, and the efficiency of data automatic sorting required for subchannel analysis can be reduced by reducing the input error of sorting parameters. Can be improved.
Description
The present invention relates to subchannel analysis, and more particularly, to an automatic data sorting method for subchannel analysis for aligning collected waveform data for subchannel analysis, which is used as a method of obtaining secret information for secure electronic equipment. It relates to a subchannel analysis apparatus for performing this.
Devices with encryption algorithms generate a secret key to prevent information manipulation or information leakage, and the information is encrypted and protected by the encryption algorithm. While the cryptographic algorithm is running, subchannel information leakage such as algorithm execution time, power consumption, and electromagnetic wave emission occurs. Attack methods using subchannel information are called side channel attacks. Such subchannel attacks include parallax attacks, power analysis attacks, and error attacks.
Side channel analysis is the analysis of information generated by security devices that perform encryption algorithms to prevent side channel attacks.
Since Side Channel Attack was introduced by Kocher et al. (U.S. Patent Publication No. 2002-0124178, Differential Power Analysis method and apparatus), theoretical and experimental studies have been conducted by many research groups.
For example, the sub-channel analysis method may be used to extract secret information such as key values by statistically using electromagnetic waves leaked from security electronic devices such as smart cards. In this case, using an analog / digital conversion data collection and analysis system using power consumption or other characteristics of the equipment, statistical analysis may be performed every time a cryptographic operation is performed on the equipment, thereby obtaining all or some key information.
1 is a conceptual diagram illustrating an exemplary configuration of a conventional subchannel analyzer.
Referring to FIG. 1, a conventional subchannel analyzer collects from a leak
The operation of such a subchannel analyzer includes a waveform collection step of repeatedly collecting a waveform of leakage information using an oscilloscope and storing the same in an arithmetic unit, and processing a waveform to easily process waveform data collected by the arithmetic unit for subchannel analysis. Step, and the analysis operation step of analyzing to obtain secret information from the processed waveform data in the computing device, each step is carried out sequentially.
In the waveform processing step, data calculation is generally performed independently for each individual waveform data, and data analysis in the analysis calculation step is performed for the entire waveforms.
As such, subchannel analysis can take several to tens of hours of data processing and computation time on a single system, depending on the subject of the analysis. In order to reduce the computation time required for such an analysis, a parallel computing technique using multiple CPU cores in a conventional single system and a method using a graphics processing unit (GPU) in a video card are known.
On the other hand, sub-channel analysis is a method of processing a plurality of waveform data, and calculates the correlation between the waveform data and the expected secret information to find the secret information. Therefore, in such subchannel analysis, preprocessing to sort, filter and remove noise of collected waveform data is required before inputting the waveform data into the analysis model for subchannel analysis. It is necessary to determine the parameter values needed to sort the data.
The alignment of the waveforms is one of the important prerequisites for finding leaking secret information. This is because even if multiple waveforms leaked from the same secret device are correlated with the same position (which contains secret information), it is important to align these positions so that the secret information can be estimated with a smaller number of waveforms and more clearly correlated. . For example, if the waveform of the IC algorithm security algorithm is collected, a plurality of waveforms are repeatedly collected by triggering a section in which the security algorithm operates. However, depending on the IC card, each waveform may not be measured very accurately due to various factors such as the presence of a random frequency and an incomplete trigger, and may delay or come out of the time axis little by little. In other words, as the desired analysis position is widely distributed, the correlation becomes inferior, which is mixed with other noises in the analysis and acts as an obstacle to the analysis. Therefore, the waveforms can be analyzed using various methods such as global alignment using the correlation of the entire waveform, global waveform alignment using the feature interval, elastic alignment using DTW, and the like. Aligning analysis positions by moving them left and right on the time axis plays an important role in increasing the number and correlation of waveforms required for analysis.
For example, conventional methods require the user to adjust the parameters according to the characteristics of the waveform (size, which parts to compare, how much to compare, how much to move the comparing portion, etc.), and the shape of the waveform. The more complicated and longer the waveform is, the more difficult it is to adjust its parameters without specialized skills or experience.
In addition, the conventional preprocessing alignment method is inefficient, even if the parameters are well known, when the length of the waveform data becomes long, the time required for the alignment of the waveform data increases rapidly. In addition, the waveform data collected according to the device has a disadvantage that it is not partially aligned even after data alignment.
SUMMARY OF THE INVENTION An object of the present invention for overcoming the above disadvantages is to perform the alignment of waveform data without user input for complex parameters in aligning the collected waveform data for subchannel analysis, the alignment time of the waveform data and It is to provide a data automatic sorting method for subchannel analysis that can improve the sorting effect.
According to an aspect of the present invention, an automatic data sorting method for subchannel analysis includes defining a part of collected waveform data as a test set, and pre-parameters for the determined test set. And setting the pre-set parameters to the test set, performing the alignment of the collected waveform data using the determined alignment parameter, and arranging the collected waveform data. And selectively performing partial alignment on the waveform data correspondingly.
As described above, the data auto-sorting method for subchannel analysis defines a part of the collected data as a test set, determines preliminary parameters for automatic setting, and generates and arranges compressed waveform data using the determined parameters. We use the data autosort method for subchannel analysis, which aligns the entire waveform data and compares the result of the alignment of each waveform data portion to perform partial alignment of out-of-range portions.
Therefore, automatic parameter setting, compression sorting, and partial sorting can be performed without user input to obtain more accurate sorting results, and input errors for sorting method and sorting parameters for waveform data acquired for subchannel analysis. By reducing the number of errors and trial and error, the efficiency of data automatic alignment required for subchannel analysis can be improved.
1 is a conceptual diagram illustrating an exemplary configuration of a conventional subchannel analysis apparatus.
2 is a block diagram illustrating a configuration of a subchannel analysis apparatus to which a waveform data alignment method for subchannel analysis according to an exemplary embodiment of the present invention is applied.
3 is a block diagram illustrating a detailed configuration of a waveform data alignment parameter determiner of a subchannel analysis apparatus according to an exemplary embodiment of the present invention.
4 is a flowchart illustrating a waveform data alignment method for subchannel analysis according to an embodiment of the present invention.
While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail.
It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.
The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.
Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with the meaning in the context of the relevant art and are to be interpreted in an ideal or overly formal sense unless explicitly defined in the present application Do not.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In order to facilitate the understanding of the present invention, the same reference numerals are used for the same constituent elements in the drawings and redundant explanations for the same constituent elements are omitted.
2 is a block diagram illustrating a configuration of a subchannel analysis apparatus to which a data sorting method for subchannel analysis is applied according to an exemplary embodiment of the present invention.
Referring to FIG. 2, the
In addition, the
For reference, the roles of the
First, the
Meanwhile, in FIG. 2, the waveform data
3 is a block diagram illustrating a detailed configuration of a waveform data alignment parameter determination unit of a subchannel analysis apparatus according to the present invention.
Referring to FIG. 3, the waveform data
The test set defining
The dictionary
The
The finally determined alignment parameter is output to the
4 is a flowchart illustrating a waveform data alignment method for subchannel analysis according to an embodiment of the present invention.
Referring to FIG. 4, the waveform data sorting method according to the present invention includes a test set
Here, the test set
Test set
The
At this time, in the preparameter test, parameters necessary for the alignment according to the waveform length-for example, window size (window size, comparison section), threshold (maximum amount of movement of the comparison section), step size (step size) At a time), compression ratio (determining the amount of compression of waveform data to perform basic alignment), sub-window size and sub-threshold required for partial alignment when performing partial alignment. Arbitrarily set parameters such as threshold, sub-step size, and overlap size (parameters indicating whether windows can be overlapped and partially overlapped when partially aligned) to predetermined values do.
The
For example, if the test set waveform has a length of 100,000 points, a compression ratio of 10 generates 10,000 points of compressed waveform data. Compressed waveform data is sorted by setting the window size as 8,000 points, the threshold value as 2,000, and the step size as 1 as parameters of this compressed waveform. When the aligned position is multiplied by the compression ratio and moved to the original waveform data, waveform data aligned within 10 points of the compression ratio is generated. By arranging the waveform data with a window size of 80,000 points, a threshold of 10 and a step size of 1, relatively well-arranged waveform data can be generated in a very short time.
When verifying the parameter value, if the maximum moving distance of the waveform data comparison section of the test set is similar to the threshold, it is used to align the waveform data by resetting the threshold higher. That is, if the moving distance of the waveform data moved for actual alignment is much shorter than the threshold, the threshold and window size are readjusted similarly to the actual moving distance for the alignment speed. However, when the test result through the test set through the test set is similar to the threshold, it is preferable to use the waveform value to realign the waveform data by resetting the threshold to be larger.
Through the above-described process, the pre-parameters set in the
Finally, in the full waveform data
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the present invention as defined by the following claims It can be understood that
200: sub-channel analysis unit 210: waveform collector
220: waveform data alignment parameter determiner
221: test set definition unit 222: pre-parameter setting unit
223: pre-alignment test section 230: waveform processing section
240: median calculation unit 250: analysis unit
Claims (1)
Setting pre-parameters for the determined test set;
Applying the preset parameter to the test set to perform alignment on the test set;
Verifying the preliminary parameters based on the alignment result of the test set to determine an alignment parameter;
Performing alignment of the collected waveform data using the determined alignment parameter; And
And selectively performing partial alignment on the waveform data according to the arrangement result of the collected waveform data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110084742A KR20130022475A (en) | 2011-08-24 | 2011-08-24 | Method of arranging data automatically for side channel analysis and side channel analysis apparatus performing the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110084742A KR20130022475A (en) | 2011-08-24 | 2011-08-24 | Method of arranging data automatically for side channel analysis and side channel analysis apparatus performing the same |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20130022475A true KR20130022475A (en) | 2013-03-07 |
Family
ID=48175118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020110084742A KR20130022475A (en) | 2011-08-24 | 2011-08-24 | Method of arranging data automatically for side channel analysis and side channel analysis apparatus performing the same |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20130022475A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101367174B1 (en) * | 2011-12-14 | 2014-02-27 | 한국전자통신연구원 | Method and apparatus for providing data arrangement for side channel analysis |
KR101480904B1 (en) * | 2013-09-25 | 2015-01-13 | 한국전자통신연구원 | Apparatus and method for selecting waveform for side-channel analysis |
-
2011
- 2011-08-24 KR KR1020110084742A patent/KR20130022475A/en not_active Application Discontinuation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101367174B1 (en) * | 2011-12-14 | 2014-02-27 | 한국전자통신연구원 | Method and apparatus for providing data arrangement for side channel analysis |
KR101480904B1 (en) * | 2013-09-25 | 2015-01-13 | 한국전자통신연구원 | Apparatus and method for selecting waveform for side-channel analysis |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10320555B2 (en) | Method of testing the resistance of a circuit to a side channel analysis of second order or more | |
Oswald et al. | Breaking Mifare DESFire MF3ICD40: Power analysis and templates in the real world | |
US20160140340A1 (en) | Side-channel leakage evaluator and analysis kit | |
Durvaux et al. | How to certify the leakage of a chip? | |
US11036891B2 (en) | Testing resistance of a circuit to a side channel analysis | |
KR20130022475A (en) | Method of arranging data automatically for side channel analysis and side channel analysis apparatus performing the same | |
KR20160114252A (en) | Method for processing side channel analysis | |
Bossuet et al. | Emulating side channel attacks on gem5: lessons learned | |
Korak et al. | Attacking an AES-enabled NFC tag: Implications from design to a real-world scenario | |
KR101367174B1 (en) | Method and apparatus for providing data arrangement for side channel analysis | |
CN105046113B (en) | Android software based on randomness test reinforces detection method | |
CN108011707B (en) | Frequency security analysis system and method for hardware encryption equipment | |
KR20120035073A (en) | Method of arranging waveform data for side channel analysis and side channel analysis apparatus using the same | |
Stone et al. | Radio frequency based reverse engineering of microcontroller program execution | |
KR20140077404A (en) | Method and apparatus for providing side channel analysis | |
Walters et al. | Sleak: A side-channel leakage evaluator and analysis kit | |
KR100926749B1 (en) | 2nd differential power analysis attack method and 2nd differential electromagnetic analysis attack method | |
KR101141600B1 (en) | Apparatus for measuring power consumption and generating a trigger for side channel analysis and method thereof | |
Korak et al. | Minimizing the costs of side-channel analysis resistance evaluations in early design steps | |
KR20120035074A (en) | Side channel analysis method of removing waveform data noise by using noise model and side channel analysis apparatus using the same | |
KR20120033618A (en) | Side channel analysis apparatus processing data parallel for fast side channel analysis and method thereof | |
CN114355036A (en) | Trigger signal generation device and method and chip test system | |
Zhao et al. | An Optimization for Differential Power Analysis Based on Time Series Verification | |
CN112131563B (en) | Template attack testing method, device, equipment and storage medium | |
Peng et al. | Framework for efficient sca resistance verification of iot devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |