Multifunctional side channel analyzer for collecting power consumption information of cryptographic chip

By designing a multifunctional side channel analyzer, the power consumption information of the cryptographic chip is collected, processed and output, and the problem of lack of such tools in the prior art is solved, and the effective collection and processing of the power consumption information of the cryptographic chip is realized, thereby improving the acquisition efficiency and signal-to-noise ratio.

CN119561672APending Publication Date: 2025-03-04BEIJING INST OF TECH +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411742144.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

The lack of tools for collecting cryptographic chip power consumption information in the prior art makes it difficult to carry out effective side channel attacks.

Method used

A multifunctional side channel analyzer is designed, including a power supply module, a signal input module, a filtering amplification module, a working status indication module and a signal processing output module, through which power consumption information of the password chip is collected, processed and output.

Benefits of technology

It realizes effective collection and processing of power consumption information of cryptographic chips, solves the problem of lack of such tools in the prior art, supports the collection of power consumption information of various cryptographic chips, and improves the acquisition efficiency and signal-to-noise ratio.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561672A_ABST
    Figure CN119561672A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data acquisition, in particular to a multifunctional side channel analyzer for acquiring power consumption information of a cryptographic chip, which is provided with a power supply module, a signal input module, a filtering and amplifying module, a working state indication module and a processing signal output module, the power supply module is connected with the filtering amplification module and the working state indication module and provides power for the filtering amplification module and the working state indication module, the signal input module is electrically connected with the processing signal output module and transmits trigger signals, and the signal input module is electrically connected with the signal input end of the filtering amplification module and inputs power consumption information. The signal output end of the filtering and amplifying module is electrically connected with the processing signal output module and outputs processed power consumption information. The power consumption information of the cryptographic chip is obtained through the signal input module, the power consumption information is filtered and amplified through the filtering and amplifying module, and then the processed power consumption information is output through the processing signal output module, so that the problem that a tool for collecting the power consumption information of the cryptographic chip is lacked at present is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of data acquisition, and in particular to a multifunctional side channel analyzer for acquiring power consumption information of a cryptographic chip. Background Art

[0002] In the past 30 years, traditional cryptanalysis techniques that use plaintext and ciphertext in normal channels to crack passwords have been widely studied. However, due to the complexity of the cryptographic operation process and the long key length, the possibility of traditional cryptanalysis techniques being put into practical use is very small. Side-channel attack technology (Side-Channel Attack), especially the low-cost, high-signal-to-noise ratio, non-invasive power analysis attack (Power Analysis Attack), can directly obtain the intermediate value information in the cryptographic algorithm operation process and can recover longer keys in segments. It is extremely practical and potentially destructive, and therefore has become one of the hot research areas in the international cryptography community in recent years.

[0003] In side channel attacks, energy analysis technology obtains keys by analyzing the energy consumed by cryptographic chips during execution (i.e., power consumption information). It can accurately locate the location of information leakage and recover keys with lower time and economic costs and higher success rate. However, in the prior art, there is a lack of tools for collecting power consumption information of cryptographic chips. Summary of the invention

[0004] In view of this, an object of the present invention is to provide a multifunctional side channel analyzer for collecting power consumption information of cryptographic chips, so as to overcome the problem of the current lack of tools for collecting power consumption information of cryptographic chips.

[0005] To achieve the above objectives, the present invention adopts the following technical solutions:

[0006] The present application provides a multifunctional side channel analyzer for collecting power consumption information of a cryptographic chip, comprising: a housing and a circuit board;

[0007] The circuit board is arranged in the housing, and has a power supply module, a signal input module, a filtering and amplifying module, a working state indicating module and a processed signal output module on the circuit board;

[0008] The power supply module is connected to the filtering and amplifying module and the working status indication module to provide power for the filtering and amplifying module and the working status indication module. The signal input module is electrically connected to the processing signal output module to transmit a trigger signal. The signal input module is electrically connected to the signal input end of the filtering and amplifying module to input power consumption information. The signal output end of the filtering and amplifying module is electrically connected to the processing signal output module to output processed power consumption information.

[0009] Furthermore, in the multifunctional side channel analyzer described above, the signal input module includes: a USB interface unit, a flying line interface unit, a resistance switching unit and an unprocessed signal input unit.

[0010] Furthermore, in the multifunctional side-channel analyzer described above, the power supply module includes a DC power supply interface.

