Qualys Patch Management Getting Started Guide
Qualys Patch Management Getting Started Guide
         Verity Confidential
Copyright 2018-2021 by Qualys, Inc. All Rights Reserved.
Qualys and the Qualys logo are registered trademarks of Qualys, Inc. All other trademarks
are the property of their respective owners.
Qualys, Inc.
919 E Hillsdale Blvd
4th Floor
Foster City, CA 94404
1 (650) 801 6100
                                         Table of Contents
About this Guide ...............................................................................................4
About Qualys ........................................................................................................................... 4
Qualys Support ........................................................................................................................ 4
                                                                          Verity Confidential
                                                                           About this Guide
                                                                              About Qualys
About Qualys
Qualys, Inc. (NASDAQ: QLYS) is a pioneer and leading provider of cloud-based security and
compliance solutions. The Qualys Cloud Platform and its integrated apps help businesses
simplify security operations and lower the cost of compliance by delivering critical
security intelligence on demand and automating the full spectrum of auditing,
compliance and protection for IT systems and web applications.
Founded in 1999, Qualys has established strategic partnerships with leading managed
service providers and consulting organizations including Accenture, BT, Cognizant
Technology Solutions, Deutsche Telekom, Fujitsu, HCL, HP Enterprise, IBM, Infosys, NTT,
Optiv, SecureWorks, Tata Communications, Verizon and Wipro. The company is also
founding member of the Cloud Security Alliance (CSA). For more information, please visit
www.qualys.com
Qualys Support
Qualys is committed to providing you with the most thorough support. Through online
documentation, telephone help, and direct email support, Qualys ensures that your
questions will be answered in the fastest time possible. We support you 7 days a week,
24 hours a day. Access online support information at www.qualys.com/support/.
                                            4
                                                                   Patch Management Overview
                                                             Patch Management Process Workflow
System support
Patch Management supports installing patches on Windows and *Linux systems.
Note: * Currently, you can deploy patch jobs only on Linux assets for RHEL version 6, 7,
and 8.
Deploy Patches
Create a custom assessment profile (Optional)
                                             5
                                                                  Patch Management Overview
                                                                    Patch Management features
                                             6
                                                                           Patch Management Overview
                                                                              User Roles and Permissions
We have the following five out-of-the-box (OOTB) roles for PM users. Each role, except
Patch Security, is an incremental role to the previous one. Let’s understand the user roles
and permissions.
        Roles                    Description
        Patch Reader             Default role that allows users to view:
                                 - Assigned jobs
                                 - Assessment profiles
                                 - Dashboards
        Patch Dashboard Author   - Includes the Patch Reader permissions
                                 - Allows a user to develop dashboards
                                 - Does not allow the user to manage patching jobs
        Patch User               - Includes the Patch Dashboard Author permissions
                                 - Allows users to manage patching activities
                                 - Build dashboards for reporting information
        Patch Manager            - Includes all permissions except create job advisory
        Patch Security           - This role is mutually exclusive from the other roles.
                                 - Meant for Security experts or Security operations (SecOps)
                                 - Allows the user to select patches and create a partially configured
                                 job which needs to be assigned to a Patch User or Patch Manager to
                                 add a job owner
                                 - Cannot edit any job
Note: We do not recommend that you create custom roles for the Patch Management
users by assigning or removing permissions available through the default roles. Such
customization of roles or change of permissions might cause the user roles to not work as
per the design.
For Patch Management, we refer to the Global Dashboard Permissions to determine what
operations a user can perform on the Unified Dashboard. The Global Dashboard
Permissions will only allow the Patch Manager, Patch User, and Patch Dashboard Author to
create, edit, and delete their own dashboards. For permissions to edit, delete other users'
dashboard and print or download a dashboard, contact SuperUser or Administrator.
                                                 7
                                                                 Installing Cloud Agents on Assets
                                               8
                                                             Installing Cloud Agents on Assets
                                                                           Downloading Installer
As you can see, you can provision the same key for any of the other applications in your
account.
Downloading Installer
Click Install instructions next to Windows (.exe) or Linux (.rpm).
                                            9
                                                                 Installing Cloud Agents on Assets
                                                                               Downloading Installer
