Exploit databaseDownload repository ZIP
GH-9d372fa95d7adca631ed96ea3a5e273b
adrian-gatu/tenable-vulnerability-management
Sources for CVE-2013-3900
11 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files30
adrian-gatu/tenable-vulnerability-managementRevision 5083d36075aa
- ↑..Parent directory
- CVE-2013-3900-Remediation.ps1
- STIG-ID-WN10-00-000150.ps1
- STIG-ID-WN10-AU-000045.ps1
- STIG-ID-WN10-AU-000050.ps1
- STIG-ID-WN10-AU-000082.ps1
- STIG-ID-WN10-AU-000500.ps1
- STIG-ID-WN10-AU-000505.ps1
- STIG-ID-WN10-AU-000565.ps1
- STIG-ID-WN10-AU-000580.ps1
- STIG-ID-WN10-AU-000585.ps1
- STIG-ID-WN10-CC-000010.ps1
- STIG-ID-WN10-CC-000025.ps1
- STIG-ID-WN10-CC-000030.ps1
- STIG-ID-WN10-CC-000035.ps1
- STIG-ID-WN10-CC-000085.ps1
- STIG-ID-WN10-CC-000090.ps1
- STIG-ID-WN10-CC-000155.ps1
- STIG-ID-WN10-CC-000170.ps1
- STIG-ID-WN10-CC-000175.ps1
- STIG-ID-WN10-CC-000205.ps1
- STIG-ID-WN10-CC-000295.ps1
- STIG-ID-WN10-CC-000310.ps1
- STIG-ID-WN10-CC-000326.ps1
- STIG-ID-WN10-CC-000327.ps1
- STIG-ID-WN10-CC-000330.ps1
- STIG-ID-WN10-CC-000360.ps1
- STIG-ID-WN10-CC-000370.ps1
- STIG-ID-WN10-SO-000030.ps1
- STIG-ID-WN10-SO-000080.ps1
- STIG-ID-WN10-SO-000185.ps1
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
STIG Implementations/STIG-ID-WN10-CC-000090.ps1
PowerShell · 2,282 bytes <#
.SYNOPSIS
# Group Policy objects must be reprocessed even if they have not changed..
Author : Adrian Gatu
LinkedIn : linkedin.com/in/adrian-gatu-55a7362ba/
GitHub : github.com/Adrian-Gatu
Date Created : 18-01-2025
Last Modified : 18-01-2025
Version : 1.0
CVEs : N/A
Plugin IDs : N/A
STIG-ID : WN10-CC-000090
.TESTED ON
Date(s) Tested : 18-01-2025
Tested By : Adrian Gatu
Systems Tested : Windows 10
PowerShell Ver. : 5.1.19041.5247
.USAGE
Example syntax:
PS C:\> .\STIG-ID-WN10-CC-000090.ps1
#>
# Ensure the script is run as Administrator
if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) {
Write-Error "This script must be run as Administrator."
exit
}
# Define registry path and value
$registryPath = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Group Policy\{35378EAC-683F-11D2-A89A-00C04FBBCFA2}"
$valueName = "NoGPOListChanges"
$desiredValue = 0
# Check if the registry path exists; create it if missing
if (-not (Test-Path $registryPath)) {
Write-Host "Registry path does not exist. Creating path..." -ForegroundColor Yellow
New-Item -Path $registryPath -Force | Out-Null
}
# Get the current value of NoGPOListChanges
$currentValue = (Get-ItemProperty -Path $registryPath -Name $valueName -ErrorAction SilentlyContinue).$valueName
# Check if the value is correctly set
if ($currentValue -ne $desiredValue) {
Write-Host "NoGPOListChanges is not set correctly. Setting it to 0..." -ForegroundColor Yellow
Set-ItemProperty -Path $registryPath -Name $valueName -Value $desiredValue -Type DWord -Force
Write-Host "NoGPOListChanges has been set to 0." -ForegroundColor Green
} else {
Write-Host "NoGPOListChanges is already correctly set to 0." -ForegroundColor Green
}
# Optional: Force Group Policy update to apply changes
Write-Host "Forcing Group Policy update..." -ForegroundColor Cyan
gpupdate /force
Write-Host "Configuration complete. Group Policy will now reprocess even if unchanged." -ForegroundColor Green