CN104346545A - Electromagnetic bypass signal acquisition device and method for USB (universal serial bus) Key - Google Patents
Electromagnetic bypass signal acquisition device and method for USB (universal serial bus) Key Download PDFInfo
- Publication number
- CN104346545A CN104346545A CN201410427447.7A CN201410427447A CN104346545A CN 104346545 A CN104346545 A CN 104346545A CN 201410427447 A CN201410427447 A CN 201410427447A CN 104346545 A CN104346545 A CN 104346545A
- Authority
- CN
- China
- Prior art keywords
- oscillograph
- data
- interface
- usb
- usb key
- 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.)
- Pending
Links
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/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
Abstract
The invention discloses an electromagnetic bypass signal acquisition device and an electromagnetic bypass signal acquisition method for a USB (universal serial bus) Key. The device and the method are used for acquiring an electromagnetic bypass signal of the USB Key in the field of information security. The device and the method are characterized in that a USB interface of a computer is used for directly communicating with the USB Key, wherein a parallel port of the computer is used for triggering an oscilloscope; the oscilloscope is connected with an electromagnetic probe to acquire the electromagnetic bypass signal leaking during the running of the USB Key; the computer is connected with the oscilloscope through a network port or the USB interface to acquire signal data and store the signal data in form of file. The device and the method can be used for acquiring the electromagnetic bypass signal during the running of the USB Key.
Description
Technical field
The present invention is mainly used in information security field in the higher occasion of USB Key security requirement, gathers electromagnetism by-passing signal, to carry out safety analysis to the encryption chip of USB Key.
Background technology
Along with the development of computer technology and network technology, information security is also just incomparably important.In order to protection information safety, successively development has the safety techniques such as authentication, authorization control, log audit, fire wall, VPN, and wherein authentication is most important link in information security.
Digital certificate store medium USB Key is the product in order to improve individual and network application safety comprehensively adopting PKI technology and smart card techniques to complete.Structurally, USB Key chip is one group of cmos digital circuit, and embedded micro-processor independently can carry out computing, the many algorithms such as built-in RSA and 3DES, can produce user key in inside.It is hardware device USB card reader and IC card chip integrated, and is used for carrying out network information security authentication and network communication encryption, and can use on any computing machine with USB interface, be the optimal physical support of unit digital certificate.
Various bypass message (as working time, power consumption, electromagnetic radiation etc.) may be revealed when cryptographic algorithm realizes on certain physical equipment.The electromagnetic signal of chip radiation is relevant to the data processed in chip, performs in the electromagnetic signal of the radiation of equipment of cryptographic algorithm and contains the useful information relevant with key information.Part relevant with key in these information can be offered help for breaking cryptosystems.By placing coil around crypto chip, measuring the electromagnetism by-passing signal of chip radiation between operational stage, studying the correlativity between electromagnetic field and inter-process data and obtaining inner secret parameter.
Therefore gathering the electromagnetism by-passing signal in USB Key operational process, is the first step that USB Key carries out safety analysis.
Summary of the invention
Content of the present invention is to have invented a kind of high efficiency USB Key electromagnetism by-passing signal harvester.
The object of USB Key electromagnetism by-passing signal harvester is: computing machine directly control USB Key communicates with, and strengthens the stability of USBKey work, shortens call duration time, improves electromagnetism by-passing signal collecting efficiency.
Basic composition unit---the phase inverter of cmos digital circuit.Phase inverter can be regarded as a push-and-pull switch: cut off transistor below during input grounding, produce high level output. and just contrary during high level input, move output ground connection to low level.When a bit from 1 be turned to 0 or be turned to 1 from 0 time, the PMOS of phase inverter or NMOS tube can the conducting a bit of times.At this moment can produce an of short duration current impulse, and the electric current produced during this exporting change at CMOS door can produce the electromagnetic field of a change at chip circumference, electromagnetic field of this change can detect with inductive probe.
In order to carry out the collection of electromagnetism by-passing signal efficiently and stably, can be stable carry out data communication, select suitable trigger pip, and it is indispensable to set up a suitable collection model three.
The present invention selects usb protocol directly to carry out data communication, stable, reliable, and speed is fast.
Seletion calculation machine DB25 parallel port of the present invention provides trigger pip for oscillograph, realizes simple and efficient.
The present invention adopts a kind of three layers of capture program framework, and bottom layer driving and dynamic link library are carried out interface encapsulation.Gather the direct calling interface function of control program, module is independent, and coupling is low, and extensibility is strong.
At present, a lot of method gathering USB Key electromagnetism by-passing signal converts ISO7816 protocol emulation smart card communications to by specific installation, and speed is slow and communication is unstable.After using the method disclosed in the present, need not manufacture special conversion equipment, direct and USB Key carries out data communication.
USB Key electromagnetism by-passing signal harvester, comprises computing machine, oscillograph, electromagnetic probe and USB Key; USB Key is directly connected with USB interface of computer, computer parallel port data pins is drawn and connects oscillograph trigger port; Computing machine utilizes cable interface or USB interface to be connected with oscillographic cable interface or USB interface; Electromagnetic probe is connected with oscillograph and with USB Key surface contact, wherein:
Computing machine utilizes parallel port data pins to connect oscillograph trigger pip interface, for oscillograph provides sampled signal, and the stitch level of the Data Control parallel port exported by parallel port; Computing machine obtains oscillograph sampled data by calling Oscillograph Drivers, and data is preserved with file mode; Computing machine is by calling dynamic link library and USB Key carries out data communication.
USB Key electromagnetism by-passing signal acquisition step is as follows:
A) USB Key parameter is set, sets up the data transmission channel of computing machine and USB Key, set up computing machine and oscillographic data transmission channel, and oscillographic sampling parameter is set, create curve file;
B) calling oscillographic wait interface makes oscillograph enter waiting status, the data transmission interface calling dynamic link library sends order to USBKey, after order is sent, call trigger pip interface and produce trigger pip, oscillograph starts to gather electromagnetism by-passing signal;
C) call the return data of the data receiver interface USB Key of dynamic link library, call the data transmission interface acquisition oscillograph sampled data that oscillograph drives, the return data of USBKey and oscillographic sampled data are merged and writes curve file.
D) repeat b), c), terminate until gather curve.
Accompanying drawing explanation
Fig. 1 equipment connection schematic diagram
Fig. 2 tri-layers of capture program configuration diagram
Embodiment
Fig. 1 is equipment connection schematic diagram of the present invention, and give power consumption attack method of the present invention for the point of attack.As can be seen from the figure, computing machine is directly connected with USB Key by USB interface; Computing machine connects oscillograph acquisition channel by parallel port, provides trigger pip; Computing machine and oscillograph are connected by network interface or USB interface and carry out data transmission.
Fig. 2 gives three layers of capture program configuration diagram, and wherein top layer is for gathering key-course, the Row control of major control in gatherer process, as: order replacing, optimum configurations, curve output etc.Middle layer is interface layer, and primary responsibility carries out function package to the function of bottom dynamic link library and USBDI carries out function package.Bottom is dynamic link library layer and drives layer, is responsible for the function encapsulation third-party driving and storehouse being carried out simple function, and the realization of driver.
Based on above analysis, the following steps are mainly divided into carry out to the electromagnetism by-passing signal collection of USB Key:
First, connected according to rule by equipment according to the connected mode of Fig. 1, that is: USB Key is directly connected with computing machine (also can use USB extended line); Parallel port data pins is drawn and connects oscillograph trigger port; Electromagnetic inductive probe is connected with oscillograph and with USB Key surface contact; Computing machine is connected by data communication interface with oscillograph.
The second, capture program arranges USB Key parameter, sets up the data transmission channel with USB Key, sets up and oscillographic data transmission channel, and arranges oscillographic sampling parameter, create curve file.
3rd, capture program calls oscillograph and waits for that interface makes oscillograph enter waiting status, calls and sends data-interface transmission order, and after order is sent, call trigger pip interface and produce trigger pip, oscillograph starts to gather electromagnetism by-passing signal.
4th, capture program calls and receives the return data that data-interface receives USB Key, calls oscilloscope data transmission interface and obtains oscillograph sampled data, and data are write curve file.
5th, capture program repeats the 3rd, the 4th step, terminates until gather curve.
The present invention utilizes above-mentioned USB Key electromagnetism by-passing signal harvester, to be directly connected to carry out data communication by USB interface with USB Key, and data transmission is fast, and working stability, adopt three layers of capture program framework, collecting efficiency significantly improves.
Claims (2)
1.USB Key electromagnetism by-passing signal harvester, is characterized in that described device comprises computing machine, oscillograph, electromagnetic probe and USB Key; USB Key is directly connected with USB interface of computer, computer parallel port data pins is drawn and connects oscillograph trigger port; Computing machine utilizes cable interface or USB interface to be connected with oscillographic cable interface or USB interface; Electromagnetic probe is connected with oscillograph and with USB Key surface contact, wherein:
Computing machine utilizes parallel port data pins to connect oscillograph trigger pip interface, for oscillograph provides sampled signal, and the stitch level of the Data Control parallel port exported by parallel port; Computing machine obtains oscillograph sampled data by calling Oscillograph Drivers, and data is preserved with file mode; Computing machine is by calling dynamic link library and USB Key carries out data communication.
2. a USB Key electromagnetism by-passing signal acquisition method, is applied in device according to claim 1, it is characterized in that step is as follows:
A) USB Key parameter is set, sets up the data transmission channel of computing machine and USB Key, set up computing machine and oscillographic data transmission channel, and oscillographic sampling parameter is set, create curve file;
B) calling oscillographic wait interface makes oscillograph enter waiting status, and the transmission data-interface calling dynamic link library sends order, and after order is sent, call trigger pip interface and produce trigger pip, oscillograph starts to gather electromagnetism by-passing signal;
C) call the return data of the data receiver interface USB Key of dynamic link library, call the data transmission interface acquisition oscillograph sampled data that oscillograph drives, the return data of USBKey and oscillograph sampled data are merged and writes curve file.Repeat b), c), terminate until gather curve.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410427447.7A CN104346545A (en) | 2014-08-27 | 2014-08-27 | Electromagnetic bypass signal acquisition device and method for USB (universal serial bus) Key |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410427447.7A CN104346545A (en) | 2014-08-27 | 2014-08-27 | Electromagnetic bypass signal acquisition device and method for USB (universal serial bus) Key |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104346545A true CN104346545A (en) | 2015-02-11 |
Family
ID=52502129
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410427447.7A Pending CN104346545A (en) | 2014-08-27 | 2014-08-27 | Electromagnetic bypass signal acquisition device and method for USB (universal serial bus) Key |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104346545A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104992114A (en) * | 2015-06-09 | 2015-10-21 | 北京电子科技学院 | Analytic system and method of electromagnetism based on inserted-type cipher chip |
CN105187197A (en) * | 2015-10-22 | 2015-12-23 | 成都芯安尤里卡信息科技有限公司 | Energy track extractor aiming at USB (Universal Serial Bus) Key |
CN107942154A (en) * | 2017-10-16 | 2018-04-20 | 北京中电华大电子设计有限责任公司 | A kind of protection structures and methods suitable for the protection of chip EMP attack N |
CN110990220A (en) * | 2019-11-25 | 2020-04-10 | 北京中电华大电子设计有限责任公司 | Power consumption signal acquisition device of integrated many interfaces |
CN114062749A (en) * | 2021-11-02 | 2022-02-18 | 南京理工大学 | Multichannel bypass signal acquisition system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8214885B2 (en) * | 2007-05-07 | 2012-07-03 | Mocana Corporation | Managing network components using USB keys |
CN102546150A (en) * | 2012-02-07 | 2012-07-04 | 中国科学院软件研究所 | Cryptographic-equipment-oriented energy leakage acquisition method and system |
CN103516509A (en) * | 2013-10-24 | 2014-01-15 | 中国科学院信息工程研究所 | Segmented acquisition method and system for side information leakage aiming at password device |
CN204288222U (en) * | 2014-08-27 | 2015-04-22 | 北京中电华大电子设计有限责任公司 | USB Key electromagnetism by-passing signal harvester |
-
2014
- 2014-08-27 CN CN201410427447.7A patent/CN104346545A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8214885B2 (en) * | 2007-05-07 | 2012-07-03 | Mocana Corporation | Managing network components using USB keys |
CN102546150A (en) * | 2012-02-07 | 2012-07-04 | 中国科学院软件研究所 | Cryptographic-equipment-oriented energy leakage acquisition method and system |
CN103516509A (en) * | 2013-10-24 | 2014-01-15 | 中国科学院信息工程研究所 | Segmented acquisition method and system for side information leakage aiming at password device |
CN204288222U (en) * | 2014-08-27 | 2015-04-22 | 北京中电华大电子设计有限责任公司 | USB Key electromagnetism by-passing signal harvester |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104992114A (en) * | 2015-06-09 | 2015-10-21 | 北京电子科技学院 | Analytic system and method of electromagnetism based on inserted-type cipher chip |
CN105187197A (en) * | 2015-10-22 | 2015-12-23 | 成都芯安尤里卡信息科技有限公司 | Energy track extractor aiming at USB (Universal Serial Bus) Key |
CN107942154A (en) * | 2017-10-16 | 2018-04-20 | 北京中电华大电子设计有限责任公司 | A kind of protection structures and methods suitable for the protection of chip EMP attack N |
CN110990220A (en) * | 2019-11-25 | 2020-04-10 | 北京中电华大电子设计有限责任公司 | Power consumption signal acquisition device of integrated many interfaces |
CN114062749A (en) * | 2021-11-02 | 2022-02-18 | 南京理工大学 | Multichannel bypass signal acquisition system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104346545A (en) | Electromagnetic bypass signal acquisition device and method for USB (universal serial bus) Key | |
US10282552B1 (en) | Device blanking | |
CN103529286A (en) | Universal type encryption equipment power consumption capturing system and method | |
CN110390202A (en) | For detecting method, apparatus, system, equipment and the medium of service logic loophole | |
CN104992114A (en) | Analytic system and method of electromagnetism based on inserted-type cipher chip | |
CN208489695U (en) | A kind of distribution terminal | |
CN202584139U (en) | Physical experiment platform for power consumption analysis of cryptographic chip | |
CN204288222U (en) | USB Key electromagnetism by-passing signal harvester | |
CN103984255B (en) | Analog and digital signal gathers and chain control device | |
CN204759426U (en) | Electromagnetism analytic system of crypto chip | |
CN104699609A (en) | Method and device for detecting serial port communication | |
CN105337805B (en) | Portable intelligent substation remote signaling and remote measuring calibration device and system | |
CN104501942A (en) | Explosion wave measuring device | |
CN104485962A (en) | Portable data acquisition system and acquisition method thereof | |
CN103944717A (en) | Audio secret key generation apparatus, audio secret key system and audio secret key injection method | |
CN205263251U (en) | 10kV cable partial discharge on -line measuring device | |
MY184196A (en) | Smart chip and method for smart chip data communications | |
CN104572541B (en) | Gather the system and method that USBKEY runs power consumption | |
CN108009068B (en) | Information recording method, information recording device and intelligent terminal | |
US20150349948A1 (en) | Side channel analysis system and side channel analysis method using the same | |
CN203435022U (en) | Energy leakage acquisition platform for target smart card | |
CN105095739B (en) | Method and system for testing electronic encryption device | |
CN101882117A (en) | Method and device for protecting U disk | |
CN115412892A (en) | Transmission method and device for monitoring data of deep foundation pit | |
CN114446380A (en) | Debugging board for realizing SSD remote debugging and SSD remote debugging method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 102209 Beijing, Beiqijia, the future of science and technology in the south area of China electronic network security and information technology industry base C building, Applicant after: Beijing CEC Huada Electronic Design Co., Ltd. Address before: 100102 Beijing City, Chaoyang District Lize two Road No. 2, Wangjing science and Technology Park A block five layer Applicant before: Beijing CEC Huada Electronic Design Co., Ltd. |
|
COR | Change of bibliographic data | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150211 |