Plato Mavropoulos retweeted
Published, go check it out, it is a fun ride indeed:
coderush.me/hydroph0bia-part…
Part 3 will be done when I see how Insyde fixed the vulnerability and if we could do something about that fix.
Replying to @NikolajSchlej
There will soon be a part two of the writeup, where we'll use Hydroph0bia for getting arbitrary code execution during FW update and obtain full control over the DXE volume (and all other parts that happen to not be covered by BG/FDM hashing).
youtube.com/watch?v=1uJF44S0…
Plato Mavropoulos retweeted
New release from @CHIPSEC! Check it out here: github.com/chipsec/chipsec/r…
Plato Mavropoulos retweeted
UEFITool / UEFIExtract / UEFIFind NE A71
- added Kaitai-based parser for Dell DVAR varstores
- added tracking of recently opened files
- macOS built of UEFITool is now developer-signed
- fixed a bunch of minor issues
github.com/LongSoft/UEFITool…
Plato Mavropoulos retweeted
UEFITool NE A70 (and companion tools) is the first release to have all NVRAM parsers generated from KaitaiStruct definitions, replacing hand-crafted ones that are proven to be buggy and hard to maintain. Hope the new ones will behave. Do report new bugs!
github.com/LongSoft/UEFITool…
Plato Mavropoulos retweeted
You can now jailbreak your AMD CPU! 🔥We've just released a full microcode toolchain, with source code and tutorials. bughunters.google.com/blog/5…
Plato Mavropoulos retweeted
Trick or treat! Binwalk v3.1.0 has been released: github.com/ReFirmLabs/binwal…
Also available on crates.io/crates/binwalk.
Plato Mavropoulos retweeted
New release from @CHIPSEC! Check it out here: github.com/chipsec/chipsec/r… We have a🎃surprise in this release on Halloween's eve, AMD has begun adding support! Be sure to check it out!
Plato Mavropoulos retweeted
Binwalk v3 now under active development. Faster, smarter, Rustier.
Beta testers and bug reports welcome!
github.com/ReFirmLabs/binwal…
Plato Mavropoulos retweeted
Lets breakdown this Intel SGX (TEE) breach.
Disclaimer: This breach primarily affects processors that are now End of Life (EOL). However, these processors are still widely used in certain embedded systems, making this breach relevant for those environments.
Relevance of technical terms
Intel's Software Guard Extensions (SGX) is designed to protect sensitive data by creating secure enclaves—isolated areas of memory that even the operating system cannot access. A key feature of SGX is its ability to seal data, which means encrypting enclave secrets for safe storage. This ensures that even after a system reboot or power loss, the secrets can be securely retrieved. The encryption is done using a Seal Key, which is unique to each platform and enclave.
This Seal Key, along with other important keys like the Provisioning Key (used for remote attestation, which is a process that proves to a remote party that the enclave is trustworthy and is running the code they expect it to run) and the Root Sealing Key (FK1), comes from a master key stored in the processor's fuses (the term "fuse" refers to the hardware-based keys that are embedded into the processor during its manufacturing process). This master key is called Fuse Key0 (FK0), and it is supposed to be unique and unknown to anyone, including Intel.
What does this breach accomplish?
This breach managed to extract Intel's SGX Fuse Key0, also known as the Root Provisioning Key. This key, along with the Root Sealing Key (FK1), is crucial for SGX’s security.
The breach happened because of a flaw in Intel’s microcode (the low-level code that controls the processor). Specifically, Intel's code failed to clear an internal buffer that held all the fuse values, including FK0. This buffer was supposed to acquire these values from the Fuse Controller but was left uncleared, accidentally exposing the key.
Typically, the extracted FK0 key is protected by another key called the Global Wrapping Key (GWK), also known as the Fuse Encryption Key (FEK). The GWK is a 128-bit AES key that’s built into the processor’s hardware, adding another layer of protection to prevent unauthorized access to the fuse keys.
But here’s the problem: the GWK is shared across all chips of the same microarchitecture (the underlying design of the processor family). This means that if an attacker gets hold of the GWK, they could potentially decrypt the FK0 of any chip that shares the same microarchitecture. This shared GWK turns what should be a unique security measure for each chip into a potential widespread vulnerability.
Consequences
The compromise of FK0 and FK1 has serious consequences for Intel SGX because it undermines the entire security model of the platform. If someone has access to FK0, they could decrypt sealed data and even create fake attestation reports, completely breaking the security guarantees that SGX is supposed to offer.
Affected processors
This breach mainly affects processors from the Apollo Lake, Gemini Lake, and Gemini Lake Refresh families. Even though these processors are now end-of-life (EOL), they are still widely used in embedded systems.
- Apollo Lake: Launched in 2016 and discontinued in mid-2023, Apollo Lake processors were designed for low-power devices.
- Gemini Lake: Released in December 2017 and discontinued in 2020.
- Gemini Lake Refresh: This was an update to the Gemini Lake line, but it is similarly affected. The final discontinuation was announced in 2023.
Plato Mavropoulos retweeted
Lack of coordination between Intel CSME security/firmware team and PCH HW team has led to a very big fail: Fuse Encryption Key has been extracted!
Plato Mavropoulos retweeted
#Intel prepares for the future CPUIDs in the Linux kernel and clarifies the D**gl*sCove and Sh*ld*nmont issue:
lkml.org/lkml/2024/4/16/700
Plato Mavropoulos retweeted
I've just dumped AMD PSP ROM from 4800s Desktop Kit which shares the same APU as used in Xbox Series X (Arden, Sparkman). Now it's a time to explore. :)
Plato Mavropoulos retweeted
#Intel released the "Runtime Microcode Update" Technical paper 1.0 356111
cdrdv2.intel.com/v1/dl/getCo…
Plato Mavropoulos retweeted
This issue is not specific to Gigabyte, but likely invented by AMI and pushed for downstream OEMs as a "value-add" and "major feature".
Here is a file with the same GUID inside UEFI image for Asrock X670E Pro RS, and it does start a similar "Auto Driver Update" tool using WPBT.
Eclypsium analysis found a backdoor in Gigabyte systems implementing intentional functionality during system startup. Due to significant #supplychainrisk, we're disclosing this info & defensive strategies on an accelerated timeline >> https://nitter.cf/t.co/HgmUUmFPq2
#supplychainsecurity
Plato Mavropoulos retweeted
To be clear, Intel Boot Guard signing keys are generated/managed by each OEM independently.
Plato Mavropoulos retweeted
TIL Intel developed an open source UEFI image editing tool (twice even, first in C, then in Python) and put it into EDK2.
It is fairly simple, but will likely work as expected on many EDK2-based images. Good job, Intel!
github.com/tianocore/edk2/tr…
Plato Mavropoulos retweeted
Anybody seen Brotli-compressed sections (Freeform Subtype GUID 3d532050-5cda-4fd0-879e-0f7f630d5afb) used UEFI images found in the wild?
The decompressor for it was added to EDK2 in 2017, but so far I haven't seen any practical uses of it.
github.com/tianocore/edk2/tr…
Plato Mavropoulos retweeted
Looks like ASUS is championing in BIOS settings transparency by shipping definitions of all NVRAM variables that are holding FW setting in an unnamed FFS file (AB017B39-014F-4A69-A457-7E16B09DE825) inside their production images.
Plato Mavropoulos retweeted
UEFITool/UEFIExtract/UEFIFind NE A60 got released, the biggest change is that now the macOS binaries are universal, but there are some other neat changes like proper ME FPT header 2.1 parsing and new "Uncompressed hex view..." action.
Changelog and bins:
github.com/LongSoft/UEFITool…
Plato Mavropoulos retweeted
After a year of the coordinated disclosure process, we (+@h0t_max and @_Dmit ) can finally share: we found a reliable, not damaging way to extract the security fuses (Chipset + EPID root keys) from the Intel platforms.
intel.com/content/www/us/en/…






















