CN203435022U - Energy leakage acquisition platform for target smart card - Google Patents

Energy leakage acquisition platform for target smart card Download PDF

Info

Publication number
CN203435022U
CN203435022U CN201320138817.6U CN201320138817U CN203435022U CN 203435022 U CN203435022 U CN 203435022U CN 201320138817 U CN201320138817 U CN 201320138817U CN 203435022 U CN203435022 U CN 203435022U
Authority
CN
China
Prior art keywords
sampling
energy leakage
collecting device
smart card
energy
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.)
Expired - Lifetime
Application number
CN201320138817.6U
Other languages
Chinese (zh)
Inventor
周永彬
曹雨晨
杨树果
赵辉
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.)
Institute of Information Engineering of CAS
Original Assignee
Institute of Information Engineering of CAS
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 Institute of Information Engineering of CAS filed Critical Institute of Information Engineering of CAS
Priority to CN201320138817.6U priority Critical patent/CN203435022U/en
Application granted granted Critical
Publication of CN203435022U publication Critical patent/CN203435022U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The utility model discloses an energy leakage acquisition platform for a target smart card. The energy leakage acquisition platform includes energy leakage acquisition equipment, a sampling server, a sampling client and an oscilloscope, wherein the sampling server is connected with the sampling client and the oscilloscope respectively through a network or data lines, the energy leakage acquisition equipment is connected with the target smart card and the sampling server respectively through a data interface, the sampling client is used for parsing inputted command information and generating sampling command sequences, the sampling server is used for parsing and transmitting the sampling command sequences, the energy leakage acquisition equipment is used for parsing and transmitting received executable commands and at the same time, generating triggering signals for the oscilloscope, and receiving execution results of the target smart card and transmitting the execution results to the sampling server, and the oscilloscope is used for executing received control commands and performing energy consumption information acquisition on the target smart card. The energy leakage acquisition platform can assist in quickly and accurately detecting the anti-energy analysis attack ability of the target smart card.

Description

