Supermicro server BMCs left exposed to remote attack by any USB device
secalerts.co
secalerts.co
However, reading around I learned that if the controller doesn't succeed in getting a DHCP address on the Realtek interface (unplugged, or apparently in Supermicro's case just a failed DHCP server), it will automatically switch to sharing the first Intel NIC.
You can disable it in the BIOS, but I've had problems in the past where I thought I disabled IPMI on the LAN but either didn't do it correctly or it reverted itself. It doesn't help that there are a ton of ambiguously named, poorly documented options.
To be on the safe side I've plugged both the Realtek and #1 Intel jack. I usually prefer to use the RS-232 serial port for management as it's more fool-proof, but unfortunately this MB doesn't have one. I could install one, but it doesn't make me any more confident that the BMC isn't (now or in the future) on the network.
I understand how useful these BMCs can be, especially for Windows machines, but they're so extremely dangerous. It sucks that they're so ubiquitous, and it sucks that SuperMicro's BMC seems to be the worst of them all in terms of security and bugginess. Unfortunately, a SuperMicro motherboard and case is the only way to get a low-power AMD EPYC server into a small, 1U, short-depth form factor. There are a few more options for Intel, but SuperMicro is still your best bet for do-it-yourself server hardware.
I really love my three PC Engines APUs. Simple serial connection, coreboot firmware, and other than AMD's PSP chip and perhaps the Intel NIC controller, no hidden vectors for remote access. And it has an RS-232 serial port, which because there's no GPU (or at least no video port) both the BIOS and most BSD and Linux distros will automatically use by default.
It'd be awesome if PC Engines built something using EPYC or even Ryzen, stripping everything down like they did for the APU and ALIX. But their niche is low-powered, passively cooled x86 devices using older, more reliable, cheaper, well-documented SoCs. Soekris tried to go upmarket with the net6501 and ended up folding. (They still sell custom DAC hardware from their EU outfit.) There's not enough of a market to make it worthwhile to take the risk. Lots of people love the idea in theory, but what people end up doing is sticking with traditional server suppliers, or in the home, hobbyist, and small business market just buying one of the many faster small form factor boxes that have flooded the market. The problem with those alternatives is that the boards are packed with too much crap, they're too diverse, and every model and family of models short-lived.
In larger deployments, you should have separate management networks anyway.
It's not that SuperMicro has the worst BMC. It's that all BMCs/IPMI/iLO/iDRAC are terrible at security, so you need to treat them just like console ports,
You generally don't expect a DHCP server going down somewhere, possibly in a side-network where it may not be noticed, to cause a management system to open up on a server's publicly connected NIC when it reboots (man, I hope it requires a reboot!). That renders all your careful segregation of your control network completely useless with one service failure and a reboot. Sucks to be you if that DHCP server is on the same circuit as some other servers and they all power cycle at once, because I bet the BMC tries to DHCP an address before the DHCP server boots entirely.
To me, it seems like a very poor default behavior. I can see the benefit if you know what you're doing and want to enable it though.
Good luck with that, on many devices the BMC gets silently bridged onto the lan ports even if you make a significant effort to prevent it.
Even where you think you have it isolated and have tested, you may later find yourself thwarted when an unoverridable bridge gets triggered any time the dedicated BMC port's link is down.
I don't think that's true.
I can't speak for all devices, but I've worked with a lot of Dell and SuperMicro servers and they all have an option in the BIOS for this. You specify if the BMC should operate on it's own dedicated network port or share the network port used for primary network uplink.
From the network traffic logs I've gathered, I've never seen any indication of the BMC interfering with the primary LAN ports when the BMC is set to use the dedicated LAN port. Additionally, the BMC doesn't revert back to the shared port if the link is broken on the dedicated port -- the BIOS setting prevents that.
At my company we've configured all of the BMCs to use the dedicated LAN port, those LAN ports are connected to physically separate top of cabinet switches, and those switches are linked to a fully independent core router with it's own independent uplink to the internet. The BMCs are only assigned private network IPs and can only be accessed by outside users through a VPN. This is all very standard practice for the hosting industry.
They do, but on the three supermicro board types I have here, simply doing that but then leaving the BMC port disconnected results in them bridging onto the lan anyways. They obey the setting but only so long as a link is up on the BMC port.
I'm responsible for netsec at my company and I've never seen any indication of the BMC network activity on primary network ports after I've configured the BMC in BIOS to use it's dedicated network port.
I'm going to be a little blunt, but the pattern of "there's a well-known company that's done something bad, you probably use their products, but I can't tell you what company because [I don't want to be deposed in a libel lawsuit / I want to feel intellectually superior]" is really long in the tooth, and doesn't add value to the discussion other than to pique everyone's paranoia.
https://docs.ovh.com/gb/en/dedicated/use-ipmi-dedicated-serv...
My only regret is that it took us so long to discover and switch to OVH - there are a few wrinkles but it’s such fantastic value compared with colo, let alone AWS/GCP/azure
It feels like maybe Bloomberg knew of something but got the wrong root cause- it seems a lot more likely for someone to sneak in a slightly-reprogrammed BMC than change board layouts /etc., especially considering just how much control BMC's have.
Yikes.
So I search for "IPMI password", and get this.[1]
"On modern Supermicro IPMI interfaces the default login/ password is:"
Login: ADMIN
Password: ADMIN
That's convenient. Well-documented, too. Is that enabled by default?[1] https://forums.servethehome.com/index.php?resources/supermic...
I was talking to one of the Bloomberg engineers at a bar about six months before the story dropped. There was _something_ and it was _big_, but didn't get any more information than that. The story dropped, and the story was idiotic, but there was still something there. This is probably it.
Or there are the specific quotes from the Bloomberg piece -- "the microchip altered the operating system's core so it could accept modifications" -- is so obtuse that it not only fails to inform the reader, but also sounds like some sort of pseudo-technobabble from someone who doesn't know what they're talking about. Ostensibly, if this story were true, the sources would say something like, "this chip contained a code that overwrote settings, allowing remote access". You know, something that seems like it passed through an editor.
Or there is the fact that the source checking on the story amounted to going to one guy, asking a question, having him say, "yeah, that's possible", coming back a few weeks later with another question, having the source say, "yeah, that's possible too", and assuming these possibilities add up to a certainty.
The bloomberg big hack story is the worst researched and most poorly presented piece of writing in recent memory. It is idiocy in the classical greek sense -- it is disconnected from the polis and any semblance of reality. The authors are still writing for Bloomberg, too.
Except if they were looking for it. An implant inside the board would be persistent across swapping out or re-imaging the the flash, _and_ wouldn't benoticable unless you were x-raying the board.
And yeah, the graphics weren't perfect, welcome to journalism.
> Or there are the specific quotes from the Bloomberg piece -- "the microchip altered the operating system's core so it could accept modifications" -- is so obtuse that it not only fails to inform the reader, but also sounds like some sort of pseudo-technobabble from someone who doesn't know what they're talking about. Ostensibly, if this story were true, the sources would say something like, "this chip contained a code that overwrote settings, allowing remote access". You know, something that seems like it passed through an editor.
IDK, it sounds like the implant would override one of the keys built into the image, whether that's an update key or a remote access key.
> Or there is the fact that the source checking on the story amounted to going to one guy, asking a question, having him say, "yeah, that's possible", coming back a few weeks later with another question, having the source say, "yeah, that's possible too", and assuming these possibilities add up to a certainty.
> The bloomberg big hack story is the worst researched and most poorly presented piece of writing in recent memory. It is idiocy in the classical greek sense -- it is disconnected from the polis and any semblance of reality. The authors are still writing for Bloomberg, too.
I still haven't heard a legitimate reason from you what doesn't make sense here other than vague "this doens't make sense, I'm so much more intelligent than them".
And I'm an FPGA developer who's personally screwed up SPI flashes via a very similar mechanisms just from bugs.
I would be interested in your response, as it seems you both present yourself as having good information regarding what is likely or possible in n this space, yet seem to have very different ideas as to what that is.
For example, Dell's default config on BMC/Idrac (at least 4-5 years ago when I tested) do not have brute force prevention and by default utilising a special CLI program, you can logon to a DRAC from the host OS.
Therefore, if a host got compromised, even if Idrac is on a different network, you could in theory bruteforce from the host credentials and jump/attack the management network.
FYI, for Dell, the command to disable this behaviour was racadm config -g cfgRacTune -o cfgRacTuneLocalConfigDisable 1
and it took quite a while to figure this out...
I'm not sure about a DRAC, but for standard BMC units on Dell/SuperMicro servers I am not aware of anyway that you can actually log into the BMC from the host OS.
You can certainly use tools like ipmicfg to reset passwords or configuration on the BMC unit from the host OS, but I don't know of any way that you could actually drop into the command prompt for the BMC and launch an attack on the management network.
As long as you have the BMC on a private IP in an entirely independent network (accessible only via VPN), then a utility like ipmicfg wouldn't help you break into it.