
Summary
The Lenovo ThinkPad Hybrid USB-C with USB-A Dock contains multiple programmable chips. Reversing the Lenovo Firmware updater utility revealed that most firmware for those chips is not signed or encrypted, thus allowing an attacker to completely take over many of the chips just with USB access to the docking station.
However, flashing a new, custom firmware always runs the risk of bricking the docking station. So we wanted to see if it was possible to execute code on one of these chips without needing to flash new firmware. And: we can! A proof of concept was created for the Infineon CY7C65210 USB-Serial bridge that converts the chip into a USB HID keyboard and starts an evil maid attack right from the docking station, without needing to have anything plugged in to the docking station.
As it turned out, the injected code also survives if the connected laptops change, opening up a very sneaky persistence vector. Especially in shared office spaces, where employees work without fixed table assignments, this can be used by attackers to persist in the environment, and re-infect or initially compromise other client devices.
Timeline
| Date | Event |
|---|---|
27.08.2026 | Initial Report to Lenovo PSIRT |
11.09.2026 | Lenovo PSIRT shared report with Infineon PSIRT |
29.09.2026 | Clarification request by Lenovo PSIRT |
05.10.2026 | Answered clarification request |
21.10.2026 | Requested status update, got no response |
02.11.2026 | Requested status update, got no response |
19.11.2026 | Requested status update reminding of disclosure in 5 days |
19.11.2026 | Apologies sent by both Lenovo and Infineon. Lenovo PSIRT confirms that there has been no progress. Infineon PSIRT says that the chip is not a security chip |
25.11.2026 | Lenovo PSIRT promises an update from Infineon by end of week |
28.11.2026 | Promised update did not arrive |
05.12.2026 | Public disclosure |
Technical Details
Introduction
Docking stations are everywhere and not much public research has yet happened on them. There has been research on hardware implants before, presented at Blackhat EU 2013 by Andy Davis at the NCC Group, but not much has yet been published about the firmware side.
In an office with a shared desk setup, multiple laptops connect to the same docking station every week. If an attacker can compromise the docking station, can this then be used to persist in the environment, even if the whole network is rebuilt after an incident? Can this lead to attack vectors against other laptops that get connected later? This is the question we wanted to answer when we initially started this research project.
Firmware extraction
We chose to analyze the ThinkPad Hybrid USB-C with USB-A Dock, which can have its firmware updated using the official Lenovo firmware updater tool. For this research, we used fhybd1042_1.exe (v1.0.42). It is an Inno Setup installer that we can read using the innoextract tool:
innoextract -d out fhybd1042_1.exeout/
├── Fwupdate.exe
├── CY_ISP/
│ ├── ccg4_dock_fw_update.exe
│ ├── ccg4_flash.exe
│ ├── cyusbserial.dll
│ ├── CCG4_FW1.cyacd
│ ├── CCG4_FW2.cyacd
│ ├── cyusfw_210.img
│ ├── cyus_bbcfg_210.cyacd
│ └── DriverInstallerCyUSB3/
│ └── cyusb3/
│ ├── cyusb3.sys
│ ├── cyusb3.inf
│ └── cyusb3.cat
...This dock implements a small USB tree. There are usb hubs, a billboard/serial device, a DisplayLink graphics adapter, a Realtek NIC and audio. The firmware for the Infineon CY7C65210 USB-Serial bridge is stored in the cyusfw_210.img file.

Firmware analysis
To better understand the firmware file format, the updater binary was reversed using LLM agents. cyusfw_210.img is just a small container around the ARM Thumb image:
| File Offset | Value | Meaning |
|---|---|---|
0x0000 | CYUS | magic |
0x0008 | 0x00001600 | section length in words |
0x000c | 0x00002200 | load address |
0x0010 | … | Thumb code and constants |
0x5818 | 0xc48f0575 | validation word |
The validation checksum can easily be calculated by just adding the payload words:
validation = 0
for section in sections:
for word in struct.unpack(f"<{section.word_count}I", section.data):
validation = (validation + word) & 0xffffffffVulnerabilities
With the structure now known, it was possible to load the ARM Thumb code into Ghidra, where the firmware could be analyzed and multiple vulnerabilities could be identified.
Vulnerability 0: Unencrypted, unsigned firmware
The first one was already found by analyzing the firmware file format: The firmware image is not encrypted, and is not signed. So, any valid CYUS file image container and checksum can be installed as an update to establish persistence on the device.
Vulnerability 1: Unauthenticated switch to the manufacturer firmware
The firmware switches into a special manufacturing loader when it receives a vendor OUT request with two fixed constants (implemented quickly in python using libusb):
# enter the manufacturing loader
dev.controlWrite(0x40, 0xBE, 0xA6BC, 0xB9B2, b"")On receipt of this request, the USB identity switches from 17EF:A354 or 17EF:A35F to the manufacturer identity (04b4:00fa or 04b4:5218):

