Manage vulnerability remediation

In short: find your case in the remediation matrix, check the deployment prerequisites, then deploy from the details page of a vulnerability or of an asset. For the technologies that Cyberwatch does not deploy, Cyberwatch indicates what to fix and checks the fix at the next scan.

This guide helps you determine, for each technology in your fleet, how to fix the vulnerabilities detected by Cyberwatch, and to do it on your own. It complements the page Deploy a security fix, which describes the steps in the interface.

The four ways to handle a vulnerability

ModePrincipleWhen to use it
Deployment by CyberwatchCyberwatch installs the patch on the asset, immediately or within a maintenance window, then checks the fixNatively supported technology and asset connected with the required privileges
Guided manual fixCyberwatch indicates the corrective action (package, KB, target version, update command); the fix is carried out outside CyberwatchTechnology that Cyberwatch cannot deploy, or choice to keep control
Fix by a third-party toolYour patch management tool deploys; Cyberwatch prioritizes upstream and checks downstreamFleet already managed by a deployment tool
Risk acceptanceThe vulnerability is ignored, with a comment and a reactivation dateFix impossible or not relevant, risk covered otherwise

In all cases, Cyberwatch checks the fix: after each scan, the fixed vulnerabilities disappear from the asset, whatever the means used to fix them.

Remediation matrix by technology

Systems and software

TechnologyDeployment by CyberwatchConditionsOtherwise
Debian, Ubuntu (APT)YesPackages installed by the distribution’s package manager—
Red Hat and derivatives: RHEL, CentOS, AlmaLinux, Rocky Linux… (YUM / DNF, including DNF modules)YesPackages installed by the distribution’s package manager—
SUSE (Zypper)YesPackages installed by the distribution’s package manager—
Snap packagesYesOn APT, YUM/DNF and Zypper distributions—
Running Linux kernel older than the installed kernelRebootThe patch is already installed: only a reboot activates itReboot the asset
Windows and Microsoft products (KB)YesWindows Update or WSUS configuration, see WindowsManual fix, or through your deployment tool
Third-party Windows softwareYes, through Windows Package Manager (WinGet)Option enabled, WinGet present on the asset, software covered by Cyberwatch and by WinGetManual update or uninstallation from Cyberwatch
macOSNo (reboot only)—Update by the user or by your endpoint management tool
Alpine Linux, Arch LinuxNo—Manual fix
AIX (interim fixes)No—Manual fix
SAP (SAP Notes)No—Manual fix
Software installed outside the package manager (compiled binaries, in-house applications)No—Manual fix
Application libraries (npm, pip, gem, Composer, Maven…)No—Update of the dependency in the application project, then redeployment of the application

Monitoring modes

Deployment requires Cyberwatch to be able to run commands with privileges on the asset.

Monitoring modeDeployment possiblePrerequisites
Cyberwatch agentYes—
Linux agentless connection (SSH)YesSudoers rights for the connection account, see prerequisites
Windows agentless connection (WinRM)YesAccount member of the local Administrators group, see prerequisites
AWS SSM and Microsoft Azure agentless connectionsYesSee AWS SSM and Microsoft Azure
Google Cloud IAP agentless connectionYesAs with SSH, sudoers rights for the connection account, see Google Cloud IAP
Palo Alto Cortex XDR agentsYes, without deploying or rebooting policy (immediate deployment or at the chosen time)Script execution permissions of the API role, see Cortex XDR
Air gapNoNo traffic between Cyberwatch and the asset: manual fix
Read-only connectors (Microsoft Intune, Microsoft Defender, Meraki…)NoFix through the source tool
Network and industrial devices (SNMP, vendor API), hypervisorsNoFirmware update according to the vendor’s procedure
Docker imagesNoRebuild of the image from an up-to-date base image and dependencies

An asset connected without the required privileges is monitored in “scan only” mode: its vulnerabilities are detected, but the deployment buttons are not offered for it. The mode is re-evaluated at each connection test.

Prepare the deployment

Enable the deployment module

Patch deployment is disabled by default.

  1. Click on Administration
  2. Expand the Patch management section
  3. Enable the Patches deployment option, and the reboot of assets if needed
  4. For third-party Windows software, enable the Deployment through Windows Package Manager option

Grant rights to users

Only users with the System administrator (or Administrator) role can deploy patches, uninstall software and reboot assets, on the assets of their projects. See Permissions.

Define the maintenance windows

The deployment and reboot policies set the days and times when Cyberwatch can install patches and reboot an asset.

  • Manual scheduling: the policy is used to suggest the deployment date when a user schedules patches. Recommended for production.
  • Automatic scheduling: Cyberwatch deploys on its own all the deployable patches of the asset each time the window opens. Suited to workstations and non-production environments.

