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 G500 (78CNxxWW) Whiteli...
Last Post: Hiva2023
Yesterday 01:15 PM
» Replies: 1185
» Views: 291590
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: CyberBonk
Yesterday 12:45 PM
» Replies: 58
» Views: 17653
HP EliteDesk 705 G5 SFF: CPU Upgrade
Last Post: clogscancer
Yesterday 03:10 AM
» Replies: 3
» Views: 521
[REQUEST] Acer Aspire 5738(G,Z): CPU Upg...
Last Post: lollo90
06-13-2024 05:26 PM
» Replies: 45
» Views: 29495
[REQUEST] Sony VAIO SVE-151 & SVE-171 (R...
Last Post: noodlexd
06-13-2024 08:33 AM
» Replies: 0
» Views: 139
[REQUEST] Lenovo ThinkPad T450(s) (JBETx...
Last Post: portapane
06-13-2024 08:28 AM
» Replies: 135
» Views: 74297
[REQUEST] Acer Aspire 4738(G,Z) BIOS Unl...
Last Post: arisprast1
06-13-2024 01:28 AM
» Replies: 62
» Views: 17268
Acer Aspire 7750G: Ivy Bridge support
Last Post: DeathBringer
06-13-2024 12:23 AM
» Replies: 3
» Views: 335
[REQUEST] Sony VAIO SVE-151 & SVE-171 (R...
Last Post: noodlexd
06-12-2024 06:51 PM
» Replies: 42
» Views: 36182
[REQUEST] IGEL M320C Thin Client
Last Post: Trixxtar
06-12-2024 10:33 AM
» Replies: 1
» Views: 1060
[REQUEST] Acer Nitro 5 AN517-52 BIOS Unl...
Last Post: MATI1XD
06-11-2024 06:36 AM
» Replies: 17
» Views: 3811
MB (A55M-E33 FM2+)
Last Post: TamoNeki
06-10-2024 03:28 PM
» Replies: 15
» Views: 775
Lenovo Ideapad flex 4 14IAU7 missing UUI...
Last Post: balli4u
06-10-2024 01:10 PM
» Replies: 0
» Views: 216
[REQUEST] Lenovo S310 & S410 (8BCNxxWW) ...
Last Post: Dudu2002
06-10-2024 08:34 AM
» Replies: 15
» Views: 7274
[REQUEST] Lenovo G780 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
06-10-2024 06:47 AM
» Replies: 875
» Views: 310229
HELP Unbrick ASUS N550JV
Last Post: halfchemistry
06-10-2024 05:37 AM
» Replies: 9
» Views: 11870
Asus Strix G512LV Bios Unlock
Last Post: loic2907
06-10-2024 04:12 AM
» Replies: 58
» Views: 16959
[Request] HP X99 CPU Support
Last Post: DeathBringer
06-09-2024 01:01 PM
» Replies: 3
» Views: 373
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
06-09-2024 03:50 AM
» Replies: 469
» Views: 144877
[REQUEST] Lenovo ThinkCentre M715q 2nd G...
Last Post: Arcaderix
06-09-2024 02:11 AM
» Replies: 18
» Views: 2212

Is it possible to enable Execute Disable Bit on Insyde Bios?
#1
Hello guys. I have an HP Pavilion Dv6-1222sl and i would like to know if it's possible to show Execute Disable Bit (or maybe other Intel cpu related parameters) into the Insyde Bios by modding it.

Thanks in advance
Dime
find
quote
#2
No sorry. Insyde bioses cannot be unlocked as of yet Sad

Regards
Admin
find
quote
#3
Should be possible since it's already an option in your BIOS but hidden.

Normally the XD bit is enabled by default unless your CPU does not support it. You can toggle it through software by simply changing IIRC bit 34 of MSR 0x1A0, no need to do it specifically from the BIOS.
find
quote
#4
Thanks for replies guys, i'm a total newbie into this kind of stuff so i don't know how to do these things. What kind of software do i have to use to change this bit from OS, and what kind of OS (I use Linux) is needed?.

Thanks
Dime
find
quote
#5
You could google "linux msr editor". I don't know which distro your using, Ubuntu maybe? If so you could install the msr-tools by going to a shell and typing

Code:
sudo apt-get install msr-tools

you might also need

Code:
sudo modprobe msr

then you can check the nx bit by typing

Code:
sudo rdmsr -f 34:34 0x1a0

If it's set to zero the nx bit is enabled, if it's set to one it's disabled. Unfortunately the wrmsr requires the whole 64 bits to be written so if you wanted to change it you would first need to read the whole 64 bits

Code:
sudo rdmsr -0 0x1a0

then 'xor' bit 34 to toggle it and write the whole thing back with wrmsr. Of course you should make sure you have booted with the kernel option nxexec set to off before doing this from the OS.

You'll probably find the nx bit is enabled by default if your cpu supports it.
find
quote
#6
(01-06-2010, 02:12 AM)Sgt-Pepper Wrote:
Code:
sudo rdmsr -0 0x1a0

then 'xor' bit 34 to toggle it and write the whole thing back with wrmsr. Of course you should make sure you have booted with the kernel option nxexec set to off before doing this from the OS.

You'll probably find the nx bit is enabled by default if your cpu supports it.

Bumping this semi-old thread. I also have an Insyde BIOS and the thing seems to be disabling NX and resetting this bit once I reboot even after I set it with wrmsr as you describe. There is no option for it in the BIOS menu..

Is there any way to somehow set an MSR value early in the boot process? If I set it while the system is running with noexec on, it hardlocks. This leads me to believe I need to somehow set it after the BIOS boots but before the Linux kernel is loaded.

Do you happen to know of some way to do this? I too find it really surprising that my BIOS would forcibly disable NX support and have no option to re-enable it, but that's what appears to be the case.

Or has there been any progress in unlocking Insyde BIOS's in the past 6 months?
find
quote
#7
Sorry , still no major break throughs!

We are still relying on the leak of the official tools such as whats happened with Award , Ami and Phoenix

Only one official Insyde tool has made it onto the web and its good for moving , deleting and replacing modules but not unlocking Sad

You can be sure that we will publicise any breakthroughs as widely as possible! Tongue

Admin
find
quote
#8
What sort of protections does the Insyde BIOS currently have? Is there some sort of signature verification in the flashing tool and/or the BIOS itself? Is the code packed/obfuscated?

Somewhere inside this steamer there has gotta be code that flips this bit.

If I get a copy of the BIOS image from my laptop vendor's website, what barriers do I face before I can load it in IDA, look for the instructions toggling that MSR, nop them out, and re-flash the image? You mention tools for breaking the BIOS image into its component modules and relinking it. Are these tools documented? Will I have any luck using them to this end, or will something else likely defeat me?

It is really pissing me off that this stupid BIOS is this evil/braindead...

Alternately, might it be possible to get GRUB or the Linux kernel itself to flip the MSR for me somehow?
find
quote
#9
If we load it into IDA who knows waht we would see. Fifrst I'm not sure if the Insyde compression would show in disassembly, which would completly mask the BIOS contents besides compression bits. I don't really use linux too often, but from what the last user posted those are shell commands you could type into probably any common linux distro to try them out.

TheWiz
www find
quote


Forum Jump:


Users browsing this thread: 2 Guest(s)