Vulnerability 2: Flash read protection bypass
The manufacturing firmware offers new functionality that is particularly interesting to us: CyReadFlash, CyProgFlash, CyReadMemory and CyWriteMemory.
However, it tries to protect its internals from being read by blocking read requests below address 0x1800. This area stores the vector table, the bootloader code and the CYBL boot record. CyReadFlash and CyProgFlash both perform a check like shown below before completing the request:
bool valid_programmable_flash_range(uint32_t address, uint32_t length) {
return address >= 0x1800 && address + length <= 0x8000;
}The CyReadMemory function can be used to read from a 32-bit address. As you might have guessed, this function doesn’t perform the address check:
address = ((uint32_t)wValue << 16) | wIndex;
length = wLength;
return ep0_read_from_memory(address, length);As the flash is memory-mapped, the otherwise “protected” region can be read out 64 bytes at a time. It is interesting to note that this request type is also implemented by the Lenovo USB identity, so the bootloader can be dumped before the device is ever put into manufacturing mode:
collected = []
while len(collected) < 0x2200:
target = len(collected)
collected += dev.controlRead(0xC0, 0xBB, target >> 16, target & 0xFFFF, 64)With the bootloader dumped, it was possible to fully reconstruct the implemented functionality. The most interesting functions are:
| Request | Behavior |
|---|---|
0xB2 | CyReadFlash, range-checked to 0x1800..0x8000 |
0xB3 | CyProgFlash, range-checked to 0x1800..0x8000 |
0xB6 | write the CYUS (0x1800) configuration record |
0xB8 | write the CYBL (0x1700) configuration record |
0xBA | CyValidateChecksum |
0xBB | CyReadMemory, any 32-bit address |
0xBC | CyWriteMemory, any 32-bit address, 8-byte aligned |
0xBF | quiesce USB, then jump to a specified address |
Vulnerability 3: Arbitrary write and execute
0xBC followed by 0xBF is a complete write and execute primitive. The only problem that needed to be solved is where in SRAM the new code should be written to, as it needs to be a region that the firmware does not use while it is running. The area starting at address 0x20000760 until 0x20000f9f was found by trial and error, which gives ~2000 bytes for code and data.
Here too, AI/LLM agents did a lot of the work reimplementing the chip’s USB stack in C. Actually loading the exploit onto the docking station is only a few lines of python (again using libusb):
# write the payload into SRAM, then jump to it
for off in range(0, len(payload), 2016):
addr = 0x20000760 + off
boot.controlWrite(0x40, 0xBC, addr >> 16, addr & 0xFFFF, payload[off:off+2016])
boot.controlWrite(0x40, 0xBF, 0x2000, 0x0761, b"")PoC || GTFO
To show the impact of these vulnerabilities, we have created a proof of concept script that injects a payload that takes over the chip without overwriting the flash storage. The payload reinitializes the USB interface to show up with vendor id dead:beef as a USB HID keyboard device. After a short delay, it will begin sending key presses defined in the payload, in our case:
hello from dock
pleased to meet youThis code will then run in a loop until the power supply of the docking station is unplugged. Simply disconnecting the laptop connected to the dock will obviously stop the keyboard inputs from reaching our host, but any host connected later will continue to receive the keyboard inputs from the docking station:

We have published our proof of concept code on GitHub.
Attack Scenarios
Persistence: A malicious or compromised host infects a dock. Every laptop connected afterwards can be attacked by the code running on the docking station.
Supply-chain: A dock in storage at a warehouse or in transit from a vendor can be plugged into an attacker’s laptop. Implanting a malicious payload only takes a few seconds. There is no need to open the case or solder anything.
Prerequisites: The attacker needs to be able to send USB control transfers to the dock: This can be done as root on Linux, or with administrator rights and the installed CyUSB3.sys driver on Windows.
What about DisplayLink?
The firmware for the DisplayLink adapter is not part of the Lenovo updater package, as this firmware is automatically updated by the DisplayLink drivers installed on the hosts connected to it. Additionally, the DisplayLink firmware is signed and encrypted, both in the updater, and also when stored in the SPI flash on the dock (yes, we checked).

Future work
New vulnerabilities have recently surfaced that attack Windows and Linux hosts from USB devices such as CVE-2026-69490 or CVE-2026-98232. Having a docking station that is connected to future victim devices via USB, the “physical attack” step of plugging in a USB device described in these CVEs will be done by the users themselves: They just connect to the docking station, not expecting anything bad to happen.
Any new vulnerabilities that can attack a host from the view of an external USB device could also be started by the docking station itself. While our proof of concept only shows the creation of a new rogue USB keyboard, we invite you to try and combine these findings! It will certainly be a challenge to achieve some of the more sophisticated USB to host exploit chains within the limited resources available on the USB-Serial bridge chip, but it doesn’t seem impossible.
Another interesting avenue to follow would be the interaction of some of these chips with the ethernet adapter and devices connected to the docking station USB ports. Potentially, this could be used to covertly log or exfiltrate keyboard inputs.
Conclusion
LLM agents helped us reverse-engineer the firmware and find logic flaws quickly. We went from nothing to a working PoC in just three days. Hardware can no longer and never should have relied on complexity or obscurity as a defense mechanism.
Many low-cost, resource-constrained microcontrollers deployed in IoT and consumer electronics operate under severe power, memory, and compute constraints. A lot of these devices lack dedicated cryptographic accelerators. The result is what we have seen here: update mechanisms on these devices frequently have no authentication whatsoever.
For red teams, we have presented a new, sneaky way to persist in IT environments: Attackers could hide in docking stations for a long time with a very low likelihood of being detected or removed (even after an incident response case), as the awareness of the attack surface is very low.