
English translation
This PowerShell script automates the Secure Boot mitigation steps for CVE-2023-24932, as outlined in the Microsoft Security Guidance. It handles the entire process, including registry updates, reboots, and event log validation, to ensure your system is protected against the BlackLotus UEFI bootkit.
The script follows the official Microsoft guidance, executing the following steps in sequence:
DB-Update (0x40)
Boot-Manager Update (0x100)
Manual Verification (Optional)
bootmgfw.efi) for manual signature verification.DBX-Update (0x80)
SVN-Update (0x200)
Final Report
Download the script:
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/helleflo1312/Orchestrated-Powerhell-for-CVE-2023-24932/refs/heads/main/CVE-2023-24932-automation.ps1" -OutFile "CVE-2023-24932-automation.ps1"
Run the script as an administrator:
.\CVE-2023-24932-automation.ps1
Follow the on-screen prompts. The script will guide you through each step, including reboots.
The Script will check for Hardware Vendors and compatiblity according to Microsoft Security Guidance
The script checks for the following Event IDs to confirm successful updates:
If an event is not found, the script will display a warning but continue execution. You can manually verify the logs using the Event Viewer.
Example after the successful run of this script:

This script is provided under the MIT License. Use at your own risk.
If you encounter issues or have suggestions for improvement, please open an issue or submit a pull request on GitHub.
This script is provided as-is, without warranty of any kind. Always test in a non-production environment before deploying to live systems.