TL;DR: memcmp(received_passwd_hash, correct_passwd_hash, received_pwd_hs_len) Hey, at least they didn't read past the submitted buffer. edit: Note that this is only pseudocode and rumor has it that ME firmware is actually written mostly in Java. It's not immediately clear to me how to create equivalent bug in Java, the obvious string.equals() method doesn't ignore length mismatch. edit2: s/passwd/passwd_hash to satis…
> [...] how to create equivalent bug in Java, the obvious string.equals() method [...] Java Card, the Java version made for smart cards, does not have strings, and thus no String.equals(). Thought I remembered this from a CCC conference about EMV chips or SIM cards (don't remember which) a few years ago. Googling seems to confirm it: https://community.oracle.com/thread/1751610?db=5
Rediscovering the Intel AMT Vulnerability
81–90 of 94 posts
Re: Rediscovering the Intel AMT Vulnerability
#82Earlier quoted context omitted.
> If they're embedding an entire oracle JVM then it's probably pretty safe. This sounds a bit strange to me. Oracle releases a lot of updates for the JRE. eg Java 8 is up to number 131 at the time of writing this, though they're probably (hopefully!) not all security updates: • http://www.oracle.com/technetwork/java/javase/downloads/inde... • http://www.oracle.com/technetwork/java/javase/8u-relnotes-22... With that i…
Oracle JVM is a huge and complicated beast, it's a ridiculous thing to embed in a chip. On the other hand, it's thoroughly tested, and security vulnerabilities are (generally?) fixed in a timely fashion. A home made, completely un audit able, built in JVM (that apparently can't be updated based on your comments) seems crazy dangerous. Just saying "it's probably ok, because it's java" as the op alluded to is a very da…
Re: Rediscovering the Intel AMT Vulnerability
#83So now that there's more info out, this is only a threat if you have remote management provisioned? And to provision it, you first need code execution on the box? Is the impact of this bug basically nothing to most users? And to provisioned users, it's just as bad as any bug on a remote management system? That is, the fact it's built in to the CPU makes no difference?
You can search here to get a list; e.g. select {vPro: yes, Embedded graphics: yes} to see "normal" CPUs that are affected.
Re: Rediscovering the Intel AMT Vulnerability
#84Earlier quoted context omitted.
Unfortunately, a "management engine" with some degree of control over the CPU is necessary for, well, management. As in remote management, which is something that big corps with thousands of machines want, and the more control it gives the better. The code itself is as secret as the code of any proprietary Windows-based remote administration tool they could supply as a poor man's substitute if the ME didn't exist. It…
This is a bit of a fig leaf. If it was just for enterprise users there would be no reason to impose it on everyone. It would be positioned as an enterprise exclusive with a price premium. The fact that both AMD and ARM integrated similar technologies at around the same time is too much coincidence. All the signs point to bad actors but for some the bar of evidence is either another Snowden level sacrifice or Intel pr…
AMT is positioned as enterprise exclusive with a price premium, that's how Intel's pricing usually works. The underlying hardware (the ME) is not, because it's used for other things too. On old chipsets you can clear the ME firmware and the computer will miss some weird features but otherwise work, on newer chipsets it won't work at all. That's why every chip has the ME even if many chips don't have the AMT.
> The fact that both AMD and ARM integrated similar technologies at around the same time is too much coincidence.
AMD: not coincidence, competition.
ARM: See the sibling post.
Re: Rediscovering the Intel AMT Vulnerability
#85Earlier quoted context omitted.
This is a bit of a fig leaf. If it was just for enterprise users there would be no reason to impose it on everyone. It would be positioned as an enterprise exclusive with a price premium. The fact that both AMD and ARM integrated similar technologies at around the same time is too much coincidence. All the signs point to bad actors but for some the bar of evidence is either another Snowden level sacrifice or Intel pr…
> The fact that both AMD and ARM integrated similar technologies at around the same time is too much coincidence. Don't believe the FSF's FUD. TrustZone is really not comparable at all to Intel's Management Engine or AMD's Secure Processor: * TrustZone is an operating mode of the CPU, not a separate processor. Fundamentally, it's not all that different from supervisor mode; it's just more privileged. (If you really w…
Don't believe anti-FSF FUD. If you think they have an issue with TrustZone itself, as opposed to devices using it without owner's control, I'd love to see the links.
Re: Rediscovering the Intel AMT Vulnerability
#86Next, we reduced the response hash to one hex digit and authentication still worked. Continuing to dig, we used a NULL/empty response hash (response="" in the HTTP Authorization header). Authentication still worked. We had discovered a complete bypass of the authentication scheme. What. the. fuck. This is not the kind of bug you should ship in anything if you have the barest bit of testing in place, much less a large…
Wow. Just Wow. After reading about this over several days I would have never guessed it was such a gaping hole. This reminds me of a software bug I encountered in the 90s with a version of the Renegade BBS software (a Telegard hack). In one minor revision, you could login to any account by just not bothering to enter a password. Though the "sysop" (admin) account often had a custom name, for convenience, you could lo…
Re: Rediscovering the Intel AMT Vulnerability
#87Next, we reduced the response hash to one hex digit and authentication still worked. Continuing to dig, we used a NULL/empty response hash (response="" in the HTTP Authorization header). Authentication still worked. We had discovered a complete bypass of the authentication scheme. What. the. fuck. This is not the kind of bug you should ship in anything if you have the barest bit of testing in place, much less a large…
Well... I agree with you in principle, but in practice I find developers often to forget that code fails the way it is supposed to fail, when it is supposed to fail. In the authentication case, everyone remembers to check that when you're supposed to be logged in, you can access what you should be able to access. But it's really common to not think to test that when you're not logged in you shouldn't be able to acces…
Re: Rediscovering the Intel AMT Vulnerability
#88Earlier quoted context omitted.
This is a bit of a fig leaf. If it was just for enterprise users there would be no reason to impose it on everyone. It would be positioned as an enterprise exclusive with a price premium. The fact that both AMD and ARM integrated similar technologies at around the same time is too much coincidence. All the signs point to bad actors but for some the bar of evidence is either another Snowden level sacrifice or Intel pr…
> If it was just for enterprise users there would be no reason to impose it on everyone. It would be positioned as an enterprise exclusive with a price premium. AMT is positioned as enterprise exclusive with a price premium, that's how Intel's pricing usually works. The underlying hardware (the ME) is not, because it's used for other things too. On old chipsets you can clear the ME firmware and the computer will miss…
For the sake of argument more than anything, were AMD even remotely competitive with Intel in the enterprise sector at the time they introduced their version of this technology? Sure, they might need it one day (which may be soon) and it'd be nice to have it out there and supported, but I'm not totally convinced by this argument.
Re: Rediscovering the Intel AMT Vulnerability
#89Re: Rediscovering the Intel AMT Vulnerability
#90Earlier quoted context omitted.
This is a bit of a fig leaf. If it was just for enterprise users there would be no reason to impose it on everyone. It would be positioned as an enterprise exclusive with a price premium. The fact that both AMD and ARM integrated similar technologies at around the same time is too much coincidence. All the signs point to bad actors but for some the bar of evidence is either another Snowden level sacrifice or Intel pr…
> The fact that both AMD and ARM integrated similar technologies at around the same time is too much coincidence. Don't believe the FSF's FUD. TrustZone is really not comparable at all to Intel's Management Engine or AMD's Secure Processor: * TrustZone is an operating mode of the CPU, not a separate processor. Fundamentally, it's not all that different from supervisor mode; it's just more privileged. (If you really w…