PCB Reverse Engineering: Three Layers, and the Line Between Them

A circuit board can be reverse engineered at three levels, and they are not equally accessible. The connection layer — what is joined to what — can be recovered almost completely with a photograph and patience. The geometric layer — thicknesses, registration, copper weight — needs a cross-section and an instrument. The material layer — Dk, Df, filler content, plating composition — needs a laboratory, and even then some numbers are only bounded rather than measured. Most disappointments in this work come from treating the second and third layers as if they followed from the first.

Three Layers, Three Sets of Tools

The word covers work that ranges from a photograph of a two-layer board to a laboratory programme on an eight-layer RF stack. Separating the layers is what makes a quotation, a schedule and an accuracy claim meaningful.

LayerWhat is recoveredMethodAchievable accuracyWhat it cannot give
ConnectionNetlist, component references, pin-to-net mappingOptical imaging, X-ray for hidden joints, continuity probingNet-level correctness; typically ±0.05 mm on feature positionAnything about the laminate
GeometryLayer count, stack order, dielectric thickness, copper weight, hole sizes, registrationCross-section, X-ray CT, sequential millingThickness ±2–5 µm per layer; hole ±0.01 mmThe original tolerance, only the result
MaterialDk, Df, Tg, CTE, filler content, plating compositionSPDR resonator, DSC, TMA, TGA, XRF, EDSDk ±0.02; Df to about ±10 % of valueWhich supplier, which prepreg style, which batch

The accuracies in the fourth column are the useful part of a quotation. A netlist recovered at the connection layer is either right or wrong and can be verified by continuity; a Dk recovered at the material layer is a measurement with a confidence interval, and a design rebuilt on it inherits that interval.

The Connection Layer: Recovering a Netlist From Copper

For an outer layer the work is straightforward: the copper is visible, the components are marked, and the netlist follows. Three complications make it slower than it looks.

Solder mask and finish obscure the copper. A black or white mask over bare copper gives almost no contrast on a photograph, and a HASL finish leaves a surface that reflects unevenly. Stripping the mask is often faster than imaging through it, but stripping destroys the board, so the imaging has to be complete first.

Inner layers require destruction. The usual technique is sequential milling: remove a layer, image, repeat. Each step removes 50–100 µm and the registration has to be re-established each time, which is where a 0.05 mm error per layer starts to matter on an eight-layer board. X-ray CT avoids the destruction but resolves features down to roughly 5–20 µm voxel size, so a 0.1 mm trace is visible and a 0.05 mm one is a judgement call.

A netlist is not a schematic. What comes back is a set of connections; the function has to be inferred from the parts. That inference is where the real time goes on an analogue or RF board, because two networks that are electrically identical can have entirely different intent — a matching network and a bias decoupling network look the same in copper and behave differently under power.

The Geometric Layer: The Numbers the Netlist Does Not Carry

Even a perfect netlist is not a manufacturable drawing, because the board is defined as much by what is between the copper as by the copper itself. The geometric layer is where most rebuilds fail, and it is recovered from a cross-section rather than from an image.

ParameterHow it is measuredTypical accuracyWhy it matters to the rebuild
Layer count and orderCross-section under a microscopeUnambiguousSets everything downstream
Dielectric thickness per layerCross-section, calibrated magnification±2–5 µmSets impedance; ±10 % of thickness is ±6 % of impedance
Copper weight per layerCross-section, or weight of a known area±3 µmSets resistance and current capacity
Hole diameter and platingCross-section of a drilled hole±0.01 mm / ±2 µmSets the finished hole and the press-fit fit
RegistrationOffset between layer targets±0.02 mmDecides whether the annular ring can be rebuilt
Surface finishCross-section and XRFThickness ±0.02 µmSets the high-frequency conductor loss and solderability

Two of these are systematically underestimated. The surface finish is a thickness measurement with an electrical consequence, and a board rebuilt with ENIG where the original had immersion silver will measure 0.1–0.15 dB/in more loss at 10 GHz; the finish is part of the electrical design, not a cosmetic detail, which is why it has its own set of windows in the surface treatment processes in PCB manufacturing. And registration is a tolerance that cannot be recovered from the finished part at all: you can measure where the layers ended up, never what the fabricator was capable of, so a rebuild that copies the result may not be reproducible at the same yield.