Create at least one policy per environment (production, pre-production, workstations) and assign it to the assets through a Bulk edit from the inventory.

Windows

Cyberwatch installs KBs through the Windows Update service of the asset. It retains the KBs of the Security Updates, Critical Updates, Update Rollups and Updates classifications. The asset therefore downloads the KBs from its usual source, WSUS or Windows Update.

SituationAction
Assets attached to a WSUSApprove the above classifications in the WSUS: an unapproved KB cannot be installed. See Windows assets attached to a WSUS
Office, .NET, SQL Server… KBs “To be processed manually” on an asset without WSUSAllow Windows Update to update other Microsoft products, preferably through GPO, see Manually apply a corrective action
Third-party softwareInstall WinGet on the assets (Microsoft documentation) and check that the software appears in the list of covered software and in the WinGet repository
Third-party software missing from WinGetUpdate it manually, or uninstall it from the Technologies tab of the asset (applications installed through MSI)

A proposed KB can be a cumulative update: it then fixes several vulnerabilities, including older ones.

Windows assets attached to a WSUS

Who does what

Cyberwatch does not connect to the WSUS: it acts on the asset, through its Windows Update service.

 WSUSCyberwatch
Identify missing patchesFrom the updates synchronized and approved on the WSUSFrom the Microsoft security bulletins and the build number of the asset, independently of the WSUS
Make KBs availableYes, once approvedNo
Trigger the installationAccording to the Windows Update configuration of the asset (GPO, deadlines)According to the Cyberwatch deploying policies, or on demand

Two consequences:

  • Cyberwatch can only install the KBs that the WSUS has approved for the asset. It nevertheless offers all the missing KBs for deployment: deploying an unapproved KB fails, as no update is found. If the search on the WSUS fails or returns no update, Cyberwatch queries Windows Update directly, which requires the asset to have access to the Internet;
  • a workstation shown as up to date in the WSUS can remain vulnerable in Cyberwatch, for example if a KB is not synchronized or if a reboot is pending (see Explain a discrepancy).

Microsoft has announced the deprecation of WSUS. As the Cyberwatch deployment goes through Windows Update on the asset, it works with or without WSUS: without WSUS, the asset downloads the KBs directly from Windows Update.

Configure the WSUS

  1. Synchronize the products installed on the fleet: Windows system, but also Office, SQL Server, .NET, Exchange… A KB of a product that is not synchronized is never offered to the asset.
  2. Automatically approve the classifications used by Cyberwatch (Security Updates, Critical Updates, Update Rollups, Updates) for the relevant computer groups, using an automatic approval rule (Microsoft documentation).
  3. Also approve the prerequisites, in particular the Servicing Stack Updates: a KB whose prerequisite is missing from the asset does not install. The Microsoft support page of each KB lists its prerequisites.

Choose who triggers the installation

Decide, for each group of assets, which tool triggers the installation, in order to avoid concurrent installations and unexpected reboots.

 Cyberwatch triggersThe WSUS triggers
PrincipleThe WSUS approves and distributes; Cyberwatch installs within its maintenance windowsThe assets install the approved KBs on their own, according to the GPO and the WSUS deadlines
Windows Update configuration (GPO)Automatic download without automatic installation, for example “Auto download and notify for install”Scheduled automatic installation, or installation deadlines on the WSUS
Cyberwatch configurationDeploying policy in automatic or manual scheduling, and rebooting policyDeploying policy in manual scheduling only
Role of CyberwatchPrioritization, deployment, verificationPrioritization, verification, and occasional deployment to catch up on a critical KB on the failed assets
Suited toServers requiring maintenance windows per assetWorkstations and fleets already managed at scale through the WSUS

Explain a discrepancy between the WSUS and Cyberwatch

FindingProbable causeAction
KB installed according to the WSUS, still reported by CyberwatchPending reboot: the build number of the asset only changes after a rebootReboot the asset then relaunch its analysis. Cyberwatch displays the Reboot required status, and can reboot the asset, only if Windows Update is waiting for a reboot (key HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired). If only the key HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending exists, reboot the asset according to your procedures
Recent fix not visible in CyberwatchThe asset has not been analyzed since the installationCheck the date of the last analysis and relaunch the analysis from the Analyses tab
KB reported by Cyberwatch, missing from the WSUSProduct or classification not synchronized, or KB that Microsoft distributes only through Windows Update (missing from the catalog)Complete the synchronization of the WSUS; see the “How to get this update” section of the Microsoft page of the KB
KB reported by Cyberwatch, not applicable according to the WSUSMissing prerequisite on the assetInstall the prerequisite indicated on the Microsoft page of the KB