For Linux agent, to enable patch installation on Linux assets, note the following:
- Supported YUM file version 3.2.29.
- YUM file must be configured with debugloglevel >= 2 Default is 2.
- (Optional) The YUM file is configured with correct proxy settings.
- The endpoint is subscribed for active Red Hat subscriptions.
- The Agent must be running with root user or as sudo user. You can configure users by
using the Agent configuration tool.
                                             10
                                                              Installing Cloud Agents on Assets
                                                                            Downloading Installer
Your host must be able to reach your Qualys Cloud Platform (or the Qualys Private Cloud
Platform) over HTTPS port 443. On the Qualys Cloud Platform, go to Help > About to see
the URL your host needs to access. For more information about connectivity
requirements/proxy settings refer to the platform specific Cloud Agent Installation Guides
available on https://www.qualys.com/documentation/.
Note: Ensure that you whitelist the required URLs to allow the Cloud Agent to download
the Windows patches on your host. Click here to view the list of URLs.
                                            11
                                                              Installing Cloud Agents on Assets
                                                                    Activating your agents for PM
The Cache size setting determines how much space the agent should allocate to store
downloaded patches on the asset. The default allocated size is 2048 MB. If you are
planning on using the opportunistic download, where an agent downloads patches before
deployment, it is recommended to increase the cache size, or to allow for Unlimited Cache
size. Note that the agent will clear the cached files after deployment.
You're ready!
Select PM from the application picker and then create a deployment job to start installing
patches on your assets.
                                            12
                                                            Installing Cloud Agents on Assets
                                                                         Managing PM Licenses
Managing PM Licenses
The Licenses tab, enabled only for paid subscribers, shows the number of licenses
consumed by Patch Management (PM). You can include asset tags to allow patch installing
and uninstalling on the assets contained in those asset tags. The Total Consumption
counter may exceed 100% if the number of assets activated for PM are more than the
number of PM licenses you have. Assets in the excluded asset tags are not considered for
patch management and you cannot deploy patches on those assets.
Note: In case the Total Consumption counter exceeds 100%, licenses will be consumed
based on the asset activation time stamp in ascending order.
Only admin and super users can manage licenses. Sub-users can only view the license
information.
                                           13
                                                              Using Tags to Grant Access to Assets
                                              14
     Using Tags to Grant Access to Assets
15
                                                   Creating Assessment Profiles for Windows Assets
                                              16
                                                 Reviewing Missing and Installed Windows Patches
Default or custom assessment profile scans the assets for missing and installed patches at
regular intervals. This information is then displayed on the Patches tab in the form of
missing or installed patches.
                                            17
                                                 Reviewing Missing and Installed Windows Patches
Note that patches are linked to QIDs using CVE IDs. The QID for a patch is not shown if the
QID is not linked to a CVE ID. CVE ID is the common point of linking and required to link
the patch with the QID.
Alternatively, you can go to the Assets tab to view missing and installed patches on
particular assets.
                                            18
                                                 Reviewing Missing and Installed Windows Patches
                                                         Downloading Patches from the Vendor Site
If you try to add such a patch to a patch job, then the system will show a message
informing you that these patches will be not be added to said job as they are no longer
supported for download via the Cloud Agent.
For such patches, the patch details page displays the Download Method as
“AcquireFromVendor” and known patch URL in the Patch Information section. Use the
URL to download the patch.
Download methods for patch are:
- Automatic - Patch downloadable using the Cloud Agent (Qualys Patchable: Yes)
- AcquireFromVendor - Patch must be acquired from the vendor and installed manually
(Qualys Patchable: No)
- Unavailable - Patch download information is not available (Qualys Patchable: No)
                                            19
                                                        Deploying Patches Jobs on Windows Assets
                                              User Scenario: Deploying security patch jobs for Microsoft
2. Enter the job title as Microsoft Security Patches and click Next.
3. Select assets or asset tags on which you want to apply the patches.
4. (Optional) Select Add Exclusion Asset Tags to exclude the assets from the deployment
job that have All/Any of the selected asset tags.
                                              20
                                                       Deploying Patches Jobs on Windows Assets
                                             User Scenario: Deploying security patch jobs for Microsoft
5. To select patches to apply to the assets, choose the Select Patch option, and then click
the Take me to patch selector link to select patches.
6. On the Patch Selector page, in the search query, enter appfamily:windows and
isSecurity: True and select the patches from the search results.
12. (Optional) Set the Patching window if you want to restrict the agent to start the job
within the specified patch window (e.g., start time + 6 hours). The job gets timed out if it
does not start within this window.
                                             21
                                                     Deploying Patches Jobs on Windows Assets
                                           User Scenario: Deploying security patch jobs for Microsoft
