Magnetic injection attack signal detection device
By designing a detection device containing a magnetic collection circuit and a main control part, the problem of detection of mobile phone magnetic injection attack signals is solved, effective detection and prompting of magnetic injection attacks is realized, and the security of mobile phones is ensured.
Patent Information
- Application Number
- CN202420729945.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-10
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2034-04-10
AI Technical Summary
The prior art lacks a magnetic injection attack signal detection device for mobile phones, and cannot effectively detect and prompt the mobile phone holder to have a magnetic injection attack, resulting in the mobile phone being susceptible to malicious control.
A type of magnetic collection circuit, differential amplifier circuit, bandpass filter, selection switch part, power amplifier, main control part, crystal oscillator circuit, JLINK interface, indicator light part, reset circuit, BOOT selection part and voltage stabilization circuit are designed. The detection device captures the magnetic field signal around the mobile phone through a magnetic collection circuit, and then processes the differential amplifier circuit and the bandpass filter to enter the main control part for judgment, and amplifies and alarms through the power amplifier.
It realizes effective detection and prompting of magnetic injection attack signals around the mobile phone, preventing the mobile phone from being maliciously controlled and ensuring the legitimate rights and interests of mobile phone holders.
Smart Images

Figure CN222089774U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of detection devices, and in particular relates to a magnetic injection attack signal detection device. Background Art
[0002] At present, most injection attacks against mobile phones use malicious devices to inject commands directly into the microphone. However, in view of the fact that the current mobile phone speakers mainly adopt the "coil + permanent magnet" structure, and use the "coil vibration" to drive the "eardrum vibration" to make sounds, the relevant literature proposes a new "magnetic injection" attack method. Specifically, the coil is used to release the magnetic field signal, and the speaker coil of the nearby mobile phone vibrates under the action of its own permanent magnet and the surrounding magnetic field. The vibration generates weak sound waves and is received by the nearby microphone, thereby waking up the mobile phone voice assistant. In this case, the attacker can inject malicious commands by controlling the magnetic field of the coil, thereby controlling the mobile phone to perform malicious operations.
[0003] Since the "magnetic injection" attack system for mobile phones proposed above is a new attack method. At present, most of the smart phones on the market are equipped with "voice assistants", but there is no detection device for this "magnetic injection" attack system. Therefore, "how to detect the 'magnetic injection' attack signal and give timely prompts to protect the legitimate rights and interests of mobile phone holders" has become an important topic. Utility Model Content
[0004] The utility model aims at the above problems and provides a hardware basis for a magnetic injection attack signal detection device.
[0005] To achieve the above-mentioned purpose, the utility model adopts the following technical scheme, which includes a magnetic collection circuit, a differential amplifier circuit, a bandpass filter, a selection switch part, a power amplifier, a main control part, a crystal oscillator circuit, a JLINK interface part, an indicator light part, a reset circuit, a BOOT selection part, a filter circuit and a voltage stabilizing circuit, characterized in that the detection signal output port of the magnetic collection circuit is connected to the detection signal input port of the main control part and the signal input port of the power amplifier through the differential amplifier circuit, the bandpass filter and the selection switch part respectively, the signal transmission port of the main control part is connected to the crystal oscillator circuit, the JLINK interface part, the reset circuit and the BOOT selection part respectively, and the electric energy output port of the voltage stabilizing circuit is connected to the power port of the magnetic collection circuit, the power port of the differential amplifier circuit, the power port of the bandpass filter, the power port of the power amplifier, the power port of the main control part, the power port of the JLINK interface part, the power port of the indicator light part, the power port of the reset circuit, the power port of the BOOT selection part and the power port of the filter circuit respectively.
[0006] As a preferred solution, the magnetic collection circuit of the utility model adopts TMR2905 chip U5, and pins 4 and 5 of U5 are respectively connected to -SIGNAL_IN and +SIGNAL_IN.
[0007] As another preferred solution, the differential amplifier circuit described in the utility model adopts AD8420ARMZ chip U1, and pins 2, 3, and 8 of U1 are respectively connected to +SIGNAL_IN, -SIGNAL_IN, and VOUT1; pin 7 of U1 is respectively connected to one end of resistor R1 and one end of resistor R2, and the other end of R1 is respectively connected to pin 6 of U1 and ground, and the other end of R2 is connected to VOUT1.
[0008] As another preferred solution, the utility model describes a 1K resistor for R1 and a 51K resistor for R2.
[0009] As another preferred solution, the bandpass filter described in the utility model adopts the LM358ADT chip U2, and pin 1 of U2 is respectively connected to one end of resistor R4, one end of capacitor C5, and one end of capacitor C4, and the other end of R4 is respectively connected to one end of resistor R3 and pin 2 of U2, and the other end of R3 is grounded; the other end of C5 is respectively connected to one end of resistor R9 and one end of resistor R10, and the other end of R9 is connected to VOUT1, and the other end of R10 is connected to pin 3 of U2; the other end of C4 is respectively connected to one end of resistor R8 and one end of capacitor C3, and the other end of R8 is respectively connected to SW_1, pin 7 of U2, and one end of resistor R7, and the other end of R7 is respectively connected to pin 6 of U2 and one end of resistor R6, and the other end of R6 is grounded; the other end of C3 is connected to pin 5 of U2.
[0010] As another preferred solution, the selection switch part of the utility model adopts a single-pole double-throw switch SW2, the input end of SW2 is connected to SW_1, the first output end of SW2 is connected to PA2, and the second output end of SW2 is connected to POWER_AMPLIFIER.
[0011] As another preferred solution, the power amplifier described in the utility model adopts TPA3116D2DADR module U8, pin 4 of U8 is connected to POWER_AMPLIFIER through capacitor C22, pin 6 of U8 is connected to one end of resistor R23 and pin 8 of U8 respectively through resistor R22, the other end of R23 is grounded, and pin 12 of U8 is grounded through resistor R24; pin 21 of U8 is connected to the negative electrode of speaker SPK1 through inductor L2, the positive electrode of SPK1 is connected to pin 29 of U8 through inductor L1, pin 20 of U8 is connected to pin 21 of U8 through capacitor C31, and pin 30 of U8 is connected to pin 29 of U8 through capacitor C28; the positive electrode of SPK1 is connected to the negative electrode of SPK1 through resistor R25, capacitor C38, capacitor C39, and resistor R26 in sequence, and the connecting line between C38 and C39 is grounded.
[0012] As another preferred solution, the main control part of the utility model adopts the STM32F103C8T6 chip U4, and the 2-7, 10-22, 25-33, and 37-46 pins of U4 are respectively connected to PC13-PC15, OSC_IN, OSC_OUT, NRST, PA0-PA7, PB0, PB1, BOOT1, PB10-PB15, PA8-PA12, SWDIO, SWCLK, PA15, PB3-PB7, BOOT0, PB8, and PB9.
[0013] As another preferred solution, the crystal oscillator circuit of the present invention adopts a 32.768kHz crystal oscillator X1 and an 8MHz crystal oscillator X2, one end of X1 is connected to PC14, and the other end of X1 is connected to PC15; one end of X2 is connected to OSC_IN, and the other end of X2 is connected to OSC_OUT.
[0014] As another preferred solution, the JLINK interface part of the utility model adopts a 20-pin connector H2, and pins 3, 5, 7, 9, 13, and 15 of H2 are respectively connected to JTRST, JTDI, JTMS, JTCK, JTDO, and NRST.
[0015] As another preferred solution, the indicator light part of the utility model includes light-emitting diodes LED1~LED3, the cathode of LED3 is connected to PC14, and the anode of LED3 is connected to VCC_3V3 through resistor R13; the cathode of LED2 is connected to PC13, and the anode of LED2 is connected to VCC_3V3 through resistor R12; the cathode of LED1 is grounded, and the anode of LED1 is connected to VCC_3V3 through resistor R11.
[0016] As another preferred solution, the reset circuit of the utility model includes a key switch SW1, one end of SW1 is grounded, and the other end of SW1 is connected to NRST.
[0017] As another preferred solution, the BOOT selection part of the utility model adopts a six-pin BOOT connector H1, and the 3rd and 4th pins of H1 are respectively connected to BOOT0 and BOOT1.
[0018] Secondly, the filter circuit of the utility model includes capacitors C7-C10, one end of C7-C10 is connected to VCC_3V3, and the other end of C7-C10 is grounded.
[0019] In addition, the voltage stabilizing circuit of the utility model adopts NCP1117ST50T3G module U6, pin 3 of U6 is connected to +5V, and pin 2 of U6 is connected to VCC_3V3.
[0020] The utility model has beneficial effects.
[0021] The magnetic collection circuit of the utility model captures the magnetic field signal around the mobile phone and converts it into an electrical signal, which then enters the main control part after being processed by the differential amplifier circuit and the bandpass filter. The main control part can judge whether there is a "magnetic injection" attack signal in the collected signal, and realize the detection and prompt of the "magnetic injection" attack signal of the mobile phone. The power amplifier can amplify the collected magnetic injection signal and alarm.
[0022] The "magnetic injection" attack signal detection device of the utility model has a simple structure, can effectively detect whether there is a "magnetic injection" attack signal around a mobile phone and prompt the mobile phone holder, thereby protecting the mobile phone from attacks by the "magnetic injection" signal in the surrounding environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] The utility model is further described below in conjunction with the accompanying drawings and specific implementation methods. The protection scope of the utility model is not limited to the following descriptions.
[0024] Figure 1 It is a schematic diagram of a magnetic collection circuit of the utility model.
[0025] Figure 2 This is a schematic diagram of a differential amplifier circuit of the utility model.
[0026] Figure 3 This is a schematic diagram of a bandpass filter circuit of the utility model.
[0027] Figure 4 This is a partial circuit schematic diagram of the selector switch of the utility model.
[0028] Figure 5 This is a schematic diagram of a power amplifier circuit of the utility model.
[0029] Figure 6 This is the circuit schematic diagram of the main control part of the utility model.
[0030] Figure 7 This is a schematic diagram of a crystal oscillator circuit of the utility model.
[0031] Figure 8 This is a circuit schematic diagram of the JLINK interface part of the utility model.
[0032] Fig. 9 This is a circuit schematic diagram of the indicator light part of the utility model.
[0033] Fig.10 This is a schematic diagram of the reset circuit of the utility model.
[0034] Fig.11 This is a circuit schematic diagram of the BOOT selection part of the utility model.
[0035] Fig.12 This is a schematic diagram of the filter circuit of the utility model.
[0036] Fig.13 This is a schematic diagram of a voltage stabilizing circuit of the utility model. DETAILED DESCRIPTION
[0037] As shown in the figure, the utility model includes a magnetic collection circuit, a differential amplifier circuit, a bandpass filter, a selection switch part, a power amplifier, a main control part, a crystal oscillator circuit, a JLINK interface part, an indicator light part, a reset circuit, a BOOT selection part, a filter circuit and a voltage stabilizing circuit. The detection signal output port of the magnetic collection circuit is connected to the detection signal input port of the main control part and the signal input port of the power amplifier through the differential amplifier circuit, the bandpass filter and the selection switch part respectively. The signal transmission port of the main control part is connected to the crystal oscillator circuit, the JLINK interface part, the reset circuit and the BOOT selection part respectively. The power output port of the voltage stabilizing circuit is connected to the power port of the magnetic collection circuit, the power port of the differential amplifier circuit, the power port of the bandpass filter, the power port of the power amplifier, the power port of the main control part, the power port of the JLINK interface part, the power port of the indicator light part, the power port of the reset circuit, the power port of the BOOT selection part and the power port of the filter circuit respectively.
[0038] The magnetic collection circuit adopts TMR2905 chip U5, and pins 4 and 5 of U5 are respectively connected to -SIGNAL_IN and +SIGNAL_IN.
[0039] The reception and conversion of magnetic field signals are completed by a linear TMR sensor. The TMR2905 chip produced by Multidimensional Technology (MDT) can be used. The output voltage of the chip is linearly related to the change of the surrounding magnetic field and has high sensitivity.
[0040] The differential amplifier circuit adopts AD8420ARMZ chip U1, and pins 2, 3, and 8 of U1 are respectively connected to +SIGNAL_IN, -SIGNAL_IN, and VOUT1; pin 7 of U1 is respectively connected to one end of resistor R1 and one end of resistor R2, and the other end of R1 is respectively connected to pin 6 of U1 and ground, and the other end of R2 is connected to VOUT1.
[0041] According to the working principle and output value characteristics of the TMR sensor, if the signal is to be amplified, a differential amplifier circuit must be connected to amplify the signal. According to experimental tests, if the "magnetic injection" coil source is 30cm away from the mobile phone, the differential amplifier circuit is not easily distorted when the amplification factor is 50 times, and can be well received and processed by the MCU.
[0042] The R1 is a 1K resistor and the R2 is a 51K resistor. The differential amplifier circuit uses the AD8420AMRZ chip, the ratio of R2 to R1 is 51, and the actual magnification G = 1 + R2 / R1 = 52 times. This circuit is used to increase the voltage value entering the main control pin, which is convenient for subsequent AD conversion and further calculation.
[0043] The bandpass filter adopts the LM358ADT chip U2, and the pin 1 of U2 is respectively connected to one end of the resistor R4, one end of the capacitor C5, and one end of the capacitor C4, the other end of R4 is respectively connected to one end of the resistor R3 and one end of the U2, and the other end of R3 is grounded; the other end of C5 is respectively connected to one end of the resistor R9 and one end of the resistor R10, the other end of R9 is connected to VOUT1, and the other end of R10 is connected to the pin 3 of U2; the other end of C4 is respectively connected to one end of the resistor R8 and one end of the capacitor C3, the other end of R8 is respectively connected to SW_1, the 7th pin of U2, and one end of the resistor R7, the other end of R7 is respectively connected to the 6th pin of U2 and one end of the resistor R6, and the other end of R6 is grounded; the other end of C3 is connected to the 5th pin of U2.
[0044] The filtering of analog signals is divided into high-pass filtering and low-pass filtering. By connecting the two filters in series, a bandpass filter can be formed. Since the voice assistant of the mobile phone needs to be awakened by human voice, other sounds, such as bird calls and dog barking, cannot be awakened if they are not recorded by the mobile phone holder. Although the auditory frequency band of the human ear is 20-20000Hz, the frequency of human voice speaking is generally between 300-3400Hz. Therefore, the cutoff frequency of the high-pass filter is 300Hz, and the cutoff frequency of the low-pass filter is 3400Hz. By adjusting the capacitor and resistor values, the cutoff frequency of the high-pass and low-pass filters is set. The low-pass filter part R9 and capacitor R10 are 12kΩ, and the capacitors C5 and C6 are 6.8nF. The resistors R5 and R8 of the high-pass filter part are 910Ω, and the capacitors C3 and C4 are 330nF.
[0045] The bandpass filter circuit uses the LM358ADT chip. The circuit connected to pin 3 of the chip is the output end of the differential amplifier circuit. Pin 7 serves as the output end of the filter and is connected to the subsequent main control and power amplifier.
[0046] The selection switch part adopts a single-pole double-throw switch SW2, the input end of SW2 is connected to SW_1, the first output end of SW2 is connected to PA2, and the second output end of SW2 is connected to POWER_AMPLIFIER. SW2 is used for mode switching, and when thrown to one end, it is an alarm mode with LED flashing, and when thrown to the other end, it is a broadcast mode with a loudspeaker playing a magnetic injection signal.
[0047] The power amplifier adopts TPA3116D2DADR module U8, pin 4 of U8 is connected to POWER_AMPLIFIER through capacitor C22, pin 6 of U8 is connected to one end of resistor R23 and pin 8 of U8 respectively through resistor R22, the other end of R23 is grounded, and pin 12 of U8 is grounded through resistor R24; pin 21 of U8 is connected to the negative electrode of speaker SPK1 through inductor L2, the positive electrode of SPK1 is connected to pin 29 of U8 through inductor L1, pin 20 of U8 is connected to pin 21 of U8 through capacitor C31, and pin 30 of U8 is connected to pin 29 of U8 through capacitor C28; the positive electrode of SPK1 is connected to the negative electrode of SPK1 through resistor R25, capacitor C38, capacitor C39, and resistor R26 in sequence, and the connecting line between C38 and C39 is grounded.
[0048] Since the surrounding magnetic injection signal needs to be played, and the collected signal power is low, a power amplifier needs to be added to achieve playback. The utility model adopts a digital power amplifier, the chip type is TPA3116D2, which has high power and high efficiency.
[0049] The alarm can be divided into two types: the speaker "directly broadcasts the content of the magnetic injection signal" and "LED flashing". The speaker is directly connected to the power amplifier circuit. The "LED flashing" is completed by the main control part controlling the indicator light part. U4 performs short-time Fourier transform on the received detection signal to convert the time domain signal into a frequency domain signal; if the spectrum peak is within the range of 300-3400Hz, it means that there is a magnetic injection signal, and U4 controls the indicator light part to flash.
[0050] The main control part adopts the STM32F103C8T6 chip U4, and the 2-7, 10-22, 25-33, and 37-46 pins of U4 are respectively connected to PC13-PC15, OSC_IN, OSC_OUT, NRST, PA0-PA7, PB0, PB1, BOOT1, PB10-PB15, PA8-PA12, SWDIO, SWCLK, PA15, PB3-PB7, BOOT0, PB8, and PB9.
[0051] The crystal oscillator circuit adopts a 32.768kHz crystal oscillator X1 and an 8MHz crystal oscillator X2, one end of X1 is connected to PC14, and the other end of X1 is connected to PC15; one end of X2 is connected to OSC_IN, and the other end of X2 is connected to OSC_OUT.
[0052] The JLINK interface part adopts a 20-pin connector H2, and pins 3, 5, 7, 9, 13, and 15 of H2 are respectively connected to JTRST, JTDI, JTMS, JTCK, JTDO, and NRST.
[0053] The indicator light part includes light-emitting diodes LED1 to LED3, the cathode of LED3 is connected to PC14, and the anode of LED3 is connected to VCC_3V3 through resistor R13; the cathode of LED2 is connected to PC13, and the anode of LED2 is connected to VCC_3V3 through resistor R12; the cathode of LED1 is grounded, and the anode of LED1 is connected to VCC_3V3 through resistor R11. LED2 and LED3 work in LED alarm mode. If there is a magnetic injection signal around, LED2 and LED3 will flash to alarm. LED1 is only used for power supply indication. When the microcontroller is powered on, LED1 will light up.
[0054] The reset circuit comprises a key switch SW1, one end of SW1 is grounded, and the other end of SW1 is connected to NRST.
[0055] The BOOT selection part adopts a six-pin BOOT connector H1, and the 3rd and 4th pins of H1 are respectively connected to BOOT0 and BOOT1.
[0056] The filter circuit includes capacitors C7-C10, one end of C7-C10 is connected to VCC_3V3, and the other end of C7-C10 is grounded.
[0057] The voltage stabilizing circuit adopts NCP1117ST50T3G module U6, pin 3 of U6 is connected to +5V (+5V is battery powered), and pin 2 of U6 is connected to VCC_3V3.
[0058] When the utility model is used, the mobile phone holder first mutes the mobile phone, and then places the utility model near the mobile phone speaker. The speaker SPK1 of the utility model plays a voice signal recognizable by human ears, such as: "Hey! Siri!", etc., or the LED light is on, indicating that there is a "magnetic injection" attack signal near the mobile phone. When the mobile phone holder places the mobile phone in a place without alarm information, it means that there is no "magnetic injection" attack signal around the mobile phone, and the mobile phone is in a safe state under this condition.
[0059] The utility model can detect whether there is an attack coil for "magnetic injection" in the charging socket. If the attack coil is performing "magnetic injection", the speaker will broadcast the "magnetic injection" attack content in real time, and the corresponding LED will flash continuously, so as to remind the owner of the mobile phone and ensure the safety of the mobile phone's magnetic environment.
[0060] The utility model can be integrated into a mobile phone, so as to facilitate the mobile phone to detect and judge the surrounding magnetic field conditions, and prevent the "magnetic injection signal" from attacking the microphone of the mobile phone by attacking the speaker of the mobile phone, thereby achieving the situation of controlling the mobile phone by issuing malicious commands.
[0061] It can be understood that the above specific description of the utility model is only used to illustrate the utility model and is not limited to the technical solution described in the embodiments of the utility model. Ordinary technicians in the field should understand that the utility model can still be modified or replaced by equivalents to achieve the same technical effect; as long as the use requirements are met, they are within the protection scope of the utility model.
Claims
1. A magnetic injection attack signal detection device, comprising a magnetic collection circuit, a differential amplifier circuit, a bandpass filter, a selection switch part, a power amplifier, a main control part, a crystal oscillator circuit, a JLINK interface part, an indicator light part, a reset circuit, a BOOT selection part, a filter circuit and a voltage stabilization circuit, characterized in that The detection signal output port of the magnetic collection circuit is connected to the detection signal input port of the main control part and the signal input port of the power amplifier through the differential amplifier circuit, the bandpass filter and the selection switch part respectively. The signal transmission port of the main control part is connected to the crystal oscillator circuit, the JLINK interface part, the reset circuit and the BOOT selection part respectively. The power output port of the voltage stabilizing circuit is connected to the power port of the magnetic collection circuit, the power port of the differential amplifier circuit, the power port of the bandpass filter, the power port of the power amplifier, the power port of the main control part, the power port of the JLINK interface part, the power port of the indicator light part, the power port of the reset circuit, the power port of the BOOT selection part and the power port of the filter circuit respectively.
2. A magnetic injection attack signal detection device according to claim 1, characterized in that The magnetic collection circuit adopts TMR2905 chip U5, and pins 4 and 5 of U5 are respectively connected to -SIGNAL_IN and +SIGNAL_IN.
3. A magnetic injection attack signal detection device according to claim 1, characterized in that The differential amplifier circuit adopts AD8420ARMZ chip U1, and pins 2, 3, and 8 of U1 are respectively connected to +SIGNAL_IN, -SIGNAL_IN, and VOUT1; pin 7 of U1 is respectively connected to one end of resistor R1 and one end of resistor R2, and the other end of R1 is respectively connected to pin 6 of U1 and ground, and the other end of R2 is connected to VOUT1.
4. A magnetic injection attack signal detection device according to claim 1, characterized in that The bandpass filter adopts the LM358ADT chip U2, and the pin 1 of U2 is respectively connected to one end of the resistor R4, one end of the capacitor C5, and one end of the capacitor C4, the other end of R4 is respectively connected to one end of the resistor R3 and one end of the U2, and the other end of R3 is grounded; the other end of C5 is respectively connected to one end of the resistor R9 and one end of the resistor R10, the other end of R9 is connected to VOUT1, and the other end of R10 is connected to the pin 3 of U2; the other end of C4 is respectively connected to one end of the resistor R8 and one end of the capacitor C3, the other end of R8 is respectively connected to SW_1, the 7th pin of U2, and one end of the resistor R7, the other end of R7 is respectively connected to the 6th pin of U2 and one end of the resistor R6, and the other end of R6 is grounded; the other end of C3 is connected to the 5th pin of U2.
5. A magnetic injection attack signal detection device according to claim 1, characterized in that The selection switch part adopts a single-pole double-throw switch SW2, the input end of SW2 is connected to SW_1, the first output end of SW2 is connected to PA2, and the second output end of SW2 is connected to POWER_AMPLIFIER.
6. A magnetic injection attack signal detection device according to claim 1, characterized in that The power amplifier adopts TPA3116D2DADR module U8, pin 4 of U8 is connected to POWER_AMPLIFIER through capacitor C22, pin 6 of U8 is connected to one end of resistor R23 and pin 8 of U8 respectively through resistor R22, the other end of R23 is grounded, and pin 12 of U8 is grounded through resistor R24; pin 21 of U8 is connected to the negative electrode of speaker SPK1 through inductor L2, the positive electrode of SPK1 is connected to pin 29 of U8 through inductor L1, pin 20 of U8 is connected to pin 21 of U8 through capacitor C31, and pin 30 of U8 is connected to pin 29 of U8 through capacitor C28; the positive electrode of SPK1 is connected to the negative electrode of SPK1 through resistor R25, capacitor C38, capacitor C39, and resistor R26 in sequence, and the connecting line between C38 and C39 is grounded.
7. A magnetic injection attack signal detection device according to claim 1, characterized in that The main control part adopts the STM32F103C8T6 chip U4, and the 2-7, 10-22, 25-33, and 37-46 pins of U4 are respectively connected to PC13-PC15, OSC_IN, OSC_OUT, NRST, PA0-PA7, PB0, PB1, BOOT1, PB10-PB15, PA8-PA12, SWDIO, SWCLK, PA15, PB3-PB7, BOOT0, PB8, and PB9.
8. A magnetic injection attack signal detection device according to claim 1, characterized in that The crystal oscillator circuit adopts a 32.768kHz crystal oscillator X1 and an 8MHz crystal oscillator X2, one end of X1 is connected to PC14, and the other end of X1 is connected to PC15; one end of X2 is connected to OSC_IN, and the other end of X2 is connected to OSC_OUT.
9. A magnetic injection attack signal detection device according to claim 1, characterized in that The indicator light part includes light emitting diodes LED1 to LED3, the cathode of LED3 is connected to PC14, and the anode of LED3 is connected to VCC_3V3 through resistor R13; the cathode of LED2 is connected to PC13, and the anode of LED2 is connected to VCC_3V3 through resistor R12; the cathode of LED1 is grounded, and the anode of LED1 is connected to VCC_3V3 through resistor R11.
10. A magnetic injection attack signal detection device according to claim 1, characterized in that The voltage stabilizing circuit adopts NCP1117ST50T3G module U6, pin 3 of U6 is connected to +5V, and pin 2 of U6 is connected to VCC_3V3.