A kind of energy leakage acquisition platform of object-oriented smart card
Technical field
The utility model relates to a kind of energy leakage acquisition platform of object-oriented smart card, uses this platform to gather fast the energy leakage of arbitrary target smart card, is the support that provides the foundation of the anti-power analysis ability of assessment objective smart card.The multiple smart card of this hardware compatibility.Have that convenient, the stability of sampling is strong, reliability high, belong to field of information security technology.
Background technology
Under the environment of current mobile Internet high speed development, people can carry out obtaining and processing of information at any time and any place, by any way, and individual enjoys the epoch of many embedded computing equipments and arrives.For ensureing the fail safe of daily use, the cryptographic algorithm of usining is widely used in modern communication and computing equipment as the safety chip of core support technology.
Safety chip refers to the integrated circuit (IC) chip that has realized cryptographic algorithm.Safety chip is intended to ensure necessary security capabilities, by its inner cryptographic algorithm function or process realizing, with form storage or the mutual sensitive data of ciphertext, in order to avoid it is subject to unauthorized access, is the most important password base unit of a class.
Smart card is the Typical Representative of safety chip, is the common name of the card of embedded microprocessor.Society, the every aspect that the use of smart card is gone into the thick of life, people are contacting and are using different smart cards, the third generation resident identification card adopting such as mass transit card, SIM cards of mobile phones, bank card and Chinese Government etc. every day.Applied these fields of smart card are usually directed to many secret informations of application person, such as the information in bank card, if these information are revealed, can cause immeasurable loss to its user so.Still take bank card as example, once the secret information in bank card is revealed, malicious attacker can copy a same bank card, and uses equally with former card, and the seriousness of its consequence is self-evident.When enjoying unprecedented convenience, the safety that how to guarantee smart card product is an acid test, therefore to the fail safe of smart card with the assessment of safety assurance ability is provided and detects most important.In fact, these equipment many places are in open environment, and assailant can access and control these equipment completely, uses various means to carry out analytical attack, and what it was formed to serious threat is exactly the cryptanalysis of side channel.
Side-channel attack is a kind of cryptanalysis method that nearly 17 years (from Kocher in proposing timing attack for 1996) develops rapidly.In smart card, the always concrete physical function module realization based in safety chip of cryptographic algorithm, safety chip environment generation residing with it physics is mutual, also can be subject to the impact of environment simultaneously.The information of leaking by this reciprocation is commonly referred to " side information ".The side information leakage of password realization execution Password Operations and password are realized between institute's deal with data and performed operation and are had correlation, utilize this correlation to realize to password the attack of implementing to crack and are called side Multiple Channel Analysis or side-channel attack.Compare with traditional cryptanalysis, side-channel attack can be portrayed the practical application scene of safety chip better, thereby can cause more serious threat to the physical security of smart card.
In recent years, utilized the side Multiple Channel Analysis method of the side information leakage such as time of implementation, energy consumption, electromagnetic radiation to have significant progress.Wherein, power analysis has mainly utilized the secret information leaking in the energy consumption of smart card when carrying out cryptographic algorithm.Therefore, energy consumption curve when smart card is carried out to cryptographic algorithm gathers and analyzes, and can therefrom recover key used in Intelligent target card.
Power analysis has caused serious threat to the physical security of smart card, so the physical security of smart card is assessed and become a very urgent domestic demand in the outer cryptography engineering practice of Present Domestic.In the crypto module evaluation criteria FIPS140-3DR of Federal Government issue in the recent period, also clearly proposed the assessment of crypto module to the defence capability of non-invasion formula attack, the key player of side Multiple Channel Analysis field smart card security has also been described from a side.
In order to assess the physical security of smart card, the ability that especially smart card opposing side Multiple Channel Analysis is attacked, needs a set of system of smart card being carried out to side-channel attack analyzing and testing.And be exactly fast and effeciently to obtain the energy consumption curve of smart card when carrying out cryptographic algorithm to the first step that smart card carries out power analysis detection, i.e. sampling.Because cryptographic algorithm is executed in smartcard internal, right and wrong are intuitively for user for its implementation, user's smartcard internal that can not know for sure is being carried out any operation, therefore this just require sampling system can identify exactly user send to smart card order type and analyze the state transitions of smartcard internal, thereby trigger oscilloscope when smart card starts to carry out cryptographic algorithm, start to sample.
Utility model content
For the technical problem existing in prior art, the purpose of this utility model is to provide a kind of energy leakage acquisition platform of supporting plurality of target smart card, use this platform to carry out energy leakage collection fast to plurality of target smart card, for information science and other scientific research and commercial application field provide a kind of strong supporting tool to the evaluation and test of Intelligent target card safety.
The Intelligent target card of the utility model support has comprised the smart card of supporting ISO7816 agreement or EMV2000 agreement.
The technical solution of the utility model is:
A kind of energy leakage acquisition platform of object-oriented smart card, it is characterized in that comprising energy leakage collecting device, sampling server, sampling client and the oscilloscope of object-oriented smart card, described sampling server is connected with described sampling client, oscilloscope respectively by network or data wire, described energy leakage collecting device is connected with Intelligent target card, described sampling server by a data-interface respectively, wherein
Described sampling client, for resolving the command information of input, generates sample command sequence and sends it to sampling server;
Described sampling server, for the described sample command sequence of receiving is resolved, if the order parsing is the executable order of energy leakage collecting device, sends it to energy leakage collecting device; If the order parsing is oscillographic control command, send it to this oscilloscope;
Described energy leakage collecting device, for the executable command of receiving is resolved, if the order parsing is the control command of Intelligent target card, sends it to Intelligent target card; If the order parsing is the sampling configuration order of energy leakage collecting device, in the inner execution of energy leakage collecting device; Energy leakage collecting device produces triggering signal before Intelligent target card starts to carry out cryptographic algorithm simultaneously, and described triggering signal is sent to oscilloscope; Energy leakage collecting device receiving target smart card is to the execution result of smart card control command and send it to sampling server;
Described oscilloscope is used for carrying out the control command of receiving, and according to the described triggering signal of receiving, Intelligent target card is carried out to energy expenditure information collection, and the energy expenditure information of collection is sent to sampling server;
Described sampling server sends to sampling client by the energy expenditure information of receiving and described execution result.
Further, described energy leakage collecting device is provided with an energy consumption measurement module, the energy consumption while being stuck in execution cryptographic algorithm for detection of Intelligent target, and described oscilloscope is provided with difference detector; Described oscilloscope gathers the change in voltage of described energy consumption measurement module by described difference detector.
Further, the trigger interface that described oscilloscope connects described energy leakage collecting device by one group of probe receives described triggering signal; Described energy leakage collecting device carries out information interaction by ISO7816/EMV2000 communication protocol and Intelligent target card.
Further, described energy leakage collecting device comprises an Intelligent target card internal state metastasis model, described energy leakage collecting device is resolved the order of receiving, according to the current command and Intelligent target card current state, upgrade the state of described state transition model, and the result that Intelligent target card is returned is resolved; Then according to returning results and Intelligent target card state upgrades the state of described state transition model, when being CARD_TRIGGER, the state-transition of described state transition model generates described triggering signal.
Further, the command information of described input comprises the sampling configuration order to sampling server, to oscillographic sampling configuration order, to the sampling configuration order of energy leakage collecting device and the control command to Intelligent target card; The executable order of described energy leakage collecting device comprises the sampling configuration order of energy leakage collecting device and the control command to Intelligent target card.
Utilize platform of the present utility model to carry out energy leakage collection, the steps include:
1) sampling client is resolved the command information of user's input, generates sample command sequence and sends it to sampling server;
2) sampling server is resolved the described sample command sequence of receiving; If the executable order of energy leakage collecting device that the order parsing is object-oriented smart card, is converted into the energy leakage collecting device that command information that the energy leakage collecting device of this object-oriented smart card can identify sends to object-oriented smart card; If the order parsing is oscillographic control command, is converted into the control information that this oscilloscope can identify and sends to this oscilloscope;
3) the energy leakage collecting device of object-oriented smart card is resolved the executable command of receiving; If the order parsing is the control command of Intelligent target card, is converted into the control information that this Intelligent target card can identify and sends to Intelligent target card; All the other orders are processed in energy leakage collecting device self inside of object-oriented smart card, this part order can impel the energy leakage collecting device of described object-oriented smart card to produce triggering signal before Intelligent target card starts to carry out cryptographic algorithm, and described triggering signal is sent to oscilloscope;
4) described Intelligent target card is carried out the control information of receiving; Then execution result is sent to the energy leakage collecting device of object-oriented smart card;
5) described oscilloscope is carried out the control information of receiving, and according to the described triggering signal of receiving, described Intelligent target card is carried out to energy expenditure information collection; Then described oscilloscope sends to sampling server by the energy expenditure information of collection;
6) the energy leakage collecting device of described object-oriented smart card sends to sampling server by the described execution result of receiving;
7) described sampling server sends to sampling client by the energy expenditure information of receiving and described execution result.
Paper general frame of the present utility model once, then introduces its functional characteristic below.
Paper general frame of the present utility model.The utility model mainly consists of energy leakage collecting device, sampling server, sampling client and five parts of oscilloscope of Intelligent target card, object-oriented smart card.General frame and connected mode are as shown in Figure 1.The energy leakage collecting device of object-oriented smart card is connected with sampling server by serial ports/USB, simultaneously, described energy leakage collecting device sticks into Serial Communication by ISO7816/EMV2000 agreement and Intelligent target, oscilloscope connects energy consumption measurement interface the collecting energy reveal information of described energy leakage collecting device by difference detector, oscilloscope is connected the trigger interface of described energy leakage collecting device and is caught triggering signal by one group of ordinary ultrasonic probe simultaneously, oscilloscope is connected by TCP/IP network with sampling server, sampling client is connected by TCP/IP network with sampling server.
Introduce five chief components of the present utility model below:
1) Intelligent target card
Described Intelligent target card refers to the smart card that wanted collecting energy consumes, and typically refers to the commercial smart card of following ISO7816/EMV2000 agreement;
2) sampling client
Sampling client is a computer that is connected to local area network (LAN), by network, is connected to sampling server.User is the energy leakage acquisition platform input of control commands to whole object-oriented smart card by sampling client.The major function of its software section is the parameter input of unification user during towards various dissimilar Intelligent target card, and the storage format of energy expenditure information can be set simultaneously easily.
3) sampling server
Sampling server is a computer that has serial ports/USB, is connected to network.Sampling server is the energy leakage collecting device to Intelligent target card by serial ports/USB joint face, and connects oscilloscope and sampling client by network.Sampling server is resolved distribution to the command sequence from sampling client of receiving, makes the each several part of platform can correctly obtain self can resolving, executable order, the normal operation of assurance whole system.
4) the energy leakage collecting device of object-oriented smart card
The energy leakage collecting device of described object-oriented smart card has comprised hardware components and software section.
The hardware components of the energy leakage collecting device of described object-oriented smart card comprises 6 basic modules: AT89C5122 microprocessor, usb communication module, serial communication modular, trigger control circuit, energy consumption measurement module and Intelligent target card interface.The energy consuming when Intelligent target card moves cryptographic algorithm described in the change in voltage indirect reaction of energy consumption measurement module described in the time of can being stuck in operation cryptographic algorithm with Intelligent target, described change in voltage can be measured with oscilloscope.
The software section of the energy leakage collecting device of described object-oriented smart card mainly consists of 5 essential parts: serial ports/USB driving and protocol module, sample command parsing module, smart card control command parsing module, ISO7816/EMV2000 module and Intelligent target card control module.Each intermodule of described software section has the lower degree of coupling, is easy to the utility model to carry out function upgrading and performance optimization.
The state transition model (as shown in Figure 2) of sampling task processing logic based target smartcard internal of the present utility model.The energy leakage collecting device of described object-oriented smart card is resolved and is sent for controlling the order of Intelligent target card, identify Intelligent target is stuck in and receives its inner state variation after this order simultaneously, thereby guaranteed that sampling system is to the carrying out and controllability of Intelligent target card running status, thereby made the process of sampling more accurate.
Further, the utility model can carry out energy leakage sampling to multiple common commercial Intelligent target card, considered simultaneously energy leakage sampling the long-range sampling of actual scene support user, support multiple kinds of energy consumption information storage format, there is parameter configuration mode flexibly.
Further, based on ISO7816/EMV2000 agreement, the utility model can accurately be identified the state transitions of Intelligent target card inside, and trigger oscilloscope while starting to carry out cryptographic algorithm in Intelligent target card inside the energy consumption of Intelligent target card is started to sample, thereby make user can locate more accurately sampling instant, to reduce redundant information.
Further, the utility model has defined multiple parameters sampling process has been controlled, and has improved the controllability of sampling; There is easy upgrading, easy-operating feature simultaneously.And in these parameters, the cooperation by the sampling zero hour and these two parameters of sampling number can reach carries out after block sampling, sampling the object of splicing again to a long cryptographic algorithm that surpasses the effective storage depth of oscilloscope of time of implementation.Improved the controllability of sampling; There is easy upgrading, easy-operating feature simultaneously.
Compared with prior art, good effect of the present utility model is:
The utility model involvement aspect, to the energy leakage acquisition platform of Intelligent target card, is used this acquisition platform to be stuck in the energy consumption data while carrying out its inner cipher algorithm by automation ground batch capture Intelligent target.Utilize the utility model to carry out splicing again after block sampling, sampling to long cryptographic algorithm of part time of implementation, we can be sampled more accurately to longer cryptographic algorithm of time of implementation.The data of utilizing the utility model to obtain can be used for this Intelligent target card to carry out power analysis experiment, contribute to detect fast, accurately and efficiently the ability of the anti-power analysis of this Intelligent target card.
Accompanying drawing explanation
Fig. 1 overall system Organization Chart;
Fig. 2 Intelligent target card internal state transition diagram; In Fig. 2, A represents to extract the operation of Intelligent target card;
The energy leakage collecting device hardware structure diagram of the object-oriented smart card of Fig. 3;
The energy leakage collecting device software architecture diagram of the object-oriented smart card of Fig. 4.
Embodiment
Below in conjunction with accompanying drawing, the utility model is explained in further detail.
The concrete framework of paper system and system each several part connected mode, then launch to describe to the detailed functions of various piece respectively, finally introduces the workflow of whole system.
Overall system consists of energy leakage collecting device, sampling server, sampling client and five parts of oscilloscope of Intelligent target card, object-oriented smart card.General frame and connected mode are as shown in Figure 1.The energy leakage collecting device that Intelligent target cartoon is crossed ISO7816/EMV2000 communication protocol and object-oriented smart card communicates, the energy leakage collecting device of object-oriented smart card is connected with sampling server by serial ports/USB interface, oscilloscope gathers the energy leakage information of target device by difference detector, oscilloscope gathers the triggering signal of the energy leakage collecting device of object-oriented smart card by one group of ordinary ultrasonic probe simultaneously, oscilloscope is connected by TCP/IP network with sampling server, and sampling client is connected by TCP/IP network with sampling server.
Detailed functions
This trifle by the design philosophy of detailed introducing system each several part and and its function is described.
1) Intelligent target card
Described Intelligent target card refers to the commercial smart card of following ISO7816 agreement or EMV2000 agreement, and require its inside to have executable cryptographic algorithm, the smart card that meets above-mentioned two conditions all can be used as the Intelligent target card of the energy leakage acquisition platform of described object-oriented smart card;
2) sampling client
Described sampling client is connected to local area network (LAN) by TCP/IP, and user is the energy leakage acquisition platform input of control commands to whole object-oriented smart card by sampling client.Described sampling client has order line parsing module, sample command sequence generation module, network connecting module and energy expenditure information logging modle.
The Socket programming standard of network connecting module based on ICP/IP protocol, can set up stable data with sampling server and be connected.Network connecting module needs first to set up stable connection with sampling server conventionally, then starts sampling.
Data acquisition each time all needs through cryptographic parameter is set, and setting up password chip and oscilloscope trigger to be controlled, and trigger condition meets judgement, transfer of data, remove the operations such as oscilloscope trigger condition and crypto chip cryptographic parameter, this module coordinates closely with other modules, jointly completes sampling task.
Order line parsing module receives the parameter of user's input and system parameters is arranged, and these parameters have comprised that expressly quantity, plaintext generating mode, mask-length (if yes), mask source (if yes), mask file path (if mask source is file), ciphertext length, number of repetition, oscilloscope average time, energy expenditure information are preserved form and path etc. to cryptographic algorithm.
Sample command sequence generation module is a nucleus module, the parameter that this module receives command analysis module arrange is converted to the energy leakage collecting device of Intelligent target card, object-oriented smart card and the command sequence that oscilloscope is carried out in sampling process, makes energy leakage collecting device, oscilloscope, sampling server, sampling client five parts of Intelligent target card, object-oriented smart card can complete sampling cooperative cooperating.
Energy expenditure information logging modle, mainly from the energy expenditure information data of network connecting module reception, being translated into the file format of appointment in sampling configuration, according to the path of parameter appointment, preserves into file, and this module is supported multiple file format.
3) sampling server
Described sampling server is connected to local area network (LAN) by TCP/IP, and communicates by the energy leakage collecting device of serial ports/USB interface and object-oriented smart card.Described sampling server has the energy leakage collecting device control module of network connecting module, command analysis module, oscilloscope control module and object-oriented smart card.
The Socket programming standard of network connecting module based on ICP/IP protocol, can set up stable data with sampling client and be connected.Network connecting module needs first to set up stable connection with sampling server conventionally, then starts sampling.
The sample command sequence of command analysis module parses sampling client is also processed.The sample command sequence of client is divided into four objects: energy leakage collecting device, oscilloscope and the server of Intelligent target card, object-oriented smart card self.Resolve different orders, and (order of server self is directly processed in this module to be sent to corresponding processing module, the order of the energy leakage collecting device of Intelligent target card, object-oriented smart card is processed in the energy leakage collecting device control module of object-oriented smart card), collect the respond packet of modules, in respond packet, add server response packet header, then delivered to network connecting module, and can be issued sampling client by network connecting module.
Oscilloscope control module is mainly accepted for oscillographic control or configuration order from order parsing module, and is sent to oscilloscope and carries out.
The energy leakage collecting device control module of object-oriented smart card mainly receives the order for the energy leakage collecting device of Intelligent target card, object-oriented smart card from order parsing module.And by serial ports/USB interface driver, be sent to the energy leakage collecting device of object-oriented smart card.Meanwhile, obtain the information that the energy leakage collecting device of object-oriented smart card postbacks, after parsing, re-assembly as respond packet.
4) the energy leakage collecting device of object-oriented smart card
The main hardware architecture of the energy leakage collecting device of described object-oriented smart card as shown in Figure 3.Wherein, serial ports and USB interface are as the energy leakage collecting device of described object-oriented smart card and the data-interface of sampling server, intelligent card interface is as the energy leakage collecting device of described object-oriented smart card and data and the electric interfaces of Intelligent target card, between serial ports and SP3232EEA and SP3232EEA and AT89C5122 by data/address bus, transmit data.The main part of trigger control circuit is 1 data pin of AT89C5122, makes the software program in AT89C5122 can conveniently produce triggering signal after having identified Intelligent target card internal state.The change in voltage at the energy consumption measurement module two ends that record by oscilloscope can clearly be reacted accurately the energy that Intelligent target is stuck in while carrying out cryptographic algorithm and be consumed.
The software main program moving on the energy leakage collecting device of described object-oriented smart card is mainly by following five module compositions: the driving of serial ports/USB interface and protocol module, sample command parsing module, smart card control command parsing module, ISO7816/EMV2000 module and device control module, as shown in Figure 4.
1) serial ports/USB interface drives and protocol module
Serial ports/USB interface drives and correctly drives serial ports/USB interface, and configures suitable parameter and make its normal operation.Serial ports/USB interface is an order control protocol of supporting that elongated parameter arranges on driving, and for controlling target encryption device, completes crypto-operation, Transfer Parameters etc.Meanwhile, there is a protocol selection module, facilitate user to select efficiently to utilize serial ports or USB communicates.
2) sample command parsing module
Sample command parsing module is resolved the executable command being sent by sampling server of receiving; If the order parsing is the control command of Intelligent target card, as Intelligent target card is restarted, Intelligent target card inner cipher algorithm parameter arranges, carries out cryptographic algorithm etc., be converted into the control information that this Intelligent target card can identify and send to guide card control command analysis module; The order that all the other orders self will be carried out for the energy leakage collecting device of described object-oriented smart card, as orders such as communication protocol selection, sampling parameter setting, variable read-write, sends it to safety chip control module.
3) smart card control command parsing module
Smart card control command parsing module is resolved the order of being sent by sample command parsing module of receiving, and according to the Intelligent target card current state recording in the current command and main program, upgrades the state of the state transition model of described Intelligent target card; To what receive, by Intelligent target cartoon, cross the result that ISO7816/EMV2000 module returns and resolve, and according to described return results and main program in the Intelligent target card state that records upgrade the state of the state transition model of described Intelligent target card; And when being CARD_TRIGGER, the state-transition of described Intelligent target card state transition model generates triggering signal.
As shown in Figure 2, the Intelligent target card state of setting in system comprises:
Table 1 Intelligent target card internal state
Figure BDA00002961031000081
Figure BDA00002961031000091
Wherein, inserting Intelligent target card and reset Intelligent target card, can to make the state recording of Intelligent target card be CARD_IN state, and the operation of extracting Intelligent target card always makes the state of record be set to CARD_OUT.Intelligent target card is powered on, enter CARD_POWERUP state, under this state, Intelligent target card sends ISO7816/EMV2000 communication protocol optional parameters to the energy leakage collecting device of described object-oriented smart card; Receive these parameters checking correct after, enter CARD_DOPPS state, now, ISO7816/EMV2000 communicating protocol parameter used when the energy leakage collecting device of described object-oriented smart card and Intelligent target card negotiation communication; After parameter negotiation normally completes, enter CARD_PREPARE state, Intelligent target card prepares to receive executable command; From receiving described order, start to enter CARD_APDU state, until receive the complete CARD_TRIGGER state that enters of order; Enter after CARD_TRIGGER state, Intelligent target card starts fill order and impels the energy leakage collecting device generation triggering signal of described object-oriented smart card to make oscilloscope start to sample; Triggering signal is once generation, enter CARD_APDU_STOP state, no longer receive control command, until the energy leakage collecting device of described object-oriented smart card receives the return information of Intelligent target card, now enter CARD_PREPARE state, wait for and receive next control command.
4) device control module
Energy leakage collecting device to described object-oriented smart card is controlled, and comprises communication protocol selection, parameter initialization, reads variable, variable etc. is set, and ensures the true(-)running of described equipment.
5) ISO7816/EMV2000 protocol module
Between the energy leakage collecting device that ISO7816/EMV2000 protocol module makes described object-oriented smart card and Intelligent target card, can communicate by letter normally, guarantee that the operations flows in Intelligent target card can be carried out according to user's indicating correct.
Workflow
At system exact connect ion, and determined after experimental program, just can start to carry out the sampling of energy consumption, in this process, internal system can be carried out following work:
The energy leakage collecting device of object-oriented smart card carries out the initialization of serial ports/USB driving and protocol module after energising, and Intelligent target clamping is entered after described equipment, and the Intelligent target card state recording in described equipment main program is converted into CARD_IN;
1) user is in client input command information, and client is resolved command information, and generates sample command sequence;
2) 1) in the sample command sequence that generates by network, send to server end;
3) server end is resolved and is processed the sample command sequence receiving.And the order being resolved to is sent to corresponding equipment (order of server self is directly processed in this module): energy leakage collecting device and the oscilloscope of object-oriented smart card.
4) in this step, by energy leakage collecting device, Intelligent target card and oscilloscope three parts of object-oriented smart card, carry out respectively corresponding work for the treatment of:
The energy leakage collecting device of object-oriented smart card drives by serial ports/USB interface and protocol module receives after the control information from server end, carry out corresponding order (for the order of the energy leakage collecting device of object-oriented smart card within it portion process, after sending to Intelligent target card for the order of Intelligent target card via ISO7816/EMV2000 protocol module, by Intelligent target card, carried out), and the result of command execution is dressed up and wrapped and transfer to serial ports/USB interface to drive to send back to server according to protocol groups;
Start to carry out after cryptographic algorithm recognizing Intelligent target card, the energy leakage collecting device of object-oriented smart card can produce corresponding triggering signal, and Intelligent target card can leak energy expenditure information simultaneously.Oscilloscope just can according to existing configuration to energy consumption sample, then by network, send energy expenditure information to server end.
5) server end is delivered to sampling client by the result of the energy expenditure information receiving and Intelligent target card execution cryptographic algorithm by network running fire.
6) sampling client utilizes energy consumption record module the energy consumption data receiving to be converted into the file format of appointment in sampling configuration, and preserves according to the path of parameter appointment.
When sampling client is during to the execution result of the Intelligent target card being forwarded by hardware sampling platform, show that in Intelligent target card, an algorithm execution finishes, execution result prints at terminal interface.

