Reminds me of a fascinating DIY approach to the topic: http://spritesmods.com/?art=hddhack&page=1
Interesting (I initially balked at the description āthey figured out how to hide the code in the hard driveā which is like saying they figured out how to run a trojan on a computerā¦ but the issue is they have compromised the HD firmware which is very different.)
This is the sort of option hackers and spies do go for, however. There have been PoCs over the years on various hardware attacks. One recent revelation revealed that the US does contaminate the supply chain, which means they could add entirely new hardware components to systems.
Probably not so obvious to Americans that āwhat you bought your camera in the US, then it must have NSA control code in itā. But, has been evident to even lay people in America for some years that if the device they bought is from China it should be considered compromised.
It will be interesting to see if Kaspersky or someone else releases a free tool to detect such problems and some kind of āthis is who they hacked with this systemā comes out.
It would especially be interesting if that included anyone in the US, such as corporate and private organization VIPs, human rights agencies, and, of course, above allā¦ your friendly neighborhood politicians.
(Note: Kaspersky, it should be pointed out is tied to the Russian intelligence and law enforcement organizations. Not that I have found this to pollute their research papers, but like anyone bed buddies with an intelligence agency their motives and aims should be taken with a healthy grain of salt.)
We need more transparent hardware.
A way to lock the flash memories against writing (so the code can not be compromised by a rogue firmware update - this would probably require the code and data to reside at different chips), a way to audit the code (user-accessible JTAG header?), known-good firmware images (a difficult proposition in the world where vendors are either in the pockets of The Agencies, or at least infiltrated by operatives), and if possible some way to decompile and visualise the firmware code and audit it for undesired functionality - the vendors will not love this as it will make everything āopened-sourceā.
If one state actor has this capability, then we can assume that other states have it too, and we can expect non-state actors to have the tech too. See the earlier link to what one guy with the skills and some extra time can do in this field. And there are way way more such examples Out There.
Hah, good comments, you know your stuff. I have not done much hardware hacking myself but worked on a team where this was done and did not forget the experience. The obfuscation at the time meant to me āeasy pickingsā, post-mortemā¦ I ended up taking a very dim view of pretty much all hardware systems out there (and still have a few annoyances, for instance, with router āsecurityā).
And yes, it was easy pickings for exactly that reason, the obfuscation of it, the obscurity of it. It was clear quite often this was code which was rushed to market with little to no qa whatsoever, and also clear though that it was in that near perfect area of places to find vulnerabilities because it was possible to be ubiquitous or powerful of an attack and at the same time complicated enough to get to that likely others would not find it and duplicate it or protect it. Which leaves hardware companies and the buyers and āidk wtf is under this hood but this puppy is goldenā marketing.
IMO, I strongly suspect some of these systems have had direct or indirect pressures from some intel agencies to keep the floor this dirty.
(I have seen as a software security supplier employee and working at telcos how the government can get what they want done because of the contracts they hold.)
Not sure, however if the situation will change much to becoming more transparent out of security concerns, though this trend is likely inevitable either because of some future yet to happen major security eventā¦ or because of the ever growing expansion of DIY and opensource type software/hardware models.
A consequence of Moores Law and the idiocratic security state. In which every computer needs little computers to ride on it like a fleas on a dog, and the weenies in charge have never heard that obscurity ā security.
Now thereās this (ipmi):
The thing I really REALLY hate about the current cyberwar is that the participants have no intention of cleaning up after themselves. They mindless disseminate attacks and give no thought to defense.
We have been trained by thousands of years of conventional conflict to regard attack as the key to success. But, there is no possibility of long term success in internet attack. It is easy and trivial to create attack. We can easily create attack much faster than we can deploy effective defenses. You canāt use an attack without giving it away to your enemies. You canāt maintain effective attack capability if you donāt practice it on your potential enemies. The end-game of internet attack is to destroy the internet and all interconnected computing devices. There is no other outcome.
If we wish to survive as a technological species, we have to systematically defund and discourage internet attack. We have to treat it like biological warfare. We have to erect diplomatic and economic sanctions against attack. We have to give up on the idea of retaining attack capability against our enemies. You canāt create an effective internet defense without giving it to everybody.
If we donāt stop our own people from attacking, they will destroy us. It doesnāt matter who they attack. The result is destruction for everybody.
IPMI is hardly a recent development, but it has been obscure enough to fly under most peoples RADAR. Check it out, folks! Secondary firmware and CPUs which have made most computers vulnerable to remote āadministrationā or even lockout without the OS or user being aware of it.
Is there a synopsis, please? Or a transcript? 45-minute talk is fairly long to sacrifice uninterrupted focused-to-listening time toā¦
My infrastructure is littered with homebrew fragments of this technology. Computers that can reset or power off/on other computers, supervise their activity by harddrive lights and/or serial consoles, switch from primary to secondary internet by the means of a relay on the ethernet cable, some of the operations in-band via SSH, others out-of-band via text messages. Dirty hacks partially based on a Raspberry Pi, a bunch of shift registers, and a handful of relays and optocouplers.
I wouldnāt worry about IPMI per se; it is a powerful technology that can give you a lot of peace of mind. As long as it is you who has the keys and control.
And of course my new motherboard couldāve had IPMI if I knew I could buy one (but then itād be about two to three times more expensive, and take a day more to source, so Iād have to turn that down). So back to the poor manās hacksā¦
Todo: some hack to coax a raspi to sample VGA output and via a serial line and a microcontroller emulate a keyboard and maybe a mouse, and allow something like VNC for screen access down to the level of BIOS boot. No more having to dispatch somebody to āpress F1 to continueāā¦
Remember that time the CIA was looking for Osama and gave half the polio vaccine and then never came back to finish the job and then everyone in Pakistan pretty much said āthis polio vaccine thing is a total scamā?
Yeah, this just happened to the hard drive market. Sorry Thailand.
Oops! I had heard of IPMI but had mentally confused it with AMT, which is what I was just thinking of. Acronym soup!
Itās mostly a āthingā in the server room. But itās a significant thing.
The tl;dr is that most of the vendors of server-class hardware have these little raspberry-pi-sized pricessors attached to their motherboards, and most of the little processors are running Linux, and are rarely to never patched. And in many cases, they are connected to the public IPV4 internet with little to no firewalling, authentication, or security.
The purpose and intent of the little processor is that it allows the admin to power off, power on, reboot, and update the server without physical access to the system. So for really big ISPs, it saves the effort of locating a system in a campus/building/room/rack, and trundling back there and plugging in a laptop to look at its console log, patch, reboot, etc. The little processor has a separate battery and a separate network connector so it doesnāt go down when the server goes down. The ethernet connection on the IPMI is intended to be on the ISPās internal LAN and firewalled (or not connected) from the internet but not every ISP has done that. And some hardware vendors have designed their IPMI cards to fall back and use the serverās main internet connection if their ethernet isnāt plugged in.
For a while, Dell servers were all using the same SSL cert for their IPMI cards, and the private key was in the firmware, which you could download from Dell. Thatās the sort of security problem ā¦ the speaker in the video shows some other really dumb exploits that he has discovered for the things. Ways to either root the server or kill it remotely.
He said the vendors have patched these exploits, but of course not all admins at all ISPs are keeping the firmware in their IPMI cards up to date, as it doesnāt seem important.
Ahhh. So pretty much a bit more than but mostly what I cobbled together from a Raspberry Pi and optocouplers and chewing gum. With the same update issues, plus some dumb ones (hardcoded passwords, dumbheaded certs,ā¦). Aggravated by it not having the form factor of a computer, so even the admins tend to forget about its presence as a computer.
Noted at that level youāre gonna have a lot of patent fighting, thus I donāt see transparent hardware happening soon. Closest would be what the Chinese culture of āopen sourceā.
The trouble with IPMI is that it is often implemented with the sameā¦rigor and attention to detailā¦that characterizes $20 routers, but with a hell of a lot less 3rd party support and knowledge and much, much, deeper access to expensive hardware doing things better left un-snooped.
The concept isnāt so bad; but if you are going to implant something in a serverās brainstem ādonāt screw upā isnāt just a suggestion.
I suspect that Thailand would be a bit more worried if there were some sort of alternativeā¦
This āequation groupā has exploits for basically all HDD vendors(possibly not all models; but no way to check, and I suspect that similarities across product lines make porting comparatively practical); SSDs arenāt mentioned explicitly; but tend to have even more onboard intelligence(and frequently a fair bit more cache RAM and a bunch of handy āreserveā NAND capacity for hiding things in) so they are, or soon will be, even more dangerous(plus, while there are a lot more SSD ābrandsā, because slapping some NAND and a controller on a board is easy compared to building an HDD, there isnāt actually nearly as much variety in controllers and firmware. Not quite as buttoned up as HDDs; but much of the apparent diversity is just rebadge jobs or minimally altered reference designs.); and both USB and MMC/eMMC/SDIO devices also have integrated controllers powerful enough for proof-of-concept persistent exploits to have been demonstrated.
Youād have to go at least as far down the food chain as fairly dumb NAND/NOR flash packages(eg. no onboard wear leveling or bad block handling) to get something that doesnāt have enough intelligence to potentially bite you.
By contrast, skipping polio vaccines is relatively easy, if you donāt mind a few crippled children.
Sure Iām concerned about my government (and piles of US companies) spying on me, but does anyone worry about Kaspersky?
āBut Kasperskyās rise is particularly notable - and to some, downright troubling - given his KGB-sponsored training, his tenure as a Soviet intelligence officer, his alliance with Vladimir Putinās regime, and his deep and ongoing relationship with Russiaās Federal Security Service, or FSB,ā
From a wired article: http://www.wired.com/2012/07/ff_kaspersky/all/
Itās not really an either/or: Just as the honorable Mr. Snowden is currently in Russia(which is a terrible place to be a leaker of state secrets, or even an opposition journalist; but beats the āfree worldā if youāve just pissed off Uncle Sam a lot), I wouldnāt necessarily trust Kaspersky to not be in bed with the FSB(especially if installed in some really cool location, tipping your hand by owning ma and paās Win 8.1 with Bing cheapo box would be a waste of good secrecy); but they do have an unusually good track record, compared to western āsecurityā firms of actually looking into western fed malware, adding it to virus detection signature lists, etc.
There are probably some pure White Knights(Iām guessing that Richard Stallman isnāt secretly running the FSF in order to sneak an OSS backdoor onto your system); but itās not clear there are nearly enough of them(or enough time away from paying work for them) to rely purely on the better nature of people who are very good at security.
I would very much suspect Kaspersky of potentially having their own entanglements, would not choose them to head up an āIs Vladimir Putin bugging my computer?ā investigation; but that doesnāt change their value when it comes to homegrown dangers, about which more local companies can be pretty feckless(even on much more minor matters, with no feds involved, remember how long it took the Sony rootkit to be deservedly detected and blacklisted by some A/V vendors. There wasnāt even a TLA leaning on them, the mere notion that a ārespectableā company was doing some nice, honest, DRM, was enough.
āTrustā just isnāt a unitary metric for these purposes. If Iām worried about the NSA, Kaspersky is probably my best buddy, since they get brownie points for rubbing egg in the face of the American spooks. If Iām worried about ruskies, or Chinese, Iāll probably have to go elsewhere.
The other thing that makes IPMI cards(or their embedded equivalents) nasty is that, in addition to being an untrusted computer on the LAN, usually with approximately the power of your basic embedded-linux-plastic-box, they often have some impressive(but scary) integration with the computer you care about. Any cheapy embedded box can serve as a backdoor for remote exploits; but a rooted IPMI card can probably reflash your BIOS, emulate HID events, and monitor your video output directly without any additional exploit against the target system.
I canāt believe that a 90s TV show would be right about this.
Trust No One.
Now if youāll excuse me, I have to explore the validity of all those very special episodes of Boy Meets World.