Troubleshoot a failed KB deployment

  1. Read the deployment result in the script history of the Patch management tab of the asset: it contains the Windows Update error code (0x8024…) or indicates that no update was found.
  2. Check the most frequent causes:
    • the KB is approved for the computer group of the asset on the WSUS;
    • its prerequisites are installed or approved;
    • the KB is not already installed (Technologies tab of the asset), in which case a reboot is probably pending;
    • the Windows Update service (wuauserv) is enabled and the Windows Update agent is up to date, see Windows prerequisites.
  3. Install the KB manually through Windows Update on the asset. If the manual installation also fails, the problem lies with Windows Update: search for the error code in the Microsoft documentation. If it succeeds, contact Cyberwatch support.

Linux

Patches are installed by the package manager of the distribution, including dependencies. The asset must therefore access its repositories (internal mirror, proxy or Internet) and these repositories must offer the fixed version.

Deploy the patches

Choose the entry point according to the chosen approach:

ApproachEntry pointUse
By vulnerabilityVulnerability details page, Remediation blockHandle a critical CVE across the whole fleet, or by system family
By corrective actionCorrective actions pageHandle first the updates that fix the most high-priority vulnerabilities
By assetAsset details page, Patch management tabPrecisely choose the patches of a sensitive server
By batch of assetsInventory, Bulk actionsFully update assets, now or at the next maintenance window

For each deployment, two options:

  • Schedule: the deployment takes place in the next window of the deploying policy of the asset, or at the chosen time;
  • Deploy now: after confirming the number of assets concerned.

The detailed steps are described in Deploy a security fix.

Test first on a sample of representative assets (pre-production, a few workstations) before deploying to production, especially for full system updates.

Track and verify

StepWhat Cyberwatch shows
Scheduled deploymentThe asset has the Planned patches status and the vulnerabilities concerned have the Fix scheduled status
ExecutionThe result can be viewed in the script history of the Patch management tab of the asset, or for the whole fleet on the Patch history page, accessible through the History button of the Corrective actions page
VerificationCyberwatch relaunches the analysis of the asset: the fixed vulnerabilities disappear, the others remain to be processed
RebootIf the system requests a reboot, the asset switches to the Reboot required status: reboot the asset from Cyberwatch or according to your procedures

See also Assets status.

Fix without Cyberwatch deployment

Guided manual fix

Corrective actions with the To be processed manually status cannot be deployed by Cyberwatch. Cyberwatch nevertheless provides the elements needed for the fix:

  • the technology to update and the target version, on the page of the corrective action;
  • for Linux packages, the update command to copy, in the Remediation block of the vulnerability details page (for example apt-get install --only-upgrade <packages>);
  • the CSV export of the assets of a vulnerability, whose Corrective action status column distinguishes deployable patches from patches to be processed manually.

Once the fix is applied, relaunch the analysis of the asset from its Analyses tab to confirm the fix without waiting for the next scan.

With a third-party deployment tool (WSUS, SCCM / MECM, Intune, Ivanti…)

Cyberwatch does not drive third-party deployment tools. If your fleet is already managed by one of them, the recommended approach is as follows:

  1. Prioritize in Cyberwatch: the prioritization policies identify the patches to process first.
  2. Send the list to the deployment team or tool:
    • CSV export of the corrective actions or vulnerabilities;
    • ITSM ticket created from Cyberwatch, manually or through an alert: ServiceNow, GLPI, or any other target through the integrations;
    • Cyberwatch API for custom automation.
  3. Deploy with your tool, in your usual maintenance windows.
  4. Check in Cyberwatch: at the next scan, the fixed vulnerabilities disappear; those that remain indicate a patch that is not approved or that failed in the third-party tool.

To prevent two tools from deploying on the same assets, do not enable the Cyberwatch automatic deployment on the assets managed by another tool.

Accept the risk

When a vulnerability cannot or must not be fixed (obsolete system maintained for business reasons, compensating control in place), ignore it with a justifying comment and an automatic reactivation date (30, 60, 90 days or custom date) to review it regularly. The ignoring policies apply this handling at scale.

When to contact support

This guide covers the natively supported cases. Contact Cyberwatch support in the following situations:

  • a deployment fails even though the technology is supported and the prerequisites of this guide are met;
  • a vulnerability remains present after a fix has been applied and a new analysis has been run;
  • your technology or your monitoring mode does not appear in the matrix;
  • you want a native integration with a third-party deployment tool: support forwards the feature request.

Attach to the request: the name of the asset, its operating system, its monitoring mode, the vulnerability or corrective action concerned, and the export of the asset obtained from its Analyses tab with the Export asset information button.

Reference pages