Claims (2)

1. the energy leakage acquisition platform of an object-oriented smart card, it is characterized in that comprising energy leakage collecting device, sampling server, sampling client and the oscilloscope of object-oriented smart card, described sampling server is connected with described sampling client, oscilloscope respectively by network or data wire, described energy leakage collecting device is connected with Intelligent target card, described sampling server by a data-interface respectively, described oscilloscope connects the trigger interface of described energy leakage collecting device by one group of probe, wherein:
Described sampling client, for resolving the command information of input, generates sample command sequence and sends it to sampling server;
Described sampling server, for the described sample command sequence of receiving is resolved, if the order parsing is the executable order of energy leakage collecting device, sends it to energy leakage collecting device; If the order parsing is oscillographic control command, send it to this oscilloscope;
Described energy leakage collecting device, for the executable command of receiving is resolved, if the order parsing is the control command of Intelligent target card, sends it to Intelligent target card; If the order parsing is the sampling configuration order of energy leakage collecting device, in the inner execution of energy leakage collecting device; Energy leakage collecting device produces triggering signal before Intelligent target card starts to carry out cryptographic algorithm simultaneously, and described triggering signal is sent to oscilloscope; Energy leakage collecting device receiving target smart card is to the execution result of smart card control command and send it to sampling server;
Described oscilloscope is used for carrying out the control command of receiving, and according to the described triggering signal of receiving, Intelligent target card is carried out to energy expenditure information collection, and the energy expenditure information of collection is sent to sampling server;
Described sampling server sends to sampling client by the energy expenditure information of receiving and described execution result.
2. platform as claimed in claim 1, is characterized in that described energy leakage collecting device is provided with an energy consumption measurement module, the energy consumption while being stuck in execution cryptographic algorithm for detection of Intelligent target, and described oscilloscope is provided with difference detector; Described oscilloscope gathers the change in voltage of described energy consumption measurement module by described difference detector.
CN201320138817.6U 2013-03-25 2013-03-25 Energy leakage acquisition platform for target smart card Expired - Lifetime CN203435022U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201320138817.6U CN203435022U (en) 2013-03-25 2013-03-25 Energy leakage acquisition platform for target smart card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201320138817.6U CN203435022U (en) 2013-03-25 2013-03-25 Energy leakage acquisition platform for target smart card