13. Based on your preference, configure how to notify the users about the patch
deployment. Configure the pre-deployment messages, deferring the patch deployment
certain number of times.
We recommend that you fill out both the message and description fields for these options.
14. Finally based on the permissions assigned to other users, choose Co-Authors who can
edit this job.
                                           22
                                                     Deploying Patches Jobs on Windows Assets
                                           User Scenario: Deploying security patch jobs for Microsoft
Note: The Patch Manager user can change the job status (enable/disable), delete and edit
the job.
                                           23
          Deploying Patches Jobs on Windows Assets
User Scenario: Deploying security patch jobs for Microsoft
24
                                            Using QQL to Automate Patch Selection for Windows Jobs
                                User scenario: Installing critical patches for Chrome and Internet Explorer
2. Enter the job title as Browser Security Patches and click Next.
3. Select assets or asset tags on which you want to apply the patches.
4. (Optional) Select Add Exclusion Asset Tags to exclude the assets from the deployment
job that have ALL/ANY of the selected asset tags.
                                                25
                                            Using QQL to Automate Patch Selection for Windows Jobs
                                User scenario: Installing critical patches for Chrome and Internet Explorer
5. To select patches to apply to the assets, choose Create a Query for Patches. Enter
appFamily:Chrome or appFamily:“Internet Explorer”.
7. (Optional) Set the Patching window if you want to restrict the agent to start the job
within the specified patch window (e.g., start time + 6 hours). The job will time out if it
does not start within this window.
8. Based on your preference, configure how to notify the users about the patch
deployment. Configure the pre-deployment messages, deferring the patch deployment
certain number of times.
                                                26
                                           Using QQL to Automate Patch Selection for Windows Jobs
                               User scenario: Installing critical patches for Chrome and Internet Explorer
9. Finally based on the permissions assigned to other users, choose Co-Authors who can
edit this job.
Note: The Patch Manager super user can change the job status (enable/disable), delete
and edit the job.
                                               27
                                                             Uninstalling Patches from Windows Assets
                                    User Scenario: Uninstalling older version of Internet Explorer browser
2. Provide a job title, and then select assets or asset tags uninstall the patches from.
                                                28
                                                            Uninstalling Patches from Windows Assets
                                   User Scenario: Uninstalling older version of Internet Explorer browser
3. Select patches to uninstall from the assets. Use the patch selector link to select patches.
4. On the Uninstallable Patches page, in the search query, enter appfamily: Internet
Explorer and publishedDate: [2015-12-31].
                                               29
                                                           Uninstalling Patches from Windows Assets
                                  User Scenario: Uninstalling older version of Internet Explorer browser
10. Based on your preference, configure how to notify the users about the patch
deployment. Configure the pre-deployment messages, deferring the patch deployment
certain number of times.
11. Finally, you can prompt the user or choose suppress reboot when asset reboot is
required post patch installation.
                                              30
                                                           Uninstalling Patches from Windows Assets
                                  User Scenario: Uninstalling older version of Internet Explorer browser
12. Finally based on the permissions assigned to other users, choose Co-Authors who can
edit this job.
13. Next, review the configuration. Job can either be created in ENABLED state by using the
Save & Enable option or in DISABLED state by using the default Save button.
You must enable the disabled job in order to run it. To enable a disabled job, simply go to
the Jobs tab, then from the Quick Actions menu of a job, click Enable. The Save & Enable
option should be chosen only when you are confident that job is correctly configured,
because this job will begin executing as soon as you “Save” the job.
Note that the  Patch Manager user can change the job status (enable/disable), delete and
edit the job.
                                              31
                         Uninstalling Patches from Windows Assets
User Scenario: Uninstalling older version of Internet Explorer browser
            32
                                                            Deploying Patches Jobs on Linux Assets
                                             User Scenario: Deploying security patches for RHEL assets
2. Enter the job title as RHEL Security Patches and click Next.
3. Select assets or asset tags on which you want to apply the patches.
4. (Optional) Select Add Exclusion Asset Tags to exclude the assets from the deployment
job that have All/Any of the selected asset tags.
5. To select patches to apply to the assets, choose the Select Patch option and then click
Take me to patch selector link to select patches.
                                             33
                                                            Deploying Patches Jobs on Linux Assets
                                             User Scenario: Deploying security patches for RHEL assets
6. On the Patch Selector page, in the search query, enter category: security and select
the patches.
                                             34
                                                           Deploying Patches Jobs on Linux Assets
                                            User Scenario: Deploying security patches for RHEL assets
11. Set Repeats as Monthly, select day of a week, and 1st Monday of the month at 9:00 PM.
12. (Optional) Set the Patching window if you want to restrict the agent to complete the job
within the specified patch window (e.g., start time + 6 hours). The job will timed out if it
does not complete within this window.
13. Based on your preference, configure reboot communication options. Enable the
Continue patching even after a package failure occurs for a patch option so that if one of
the package in the patch fails to install, other packages are installed successfully.
                                             35
                                                          Deploying Patches Jobs on Linux Assets
                                           User Scenario: Deploying security patches for RHEL assets
14. Finally based on the permissions assigned to other users, choose Co-Authors who can
edit this job.
                                           36
                                                                         Reviewing Job Results
                                             37
     Reviewing Job Results
38
                                                        Exporting Patch Data for Windows Assets
                                                                        How to Export Patch Data?
The Report Download Request Status page lists all the reports that are ready to download
or are being generated. Once the reports are generated, click to download the report and
then simply unzip the file to view the data.
                                             39
                                                      Exporting Patch Data for Windows Assets
                                                                      How to Export Patch Data?
You can also export the data from the Job Progress tab. To download the individual job
details. Go to Jobs > Quick Actions > View Progress > Download.
                                           40
                                                      URLs to be Whitelisted For Patch Download
                                            41
                                              URLs to be Whitelisted For Patch Download
http://citrixreceiver492000.html
http://citrixreceiver493000.html
http://content.ivanti.com
http://dl.delivery.mp.microsoft.com
http://dl.google.com
http://dl3.xmind.net
http://download-origin.cdn.mozilla.net
http://download.adobe.com
http://download.autodesk.com
http://download.betanews.com
http://download.ccleaner.com
http://download.cdburnerxp.se
http://download.gimp.org
http://download.macromedia.com
http://download.microsoft.com
http://download.notepad-plus-plus.org
http://download.oldfoss.com
http://download.pdfforge.org
http://download.piriform.com
http://download.royalapplications.com
http://download.teamviewer.com
http://download.techsmith.com
http://download.videolan.org
http://download.virtualbox.org
http://download.windowsupdate.com
http://download.winzip.com
http://download2.operacdn.com
http://download3.operacdn.com
http://download3.vmware.com
http://download3.xnview.com
http://download4.operacdn.com
                                         42
                                                  URLs to be Whitelisted For Patch Download
http://downloadarchive.documentfoundation.org
http://downloads.hpe.com
http://downloads.pdf-xchange.com
http://downloads.sourceforge.net
http://dwnld.windvdpro.com
http://files2.zimbra.com
http://fpdownload.macromedia.com
http://ftp.adobe.com
http://ftp.gimp.org
http://ftp.opera.com
http://ftp.osuosl.org
http://get.geo.opera.com
http://gigenet.dl.osdn.jp
http://install.nitropdf.com
http://jaist.dl.sourceforge.net
http://javadl.oracle.com
http://javadl.sun.com
http://jsimlo.sk
http://knowledge.autodesk.com
http://osdn.dl.osdn.jp
http://pspad.poradna.net
http://pumath.dl.osdn.jp
http://releases.mozilla.org
http://silverlight.dlservice.microsoft.com
http://sourceforge.net
http://support.citrix.com
http://support1.uvnc.com
http://updates-http.cdn-apple.com
http://www.7-zip.org
http://www.aimp.ru
http://www.coreftp.com
                                             43
                                                 URLs to be Whitelisted For Patch Download
http://www.download.windowsupdate.com
http://www.fosshub.com
http://www.getpaint.net
http://www.goodsync.com
http://www.jam-software.com
http://www.rarlab.com
http://www.tightvnc.com
http://www.uvnc.com
http://www.wireshark.org
http://zoom.us
https://2.na.dl.wireshark.org
https://aimp.su
https://airdownload.adobe.com
https://allwaysync.com
https://app.ringcentral.com
https://archive.apache.org
https://archive.mozilla.org
https://ardownload2.adobe.com
https://assets.cdngetgo.com
https://astuteinternet.dl.sourceforge.net
https://atlassian.jfrog.io
https://ayera.dl.sourceforge.net
https://az764295.vo.msecnd.net
https://binaries.webex.com
https://builds.cdn.getgo.com
https://cdn.azul.com
https://cdn.gomlab.com
https://cdn01.foxitsoftware.com
https://cdn1.evernote.com
https://cfhcable.dl.sourceforge.net
https://clientupdates.dropboxstatic.com
                                            44
                                                  URLs to be Whitelisted For Patch Download
https://content.ivanti.com
https://corretto.aws
https://cran.r-project.org
https://d11yldzmag5yn.cloudfront.net
https://d3pxv6yz143wms.cloudfront.net
https://data-cdn.mbamupdates.com
https://desktopassets.prezi.com
https://dl.bandicam.com/bandicut
https://dl.google.com
https://dl.teamviewer.com
https://dl.tvcdn.de
https://dl1.cdn.filezilla-project.org
https://dl3.cdn.filezilla-project.org
https://dl3.xmind.net
https://download-installer.cdn.mozilla.net
https://download.adobe.com
https://download.ccleaner.com
https://download.cdburnerxp.se
https://download.filezilla-project.org
https://download.gimp.org
https://download.microsoft.com
https://download.oracle.com
https://download.qsrinternational.com
https://download.royalapplications.com
https://download.skype.com
https://download.splunk.com
https://download.sublimetext.com
https://download.teamviewer.com
https://download.techsmith.com
https://download.tortoisegit.org
https://download.videolan.org
                                             45
                                                   URLs to be Whitelisted For Patch Download
https://download.virtualbox.org
https://download.visualstudio.microsoft.com
https://download.winzip.com
https://download.xnview.com
https://download1.operacdn.com
https://download3.xnview.com
https://downloadplugins.citrix.com
https://downloads.hpe.com
https://downloads.jam-software.de
https://downloads.pdf-xchange.com
https://downloads.plex.tv
https://downloads.ringcentral.com
https://downloads.slack-edge.com
https://downloads.sourceforge.net
https://downloads.tableau.com
https://downloadus2.teamviewer.com
https://downloadus4.teamviewer.com
https://e3.boxcdn.net
https://endpoint920510.azureedge.net
https://files.zimbra.com
https://fpdownload.adobe.com
https://fpdownload.macromedia.com
https://ftp.opera.com
https://gensho.ftp.acc.umu.se
https://gigenet.dl.sourceforge.net
https://github.com
https://iweb.dl.sourceforge.net
https://jabraxpressonlineprdstor.blob.core.windows.net
https://knowledge.autodesk.com
https://launch.getgo.com
https://managedway.dl.sourceforge.net
                                          46
                                                  URLs to be Whitelisted For Patch Download
https://master.dl.sourceforge.net
https://media.inkscape.org
https://meetings.webex.com
https://mirror.clarkson.edu
https://mirrors.gigenet.com
https://mirrors.xtom.com
https://msedge.sf.dl.delivery.mp.microsoft.com
https://neevia.com
https://netactuate.dl.sourceforge.net
https://nmap.org
https://nodejs.org
https://notepad-plus-plus.org
https://osdn.mirror.constant.com
https://osdn.net
https://packages.vmware.com
https://phoenixnap.dl.sourceforge.net
https://pilotfiber.dl.sourceforge.net
https://product-downloads.atlassian.com
https://razaoinfo.dl.sourceforge.net
https://s3.amazonaws.com/files.zimbra.com
https://secure-appldnld.apple.com
https://secure.logmein.com
https://secure.mozy.com
https://slack-ssb-updates.global.ssl.fastly.net
https://sourceforge.net
https://statics.teams.cdn.office.net
https://storage.googleapis.com
https://support.citrix.com
https://swdl.bluejeans.com
https://the.earth.li
https://versaweb.dl.sourceforge.net
                                             47
                                        URLs to be Whitelisted For Patch Download
https://web.mit.edu
https://www.7-zip.org
https://www.citrix.com
https://www.crowdstrike.com
https://www.fosshub.com
https://www.goodsync.com
https://www.irfanview.info
https://www.jam-software.com
https://www.mercurial-scm.org
https://www.morphisec.com
https://www.oracle.com
https://www.poly.com
https://www.rarlab.com
https://www.realvnc.com
https://www.scootersoftware.com
https://www.tightvnc.com
https://www.tracker-software.com
https://www.uvnc.com
https://www.wireshark.org
48