I am trying to implement a power glitch attack. This is a hardware attack in which for a very short period of time (order of nanoseconds) I remove the power to a processor, using a transistor, to cause unexpected behavior.
There are not many internet resources in which it is explained which exact components to use or how they work, or how the whole circuit works, so I will divide my question in a number of doubts that arise to me.
0. My target
My target is an ARM processor running at 1.2volts. My FPGA outputs are 3.3v (to activate the transistor)
1. Does the type of transistor matter?
Most examples use MOSFET transistors. But this person used a BJT transistor as well as a resistor and successfully glitched a target.
2. Does the position of the transistor matter?
This is perhaps an obvious question but I'm no electrical engineer. Let's say I try to implement the circuit above, but using the BJT transistor shown above. I assume the VCC line should be connected to the COLLECTOR, the GND line to the EMITTER, and the glitch trigger to the BASE, is this correct?
Additionally, what will be the behavior of the circuit if I did it the other way around?(VCC to emitter and GND to COLLECTOR)
What I want to avoid is a permanent/long term connection between VCC and GND. I'm afraid If I mistakenly place the transistor wrong I will cause a permanent connection.
3. What is the purpose of the resistor?
I've seen in some papers being called shunt resistor. I don't know why. Is it part of the target's circuitry? Or should I provide it?