- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have run attestation on my Thinkpad T470 with Core i5 806E9 7th Gen (Kabylake) with the latest microcode 0x8E from Bios update 1.53 released 9/10/2018 and get CONFIGURATION_NEEDED.
CONFIGURATION_NEEDED is defined in the IAS API as -The EPID signature of the ISV enclave QUOTE has been verified correctly, but additional configuration of SGX platform may be needed (for further details see Advisory IDs).
Digging further through the Response Header
advisory-url : https://security-center.intel.com
advisory-ids : INTEL-SA-00161
Looking through the advisory INTEL-SA-00161 it appears that the issue was addressed with the INTEL-SA-00115 with microcode 0x8E on this processor.
So what is the logic behind CONFIGURATION_NEEDED, is this to flag that the microcode fix is insufficient to address this issue? Are software mitigations also required to address this issue? Can we please have some clarification.
Regards,
-Arthur
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good afternoon Arthur and more generally to everyone.
Review section 4.2.1 of revision 4.1 of the Intel SGX API services documentation. A PDF of that document is linked off the primary Intel SGX homepage.
In the process review your BIOS configuration settings and if hyper-threading is enabled disable it.
The CONFIGURATION_NEEDED status is returned under two separate conditions:
- An EPID has been provisioned to the platform and sealed against the most recent Trusted Computing Base (TCB) specification for the platform but hyper-threading is enabled.
- The platform has not been provisioned against the current platform TCB (GROUP_OUT_OF_DATE) and the platform does not have the security sensitive BIOS microcode update applied.
Based on the description of your platform and its configuration I suspect you are falling into condition one.
It is important to be aware that the state of enablement of hyper-threading has an impact with respect to the Security Version (SVN) of the platform. This in turn translates to implications with respect to static key derivation by the ENCLU[EGETKEY] instruction. As a result of this, keys generated with hyper-threading disabled will not be available if the platform is running with hyper-threading enabled. This is secondary to the fact that, secondary to FORESHADOW, a hyper-threading enabled platform is considered to be less secure then one which has hyper-threading enabled.
Best wishes for your SGX development efforts and for a productive remainder of the week.
Dr. Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Greg,
Good call, turns out that CONFIGURATION_NEEDED does mean "you need to turn off hyper-threading" in this case.
Fortunately the ThinkPad offered the ability to switch off hyper-threading in the BIOS and the result was isvEnclaveQuoteStatus = OK.
Beware that not all machines have this option in the BIOS, and switching off hyper-threading does impact performance.
Hopefully the next generation of processors will not require this 'configuration', but it would be good if someone can confirm this.
Regards,
-Arthur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Arthur,
How did you manage to shut down hyper-threading in BIOS in thinkpad? I cannot find it.
Thanks!
Gordon, Arthur wrote:Hi Greg,
Good call, turns out that CONFIGURATION_NEEDED does mean "you need to turn off hyper-threading" in this case.
Fortunately the ThinkPad offered the ability to switch off hyper-threading in the BIOS and the result was isvEnclaveQuoteStatus = OK.
Beware that not all machines have this option in the BIOS, and switching off hyper-threading does impact performance.
Hopefully the next generation of processors will not require this 'configuration', but it would be good if someone can confirm this.
Regards,
-Arthur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ah I figured it out with a bash script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Hszz09,
I was about to say that I don't currently have the Thinkpad (T470) with me, but it looks like you have found a solution anyway.
I believe (but can't verify) I had an option under BIOS > Config > CPU. Interestingly that option does not exists on the Thinkpad emulator https://download.lenovo.com/bsco/index.html. However I am running the latest BIOS, and it could have been added into a later version, so make sure that you are running the latest BIOS for your hardware.
I found the following links that maybe useful to others
* Thread on disabling HT on Thinkpads https://forums.lenovo.com/t5/ThinkPad-T400-T500-and-newer-T/How-do-you-disable-hyperthreading-on-a-T480/td-p/4294634
* Disabling HT using bash script on Ubuntu https://askubuntu.com/questions/942728/disable-hyper-threading-in-ubuntu
Regards,
-Arthur
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/responsive_peak/images/icon_anonymous_message.png)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page