Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
WSUSResponder β€” Module PowerShell de rΓ©ponse Γ  l'incident CVE-2025-59287 β€” WSUS Remote Code Execution (RCE) | Kitploit
Tools/GitHubGitHub/radzarr/wsusresponder
Cloud Infrastructure SecurityVulnerability ScannersConfiguration AuditingNetwork SecurityIncident Response
GitHubradzarr/wsusresponder

WSUSResponder

Module PowerShell de rΓ©ponse Γ  l'incident CVE-2025-59287 β€” WSUS Remote Code Execution (RCE)

View Repository
381 year agoNot yet reviewed
Share

🧰 WSUSResponder

Version: 1.0.1
Author: RZA / IT Operations
License: MIT


🎯 Objective

The WSUSResponder module provides a set of PowerShell tools to quickly respond to the critical vulnerability CVE-2025-59287, a remote code execution (RCE) flaw affecting Windows Server Update Services (WSUS).

It allows you to:

  • πŸ” Scan an Active Directory environment or a list of targeted servers
  • 🧩 Identify vulnerable WSUS servers
  • πŸ›‘οΈ Check for the presence of the Out-of-Band (OOB) patches published by Microsoft
  • 🚧 Apply a firewall workaround (blocking ports 8530/8531)
  • ♻️ Remove this workaround once servers are patched
  • πŸ“Š Generate comprehensive audit reports (CSV, JSON, XLSX)

βš™οΈ Prerequisites

Required PowerShell modules

ModuleRoleInstallation
ActiveDirectoryAutomatic server discovery via ADAdd-WindowsCapability -Online -Name 'Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0'
ImportExcelExcel report generation (.xlsx)Install-Module ImportExcel -Scope CurrentUser

Required environment

  • PowerShell 5.1+
  • WinRM enabled on target servers (Enable-PSRemoting)
  • Local administrator rights on remote hosts

πŸ“¦ Installation

  1. Create a folder named WSUSResponder in one of your PowerShell module directories:
    $Path = "$env:USERPROFILE\Documents\WindowsPowerShell\Modules\WSUSResponder"
    New-Item -ItemType Directory -Path $Path -Force
    
  2. Copy the module files:
    • WSUSResponder.psm1
    • WSUSResponder.psd1
  3. Import the module:
    Import-Module WSUSResponder
    Get-Command -Module WSUSResponder
    
  4. Verify the loading:
    Get-Module WSUSResponder -ListAvailable
    

🧩 Exported functions

FunctionDescription
Get-WSUSCveStatusScans servers to detect the presence of the WSUS role and OOB patches.
Set-WSUSCveWorkaroundApplies the workaround (firewall rules blocking ports 8530/8531).
Remove-WSUSCveWorkaroundRemoves the firewall rules created by the workaround.
Export-WSUSCveReportExports scan results in multiple formats (CSV, JSON, XLSX, TXT).

πŸš€ Usage examples

πŸ”Ž Full AD domain audit

$ReportPath = "C:\Temp\WSUS_Audit_$(Get-Date -Format yyyyMMdd)"
Get-WSUSCveStatus -FromAD -UsePS7Parallel | Export-WSUSCveReport -ExportPath $ReportPath

πŸ›‘οΈ Scan + Workaround application

$scanResults = Get-WSUSCveStatus -FromAD -UsePS7Parallel
$vulnerable = $scanResults | Where-Object { $_.IsWSUS -and -not $_.IsPatched -and $_.Reachable }
$vulnerable | Set-WSUSCveWorkaround -PassThru
$scanResults | Export-WSUSCveReport -ExportPath "C:\Temp\WSUS_Mitig_$(Get-Date -Format yyyyMMdd)"

πŸ” Workaround removal after patching

Remove-WSUSCveWorkaround -ComputerName 'srv-wsus-01','srv-wsus-02'

πŸ“Š Generated reports

Reports are saved in the folder defined by -ExportPath:

FileFormatContent
WSUS_CVE59287_Report.csvCSVFull scan results
WSUS_CVE59287_Report.jsonJSONStructured export for API/automation
WSUS_CVE59287_Report.xlsxXLSXFormatted report with automatic filters
Vulnerable_Hosts.txtTXTSimple list of vulnerable hosts

🧱 Technical architecture

  • Uses Invoke-Command and WinRM for remote execution
  • Native PS7 parallelism (ForEach-Object -Parallel) to speed up pre-tests
  • Configurable timeout via -OperationTimeoutSec
  • Idempotent workaround (no rule duplication)
  • Automated multi-format export (CSV, JSON, XLSX via ImportExcel)

πŸ” Security and module signing

If your execution policy is AllSigned, you can sign the module:

New-SelfSignedCertificate -Type CodeSigning -Subject "CN=IT Operations" -CertStoreLocation Cert:\CurrentUser\My
$cert = Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert | Select-Object -First 1
Set-AuthenticodeSignature -FilePath "C:\Modules\WSUSResponder\WSUSResponder.psm1" -Certificate $cert
Set-AuthenticodeSignature -FilePath "C:\Modules\WSUSResponder\WSUSResponder.psd1" -Certificate $cert

🧾 Changelog

v1.0.1 – (27/10/2025)

  • Complete refactor into a PowerShell module (.psm1 / .psd1)
  • Added PS7 parallel support (-UsePS7Parallel)
  • New export engine (CSV, JSON, XLSX)
  • Fixed WinRM timeout handling
  • Idempotent rollback of firewall rules

πŸ§‘β€πŸ’» Authors

  • (RZA) β€” IT Operations
  • Internal contributors Microsoft Security / DOT_SU_KIOSQUE_CENTER

πŸ“œ License

Distributed under the MIT license.
Β© 2025 RZA / IT Operations – All rights reserved.

Download Tool

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    524
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    478
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    357
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    317
  • 5

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

    305
  • 6

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    275

Explore all tools

Browse our collection of tools

View all tools β†’