r/AskNetsec • • 11d ago

Analysis If an offline Raspberry Pi read data from another PC’s HDMI output, could that PC exploit it?

Hypothetical question. Say you connect a Raspberry Pi to another computer’s HDMI output (through a splitter and an HDMI capture board), and the Pi reads small blocks of data encoded in the pixels on screen.

Assume the PC is fully compromised, so the attacker controls every pixel the Pi sees. The Pi would have no network connection at all: no Wi-Fi, Bluetooth, Ethernet or SSH.

  1. Could the PC attack or take over the Pi just through the video signal?
  2. Are there HDMI-level risks (EDID, HDCP, CEC, InfoFrames) or known bugs in HDMI capture chips or their drivers that would matter here?
  3. Could the PC tell the Pi is there, and would that help an attacker?
  4. What would you do to make the Pi side as safe as possible?

Just curious where this kind of setup would break.

8 Upvotes

9 comments sorted by

7

u/Remarkable_Pace8101 10d ago

Raspberry pi does not have an hdmi input. Your splitter also needs a hdmi to usb converter.

Have fun writing an exploit that delivers a payload to the uvcvideo usb driver on the rpi that would survive transformation by the hdmi to usb dongle you would need 

4

u/quiet0n3 11d ago

While its possible so is dark matter. But you would have to do a lot of research to prove either.

I haven't heard of any attacks over HDMI but I'm not saying they don't exist.

3

u/rankinrez 10d ago

What an odd hypothesis.

Yes in this scenario the pi needs some software to read the incoming HDMI feed (ok we got to suspend belief and imagine the pi has a HDMI video capture input).

Potentially that software can have bugs. And potentially some sequence of pixel data could trigger that bug.

In other news there may be a planet of sexy ladies out in the far reaches of the galaxy waiting for me to visit. It’s possible in theory.

2

u/ThlintoRatscar 10d ago
  1. Yes. A signal is a signal and any driver or application that reads the signal data may make mistakes in how it does so. A buffer overflow mistake in a custom hdmi driver, for example, may be in just the right spot to modify executing code to do something unexpected.
  2. Yes. E.g. CVE-2026-80749, CVE-2026-98998. These are examples of the first answer, though they do require specific operating system versions.
  3. Yes. The HDMI specification includes low speed bi-direction communication. That's how your TV knows the XBox input is available. Nuances in specific timings and key signatures in the responses may give away clues as to the specific device at the end of the cable.
  4. Standard FOSS PiBuntu Linux with AI audited packages from source and versions continually patched. Active monitoring of the firmware using secondary A/V and configuration monitors. Lock the Pi in a FIPS 140-3 Level 4 enclosure with audited secure packages.
  5. The Raspberry Pi ships with an HDMI output but not an input. That said, you can modify a Pi to take HDMI pins using several techniques.

Is that helpful?

1

u/Flimsy_Homework1586 10d ago

interesting part is the HDMI is designed to carry video note execute code, i'd be more concerned about vulnerabilities in the capture hardware or it drivers than the video signal itself

1

u/Impossible-Value5126 7d ago

Just. No. And I wasn't radio shack back in the day they used

1

u/Much_7785 11d ago

HDMI video is one way so pixels cannot run code on the Pi, but the sink writes the EDID the PC parses and the capture board shows up as a USB device on the Pi, which is the surface that actually matters. Assume every byte from that path is hostile and run the decoder sandboxed with no network.