AMITSESetup Decryptor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • EineWildeStehlampe
    Member
    • Jun 2021
    • 13
    • Germany

    #1

    AMITSESetup Decryptor

    As a lot of older firmware images use the well known, incredibly secure AMI XOR key to encode the supervisor password in the firmware image, I wrote a small Python tool to automate the process of searching through the image and decrypting the key. It is far from perfect but works well enough for me to share.

    The tool uses UEFIExtract to dump the entire image, naively search for a folder ending in "AMITSEDecrypt", iterate through the body.bin to find all possible hashes stored in there, decrypt them with the XOR key, remove every second byte, then convert to ASCII.

    Usage: python3 AMITSEDecrypt <Path/to/image.bin>

    Hope it'll be of use to someone and excuse my horrible Python skills.
    Attached Files
  • crowntoy99
    Badcaps Veteran
    • Oct 2012
    • 264
    • india

    #2
    Re: AMITSESetup Decryptor

    good jobe

    Comment

    • Maxpower3
      Bad Veteran
      • Feb 2018
      • 1179
      • France

      #3
      Re: AMITSESetup Decryptor

      good job, untested for the moment, thanks

      Comment

      • Ghamidi
        Badcaps Veteran
        • Mar 2020
        • 303
        • France

        #4
        Re: AMITSESetup Decryptor

        great job thank you

        Comment

        • EineWildeStehlampe
          Member
          • Jun 2021
          • 13
          • Germany

          #5
          Re: AMITSESetup Decryptor

          Originally posted by EineWildeStehlampe
          The tool uses UEFIExtract to dump the entire image, naively search for a folder ending in "AMITSEDecrypt", iterate through the body.bin to find all possible hashes stored in there, decrypt them with the XOR key, remove every second byte, then convert to ASCII.
          I meant "AMITSESetup" obviously.

          Comment

          • Ghamidi
            Badcaps Veteran
            • Mar 2020
            • 303
            • France

            #6
            Re: AMITSESetup Decryptor

            Originally posted by EineWildeStehlampe
            I meant "AMITSESetup" obviously.
            I tested work perfect

            thank you so much

            Comment

            • EineWildeStehlampe
              Member
              • Jun 2021
              • 13
              • Germany

              #7
              Re: AMITSESetup Decryptor

              Glad it's of use to someone. I'd love to keep a list of devices using the AMITSESetup variable if only I could find out how to edit my posts

              Comment

              • Maxpower3
                Bad Veteran
                • Feb 2018
                • 1179
                • France

                #8
                Re: AMITSESetup Decryptor

                Originally posted by EineWildeStehlampe
                Glad it's of use to someone. I'd love to keep a list of devices using the AMITSESetup variable if only I could find out how to edit my posts
                see with a moderator to modify your first post.

                Comment

                • LatinMcG
                  Senior Member
                  • Jun 2015
                  • 70
                  • USA/Puerto Rico

                  #9
                  Re: AMITSESetup Decryptor

                  this works with some of the Panasonic laptops.. not all tho.

                  Comment

                  • EineWildeStehlampe
                    Member
                    • Jun 2021
                    • 13
                    • Germany

                    #10
                    Re: AMITSESetup Decryptor

                    Confirmed to work with at least those devices, will add more when I have some in:
                    - Microsoft Surface (Pro) 3
                    - Advantech MIO-5251
                    - Medion Lifetab P8912
                    - ASUS Vivobook Flip 14 TP412

                    I've noticed there's also a few AMI implementations storing the password in cleartext instead of scancodes, I'll probably add something to parse those aswell. And then there's some that look like SHA1 hashes, so I might at least add some functionality to detect those.

                    Comment

                    • onizzbox
                      Banned
                      • Nov 2018
                      • 604
                      • Brazil

                      #11
                      Re: AMITSESetup Decryptor

                      Originally posted by EineWildeStehlampe
                      Confirmed to work with at least those devices, will add more when I have some in:
                      - Microsoft Surface (Pro) 3
                      - Advantech MIO-5251
                      - Medion Lifetab P8912
                      - ASUS Vivobook Flip 14 TP412

                      I've noticed there's also a few AMI implementations storing the password in cleartext instead of scancodes, I'll probably add something to parse those aswell. And then there's some that look like SHA1 hashes, so I might at least add some functionality to detect those.
                      @EineWildeStehlampe
                      Similar to this here?
                      I'm finishing the script in C++ to make it faster, I'll post it in Badcaps next week.
                      Last edited by SMDFlea; 01-22-2022, 03:13 AM.

                      Comment

                      • Maxpower3
                        Bad Veteran
                        • Feb 2018
                        • 1179
                        • France

                        #12
                        Re: AMITSESetup Decryptor

                        Originally posted by onizzbox
                        @EineWildeStehlampe
                        Similar to this here?
                        I'm finishing the script in C++ to make it faster, I'll post it in Badcaps next week.
                        nice job as usual onizzbox

                        Comment

                        • onizzbox
                          Banned
                          • Nov 2018
                          • 604
                          • Brazil

                          #13
                          Re: AMITSESetup Decryptor

                          Originally posted by Maxpower3
                          nice job as usual onizzbox
                          Thanks! Maxpower3
                          Would you like to anticipate the release?

                          Comment

                          • Maxpower3
                            Bad Veteran
                            • Feb 2018
                            • 1179
                            • France

                            #14
                            Re: AMITSESetup Decryptor

                            Originally posted by onizzbox
                            Thanks! Maxpower3
                            Would you like to anticipate the release?
                            no need, I already know your work and you have already shared a lot of knowledge and tools with me

                            Comment

                            • onizzbox
                              Banned
                              • Nov 2018
                              • 604
                              • Brazil

                              #15
                              Re: AMITSESetup Decryptor

                              Originally posted by onizzbox
                              @EineWildeStehlampe
                              Similar to this here?
                              I'm finishing the script in C++ to make it faster, I'll post it in Badcaps next week.
                              @SMDFlea
                              I forgot to remove my credentials in the attached video, I can't edit the post anymore. Could you please remove it?

                              Comment

                              • onizzbox
                                Banned
                                • Nov 2018
                                • 604
                                • Brazil

                                #16
                                Re: AMITSESetup Decryptor

                                Originally posted by Maxpower3
                                no need, I already know your work and you have already shared a lot of knowledge and tools with me
                                Thank you Max!
                                Helping users on the forums or outside of them has always been a hobby, I don't depend on it for a living. I've always liked to share my knowledge, that's the only way we can evolve.

                                Comment

                                • SMDFlea
                                  Super Moderator
                                  • Jan 2018
                                  • 20361
                                  • UK

                                  #17
                                  Re: AMITSESetup Decryptor

                                  Originally posted by onizzbox
                                  @SMDFlea
                                  I forgot to remove my credentials in the attached video, I can't edit the post anymore. Could you please remove it?
                                  removed.
                                  All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

                                  Comment

                                  • BootLoader1
                                    Senior Member
                                    • Aug 2020
                                    • 70
                                    • Poland

                                    #18
                                    Re: AMITSESetup Decryptor

                                    I wrote small software for decrypt AMI BIOS Password. Software can read Admin and Boot password, just open file or drag and drop a file.
                                    Enjoy.
                                    Attached Files

                                    Comment

                                    • onizzbox
                                      Banned
                                      • Nov 2018
                                      • 604
                                      • Brazil

                                      #19
                                      Re: AMITSESetup Decryptor

                                      Originally posted by BootLoader1
                                      I wrote small software for decrypt AMI BIOS Password. Software can read Admin and Boot password, just open file or drag and drop a file.
                                      Enjoy.
                                      @BootLoader1
                                      Very cool, but it doesn't work!!
                                      Needs repairs...
                                      Last edited by SMDFlea; 11-04-2022, 01:46 PM.

                                      Comment

                                      • BootLoader1
                                        Senior Member
                                        • Aug 2020
                                        • 70
                                        • Poland

                                        #20
                                        Re: AMITSESetup Decryptor

                                        Working, working, but I forgot about this case. Now fixed and working well.
                                        Attached Files

                                        Comment

                                        Related Topics

                                        Collapse

                                        • Document Archive
                                          HP Elite Slice G2 + Image Load & Asset Tag Elite Slice i5-7500T Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP Elite Slice G2 + Image Load & Asset Tag can be useful for upgrading or repairing a desktop PC that is not working. As a community we are working through our specifications to add valuable data like the Elite Slice G2 + Image Load & Asset Tag boardview and Elite Slice G2 + Image Load & Asset Tag schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please...
                                          09-12-2024, 02:20 PM
                                        • Document Archive
                                          HP ProBook 450 G6 + Image Load, Asset Tag & Testntag Notebook 400 Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP ProBook 450 G6 + Image Load, Asset Tag & Testntag Notebook can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the 450 G6 + Image Load, Asset Tag & Testntag boardview and 450 G6 + Image Load, Asset Tag & Testntag schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps...
                                          09-06-2024, 10:56 AM
                                        • Document Archive
                                          HP EliteBook 1050 G1 + Image Load & Asset Tag Notebook 1000 Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP EliteBook 1050 G1 + Image Load & Asset Tag Notebook can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the 1050 G1 + Image Load & Asset Tag boardview and 1050 G1 + Image Load & Asset Tag schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that...
                                          09-06-2024, 10:56 AM
                                        • Document Archive
                                          HP ProBook 430 G6 + Image Load & Asset Tag Notebook 400 Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP ProBook 430 G6 + Image Load & Asset Tag Notebook can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the 430 G6 + Image Load & Asset Tag boardview and 430 G6 + Image Load & Asset Tag schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that we...
                                          09-06-2024, 10:56 AM
                                        • Document Archive
                                          HP ProBook 450 G6 + Image Load, Asset Tag & Testntag Notebook 400 Specification for Upgrade or Repair
                                          by Document Archive
                                          This specification for the HP ProBook 450 G6 + Image Load, Asset Tag & Testntag Notebook can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the 450 G6 + Image Load, Asset Tag & Testntag boardview and 450 G6 + Image Load, Asset Tag & Testntag schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps...
                                          09-06-2024, 10:56 AM
                                        • Loading...
                                        • No more items.
                                        Working...