Once the geometric layer is known, it has to be re-expressed as a stack drawing before anything can be quoted, which is the same exercise as producing a stack-up from scratch — the considerations for that are in high frequency PCB stack-up design.

The Material Layer: Instruments, and What Each One Actually Proves

The material layer is where the original article is silent, and where most of the technical value of the exercise sits for a high-frequency board. Knowing the netlist of a 10 GHz board without knowing its Dk and Df gives a rebuild that works at 1 GHz.

ParameterInstrumentWhat it provesWhat it cannot separate
Dk and Df at a frequencySplit-post dielectric resonator, or a clamped striplineThe value of the sample at that frequency, to about ±0.02 in DkWhether the sample is representative of the panel, or of the batch
TgDSC, TMA or DMAA transition temperature by that methodThe other two methods can differ by 15–30 K on the same material
Z-axis CTETMAExpansion over the measured rangeWhether the original board was conditioned the same way
Filler contentTGA, ash contentMass fraction of inorganic filler, typically 40–60 %Filler type and particle size without further analysis
Plating compositionXRF, or EDS in a cross-sectionNi, P and Au fractions; phosphorus 7–10 wt% identifies ENIGBath chemistry history, which is what controls black pad risk
Glass styleCross-section, opticalWeave and areal weight, enough to tell 1080 from 7628The manufacturer, and therefore the exact datasheet

The Dk measurement deserves a warning because it is the number that most rebuilds rely on and the number most often misread. A resonator gives the value at one frequency; the material’s Dk varies with frequency, and the datasheet number is usually quoted at 10 GHz for RF laminates and at 1 MHz for FR-4. Using the 1 MHz figure to design a 5 GHz trace overstates Dk and produces a line that is too narrow. And a measured Dk identifies a material family, not a part number: several 3.4–3.5 products exist across suppliers, with different Df, different CTE and different thermal conductivity, so the rebuild should be treated as a material selection rather than a substitution.

Five Things That Cannot Be Recovered

Being explicit about the limits is what separates a professional scope from a promise.

1. Firmware and configuration. A microcontroller’s contents are not in its package exterior; where the device is protected this is not an engineering question at all. 2. The original tolerances. The finished board shows what happened, not what was specified, so a rebuild copies any drift that existed. 3. Copper foil roughness. The profile that dominated conductor loss was set by the foil supplier and is buried at the resin interface; a cross-section can show that it is low-profile but not its Rz value. 4. Process history. Whether the board was baked, how many reflows it survived, and how long it was stored are gone — which matters because the plated barrels on a board with 5880-class Z-axis expansion have a finite number of excursions available. 5. The design intent behind an unusual choice. A stub, a gap or a strange pour may be a mistake that was measured and accepted, or a deliberate tuning element; the netlist cannot tell you which.

The fourth limit is worth a number. Over a 215 °C span, 1.6 mm of a PTFE laminate with a Z-axis CTE of 237 ppm/°C expands by about 82 µm, against 11 µm for a hydrocarbon material at 32 ppm/°C. A board that has been through an unknown number of thermal cycles has spent part of its barrel ductility, and the rebuild should not assume the original had the same remaining life. The metallurgical basis is in inner layer circuit fabrication.

Scope: What This Work Is For, and What It Is Not

The original article placed product replication first and discussed security analysis as a side benefit. That ordering is both commercially unrealistic and the reason reverse engineering has a reputation problem. In practice the work is commissioned for four reasons, and only one of them involves making the same product again.

PurposeTypical situationDeliverable
Legacy supportEquipment still in service whose manufacturer has discontinued the board and the documentationNetlist, stack, BOM and a form-fit-function equivalent
Failure analysisA field return or a competitor benchmark that failedCross-sections, material identification and a mechanism
Design recovery after data lossThe only surviving copy is a physical boardEditable CAD plus measured stack
Test and fixture developmentBuilding a test fixture for a board whose test points are undocumentedNetlist, test point map, expected voltages

What the work is not is a licence. Copying a board is a legal question before it is an engineering one: patents, registered designs, copyright in layout data and contractual restrictions can each apply, and the answer differs by jurisdiction and by purpose. Two things follow for anyone commissioning this work. First, the client’s right to the design is the first thing to establish, and it is a question for the client’s own counsel rather than for the fabricator. Second, a rebuild that reproduces a protected layout is a different act from one that re-implements the function on a newly designed board — and for a high-frequency board the second is usually better engineering anyway, because it lets the stack be chosen for currently available material rather than for whatever was on the market when the original was built.

Failure Analysis Is the Same Tool Set With a Different Question

The most common commercial use of these techniques has nothing to do with copying. A board that fails in the field is a physical object with a history, and the same cross-section, X-ray and material identification answer a different question: why.

The sequence is usually four steps. Non-destructive first: X-ray or CT for voiding, barrel cracking and component alignment, plus a check of the as-built impedance if coupons exist. Then electrical localisation — time-domain reflectometry to find the discontinuity by distance, which with a 35 ps edge resolves to about 3.1 mm. Then destructive cross-section at the located site, which is where the mechanism becomes visible: pad cratering, barrel separation, intermetallic thickness, or a resin void under a via. Then material and surface analysis if the mechanism implicates the finish, which is where phosphorus content and nickel thickness decide whether the answer is black pad.

The reason this belongs in an article about reverse engineering is that the deliverable is the same shape: a measured stack, a recovered netlist and an identified material. Only the conclusion differs, and it is a conclusion about a failure rather than about a design to be rebuilt.

Effort Arithmetic, So a Quotation Can Be Read

Effort scales faster than layer count, because each layer adds a milling or imaging step and a registration re-establishment. The figures below are engineering effort only, and they assume the board can be sacrificed; a board that must survive the work costs more because the imaging has to be non-destructive.

BoardImaging and netlistCross-section workMaterial analysisMain risk to schedule
2-layer, through-hole, FR-4A few hoursNot usually neededRarely requiredLow; a photograph may suffice
4-layer digital1–2 daysHalf a dayOptionalHidden vias between inner layers
8-layer mixed signal3–5 days1–2 days1 day if Dk is disputedRegistration drift accumulating through the milling steps
HDI with laser vias1–2 weeks2–3 days1–2 daysMicrovias in build-up film are hard to image without damage

The pattern in the last column is that the risk is never the copper; it is the vertical structure. A board with a simple stack and a complex netlist is easy; a board with a simple netlist and a blind-buried stack is not, because every imaging step assumes the layers are where the drawing says and the drawing is what is missing.

Three Statements From the Original Article Worth Correcting

The original text was accurate about the sequence of the work and misleading about its results.

Original statementWhat is actually trueThe consequence
The main purpose is to replicate products that have a market advantageThe dominant use is legacy support and failure analysis. Replication is a legal question first, and often a poorer engineering choice than re-implementationScope the engagement around the deliverable, and establish the right to the design before any work starts
Recovering the schematic, layout and components gives you the design dataIt gives the connection layer. Impedance, loss and thermal behaviour live in the geometric and material layers, which need different instrumentsBudget a cross-section and, for RF, a dielectric measurement; otherwise the rebuild will not match at frequency
Tracing all circuit paths records the board completelyOnly for the outer layers. Inner layers need sequential milling or CT, and the accumulated registration error across steps is the dominant uncertaintyOn eight layers, ask for the per-layer registration reported, not just a netlist

What to Require From the Supplier

Six items make the output usable rather than impressive:

1. A per-layer cross-section photograph with magnification calibrated, not a summary table. 2. Dielectric thickness and copper weight per layer, with the measurement uncertainty stated — ±2 µm is a different claim from ±10 µm. 3. The netlist delivered in a neutral format plus the imaging set, so the recovery can be audited rather than trusted. 4. For any RF board, a measured Dk and Df with the frequency and method named. 5. Surface finish identified by thickness and composition, since this is both a solderability and a loss parameter. 6. An explicit list of what was not recovered, because a scope with no exclusions has not been thought through.

The sixth item is the one that protects both parties, and it is the one most often missing from a proposal. It is also what allows the rebuild to be designed properly: knowing that the foil roughness is unknown means the loss budget must be verified on a coupon rather than asserted, which is the same discipline that any new design should follow and that is described in testing in high-frequency PCB production.

Conclusion

