Code Monkey home page Code Monkey logo

Comments (8)

SamuelTulach avatar SamuelTulach commented on May 29, 2024

When it finds the SMBIOS table it should work correctly.

I even try to get out of EFI-Shell and boot the os.

Not sure what you mean by that, but are you directly calling Windows bootx64.efi file like in this video?

from negativespoofer.

afulsamet avatar afulsamet commented on May 29, 2024

Not sure what you mean by that, but are you directly calling Windows bootx64.efi file like in this video?

Yes, I tried it that way.

This is exactly what I was trying to try

Try typing exit and if your OS starts booting without the PC doing a full reboot, you should be fine.

and I tried many more methods on BIOS, but nothing changed

Since my UEFI version is old, I tried it on a friend who has a new UEFI version. Nothing changed again. SMBIOS is still the same

from negativespoofer.

afulsamet avatar afulsamet commented on May 29, 2024

Here is another method I tried


https://www.youtube.com/watch?v=6K3o-sW59lI

from negativespoofer.

SamuelTulach avatar SamuelTulach commented on May 29, 2024

The address seem to be off (should be above 0xf0000 as far as I know). I think it's fall-backing to this function which I got working just half of the time (since both VM and real hardware that I have were able to find SMBIOS entry by the other two) and that does not seem to be reliable in the implementation it has.

Can you try to modify the FindEntry() function to look something like this so we know what method does it use to get the SMBIOS entry point?

SMBIOS_STRUCTURE_TABLE* FindEntry() 
{
    SMBIOS_STRUCTURE_TABLE* address = FindBySignature();
    if (address) 
    {
        Print(L"[INFO] Address found by signanture\n");
        return address;    
    }        

    address = FindByConfig();
    if (address) 
    {
        Print(L"[INFO] Address found by config\n");
        return address;
    }       

    address = FindByHob();
    if (address) 
    {
        Print(L"[INFO] Address found by hob\n");
        return address;
    }

    return 0;
}

I am attaching compiled version just in case you would have issues compiling it.
hwid.efi.zip

from negativespoofer.

afulsamet avatar afulsamet commented on May 29, 2024

from negativespoofer.

SamuelTulach avatar SamuelTulach commented on May 29, 2024

That is weird. Probably the next step would be to try to print the SMBIOS strings to see if it's really the table. If it is and it's still not working than it would probably need to copy the table to own allocated memory and rewrite the pointer to the table type.

from negativespoofer.

afulsamet avatar afulsamet commented on May 29, 2024

I can't build as EFI, would you build that for print the SMBIOS strings?

from negativespoofer.

afulsamet avatar afulsamet commented on May 29, 2024

I guess it will only work on certain baseboards. Thanks for the help.

from negativespoofer.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.