Skip to the content
2 layers25 × 73 mmPico tpm spider, the printed circuit board in 3D

VMK recovery tool for SPI-based TPM 2.0 chips.

Size
25 × 73 mm
Copper layers
2
Thickness
1.6 mm
Parts
4
Nets
51
Pads
120
Tracks, vias
25, 0
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
12 Aug 2025
Updated
12 Oct 2026

Overview

Pico tpm spider is an open-source printed circuit board by decrazyo, from the decrazyo/pico-tpm-spider repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 25 × 73 mm with 4 parts on 51 nets, routed with 25 tracks and 0 vias.

It is built around the CF31201D0R0-05-NH. Its parts include 2 connectors and 1 IC. It belongs with the RP2040 boards of this library.

Main components

1

README

README.md

Pico TPM SPIder

Pico TPM SPIder is a Volume Master Key (VMK) recovery tool for SPI-based TPM 2.0 chips, built on Raspberry Pi Pico hardware. It passively monitors SPI communication with a discrete TPM 2.0 chip and parses transactions in real time to extract the VMK. This project specifically targets the STMicroelectronics ST33TPHF2XSPI used in several Dell laptops, though other devices and TPM 2.0 chips may be compatible.

Pico TPM SPIder is designed to capture TPM SPI traffic clocked at 10MHz to 50MHz with or without the use of a chip select signal. Lower frequencies can be supported by modifying sniffer.pio. Higher frequencies may be supported through overclocking.

Watch the video!

Compatibility

The following devices have been tested.

deviceworkingbus voltagechip selectnotes
Dell Latitude 5320yes3.3VinaccessibleSPI flash memory, unpopulated SPI connector
Dell Latitude 5430yes??Tested by volttest-jpg
Dell Latitude 5431yes3.3VinaccessibleSPI flash memory
Dell Precision 3490yes1.8VinaccessibleSPI flash memory
HP EliteBook 645 G10yes3.3VinaccessibleSPI flash memory, use a shorter sniffer timeout (~30ns)
HP Elitebook 840 G10yes??Tested by volttest-jpg

[!CAUTION] Check the voltage of your target device's SPI bus! The Raspberry Pi Pico is only designed to work with 3.3V logic. A converter should be used to interface with other bus voltages. The TXS0108E has been proven to work for this.

Hardware

The following methods of connecting to the SPI bus have been tested.

WSON8 Probe

All of the tested devices have a SPI flash memory chip, presumably the BIOS/UEFI, on the same bus as the TPM chip. A WSON8 probe can be used to connect to the SPI bus via the flash chip. This is by far the easiest way to connect to the SPI bus.

WSON8 SPI flash memory chip pinout

Custom PCB

A custom PCB, inspired by stacksmashing's design, is provided in the hardware directory and simplifies connecting to the SPI bus on Dell Latitude 5320 laptops via an unpopulated connector. The PCB provides two methods for interfacing with the connector.

Unpopulated SPI connector pinout

  1. Pogo Pins (hard to solder, easy to use)
    The board includes footprints for pogo pins that align with the Latitude 5320's unpopulated connector.

  2. Flat Flex Ribbon (easy to solder, hard to use)
    The board accommodates a flat flex ribbon connector. A flat flex ribbon can be connected to the PCB and then pressed against the Latitude 5320's unpopulated connector.

Since the unpopulated connector does not include a chip select (CS) signal, the PCB grounds the Pi Pico's CS input (GPIO 3) by default. Cutting jumper JP1 will disconnect the CS input from GND.

descriptionpart number
Pogo PinsP50-B1-16mm
Flat Flex Ribbon0982660209
Flat Flex Ribbon ConnectorCF31201D0R0-05-NH

Needle Probes / Soldering

Needle probes can be used to connect to any exposed part of the SPI bus. Such a setup can be precarious so soldering may be a better option if you have some 30 gauge wire and a steady hand.

[!NOTE] Interference can cause various issues including failure to boot, entering Dell's "manufacturing mode", BIOS/UEFI corruption, and failure to recover the VMK. Keep your SPI wires short, away from sources of interference, and preferably shielded to avoid those issues.

Build

Download the Raspberry Pi Pico SDK.
Install dependencies specified by the Raspberry Pi Pico SDK documentation.
Build the project.

text
git clone https://github.com/decrazyo/pico-tpm-spider.git
cd pico-tpm-spider
export PICO_SDK_PATH=/path/to/your/Pico-SDK
mkdir build
cd build
cmake ..
make

