BootHole Vulnerability In Secure Boot Affects Windows and Linux Devices

  •  
  •  
  •  
  • 1
  •  
  •  
  •  
    1
    Share

Heads up all Windows and Linux users! A serious vulnerability potentially exposes your device to cyber attacks. Dubbed BootHole, the vulnerability affects the Secure Boot mechanism of the devices. Consequently, exploiting this flaw allows an attacker to execute arbitrary codes during the boot process.

BootHole Vulnerability Affecting Windows and Linux

Researchers from security firm Eclypsium have caught a vulnerability affecting millions of Linux and Windows systems. Named as BootHole, the vulnerability affects the GRUB2 bootloader empowering these devices.

What Is Secure Boot?

Briefly, the problem exists in the process of device boot. As a standard, PCs, and servers comply with the UEFI Secure Boot standard developed by the UEFI Forum. This Secure Boot standard ensures that the device does not contain any malicious program before it starts. As described by the researchers,

The goal is to prevent malicious code from being introduced into the boot process by cryptographically checking each piece of firmware and software before it is run. Any code not recognized as valid is not executed in the boot process.

This Secure Boot uses Microsoft’s 3rd Party UEFI CA (Certification Authority) letting Microsoft validate and sign the code. Hence, OEMs simply need to enroll the Microsoft 3rd Party UEFI CA to their platforms, thereby letting the non-Microsoft bootloaders to get signed as well.

In the case of Linux, the GRand Unified Bootloader version 2 is the default bootloader. That’s where the researchers found the vulnerability.

About BootHole Vulnerability

Specifically, the researchers at Eclypsium found a buffer overflow vulnerability in GRUB2 that allowed an attacker to bypass Secure Boot. Hence, it became possible for an attacker to execute malicious codes on the target device. At this point, as the code runs from the very beginning, the attackers could gain persistent access to the device.

They describe it as follows,

The vulnerability is a buffer overflow that occurs in GRUB2 when parsing the grub.cfg file. This configuration file is an external file commonly located in the EFI System Partition and can therefore be modified by an attacker with administrator privileges without altering the integrity of the signed vendor shim and GRUB2 bootloader executables. The buffer overflow allows the attacker to gain arbitrary code execution within the UEFI execution environment, which could be used to run malware, alter the boot process, directly patch the OS kernel, or execute any number of other malicious actions.

While the vulnerability primarily targets GRUB2, its impact isn’t limited to Linux only. Rather it also affects Windows. In fact, it’s a threat to all systems using GRUB2 bootloader, or the Secure Boot with the standard Microsoft 3rd Party UEFI CA.

More details about this vulnerability are available in the researchers’ vulnerability report.

What Next?

Following the discovery of this vulnerability affecting millions of devices globally, the researchers followed a responsible disclosure.

As believed, patching this bug requires deploying of new bootloaders whilst revoking the old ones. Hence, they reported the problem to various OS vendors, OEMs, and CERTs.

Consequently, Microsoft has shared a detailed advisory about this problem, along with other vendors like HP, VMware, and Linux Distros. Patches will soon roll out to the individual users accordingly.

Let us know your thoughts in the comments

The following two tabs change content below.

Abeerah Hashim

Abeerah has been a passionate blogger for several years with a particular interest towards science and technology. She is crazy to know everything about the latest tech developments. Knowing and writing about cybersecurity, hacking, and spying has always enchanted her. When she is not writing, what else can be a better pastime than web surfing and staying updated about the tech world! Reach out to me at: [email protected]

Abeerah Hashim

Abeerah has been a passionate blogger for several years with a particular interest towards science and technology. She is crazy to know everything about the latest tech developments. Knowing and writing about cybersecurity, hacking, and spying has always enchanted her. When she is not writing, what else can be a better pastime than web surfing and staying updated about the tech world! Reach out to me at: [email protected]

Do NOT follow this link or you will be banned from the site!

Privacy Preference Center

Necessary

The __cfduid cookie is used to identify individual clients behind a shared IP address and apply security settings on a per-client basis.

cookie_notice_accepted and gdpr[allowed_cookies] are used to identify the choices made from the user regarding cookie consent.

For example, if a visitor is in a coffee shop where there may be several infected machines, but the specific visitor's machine is trusted (for example, because they completed a challenge within your Challenge Passage period), the cookie allows Cloudflare to identify that client and not challenge them again. It does not correspond to any user ID in your web application, and does not store any personally identifiable information.

__cfduid, cookie_notice_accepted, gdpr[allowed_cookies]

Advertising

DoubleClick by Google refers to the DoubleClick Digital Marketing platform which is a separate division within Google. This is Google’s most advanced advertising tools set, which includes five interconnected platform components.

DoubleClick Campaign Manager: the ad-serving platform, called an Ad Server, that delivers ads to your customers and measures all online advertising, even across screens and channels.

DoubleClick Bid Manager – the programmatic bidding platform for bidding on high-quality ad inventory from more than 47 ad marketplaces including Google Display Network.

DoubleClick Ad Exchange: the world’s largest ad marketplace for purchasing display, video, mobile, Search and even Facebook inventory.

DoubleClick Search: is more powerful than AdWords and used for purchasing search ads across Google, Yahoo, and Bing.

DoubleClick Creative Solutions: for designing, delivering and measuring rich media (video) ads, interactive and expandable ads.

doubleclick

Analytics

The _ga is asssociated with Google Universal Analytics - which is a significant update to Google's more commonly used analytics service. This cookie is used to distinguish unique users by assigning a randomly generated number as a client identifier. It is included in each page request in a site and used to calculate visitor, session and campaign data for the sites analytics reports. By default it is set to expire after 2 years, although this is customisable by website owners.

The _gat global object is used to create and retrieve tracker objects, from which all other methods are invoked. Therefore the methods in this list should be run only off a tracker object created using the _gat global variable. All other methods should be called using the _gaq global object for asynchronous tracking.

_gid works as a user navigates between web pages, they can use the gtag.js tagging library to record information about the page the user has seen (for example, the page's URL) in Google Analytics. The gtag.js tagging library uses HTTP Cookies to "remember" the user's previous interactions with the web pages.

_ga, _gat, _gid