A hardware implant is a small addition to a board: an extra chip, a modified component, a rerouted trace, or a component that looks right but is not on the bill of materials. Detection is a comparison task, not a search task. Without a trusted reference, every unfamiliar part looks suspicious and every real implant can hide in plain sight. This sub-skill covers building that reference from photos, the bill of materials, and a known good board where one exists, then inspecting methodically and documenting every anomaly with evidence. Scope is boards you own or are authorized to assess. Findings are reported as anomalies with evidence, not as confirmed implants, until an anomaly is traced to a function it should not have.
Quick Workflow
- Photograph both sides of the board at high resolution before touching anything, including close-ups of each region.
- Build the reference: bill of materials, board revision, and photos of a known good board of the same revision where available.
- Inventory every component against the reference, region by region, and log anything extra, missing, or substituted.
- Inspect solder joints for rework signs: flux residue, disturbed joints, and joints that differ from factory work nearby.
- Trace suspicious components: where do their pins go, and what function could that connection serve.
- Check power rails for unexpected loads and check continuity for unexpected connections.
- Compare against the known good board or reference photos where available, and re-photograph every anomaly in place.
- Write up each anomaly with location, photos, measurements, and a judgment of benign, unexplained, or suspicious.
1. Building the reference inventory
Photograph first, because handling changes evidence. Use consistent lighting and a scale reference in frame, and keep the originals untouched while working from copies.
# Inventory the photo set so nothing is missing before inspection starts
mkdir -p implant-check/photos implant-check/notes
ls -l implant-check/photos/
sha256sum implant-check/photos/*.jpg > implant-check/photos.sha256
cat implant-check/photos.sha256
#!/usr/bin/env python3
"""Compare a board component inventory against the bill of materials.
Expects bom.csv with columns (reference, value, package) and
observed.csv with the same columns as inventoried from the board.
Prints extras, missing parts, and value mismatches for follow-up.
"""
import csv
def load(path):
with open(path, newline="") as fh:
return {row["reference"]: row for row in csv.DictReader(fh)}
bom = load("bom.csv")
observed = load("observed.csv")
print("== on board but not in BOM (possible extras) ==")
for ref in sorted(set(observed) - set(bom)):
print(f" {ref} - {observed[ref]['value']} {observed[ref]['package']}")
print("== in BOM but not observed (possible removals) ==")
for ref in sorted(set(bom) - set(observed)):
print(f" {ref} - {bom[ref]['value']} {bom[ref]['package']}")
print("== value or package mismatches (possible substitutions) ==")
for ref in sorted(set(bom) & set(observed)):
if bom[ref]["value"] != observed[ref]["value"] or bom[ref]["package"] != observed[ref]["package"]:
print(f" {ref} - BOM {bom[ref]['value']} {bom[ref]['package']}, "
f"observed {observed[ref]['value']} {observed[ref]['package']}")
2. Inspecting solder joints and rework signs
Factory solder work is consistent across a board: similar joints, similar finish, no flux residue left behind. Rework breaks that pattern. Compare each suspect joint with its neighbours, not with a memory of what solder should look like. Look for flux stains around a single component, joints that are shinier or duller than their neighbours, lifted pads, and scratches in the solder mask near a component. A single reworked joint on a board with no repair history is an anomaly worth tracing, even if the component itself matches the bill of materials.
# Log rework observations in a structured file, one line per finding
cat > implant-check/notes/rework-log.txt <<'EOF'
# format - region | reference | observation | photo file
# north edge | U7 | flux residue around pins 3-5, neighbours clean | photos/north-u7.jpg
# south edge | C41 | joint duller than neighbouring capacitors | photos/south-c41.jpg
EOF
cat implant-check/notes/rework-log.txt
3. Tracing a suspicious component
An extra component is only an implant if it does something. Trace its pins with a multimeter in continuity mode, board unpowered, and map each connection: power, ground, a data bus, an antenna-like trace, or nothing at all. A component with only power and ground connected is still suspicious, but a component tapped into a data bus or a debug header is a much stronger finding. Record the trace map before removing anything, because removal destroys the evidence of what it was connected to.
#!/usr/bin/env python3
"""Record a continuity trace map for a suspicious component.
Writes a CSV of pin to net mappings that can be compared against
the schematic or against a known good board.
"""
import csv
# Fill in one row per pin from multimeter continuity measurements
pins = [
{"pin": 1, "net": "VCC 3.3V rail", "note": "power"},
{"pin": 2, "net": "GND", "note": "ground"},
{"pin": 3, "net": "SPI MOSI to main processor", "note": "data tap - investigate"},
{"pin": 4, "net": "unconnected", "note": "no continuity found"},
]
with open("implant-check/notes/trace-map-u99.csv", "w", newline="") as fh:
writer = csv.DictWriter(fh, fieldnames=["pin", "net", "note"])
writer.writeheader()
writer.writerows(pins)
print("trace map written - compare each net against the schematic")
4. Checking power rails for unexpected loads
An implant draws power. Compare the board current draw against the known good value or the datasheet budget for the populated parts. A small excess on its own proves nothing, since component tolerances vary, but an excess that appears with a specific extra component, or that changes when that component is isolated, is supporting evidence.
# Record rail measurements in a repeatable format
cat > implant-check/notes/rail-measurements.txt <<'EOF'
# rail | expected | measured | conditions
# 3.3V main | per datasheet budget | record actual here | board idle, no peripherals
# 3.3V main | per datasheet budget | record actual here | board under normal load
# 5V input | per datasheet budget | record actual here | board idle
EOF
cat implant-check/notes/rail-measurements.txt
Edge cases
- No known good board exists: fall back to the bill of materials, the schematic, and factory photos from the vendor. Say so in the report, because the confidence of every finding drops without a reference board.
- Board revision differences: a component that looks extra may be legitimate on a different revision. Confirm the exact board revision before calling anything an extra.
- Legitimate rework: factory rework and authorized repairs also leave flux and joint differences. Repair history, if available, explains some anomalies and must be checked first.
- Components under shields or stickers: do not remove shields or tamper seals without authorization, since removal itself changes evidence and may void handling rules for the assessment.
- Tiny implants hide in dense areas: inspect high density regions and board edges under magnification, and compare region by region rather than scanning the whole board at once.
- Anomaly without function: an unconnected extra component may be a manufacturing artifact, such as a depopulated option. Check the schematic for optional population variants before escalating.
- X-ray and imaging limits: surface inspection cannot see inner layer changes or components hidden under other parts. State this limit in the report rather than claiming a board is clean.
Key references
- The board schematic and bill of materials for the exact revision under inspection.
- Vendor factory photos and assembly documentation where available.
- The parent pcb-analysis skill for visual inspection, component identification, and power rail mapping methods.
- Published hardware implant case studies, for the classes of implant placement and concealment to check against.
