News for hackers. Stuff that matters.
Re:Better slow than sorry – VirtualBox 3D acceleration consi... by astrodust on Tuesday July 31, 2018 @02:53PM (#17655934)
You can pop a box over serial if that serial connection allows you to execute arbitrary code. Buffer overflows happen in surprising places.
Re:Better slow than sorry – VirtualBox 3D acceleration consi... by wahern on Tuesday July 31, 2018 @04:27PM (#17656782)
Of course. But the baseline stack of hardware and software for RS232 is (or at least can be) significantly simpler. USB and Ethernet are nightmares by comparison, and that's before considering the additional protocols that invariably sit between those low-level transports and your application.

For a project idea I've been considering how to attach a sensitive (but powerful) machine to the network with the smallest possible interface (in terms of code exposure). RS232 is probably the simplest yet still functional without getting into niche hardware standards.

On balance I think USB might be worse than Ethernet[2] or even Ethernet+TCP/IP just because typical network stacks have probably seen more scrutiny than USB stacks. But at the end of the day I know I'm going to want to use something like seL4 to protect the application from the transport stack(s). And even then you still have to worry about the hardware. There's a real dilemma in choosing the simplest hardware that is still viable in terms of performance, support (including ease of porting or writing drivers), and long-term availability.

[1] Assuming a simple ethernet controller with all the fancy features disabled or, ideally, not even present.

Re:Better slow than sorry – VirtualBox 3D acceleration consi... by astrodust on Wednesday August 01, 2018 @01:47PM (#17664933)
Remember that someone found out how to exploit the Nintendo NES using only the official controller just by pressing buttons at very specific times.

https://arstechnica.com/gaming/2015/01/pokemon-plays-twitch-...