Announcement

Collapse
No announcement yet.

Password for Unbranded NUC-like Board BIOS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Password for Unbranded NUC-like Board BIOS

    Hello

    I got a NUC-like motherboard.
    Unfortunately it's with Boot password, unable to boot or enter BIOS setup.


    It's AMI BIOS as we can see from the POST screen.


    I use CH341a programmer to get the dump of only SPI flash chip(W25Q128JVSIQ) on this board.
    Tried to find AMITSESETUP with the bin file, but following HEXs are empty.



    Please help with decrypt password or removal.

    Thanks!
    Attached Files
    Last edited by Radar_Cap; 06-20-2022, 07:50 AM. Reason: Typo for tittle wording

    #2
    Re: Password for Unbranded NUC-like Board BIOS

    Hi,
    I've also tried to find AMITSESetup variable, it is empty, so I did check AMITSE dxe driver by tracing other variables and invalidated a variable by patching your file.
    Before patching the bios I did also consider that the password may be stored in volatile memory, did you try to disconnect CMOS battery to see if that clears the password?

    VERY IMPORTANT: Make sure you have a good backup of your bios, this is your last chance. Sometimes CH341A programmer corrupts readings/writings of bios chip. If you haven't done so, I suggest to READ and SAVE bios chip contents, do this 3 times and then make sure all 3 files are identical.
    Attached Files

    Comment


      #3
      Re: Password for Unbranded NUC-like Board BIOS

      Originally posted by AAAC View Post
      Hi,
      I've also tried to find AMITSESetup variable, it is empty, so I did check AMITSE dxe driver by tracing other variables and invalidated a variable by patching your file.
      Before patching the bios I did also consider that the password may be stored in volatile memory, did you try to disconnect CMOS battery to see if that clears the password?

      VERY IMPORTANT: Make sure you have a good backup of your bios, this is your last chance. Sometimes CH341A programmer corrupts readings/writings of bios chip. If you haven't done so, I suggest to READ and SAVE bios chip contents, do this 3 times and then make sure all 3 files are identical.
      the pass is on the yellow and green stickers on the motherboard
      All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

      Comment


        #4
        Re: Password for Unbranded NUC-like Board BIOS

        Originally posted by AAAC View Post
        Hi,
        I've also tried to find AMITSESetup variable, it is empty, so I did check AMITSE dxe driver by tracing other variables and invalidated a variable by patching your file.
        Before patching the bios I did also consider that the password may be stored in volatile memory, did you try to disconnect CMOS battery to see if that clears the password?

        VERY IMPORTANT: Make sure you have a good backup of your bios, this is your last chance. Sometimes CH341A programmer corrupts readings/writings of bios chip. If you haven't done so, I suggest to READ and SAVE bios chip contents, do this 3 times and then make sure all 3 files are identical.

        Hi, AAAC

        I programmed the SPI flash chip with your patched file.

        Good news is it didn't get brick, bad news is the password still there.

        As your advice.
        Actually before I upload the dump, SPI flash was read for several times, all the dump files are identical.

        For hardware reset method, the board doesn't have CLR_CMOS jumper, CMOS battery was removed at the first beginning.

        When I checked similar boards' manual, there's a way for short connect BAT connector to reset BIOS, which also didn't work for this board.


        By the way, when I compare the patched file from you, it's addr 0x90DEF1h & 0x93DEF1h changed from 0x83 to 0x03.

        After 1st boot of patched, new read from SPI flash shows the value of 0x93DEF1h is now 0x83, and 0x90DEF1h is still 0x03.

        Thanks for your help!
        Any new thoughts please let me know.
        Attached Files

        Comment


          #5
          Re: Password for Unbranded NUC-like Board BIOS

          @Radar_Cap
          Yes, I've only invalidated "Ep" variable, which to me seemed the way to go.
          Will try to trace strings such as: "Create New Password" and "Confirm New Password", to see where the password is saved.

          Comment


            #6
            Re: Password for Unbranded NUC-like Board BIOS

            While checking the code did find a couple of strings, actually the same string, one lowercase and the other UPPERCASE, which makes sense for a typed password. If this one works, it means that the password is hard coded into the uefi firmware. Good luck!
            password = hstsys123
            Last edited by AAAC; 06-23-2022, 11:24 PM.

            Comment


              #7
              Re: Password for Unbranded NUC-like Board BIOS

              Originally posted by AAAC View Post
              While checking the code did find a couple of strings, actually the same string, one lowercase and the other UPPERCASE, which makes sense for a typed password. If this one works, it means that the password is hard coded into the uefi firmware. Good luck!
              password = hstsys123
              Yes, it worked! Appreciate your help!



              By the way, it seeems this is a solid passowrd. Either you set the password or not.
              Even I clean the password in BIOS setup. Still need to type in this default password to make the machine boot.
              Is that possible to remove this default password check?

              Thanks!
              Attached Files
              Last edited by Radar_Cap; 06-27-2022, 08:22 PM.

              Comment


                #8
                Re: Password for Unbranded NUC-like Board BIOS

                This is a customized BIOS, so maybe if you could find a regular stock BIOS you can swap it.
                The DXE driver module where I found the hard coded password is AMITSE (GUID: B1DA0ADF-4F77-4070-A88E-BFFE1C60529A), that's the one to be modified in order to make it boot without asking for a password, it will require "trial and error" or to study the module very well in order to properly patch it. First test would be to NULL those strings ("hstsys123") and see what happens.
                What's the application of this motherboard?

                Comment


                  #9
                  Re: Password for Unbranded NUC-like Board BIOS

                  Originally posted by AAAC View Post
                  This is a customized BIOS, so maybe if you could find a regular stock BIOS you can swap it.
                  The DXE driver module where I found the hard coded password is AMITSE (GUID: B1DA0ADF-4F77-4070-A88E-BFFE1C60529A), that's the one to be modified in order to make it boot without asking for a password, it will require "trial and error" or to study the module very well in order to properly patch it. First test would be to NULL those strings ("hstsys123") and see what happens.
                  What's the application of this motherboard?
                  Thanks for your advise, I'll try if I get time to look into that.

                  For the board, it shipped without case, there's no direct description for the usage.
                  When I check the model in POST screen, it should be the motherboard of video conference device, but retail version have different I/O ports, so I guess it's kind of engineering sample board for that product.

                  Comment

                  Working...
                  X