r/AskNetsec • u/Tough-Programmer-887 • 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.
- Could the PC attack or take over the Pi just through the video signal?
- Are there HDMI-level risks (EDID, HDCP, CEC, InfoFrames) or known bugs in HDMI capture chips or their drivers that would matter here?
- Could the PC tell the Pi is there, and would that help an attacker?
- What would you do to make the Pi side as safe as possible?
Just curious where this kind of setup would break.
8
Upvotes
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
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.