Reverse engineering a circuit board is three problems, not one. The connection layer can be recovered almost completely — outer layers by imaging, inner layers by sequential milling or CT at 5–20 µm resolution — and it is the layer that is easiest to verify and least likely to decide whether the rebuild works. The geometric layer needs a cross-section: thickness to ±2–5 µm, copper weight to ±3 µm, holes to ±0.01 mm, and a surface finish whose thickness is an electrical parameter worth 0.1–0.15 dB/in at 10 GHz. The material layer needs instruments: Dk to about ±0.02 and Df to about ±10 %, with the caveat that the value belongs to the frequency it was measured at and identifies a family rather than a part number.

What cannot be recovered is as important as what can: firmware, the original tolerances, foil roughness, the process history that has already spent part of the barrel ductility, and the intent behind any unusual geometry. And the ordering in the original article deserves reversing — the dominant use of the technique is legacy support and failure analysis, with replication a legal question before an engineering one.

XCE PCB works on the manufacturing end of that chain: rebuilding a stack from a measured cross-section, choosing currently available material to match a measured Dk, producing 2 to 72 layers to 600×1200 mm with impedance ±10 %, samples in as fast as 24 hours, inspected to IPC-A-600G and IPC-6015. Where the deliverable is a re-implementation rather than a copy, the drawing set that a fabricator needs in order to quote it is described in outputting high-frequency multilayer mixed-pressure PCB design files, and the panel-level cutting tolerances that the rebuilt stack inherits are in substrate cutting in high-frequency PCB manufacturing.

Frequently Asked Questions

Can a PCB be reverse engineered without destroying it?
The outer layers, yes — optical imaging plus X-ray for hidden joints recovers the connection layer. Inner layers normally require sequential milling, which is destructive, at 50–100 µm per step. X-ray CT is non-destructive but resolves features to roughly 5–20 µm voxel size, so a 0.1 mm trace is visible and a 0.05 mm one is ambiguous. Boards that must survive are usually imaged completely before any destructive step.
How accurate is a recovered stack-up?
Dielectric thickness to about ±2–5 µm and copper weight to ±3 µm from a calibrated cross-section, hole diameters to ±0.01 mm, and layer-to-layer registration to about ±0.02 mm. Those accuracies are enough to reproduce impedance to a few percent, which is comparable to the tolerance the original board was built to. What cannot be recovered is the tolerance the fabricator was capable of, only the result.
Can the dielectric constant of an unknown board be measured?
Yes, with a split-post dielectric resonator or a clamped stripline fixture, typically to ±0.02 in Dk. Two cautions: the value belongs to the frequency it was measured at, and RF laminates are quoted at 10 GHz while FR-4 is often quoted at 1 MHz, so using the wrong figure produces a trace that is too narrow. And a measured Dk identifies a material family, not a part number, since several 3.4–3.5 products exist with different Df and CTE.
Is reverse engineering a PCB legal?
It depends on jurisdiction and purpose, and on what is protected — patents, registered designs, copyright in layout data and contractual terms can each apply. That is a question for the client’s own counsel, not for the fabricator. What can be said technically is that re-implementing a function on a newly designed board is a different act from reproducing a protected layout, and on high-frequency designs it usually produces a better board because the stack can use currently available material.
Why does a rebuilt board often measure worse at high frequency?
Because the netlist is only the first layer. Conductor loss depends on foil roughness that is buried at the resin interface, and the surface finish sets another 0.1–0.15 dB/in at 10 GHz; both are invisible in a netlist recovery. Without a measured Dk, Df and finish thickness, the rebuild can match topologically and still miss the loss budget, which is why RF rebuilds have to be verified on a coupon.
What is the most common reason a reverse-engineering project runs late?
The vertical structure. Copper is easy to image; blind and buried vias, build-up films and registration drift are not. On an HDI board each milling step requires re-establishing registration, and accumulated error across steps is the dominant uncertainty, so schedules slip on boards whose stack is complex rather than on boards whose netlist is complex.
RF & Microwave PCB Fabrication

Rebuilding a Board Whose Documentation Is Gone?

Send us your Gerber files and requirements for a manufacturability review and a tailored quotation.

2–72 layers ±10% impedance tolerance Manufacturing since 2009