Massive Pre 2011 Intel CPU Exploit

ShintaiDK

Lifer
Apr 22, 2012
20,378
145
106
They say ANY x86 CPU.

I dont really see a big issue in pre 2011.

Also this part means your system is already compromised:

Thankfully, exploitation of the vulnerability requires low-level access to the host system - meaning that an attacker wishing to make use of the flaw to implant malicious code in ring -2 would already need to have ring 0 access, the highest level of access typically available to user-level code.
 
Last edited:

ShintaiDK

Lifer
Apr 22, 2012
20,378
145
106
A VM shouldnt run in ring0. They run in ring1.

It may be different between certain VM hypervisors tho.

 
Last edited:

Schmide

Diamond Member
Mar 7, 2002
5,590
724
126
Firmware mode would be akin Real Mode and is initiated before Protected Mode. There are no pages nor masked interrupts. Basically you can hook any request before the operating system gets it.
 

zir_blazer

Golden Member
Jun 6, 2013
1,184
459
136
A VM shouldnt run in ring0. They run in ring1.

It may be different between certain VM hypervisors tho.

Intel VT-d and AMD-V were considered Ring -1 in some papers, so that's where the Hypervisor runs. And as far that I recall, Ring 1 and 2 are barely used in the x86 world since for portability reasons with other architectures which have more simple Ring designs, they use only Ring 0 and 3.

I recall having suggested a year or so ago that SMM was related to how Intel programs Processors to enable/disable feature bits and such, when a Core i5 that magically had Hyper Threading turned on appeared on overclock.net.
 

VirtualLarry

No Lifer
Aug 25, 2001
56,450
10,119
126
Looks like fun. Crazy exploit idea. I like it. Pretty freaking brilliant.

I've done some programming back in the day in "flat real mode" on 386's, which is somewhat similar to SMM mode (I think), in that you have essentially full physical access to a machine's hardware. (TBH, my memory is pretty fuzzy, I don't remember if the 386 even had SMM.)
SMM is supposed to exist in a special protected memory space. (It used to use the same aliased system memory used for the VGA memory address space.)

Edit: It will be interesting to see if AMD CPUs are vulnerable to this.
 

ShintaiDK

Lifer
Apr 22, 2012
20,378
145
106
Intel VT-d and AMD-V were considered Ring -1 in some papers, so that's where the Hypervisor runs. And as far that I recall, Ring 1 and 2 are barely used in the x86 world since for portability reasons with other architectures which have more simple Ring designs, they use only Ring 0 and 3.

I recall having suggested a year or so ago that SMM was related to how Intel programs Processors to enable/disable feature bits and such, when a Core i5 that magically had Hyper Threading turned on appeared on overclock.net.

VT-D/AMD-Vi is very rarely used.
 

Burpo

Diamond Member
Sep 10, 2013
4,223
473
126
Worry for nothing..
"These things have not happened yet, and the level of expertise needed to exploit this bug to do these things is certainly high. And, to top it off, you do need access to Ring 0 memory to get to SMM, so using this for privilege escalation is questionable right now."
 

zir_blazer

Golden Member
Jun 6, 2013
1,184
459
136
VT-D/AMD-Vi is very rarely used.
I mean, VT-x and AMD-V. I think you should figure it out that I made a typo there.

And VT-d itself isn't "very rarely used". I used it daily since I use a VM for my gaming needs and VT-d is a must to get the GPU in there.
 

DrMrLordX

Lifer
Apr 27, 2000
21,808
11,164
136
Edit: It will be interesting to see if AMD CPUs are vulnerable to this.

I concur. AMD's market share may have dropped to the point of non-existence in today's market, but 5-7 years ago, they were still selling a fair number of chips. There are a lot of K10.5 Stars chips still in use/circulation. The used market for those things is still alive and kicking.
 

jhu

Lifer
Oct 10, 1999
11,918
9
81
That's why all my machines are Itanium (although my Itanium "laptop" does get a little heavy).
 

MrTeal

Diamond Member
Dec 7, 2003
3,586
1,746
136
That's why all my machines are Itanium (although my Itanium "laptop" does get a little heavy).

Great battery life with the generator and 5 gallon jerry can accessories though.
 

jhu

Lifer
Oct 10, 1999
11,918
9
81
Great battery life with the generator and 5 gallon jerry can accessories though.

I get a good 3 hours out of that, just enough time to stave off leg ischemic damage due to poor circulation.
 

ninaholic37

Golden Member
Apr 13, 2012
1,883
31
91
(TBH, my memory is pretty fuzzy, I don't remember if the 386 even had SMM.)
This is what I found on Wikipedia (do you remember now? :biggrin: ):

It was first released with the Intel 386SL.[1] While initially special SL versions were required for SMM, Intel incorporated SMM in its mainline 486 and Pentium processors in 1993. AMD copied Intel's SMM with the Enhanced Am486 processors in 1994. It is available in all later microprocessors in the x86 architecture.
 

BigDaveX

Senior member
Jun 12, 2014
440
216
116
Make a program that will unlock hyperthreading on older intel processors

Nah, make a program that will unlock that "reverse-hyperthreading" mode that everyone was talking about before Conroe arrived, but never showed up for some strange reason!
 

sm625

Diamond Member
May 6, 2011
8,172
137
106
The NSA must have found a better way to get into everyone's machines.
 

zir_blazer

Golden Member
Jun 6, 2013
1,184
459
136
Nah, make a program that will unlock that "reverse-hyperthreading" mode that everyone was talking about before Conroe arrived, but never showed up for some strange reason!
The guy that talked a lot about that was Charlie from The Inquirer (Now he is on SemiAccurate).

There is a point in SMM. It is pretty much undocumented and can be used for a lot of nasty tricks. Since Intel uses just a handful of physical dies for a thousand different SKUs, there should be an easy way to program their specs to them AFTER the binning process. It may even be by using a special Socket that make contact with pins that aren't used on the standard version and enables the model specific registers write mode. However, when Intel launched their "CPU upgrade" pilot programs some years ago that could unlock features on some specific CPUs, I got obsessed that there is a pure Software way to deal with this.
 

MrTeal

Diamond Member
Dec 7, 2003
3,586
1,746
136
The guy that talked a lot about that was Charlie from The Inquirer (Now he is on SemiAccurate).

There is a point in SMM. It is pretty much undocumented and can be used for a lot of nasty tricks. Since Intel uses just a handful of physical dies for a thousand different SKUs, there should be an easy way to program their specs to them AFTER the binning process. It may even be by using a special Socket that make contact with pins that aren't used on the standard version and enables the model specific registers write mode. However, when Intel launched their "CPU upgrade" pilot programs some years ago that could unlock features on some specific CPUs, I got obsessed that there is a pure Software way to deal with this.

That would be an incredible unlock, if it were possible. If you could buy a hex core 2603v3 for $200 and software mod it to an unlocked 8(16), it would be an ridiculous value at least until Intel shut it down in future generations.
 

thetuna

Member
Nov 14, 2010
128
1
81
I was under the impression that Intel physically fuses off the extra cores and hyperthreading.
Although, I've never seen any actual proof of that, so maybe it is possible.
 

ShintaiDK

Lifer
Apr 22, 2012
20,378
145
106
Its fused off yes. People just dream of unlocks.

Intel have sold a couple of products that could be "updated". But not in this way.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |