-
Notifications
You must be signed in to change notification settings - Fork 20
Home
Viktor Dronov edited this page May 1, 2020
·
6 revisions
This script fix vulnerability “Microsoft Windows Unquoted Service Path Enumeration” (Nessus plugin ID 63155) and similar problems with uninstall strings Script modify values in the next registry keys:
- HKLM:\SYSTEM\CurrentControlSet\Services\ImagePath
- HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\UninstallString
- HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\UninstallString
For getting full help for latest script could be used Windows_Path_Enumerate.ps1 -Help
- Start PowerShell as Administrator
- Check PSVersion. For that run next command
$PSVersionTable.PSVersion
- Minimum Supported Powershell version 5 (Supported OS: Windows 7 and newer, Windows Server 2008 and newer)
- If PowerShell version less that 5 you can update in next 3 steps:
- Download or clone repo
- Unzip archive
- Script that doing the work is: Windows_Path_Enumerate.ps1
- Start PowerShell, navigate to the unzipped folder and check Help
- Example
Set-Location "C:\Unzipped Dir\"
.\Windows_Path_Enumerate.ps1 -Help