Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
[REQUEST] Lenovo Y400 & Y500 (6BCNxxWW) ...
Last Post: freedome
Today 08:36 PM
» Replies: 156
» Views: 53508
Request for Modded BIOS with AI Tweaker ...
Last Post: CertifiedCosmos
Today 05:04 PM
» Replies: 0
» Views: 39
Lenovo ThinkCentre M71e GPU Whitelist re...
Last Post: saschalein
Today 03:23 PM
» Replies: 0
» Views: 50
[REQUEST] Lenovo Ideapad 330S-15ARR (7WC...
Last Post: nadolivbios
Today 01:26 PM
» Replies: 25
» Views: 6026
How To Add SLIC 2.1 To An Intel Motherbo...
Last Post: sanya.silitskiy
Today 11:52 AM
» Replies: 73
» Views: 219776
[REQUEST] 13w Yoga Gen 2 (Type 82YR) (KB...
Last Post: SiberianTiger97
Today 09:48 AM
» Replies: 2
» Views: 137
Acer Extensa 5620: CPU replace
Last Post: MPM
Today 08:28 AM
» Replies: 2
» Views: 92
[REQUEST] Sony Vaio VPCEH & VPCEJ series...
Last Post: nrns
Yesterday 08:08 PM
» Replies: 232
» Views: 98243
[REQUEST] Lenovo Y70-70 (9ECNxxWW) White...
Last Post: Dudu2002
Yesterday 02:35 PM
» Replies: 103
» Views: 23836
[REQUEST] Lenovo Yoga 2 Pro (76CNxxWW) W...
Last Post: Dudu2002
Yesterday 07:29 AM
» Replies: 847
» Views: 323375
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
Yesterday 07:28 AM
» Replies: 26
» Views: 917
[REQUEST] Lenovo ThinkPad P14s 3rd Gen 1...
Last Post: Dudu2002
Yesterday 07:26 AM
» Replies: 4
» Views: 274
Add CPU support Lenovo M715s
Last Post: pashtet440
Yesterday 06:56 AM
» Replies: 0
» Views: 116
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
04-14-2024 09:02 AM
» Replies: 1733
» Views: 541644
Dell Latitude 5520 - get to know passwor...
Last Post: yeti1299
04-14-2024 06:48 AM
» Replies: 2
» Views: 223
[REQUEST]: Asus TP420IA - how to dump bi...
Last Post: quantumx3
04-14-2024 05:34 AM
» Replies: 0
» Views: 197
[REQUEST] Lenovo Y50-70 (9ECNxxWW) BIOS ...
Last Post: Nightdemon2001
04-14-2024 01:13 AM
» Replies: 2319
» Views: 655962
[REQUEST] Lenovo B575 (52CNxxWW) Whiteli...
Last Post: thepwrtank18
04-13-2024 06:13 PM
» Replies: 56
» Views: 20364
[REQUEST] Lenovo B590 (H9ETxxWW) Whiteli...
Last Post: alvaro8905
04-13-2024 05:25 PM
» Replies: 673
» Views: 163330
Lenovo Yoga 14s (slim7Gen 8)
Last Post: Dudu2002
04-13-2024 03:32 PM
» Replies: 12
» Views: 621

[Request] ThinkPad T470 AES-NI Unlock
#1
Smile 
Hey Friends here,
       I got a ThinkPad T470 recently and I found it's unlike the one my friends has sale in America,the AES-NI has been locked by BIOS,though some search on search engine and offical site of Intel I know that I5 6300u support AES-NI,but it was disabled by BIOS,when we power on the machine,at Init period,BIOS will writes 11b to MSR register:
[Image: intel-doc.jpg]

But,I got a BIOS backup from my friend,since he has a America version of T470,and Flash it into the one I have,it doesn't work(runs perfectly but no AES enabled).So I guess there was some check in BIOS,if they found this is a sale in restrict area,they disable the AES,mostly I think they check model number,serial number,though compare with my friend's one,easily found that his model number is 20JM000SUS,mine are 20JMA00CCD(mine is Chinese version).So at first I tried use offical flash tool running on system to change the model number(with US BIOS),the tool told me successful changed model number,but when I reboot it I found it only changed the model number which OS got,at first page of BIOS setting it still showed orignal  20JMA00CCD,then I found if we flash with iso image(flash without OS)we have a choice to change the model number,but T470 doesn't has a CD or DVD ROM,so we need to "burn" that iso image into some capable usb stick,unfortunately I don't have one handy now.So back to extract bios,I found the Andy's SLC tool could successful extract the BIOS,but with days of search and check by using IDA and http://www.jakobheinemann.de/en/projects/j-asm.html jasm tool I cannot make sure the right one file and location to modify,So can you help on this?It's my honor and there will be a lot people got help from here.
The BIOS file with flash tool on OS:
https://pcsupport.lenovo.com/us/en/produ...s/DS120429

ISO image of BIOS:
https://pcsupport.lenovo.com/us/en/produ...s/DS120430


Sincerly,
Aaron
find
quote
#2
Attach full TXT report of CPU-Z.
find
quote
#3
Wink 
(10-25-2017, 11:49 AM)DeathBringer Wrote: Attach full TXT report of CPU-Z.

Glad to receive your reply Tongue ,the text report of CPU-Z is here 
https://www.sendspace.com/file/4vvhkw
password:bios-mod


Attached Files
.zip   cpu-z.zip (Size: 8.47 KB / Downloads: 4)
find
quote
#4
Well. Post a screenshot of regedit with expanded key HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0
Ask your friend for such screenshot too.
find
quote
#5
(10-26-2017, 12:04 PM)DeathBringer Wrote: Well. Post a screenshot of regedit with expanded key HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0
Ask your friend for such screenshot too.

Hi,mine regedit info here:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0]
"Component Information"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"Identifier"="Intel64 Family 6 Model 78 Stepping 3"
"Configuration Data"=hex(9):ff,ff,ff,ff,ff,ff,ff,ff,00,00,00,00,00,00,00,00
"ProcessorNameString"="Intel® Core™ i5-6300U CPU @ 2.40GHz"
"VendorIdentifier"="GenuineIntel"
"FeatureSet"=dword:21193ffe
"~MHz"=dword:000009c0
"Update Signature"=hex:00,00,00,00,be,00,00,00
"Update Status"=dword:00000002
"Previous Update Signature"=hex:00,00,00,00,be,00,00,00
"Platform ID"=dword:00000080

I'll post his regedit info once he reply me on skype

Nice day,
Aaron
find
quote
#6
(10-28-2017, 02:59 AM)Aaron Wrote: I'll post his regedit info once he reply me on skype
OK.
I need also current dump of your BIOS.
find
quote
#7
(10-29-2017, 03:44 AM)DeathBringer Wrote:
(10-28-2017, 02:59 AM)Aaron Wrote: I'll post his regedit info once he reply me on skype
OK.
I need also current dump of your BIOS.

Hi DeathBringer,
    Sorry for reply so late,I'm trying to reverse rom file these days too,and bios backup file is here:
    https://file.io/z1mQca
    password:bios-mod
    
    file: officaltool-directory.7z        offical flash tool on windows.
    directory: Extracted-by-Andy-Tool-from-offical-biosfile     there are lot file extracted by Andy's tool before,but that makes a big zip file hard to upload,so I deleted it finally,you can extract it again by Andy's tool.

    The current-BIOS isn't easy to backup,I tried a lot tool and Universal BIOS Backup Toolkit is the only one works,but I checked the author of Universal BIOS Backup Toolkit's posts and he said:
"Some of PC can reflash back directlly , but the Pheonix BIOS can't reflash back directlly use phflash tools for backup bios is not include "Tail" (flsah CFG ), so you need to add the "Tail" to the backup file for reflash. Other way is use a Programmer to burn chip Directly."    at https://forums.mydigitallife.net/threads...t.9856/,so maybe modified bios may not easy to flash back,if any need I'll buy a "burn" programmer to flash it.

    So I add the orignal offical file in the zip file too,named $0AN1Q00.FL1,which we can also extract by Andy's tool may help in some situation.
    And one thing I want to explain is that,the picture in main posts may not adapted to i5 6300u,documents on https://www.intel.com/content/www/us/en/...urces.html didn't mention about AES-NI keyword.I'll keep search and try to find any further info for this unlock.Recently I'm trying to use BITS(BIOS-Implementation-Test-Suite-from-Intel) to test it https://downloadcenter.intel.com/downloa...Suite-BITS-

   Another compare to offical bios update file's sha1 and crc32 showed all 20JM series(T470) share the same bios file,no matter it's sale in America,China,Russia or any country.(I download from different country's support offical site of lenovo).

    And,I got the regedit info from my friend,looks exactly the same without the name and frequency:

"Component Information"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"Identifier"="Intel64 Family 6 Model 78 Stepping 3"
"Configuration Data"=hex(9):ff,ff,ff,ff,ff,ff,ff,ff,00,00,00,00,00,00,00,00
"ProcessorNameString"="Intel® Core™ i5-6200U CPU @ 2.30GHz"
"VendorIdentifier"="GenuineIntel"
"FeatureSet"=dword:21193ffe
"~MHz"=dword:000008fc
"Update Signature"=hex:00,00,00,00,be,00,00,00
"Update Status"=dword:00000002
"Previous Update Signature"=hex:00,00,00,00,be,00,00,00
"Platform ID"=dword:00000080

   And,Lenovo has makes a lot restriction here to prevent user do any kind of modify on BIOS,I know this is not a easy work for anyone even for most expert here,but no matter it will success or not,I'll keep try and provide any info you need.

Have a nice day,
Aaron
find
quote
#8
I've found the code in PE32 image section of module SiInit (GUID=299D6F8B-2EC9-4E40-9EC6-DDAA7EBF5FD9 : EE4E5898-3914-4259-9D6E-DC7BD79403CF):
Code:
10A1E  mov     ecx, 13Ch
10A23  rdmsr
10A25  mov     ecx, eax
10A27  and     ecx, 1
10A2A  or      ecx, 0
10A2D  jnz     $+2B                    ; MSR is locked, go away.
10A2F  test    byte ptr [esp+10h], 20h
10A34  mov     [esp+1Ch], edx
10A38  jz      $+0Ah
10A3A  and     eax, -3                 ; Enable AES
10A3D  or      eax, 1                  ; Lock MSR
10A40  jmp     $+5
10A42  or      eax, 3                  ; Disable AES and lock MSR
10A45  mov     [esp+18h], eax
10A49  mov     edx, [esp+1C]
10A4D  mov     eax, [esp+18]
10A51  mov     ecx, 13Ch
10A56  wrmsr
find
quote
#9
I think I've found the reason why your friend has AES but you haven't. But I need some bytes from laptops memory.
You should use RWEverything for it. Try portable version.
Run it and press third button (Memory Dump), change address to FF89D000 and make a screenshot.
find
quote
#10
(10-29-2017, 02:55 PM)DeathBringer Wrote: I think I've found the reason why your friend has AES but you haven't. But I need some bytes from laptops memory.
You should use RWEverything for it. Try portable version.
Run it and press third button (Memory Dump), change address to FF89D000 and make a screenshot.

Cool !!!!  Big Grin Big Grin Big Grin   screentshot here:
[Image: www.png]
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)