News for hackers. Stuff that matters.
Re:Better slow than sorry – VirtualBox 3D acceleration consi... by craftyguy on Tuesday July 31, 2018 @02:02PM (#17655456)
Considering all of the issues with usb, you'd be better off using floppy disks or optical drives for data transfer to this hypothetical 'secure' system.

> VM are a problem waiting to happen.

Something something security threat model and personal risk tolerance...

Re:Better slow than sorry – VirtualBox 3D acceleration consi... by white-flame on Tuesday July 31, 2018 @02:47PM (#17655875)
RS232 would probably be usable and convenient for said hypothetical setup as well. Don't run PPP or anything; manually initiate transfers on both sides.
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-...

Re:Better slow than sorry – VirtualBox 3D acceleration consi... by 1996 on Tuesday July 31, 2018 @02:07PM (#17655517)
The problem of optical drives is the size limit and the time to make them.

They can contain malicious code just as well as a thumbdrive. The concern with USB is the firmware, and the thumbdrive pretending to be a HID device or having an extra partition with malicious code.

Purchasing many similar drives of a well known brand in a random supermarket is a reasonable alternative.

Just keep them for 1 year before using them, in case an exploit becomes popular - but this is extremely paranoid.

Re:Better slow than sorry – VirtualBox 3D acceleration consi... by craftyguy on Tuesday July 31, 2018 @02:13PM (#17655580)
> They can contain malicious code just as well as a thumbdrive

Of course.

> The concern with USB is the firmware, and the thumbdrive pretending to be a HID device or having an extra partition with malicious code.

Right, that's the concern I was alluding to above. You'd still be better off burning optical media (and disabling any autoplay crap on the target system). You can still store severl GB of data on optical media.

> Just keep them for 1 year before using them, in case an exploit becomes popular - but this is extremely paranoid.

This may work if you only stick with very popular makes/models, since they would have a higher chance of being 'noticed' for doing something wrong.

Re:Better slow than sorry – VirtualBox 3D acceleration consi... by 1996 on Tuesday July 31, 2018 @02:23PM (#17655673)
> This may work if you only stick with very popular makes/models, since they would have a higher chance of being 'noticed' for doing something wrong

Security is in the spotlight, not in the shadows

Prefer tools that everyone else uses, unless you have a very compelling reason not to (windows: too many 0 days, complexity, and surface of attack ; wifi: too easy to start a rogue network)

Because when these popular tools get hacked, you will know it. I keep an eye on rogue firmware. I have not seen a real world threat yet, but I do expect spear fishing attacks for people involved in crypto (fortunately, not for us just writing software)