Bao'An Shenzhen China

Decapsulation vs Glitching: Which Method Fits Your Chip

Nov 3, 2026  /  PCB COPY

decapsulation vs glitching: Decapsulated microcontroller die showing exposed silicon and bond wires under optical microscope

Decapsulation vs Glitching — What’s the Real Difference?

Decapsulation physically removes the epoxy or ceramic package from an IC to expose the silicon die, enabling direct optical or electrical probing. Glitching injects precisely timed voltage, clock, or electromagnetic pulses to corrupt a security check and force the chip into an unprotected state. One is invasive and destructive; the other is non-destructive but probabilistic. Choosing between them depends on the chip’s protection scheme, the data you need, and how many samples you can sacrifice.

How Decapsulation Works — Step by Step

decapsulation vs glitching: Decapsulated microcontroller die showing exposed silicon and bond wires under optical microscope

Decapsulation (often shortened to “decap”) uses fuming nitric acid (HNO₃ at 65–70 % concentration, heated to 80–100 °C) or sulfuric acid to dissolve the mold compound. Automated jet-etch systems like the Nisene JetEtch Pro control acid flow so only the target area above the die is removed, preserving bond wires and the lead frame. The entire process takes 3–20 minutes depending on package type — QFP and SOIC packages etch faster than BGA or QFN because the die sits closer to the top surface.

Once the die is exposed, an engineer can:

  • Image the die under an optical or scanning-electron microscope (SEM) at 5,000–50,000× magnification.
  • Micro-probe internal buses or test pads using tungsten-tip probing stations with sub-micron positioning.
  • Use focused-ion-beam (FIB) editing to cut or reconnect metal traces — for example, severing a fuse bit that enforces code-read protection.
  • Read ROM contents directly via optical or voltage-contrast imaging on older mask-ROM devices.

The trade-off is clear: decapsulation is destructive to the package, requires specialized wet-chemistry equipment (fume hoods, acid-resistant fixtures), and each attempt consumes one chip. Our engineers typically request 2–5 samples to account for over-etch risk, especially on sub-180 nm process nodes where passivation layers are thinner and more vulnerable.

How Glitching Works — Step by Step

Glitching — also called fault injection — exploits the fact that digital logic needs stable voltage and clock signals to execute correctly. By introducing a short disturbance (typically 5–50 ns wide) at the exact clock cycle when the MCU checks its security fuse or compares a password hash, you can force the comparison to return “true” even though the correct value was never supplied.

Common Glitching Variants

  • Voltage glitching (VCC fault injection): A MOSFET crowbar circuit momentarily pulls VCC to ground or injects a spike. Effective on many ARM Cortex-M0/M0+ parts where the flash-read-protection check runs early in the boot sequence.
  • Clock glitching: The external oscillator is briefly sped up or interrupted so the CPU skips an instruction. Works best on chips that accept an external clock rather than using an internal RC oscillator.
  • Electromagnetic fault injection (EMFI): A high-voltage pulse through a small coil induces local faults on the die without any electrical contact. More expensive to set up but useful when VCC and clock pins are heavily filtered.

Glitching is non-destructive — the chip is not physically altered. If the glitch doesn’t land, you simply reset and try again. However, the parameter space is enormous: pulse width, delay from reset, voltage amplitude, and trigger offset all need sweeping. A typical campaign runs 50,000–500,000 iterations, taking anywhere from minutes to several days on an automated rig such as a ChipWhisperer or Riscure Inspector.

Head-to-Head Comparison Table

Factor Decapsulation Glitching
Invasiveness Fully invasive — package destroyed Non-invasive to semi-invasive
Chip survival Die may remain functional if bond wires intact; package is gone Chip fully reusable
Samples needed 2–5 typical 1 (sometimes 2 for parameter calibration)
Equipment cost $30 K–$200 K+ (acid etcher, microscope, probe station, optional FIB) $500–$50 K (glitcher board, oscilloscope, FPGA trigger)
Time per attempt Minutes to hours (one-shot per sample) Seconds per glitch, but 50 K–500 K iterations may be needed
Skill ceiling Wet-chemistry handling, micro-probing, SEM operation Embedded-systems timing analysis, scripting, signal integrity
Best targets Mask-ROM MCUs, OTP parts, chips with physical fuse bits, older 8-bit families Flash-based MCUs with software-checked RDP/CRP (STM32, LPC, nRF5x, etc.)
Typical success window High on older nodes (≥ 250 nm); drops sharply below 90 nm with multi-layer metal High on parts with known boot-check timing; near zero on chips with hardware security modules (HSM) or glitch detectors

Which Chips Respond to Which Method?

Decapsulation-Favored Targets

Chips that store security bits as physical fuses — laser-blown or electrically programmed OTP cells — are classic decap targets. Examples include many PIC16/PIC18 families, older Atmel AT89 series, and certain Renesas RL78 variants. On these devices, a FIB cut or UV exposure can reset the protection fuse directly. Simple EEPROM-based memory ICs like the 24C64 serial EEPROM or the 93C46 Microwire EEPROM often have minimal or no active protection, so decap plus micro-probing yields clean reads.

Glitching-Favored Targets

Modern 32-bit MCUs that implement read-out protection in firmware — checking a flash option byte at boot — are prime glitching candidates. The STM32F0/F1/F4 families are well-documented: a voltage glitch during the RDP-level check can drop the part into an unprotected state for a few milliseconds, long enough to dump flash via SWD. Nordic Semiconductor’s nRF52832 and nRF52840 have also been shown vulnerable to EMFI-based attacks against their APPROTECT mechanism, though Nordic has hardened newer revisions with glitch detectors.

