Live data from Hacker News

Making sense of the alleged Supermicro motherboard attack

lightbluetouchpaper.org

261–270 of 328 posts

Re: Making sense of the alleged Supermicro motherboard attack

#261
post #250

> But there’s another trick a bad BMC can do — it can simply read and write main memory once the machine is booted. Doesn't ASLR[0] mitigate this? [0] https://en.wikipedia.org/wiki/Address_space_layout_randomiza...

As I understand it, no - if you can read from all of main memory, you can just look for the function you need.

Re: Making sense of the alleged Supermicro motherboard attack

#262
post #191

Earlier quoted context omitted.

More likely a fab in Taiwan than China. You can run your RISC-V cores on an FPGA if you’re really paranoid. Of course, you’d be sacrificing performance.

It's not the RIC-V cores that would be the concern - 'tis the motherboards, NICs, etc...

Yeah, so everything would need to be open and manufactured in the US.

Re: Making sense of the alleged Supermicro motherboard attack

#264

Ok, that finally makes a bit of sense about "if" this is true, how it might be carried out. And I agree with the author that the simplest action for a chip on the SPI bus would be to hold the MISO line low during power on to suggest to the BMC chip that its QSPI flash isn't programmed (note that QSPI starts up as 'regular' SPI and then switches over[1]). I would guess that the next thing the BMC would do is assume it…

Bruce Schneier talked in 2013 already on BMC security linking to a paper [0] from Dan Farmer who did an Internet scan to find that ~230,000 BMCs were exposed to the Internet of which 90% could be compromised [1], yikes.

  [0] https://www.schneier.com/blog/archives/2013/01/the_eavesdroppi.html
  [1] http://fish2.com/ipmi/river.pdf

Re: Making sense of the alleged Supermicro motherboard attack

#265
post #262

Earlier quoted context omitted.

It's not the RIC-V cores that would be the concern - 'tis the motherboards, NICs, etc...

Yeah, so everything would need to be open and manufactured in the US.

We have the fabs for it. Some are owned by defense contractors, too.

Re: Making sense of the alleged Supermicro motherboard attack

#267
post #172

A decade ago when I worked at Microsoft I shopped around the idea of using XBox as a basis for secure computing. XBox was designed to function in the hands of the adversary, to be robust against peripheral attacks and even motherboard mods. Even the main memory was encrypted by the on-CPU controller. Obviously, no open JTAGs. A lot of expertise there. In my fantasies it would form the basis of the DoD infrastructure…

I was really impressed with Xbox 360 security. I wanted to use it as a tamper-resistant, PPC desktop. There just wasnt enough demand for underpowered, overpriced desktops secure or not. That happened to folks selling laptops running separation kernels, too. Hardly any people would buy them.

Cool you had the idea, too, though. At this point, Id rather see someone just fund a Freescale implementation of the security parts on their communications processors. Can get more mileage in the market that way.

Re: Making sense of the alleged Supermicro motherboard attack

#268

Ok, that finally makes a bit of sense about "if" this is true, how it might be carried out. And I agree with the author that the simplest action for a chip on the SPI bus would be to hold the MISO line low during power on to suggest to the BMC chip that its QSPI flash isn't programmed (note that QSPI starts up as 'regular' SPI and then switches over[1]). I would guess that the next thing the BMC would do is assume it…

One question: how do you hold an existing line low without drawing lots of current, and without cutting that line first?

Re: Making sense of the alleged Supermicro motherboard attack

#269
post #172

A decade ago when I worked at Microsoft I shopped around the idea of using XBox as a basis for secure computing. XBox was designed to function in the hands of the adversary, to be robust against peripheral attacks and even motherboard mods. Even the main memory was encrypted by the on-CPU controller. Obviously, no open JTAGs. A lot of expertise there. In my fantasies it would form the basis of the DoD infrastructure…

Anything the government uses that needs to be hardware-secure (like Secret or Top Secret network devices) are either manufactured in small batches in a secure location or it's totally airgapped so that any "additions" don't matter. Let the Chinese have their extra chip installed anywhere they want and you wouldn't get anything out of it anyways, in that situation. The real problem is for stuff connected to the non-se…

Would it be technically feasible to have such a small chip which would transfer data out via cellular network instead? Presumably that might not work well in the DC itself, but perhaps for compromising company laptops from supply chain side?

Re: Making sense of the alleged Supermicro motherboard attack

#270

Ok, that finally makes a bit of sense about "if" this is true, how it might be carried out. And I agree with the author that the simplest action for a chip on the SPI bus would be to hold the MISO line low during power on to suggest to the BMC chip that its QSPI flash isn't programmed (note that QSPI starts up as 'regular' SPI and then switches over[1]). I would guess that the next thing the BMC would do is assume it…

One question: how do you hold an existing line low without drawing lots of current, and without cutting that line first?

"Lots of current" in this case would only be about 20mA, generating heat that you can easily dissipate from just the surface of a 0201 resistor. I doubt many microprocessors have pins that can drive higher current than that.

Realistically, in order to drive it low you don't have to bring it down to 0V. Most 5V chips will stop registering logic high around 2.5-3.3V for example.

Post reply on HN