Publications (1)

Publication Number Publication Date
CN203435022U true CN203435022U (en) 2014-02-12

Family

ID=50064035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201320138817.6U Expired - Lifetime CN203435022U (en) 2013-03-25 2013-03-25 Energy leakage acquisition platform for target smart card

Country Status (1)

Country Link
CN (1) CN203435022U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187197A (en) * 2015-10-22 2015-12-23 成都芯安尤里卡信息科技有限公司 Energy track extractor aiming at USB (Universal Serial Bus) Key
CN105205016A (en) * 2015-10-22 2015-12-30 成都芯安尤里卡信息科技有限公司 Instrument for extracting energy trace of CPU smart card
CN103888242B (en) * 2014-03-31 2017-03-29 武汉大学 A kind of intelligent cipher system towards side Multiple Channel Analysis

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888242B (en) * 2014-03-31 2017-03-29 武汉大学 A kind of intelligent cipher system towards side Multiple Channel Analysis
CN105187197A (en) * 2015-10-22 2015-12-23 成都芯安尤里卡信息科技有限公司 Energy track extractor aiming at USB (Universal Serial Bus) Key
CN105205016A (en) * 2015-10-22 2015-12-30 成都芯安尤里卡信息科技有限公司 Instrument for extracting energy trace of CPU smart card