[0011] Furthermore, in the multifunctional side channel analyzer described above, the working status indication module is composed of an LED light circuit, which is connected in parallel with the filtering and amplifying module to display the power supply status of the filtering and amplifying module.

[0012] Further, in the multifunctional side channel analyzer described above, the processing signal output module comprises two SMA female sockets;

[0013] The first SMA female socket is electrically connected to the signal output end of the filtering and amplifying module, and is used to output the power consumption information of filtering and amplification to the outside;

[0014] The second SMA female sockets are electrically connected to the signal input modules respectively, and are used to output a trigger signal to the outside.

[0015] Furthermore, in the multifunctional side channel analyzer described above, the resistance switching unit is composed of a parallel circuit of 1 ohm, 10 ohm and 100 ohm resistors and a three-speed toggle switch.

[0016] Further, in the multifunctional side channel analyzer described above, the USB interface unit comprises: a first USB female socket and a second USB female socket;

[0017] The first USB socket is electrically connected to the interface of the USB device to be tested, the second USB socket is electrically connected to the PC end, and the communication lines of the first USB socket and the second USB socket are directly connected;

[0018] The power line of the second USB female socket is connected to the first end of the resistance switching unit, and the data transmission line of the USB interface unit is electrically connected to the second SMA female socket of the processing signal output module.

[0019] Further, in the multifunctional side channel analyzer described above, the flying line interface unit comprises: two 6-pin XH2.54mm terminal sockets;

[0020] The first pin of the terminal socket is connected to the password chip by flying wire, the second pin of the terminal socket is grounded, and the third pin of the terminal socket is electrically connected to the second SMA female socket of the processing signal output module.

[0021] The beneficial effects of the present invention are:

[0022] The present application has a power module, a signal input module, a filter amplification module, a working status indication module and a processing signal output module; the power module is connected to the filter amplification module and the working status indication module to provide power for the filter amplification module and the working status indication module, the signal input module is electrically connected to the processing signal output module to transmit a trigger signal, the signal input module is electrically connected to the signal input end of the filter amplification module to input power consumption information, the signal output end of the filter amplification module is electrically connected to the processing signal output module to output processed power consumption information. In the present application, the power consumption information and trigger signal of the password chip are obtained through the signal input module, the power consumption information is filtered and amplified by the filter amplification module, and then the processed power consumption information and the trigger signal are output by the processing signal output module, thereby solving the problem of the current lack of power consumption information collection tools for password chips. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0024] Figure 1 It is a structural schematic diagram provided by an embodiment of a multifunctional side channel analyzer for collecting power consumption information of a cryptographic chip according to the present invention;

[0025] Figure 2 The present invention is a schematic diagram of the structure of a signal input module provided by an embodiment of a multifunctional side channel analyzer for collecting power consumption information of a cryptographic chip. DETAILED DESCRIPTION

[0026] To make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.

[0027] Figure 1 This is a structural diagram of an embodiment of a multifunctional side channel analyzer for collecting power consumption information of a cryptographic chip provided by the present invention. Figure 1 , this embodiment may include: a housing and a circuit board;

[0028] The circuit board is arranged in the housing, and has a power supply module 2, a signal input module 1, a filtering and amplifying module 3, a working state indicating module 4 and a processed signal output module 5;

[0029] The power supply module 2 is connected to the filtering and amplifying module 3 and the working status indication module 4 to provide power for the filtering and amplifying module 3 and the working status indication module 4. The signal input module 1 is electrically connected to the processing signal output module 5 to transmit the trigger signal. The signal input module 1 is electrically connected to the signal input end of the filtering and amplifying module 3 to input the power consumption information. The signal output end of the filtering and amplifying module 3 is electrically connected to the processing signal output module 5 to output the processed power consumption information.

[0030] It should be noted that the filter amplifier module 3 uses an AD8000YRDZ operational amplifier and cooperates with a noise reduction circuit to amplify and preliminarily filter the input power consumption information, with an amplification factor of 10:1.

[0031] Shell 1 is further processed based on the colorless Bahar aluminum profile shell BAD11001-W140, including an aluminum shell and a hard plastic panel. The aluminum shell is painted blue and laser engraved to identify product information such as "Multi-function Side Channel Analyzer". The panel is punched to provide a window for the external interface of the circuit board. Colored label stickers are designed for the punched panel to explain the functions of each interface.