[!NOTE] Built on Debian 12.

Install

Press and hold the BOOTSEL button while plugging in the Pi Pico to make it appear as a mass storage device.
Install the Pico TPM SPIder firmware by copying pico-tpm-spider/build/pico-tpm-spider.uf2 to the Pi Pico's mass storage device.

Usage

Connect the Pi Pico's pins to your TPM chip according to the following table.

pico pinspi signal
GPIO 0MOSI
GPIO 1MISO
GNDGND
GPIO 2CLK
GPIO 3CS or GND

[!NOTE] The use of a chip select (CS) signal is optional but recommenced since it significantly reduces the amount of data that the Pi Pico needs to parse.

[!IMPORTANT] If you're not providing the Pi Pico with the TPM's CS signal then GPIO 3 must be grounded! GPIO 3 is grounded by default on the provided PCB.

Connect to the Pi Pico with your serial terminal of choice and boot the target system.

text
picocom -q /dev/ttyACM0 -b 115200

You should see output similar to this.

Capturing SPI traffic into 12 16384-byte buffers.
Press any key to finalize the capture and reboot.
VMK: DEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DE

[!NOTE] If the VMK does not automatically appear by the time the system has booted then press a key to finalize the capture. This will cause the Pi Pico to parse any data remaining in its buffer and may recover the VMK.

The recovered VMK can be used with the dislocker utility to decrypt the target system's hard drive.

text
echo DEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DEDEADC0DE | xxd -r -p > vmk.bin
mkdir /mnt/dislocker
mkdir /mnt/drive_c
dislocker -K vmk.bin /dev/sdb3 /mnt/dislocker
mount -t ntfs-3g -o remove_hiberfile,recover /mnt/dislocker/dislocker-file /mnt/drive_c
ls /mnt/drive_c/

Related Projects

Parts

4
QtyValueFootprintReferences
1CF31201D0R0-05-NHfootprints:CONN_CF31201D0R0-05-NH_CVIJ2
1Conn_01x06Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ1
1GND CSJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP1
1PicoMCU_RaspberryPi_and_Boards:RPi_Pico_SMD_THU1

Similar boards

  • 2 layers56.7 × 13 mm90deg Flat HDMI to FFC, the printed circuit board in 3D

    90deg Flat HDMI to FFC

    dmcke5/ZenDeck

    This is the second revision of my Mini PC based handheld Gaming PC! It is designed for a Beelink SER 5 Mini PC but could be adapted to other systems by changing the mounting brackets and outlet plate.

    2 parts133CERN-OHL-S-2.0
  • 2 layers18.5 × 26 mm24g2usb rp2350zero, the printed circuit board in 3D

    24g2usb rp2350zero

    joypad-ai/joypad-os

    Universal controller firmware for building adapters, dongles, and custom controllers.

    4 parts1.7kApache-2.0
  • 2 layers116 × 33 mm966595-1 and 963356-1, the printed circuit board in 3D

    966595-1 and 963356-1

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    4 parts1.2k
  • 2 layers19 × 18 mmDaughter board, the printed circuit board in 3D

    Daughter board

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    4 parts915
  • 2 layers24.8 × 24.8 mmNrf24 breakout, the printed circuit board in 3D

    Nrf24 breakout

    tardate/LittleArduinoProjects

    a collection of "Little Electronic & Arduino Projects", most involving electronics or an Arduino in one way or another!

    4 parts803MIT
  • 2 layers26 × 20 mmCap chain, the printed circuit board in 3D

    Cap chain

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    4 parts744MIT
  • 2 layers34.7 × 20 mmXG Station Power MSI, the printed circuit board in 3D

    XG Station Power MSI

    osy/XG_Mobile_Station

    Open source eGPU dock for ROG Ally and ROG Flow

    4 parts712CC-BY-4.0
  • 2 layers20.3 × 24.5 mmJack power input, the printed circuit board in 3D

    Jack power input

    Luos-io/luos_engine

    Open-source and real-time orchestrator for cyber-physical-systems, to easily design, test and deploy embedded applications and digital twins.

    4 parts546MIT

Questions

How big is the Pico tpm spider PCB?

It measures 25 × 73 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Pico tpm spider use?

4 parts, built around the CF31201D0R0-05-NH. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Pico tpm spider KiCad files?

From the decrazyo/pico-tpm-spider repository on GitHub, at the commit this page was made from: the board is hardware/pico-tpm-spider.kicad_pcb and its schematic hardware/pico-tpm-spider.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pico tpm spider design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).