Update WINRE.WIM file to fix CVE-2022-41099 I take no Liability & Warranty on this script please fully test before use.
# CVE-2022-41099-Fix
Update WINRE.WIM file to fix CVE-2022-41099
REF: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-41099
Microsoft Catalog: https://www.catalog.update.microsoft.com/Search.aspx?q=kb5022282
You will need to create your own WINRE.wim file.
Tested with Intune, create intuneapp with the following files: -
- CVE-2022-41099.ps1
- winre.wim (your need to create this)
Upload and put in extra detection for each version of windows your running
For requirements use registry: -
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
- UBR
- String comparison
- Equals
- 2486
For Detection use the detection script: -
- Use a custom detection script
- Upload script "DetectionScript.ps1"
[4.0K] /data/pocs/138bb5c9de93abe832c78fa933f08237e9b0cbaa
├── [1.0K] Create-Custom-Image.md
├── [3.3K] CVE-2022-41099.ps1
├── [ 419] DetectionScript.ps1
├── [ 34K] LICENSE
├── [ 11K] PatchWinREScript_2004plus.ps1
└── [ 816] README.md
0 directories, 6 files