Parts like the STM8L series sit in an interesting middle ground: some protection levels can be bypassed with glitching, while higher levels (ROP Level 2 on STM8) may require decapsulation to confirm whether a physical fuse was blown.

Chips That Resist Both

High-security parts — smart-card controllers (Infineon SLE series), automotive HSM-equipped MCUs (Renesas RH850 with ICU-S), and devices with active mesh shields (NXP SmartMX) — are designed to defeat both approaches. They include voltage and clock monitors, die-surface tamper meshes, and encrypted buses. Recovery from these parts is either not feasible or requires nation-state-level resources.

When Our Engineers Choose One Over the Other

Voltage glitching lab setup with FPGA board, target MCU, and oscilloscope trace

The decision tree we follow internally is straightforward:

  1. Identify the protection mechanism. Is it a physical fuse, an OTP bit, a flash option byte, or a hardware security module? Datasheets, errata, and published research (e.g., CHES/FDTC conference papers) guide this.
  2. Check published attack literature. If a voltage-glitch attack on the target family has been demonstrated and we have the tooling calibrated, glitching is faster and cheaper — typically 3–7 working days, starting around $300–$800 depending on complexity.
  3. Assess sample availability. If the client has only one irreplaceable chip (common with legacy industrial controllers), we prefer glitching because it preserves the device. Decapsulation is reserved for cases where samples are available or where glitching has failed.
  4. Fall back to decap + micro-probing when the chip uses physical fuses, when glitch detectors are present, or when the protection level is too high for fault injection alone. Turnaround is typically 5–15 working days; cost starts around $800–$2,500 depending on process node and required FIB work.

Authorization is required before we begin any IC recovery work. Clients must demonstrate ownership of the design or provide written authorization from the IP holder. Details on our verification process and NDA framework are available on our STM32WB55 unlock feasibility page, which walks through a typical authorization workflow for a protected BLE SoC.

Combining Both Methods

Some projects require a hybrid approach. For instance, a client may send us a Cypress CY8C PSoC device where the flash protection is software-enforced but the debug port has been permanently disabled via an eFuse. Glitching alone cannot re-enable JTAG if the fuse is physically blown. In that scenario, we decapsulate one sample to confirm the fuse state under a microscope, then — if the fuse is intact — switch to glitching on a second sample to bypass the software lock. This combined approach avoids wasting samples and narrows the attack surface quickly.

Equipment and Cost Realities

Running both capabilities in-house is expensive. Our lab maintains:

  • A Nisene JetEtch II automated acid decapsulation system.
  • Olympus and Keyence optical microscopes with 1,000× and 5,000× objectives.
  • A manual tungsten-probe station with four micropositioners.
  • Multiple ChipWhisperer-Pro and custom FPGA-based glitching rigs.
  • A 4-channel oscilloscope (≥ 1 GHz bandwidth) for trigger characterization.

For clients evaluating whether to build in-house capability versus outsourcing, the break-even is roughly 20–30 projects per year for glitching (given a ~$5 K–$15 K rig) and far higher for decapsulation (given the $50 K+ microscope and acid-handling infrastructure). Most hardware companies outsource unless chip security research is a core function.

Failure Modes and Honest Limitations

Decapsulation failures: Over-etching destroys bond wires or the passivation layer, killing the die. Under-etching leaves residue that blocks micro-probing. On flip-chip BGA packages, the die faces downward, requiring backside thinning — a separate, risky step that can crack the silicon.

Glitching failures: Chips with brown-out detectors (BOD) or voltage-glitch detectors will reset or lock permanently after detecting an anomaly. Some STM32 parts escalate from RDP Level 1 to Level 2 (permanent, irreversible lock) if a glitch triggers a mass-erase sequence at the wrong moment. We always warn clients of this risk before starting.

Can glitching permanently brick a chip?

Yes. If the chip’s protection escalates on fault detection — for example, STM32 RDP Level 1 → Level 2 transition — a mistimed glitch can trigger an irreversible lock. Our engineers characterize the boot sequence on a test sample first to minimize this risk, but it cannot be reduced to zero.

Is decapsulation always destructive?

The package is always destroyed. However, the silicon die itself often remains electrically functional if bond wires are preserved. We can re-bond the die to a test PCB for continued electrical testing after imaging, though this adds cost and complexity.

Which method is cheaper for a one-off firmware recovery?

Glitching is almost always cheaper for a single-chip recovery — typically $300–$800 versus $800–$2,500+ for decapsulation. But if the chip is not susceptible to fault injection, decap may be the only viable path regardless of budget.

Do I need to send multiple chips for decapsulation?

We recommend 2–5 samples. The first is used for process calibration (etch time, acid concentration), and subsequent samples are used for the actual data extraction. If you have only one chip, discuss this upfront so we can plan a conservative etch strategy.

What authorization do you require before starting?

We require proof of IP ownership, a signed NDA, and a written statement of purpose. This applies to both decapsulation and glitching engagements. Unauthorized extraction of third-party firmware is something we do not perform.

Related IC Recovery Resources

  • nRF52832 firmware recovery feasibility — a BLE SoC commonly targeted with EMFI glitching.
  • CY8C PSoC unlock assessment — a hybrid-approach case where both decap and glitching may apply.
  • STM8L protection-level analysis — understanding how ROP levels affect method selection.

Check feasibility for your project

Send the chip marking or board details and tell us what you need to recover. Add clear photos if available.

Request a feasibility review

Working on a board like this?

Send the chip marking or two photos. You get feasibility, lead time and price within 24 hours, and the check costs nothing.

Get a free quote

Related reading

WhatsApp Send board details