[0032] It can be understood that the present application has a housing and a circuit board; the circuit board is arranged in the housing, and the circuit board has a power module 2, a signal input module 1, a filter amplification module 3, a working state indication module 4 and a processing signal output module 5; the power module 2 is connected to the filter amplification module 3 and the working state indication module 4 to provide power for the filter amplification module 3 and the working state indication module 4, the signal input module 1 is electrically connected to the processing signal output module 5 to transmit the trigger signal, the signal input module 1 is electrically connected to the signal input end of the filter amplification module 3 to input the power consumption information, and the signal output end of the filter amplification module 3 is electrically connected to the processing signal output module 5 to output the processed power consumption information. In the present application, the power consumption information and the trigger signal of the password chip are obtained through the signal input module 1, the power consumption information is filtered and amplified by the filter amplification module 3, and then the processed power consumption information and the trigger signal are output through the processing signal output module 5, thereby solving the problem of the current lack of power consumption information collection tools for password chips.

[0033] Preferably, Figure 2 FIG. 1 is a schematic diagram of a signal input module structure provided by an embodiment of a multifunctional side channel analyzer for collecting power consumption information of a cryptographic chip according to the present invention. Figure 2 As shown, the signal input module 1 includes: a USB interface unit, a flying line interface unit, a resistance switching unit and an unprocessed signal input unit.

[0034] Preferably, the processing signal output module 5 comprises two SMA female sockets;

[0035] The first SMA female socket is electrically connected to the signal output terminal of the filter amplifier module, and is used to output the power consumption information of the filter amplifier to the outside;

[0036] The second SMA female sockets are electrically connected to the signal input modules respectively, and are used to output a trigger signal externally.

[0037] Preferably, the USB interface unit comprises: a first USB female socket and a second USB female socket;

[0038] The first USB female socket is electrically connected to the interface of the USB device to be tested, the second USB female socket is electrically connected to the PC end, and the communication lines of the first USB female socket and the second USB female socket are directly connected;

[0039] The power line of the second USB female socket is connected to the first end of the resistance switching module, and the data transmission line of the USB interface unit is electrically connected to the second SMA female socket of the processing signal output module 5.

[0040] Preferably, the flying lead interface unit comprises: two 6-pin XH2.54mm terminal sockets;

[0041] The first pin of the terminal socket is connected to the password chip by flying wire, the second pin of the terminal socket is grounded, and the third pin of the terminal socket is electrically connected to the second SMA female socket of the processing signal output module 5.

[0042] It is understandable that the flying line interface unit uses two 6pin XH2.54mm terminal sockets, which are used to match DuPont wires or other wires with the password chip for flying line connection, supporting UART, I2C, SPI and other interfaces. The two sockets are located at the left and right ends of the circuit board, and are directly connected except for the first pin, and are symmetrical on the left and right.

[0043] The first pins of the two sockets of the flying line interface unit are disconnected in the middle, connecting the resistance switching unit and the filter amplifier module 3. Based on this design, the analyzer can be connected to the password chip through the first pin of the flying line interface unit to collect the power consumption information of the password chip.

[0044] The second pins of the two sockets of the flying line interface unit are grounded. Based on this design, the analyzer can be connected to the common ground with the password chip through the second pin of the flying line interface to improve the accuracy of the collected information.

[0045] The third pins of the two sockets of the flying line interface unit are connected to the second SMA female socket of the processing signal output module 5, and the triggering of the password chip can transmit the trigger signal through the third pin interface.

[0046] The USB interface unit uses a first USB socket and a second USB socket. The second USB socket is connected to the PC end, and the first USB socket is connected to the interface of the USB device to be tested, such as a USB shield. The first USB socket and the second USB socket are located at the left and right ends of the circuit board, and the communication lines are directly connected.

[0047] The power line of the second USB socket of the USB interface unit is connected to the resistance switching module, and is connected to the filter amplification module 3 through the resistance switching module to realize the collection of power consumption information of the USB device (such as U shield).

[0048] The data transmission line of the USB interface unit is connected to the processing signal output module 5, and can output the transmission data as a trigger signal.

[0049] Preferably, the power module 2 includes a DC power interface.

[0050] Preferably, the working status indication module 4 is composed of an LED lamp circuit, which is connected in parallel with the filtering and amplifying module 3 to display the power supply status of the filtering and amplifying module 3 .

