
BlackLotus aka CVE-2023-24932 Detection/Remediation Scripts for Intune, ConfigMgr, and generic use
BlackLotus aka CVE-2023-24932 remediation scripts for Intune, ConfigMgr, and generic ad-hoc use.
Blog post: https://ajf.one/blacklotus
Process Flowchart:
The Phase 1 script will perform steps 1 & 2 from the guidance published by Microsoft, by doing the following:
AvailableUpdates registry value to 0x40\Microsoft\Windows\PI\Secure-Boot-Update scheduled task to perform step 1, "Install the updated certificate definitions to the DB"AvailableUpdates registry value to 0x100\Microsoft\Windows\PI\Secure-Boot-Update scheduled task to perform step 2, "Update the Boot Manager on your device"Validation is done between each step, and will be logged to $env:TEMP\BlackLotusPhase1Remediation.log, as well as returned to Intune (if running the script as a Remediation).
Process Flowchart:
The Phase 2 script will perform steps 3 & 4 from the guidance published by Microsoft, by doing the following:
AvailableUpdates registry value to 0x80\Microsoft\Windows\PI\Secure-Boot-Update scheduled task to perform step 3, "Enable the revocation"AvailableUpdates registry value to 0x200\Microsoft\Windows\PI\Secure-Boot-Update scheduled task to perform step 4, "Apply the SVN update to the firmware"