Similar Documents

Publication Publication Date Title
CN103150238B (en) A kind of service request processing method, simulated performance method of testing and device
CN104461903B (en) The method and apparatus of test client based on browser
US10063579B1 (en) Embedding the capability to track user interactions with an application and analyzing user behavior to detect and prevent fraud
CN103516509B (en) Side information leakage segmented acquisition approach and the system of cryptographic-equipment-oriented
CN107766190A (en) Interface test method, device, computer equipment and storage medium
CN112148515B (en) Fault positioning method, system, device, medium and equipment
US8443381B2 (en) API evaluation system in embedded device
CN101778307A (en) Device for testing functions of set top box
CN203435022U (en) Energy leakage acquisition platform for target smart card
CN103529286B (en) Universal type encryption equipment power consumption capture systems and method
CN104992114A (en) Analytic system and method of electromagnetism based on inserted-type cipher chip
CN102546150A (en) Cryptographic-equipment-oriented energy leakage acquisition method and system
CN104917645A (en) Online detection message transmission timeout method and device
CN108292254A (en) Technology for the operation for verifying equipment
Souvignet et al. Differential power analysis as a digital forensic tool
CN204759426U (en) Electromagnetism analytic system of crypto chip
CN104702598A (en) Distributed network protocol security detection method for smart power grid
CN103812887A (en) File opening method and system
US20150349948A1 (en) Side channel analysis system and side channel analysis method using the same
CN105391602B (en) A kind of data acquisition test method and apparatus
CN202084045U (en) Forensics and disposal system for malicious codes of mobile terminal
CN108959879A (en) Data capture method, device, electronic equipment and the server of application program
CN107179448A (en) Electromagnetism error injection attack method and system
CN105281963A (en) nginx server vulnerability detection method and device
CN103345610A (en) Device and method for quickly verifying data integrity of intelligent card

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20140212