[0051] It is understandable that the working state indicating module 4 is composed of an LED light circuit, and the light is on to indicate normal power supply, and the light is off to indicate no power supply. Different brightness can also indicate the power supply voltage.

[0052] Preferably, the resistance switching unit is composed of a parallel circuit of 1 ohm, 10 ohm and 100 ohm resistors and a three-speed toggle switch.

[0053] It is understandable that the three-speed toggle switch can switch the circuit connected to the filter amplifier module 3 to achieve the effect of switching the resistor.

[0054] The multifunctional side channel analyzer in this embodiment supports the collection of power consumption information of various cryptographic chips and cryptographic chips with USB interfaces such as U-Shield, and has powerful functions. It supports switching series resistors in the acquisition circuit, reducing the operation of replacing resistors and improving the acquisition efficiency. It supports filtering and amplifying the collected power consumption information, and the output power consumption signal has a high signal-to-noise ratio and obvious waveform information characteristics. In addition to supporting filtering and amplifying the energy collected by this analyzer, it also supports filtering and amplifying other input signals and then outputting them. It supports using LED lights to indicate the power supply connection status of the filter amplifier circuit, which is convenient for users to confirm the working status of the device.

[0055] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0056] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0057] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0058] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0059] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0060] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0061] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0062] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0063] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A multifunctional side channel analyzer for collecting power consumption information of cryptographic chips, characterized in that: include: Housing and circuit board; The circuit board is arranged in the housing, and has a power supply module, a signal input module, a filtering and amplifying module, a working state indicating module and a processed signal output module on the circuit board; The power supply module is connected to the filtering and amplifying module and the working status indication module to provide power for the filtering and amplifying module and the working status indication module. The signal input module is electrically connected to the processing signal output module to transmit a trigger signal. The signal input module is electrically connected to the signal input end of the filtering and amplifying module to input power consumption information. The signal output end of the filtering and amplifying module is electrically connected to the processing signal output module to output processed power consumption information.

2. The multifunctional side channel analyzer according to claim 1, characterized in that: The signal input module comprises: a USB interface unit, a flying line interface unit, a resistance switching unit and an unprocessed signal input unit.

3. The multifunctional side channel analyzer according to claim 2, characterized in that: The power module includes a DC power interface.

4. The multifunctional side channel analyzer according to claim 3, characterized in that: The working status indication module is composed of an LED light circuit, which is connected in parallel with the filtering and amplifying module to display the power supply status of the filtering and amplifying module.

5. The multifunctional side channel analyzer according to claim 4, characterized in that: The processing signal output module includes two SMA female sockets; The first SMA female socket is electrically connected to the signal output end of the filtering and amplifying module, and is used to output the power consumption information of filtering and amplification to the outside; The second SMA female sockets are electrically connected to the signal input modules respectively, and are used to output a trigger signal to the outside.

6. The multifunctional side channel analyzer according to claim 5, characterized in that: The resistance switching unit is composed of a parallel circuit of 1 ohm, 10 ohm and 100 ohm resistors and a three-speed toggle switch.

7. The multifunctional side channel analyzer according to claim 6, characterized in that: The USB interface unit comprises: a first USB female socket and a second USB female socket; The first USB socket is electrically connected to the interface of the USB device to be tested, the second USB socket is electrically connected to the PC end, and the communication lines of the first USB socket and the second USB socket are directly connected; The power line of the second USB female socket is connected to the first end of the resistance switching unit, and the data transmission line of the USB interface unit is electrically connected to the second SMA female socket of the processing signal output module.

8. The multifunctional side channel analyzer according to claim 7, characterized in that: The flying line interface unit includes: two 6-pin XH2.54mm terminal sockets; The first pin of the terminal socket is connected to the password chip by flying wire, the second pin of the terminal socket is grounded, and the third pin of the terminal socket is electrically connected to the second SMA female socket of the processing signal output module.

Citation Information

Patent Citations

  • Power dissipation testing device

    CN101930025A

  • Crypto chip power consumption analyzing device and method and power consumption analysis protection device and method

    CN104301088A

  • Identity identification system based on RF technology

    CN106295434A

  • Automatic collection system and method for side channel signals of IOT terminal

    CN109120650A

  • Cryptographic chip security detection method, device and equipment

    CN117857010A