Configuration Guide: Smartconnector For Qualys Qualysguard File
Configuration Guide: Smartconnector For Qualys Qualysguard File
Configuration Guide
SmartConnector for Qualys QualysGuard File
February 14, 2014
Copyright 2003 2014 Hewlett-Packard Development Company, L.P.Confidential computer software. Valid license
from HP required for possession, use or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer
Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S.
Government under vendor's standard commercial license.
The information contained herein is subject to change without notice. The only warranties for HP products and services
are set forth in the express warranty statements accompanying such products and services. Nothing herein should be
construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions
contained herein.
Follow this link to see a complete statement of ArcSight's copyrights, trademarks and acknowledgements:
http://www.hpenterprisesecurity.com/copyright.
The network information used in the examples in this document (including IP addresses and hostnames) is for illustration
purposes only.
This document is confidential.
Revision History
Date
Description
02/14/2014
08/15/2013
02/15/2013
11/15/2012
08/15/2012
05/15/2012
Added new installation procedure. Updated versions supported. Added and updated mappings.
11/15/2011
Added new field mappings table for Qualys Infos Mappings to ArcSight ESM Fields; added fields mappings
to the existing field mappings tables.
08/12/2011
Corrected SmartConnector name and supported versions. Added support for QualysGuard 6.19.
05/15/2011
09/24/2010
02/11/2010
06/30/2009
03/27/2009
Configuration Guide
Contents
Product Overview............................................................................................................................................ 4
Configuration................................................................................................................................................... 4
Install the SmartConnector.............................................................................................................................. 5
Enable FIPS Mode .........................................................................................................................................10
Run the SmartConnector ...............................................................................................................................10
Device Event Mapping to ArcSight Fields ......................................................................................................11
Qualys Infos Mappings to ArcSight ESM Fields .....................................................................................11
Qualys Practices Mappings to ArcSight ESM Fields ..............................................................................11
Qualys Open Ports Mappings to ArcSight ESM Fields...........................................................................12
Qualys Scanner Mappings to ArcSight ESM Fields ...............................................................................12
Qualys Services Mappings to ArcSight ESM Fields ...............................................................................13
Qualys URIs Mappings to ArcSight ESM Fields.....................................................................................13
Qualys Vulnerability Mappings to ArcSight ESM Fields .........................................................................14
Troubleshooting .............................................................................................................................................14
Confidential
Product Overview
Qualys QualysGuard is an on demand solution that enables organizations to discover and prioritize all
network assets; proactively identify and fix security vulnerabilities; prevent worms, viruses and trojan
horses; manage and reduce business risk; and ensure compliance with laws, regulations and corporate
security policies.
The SmartConnector for QualysGuard is an XML connector. It connects to the Qualys web interface
(over HTTPS) to retrieve reports and sends the information to the ArcSight ESM Manager.
Configuration
During the installation process, you will be asked to fill in a number of parameters. To be prepared:
If Qualys requires a Client Certificate, you will need access to the client certificate .pfx or .jkcs
file. The installation wizard asks you for the certificate type, path, and password, and will ask you
to download and save the client certificate to a particular location.
The name of a user with authority to gain access to the report repository and the password for this
user will be required.
The URL used to retrieve stored reports as well as the URL used to retrieve the list of stored
reports will be required.
If you will be going through a proxy, you will select true for "Proxy Server Used" and you also will
be asked to provide the IP address or host name and port number for the proxy server, as well as
the user name and password for proxy authentication.
Interactive This mode is designed to be used by an operator who requires only certain reports to
be sent to ArcSight ESM. In this mode, the connector first retrieves a list of reports stored in the
user's Qualys account (unsent), and presents it in a UI window where the user can select the scan
reports to be sent to the ArcSight ESM Manager. After making a selection, clicking on the Send
button sends all the selected scanner reports to ArcSight ESM. Closing the window when all the
desired scans have been sent terminates the connector. In this mode, the connector should not be
run as a daemon/service, only as a standalone application.
Automatic This mode is designed to automatically import the reports from Qualys to the ArcSight
ESM Manager whenever a new report is generated. In this mode, the connector periodically checks
for any new scan reports. When the connector detects that a new scan has been successfully
Confidential
Configuration Guide
completed, it sends the report to the ArcSight ESM Manager. The connector can run as a service
in this mode since it is designed to run in unattended mode.
Administrator passwords
Unless specified otherwise at the beginning of this guide, this SmartConnector can be installed on all
ArcSight supported platforms; for the complete list, see the SmartConnector Product and Platform
Support document, available from the HP SSO and Protect 724 sites.
1
Download the SmartConnector executable for your operating system from the HP SSO site.
When the installation of SmartConnector core component software is finished, the following window
is displayed.
Confidential
Next, you will need to download and save the license file for this SmartConnector.
A
Click Cancel to exit the wizard at this point. Next, create a Qualys folder at the following
location:
$ARCSIGHT_HOME/current/user/agent/Qualys
Download and save the client certificate .pfx or .jkcs file to the Qualys directory you just
created. Contact Qualys support for this certificate file. The name of and path to the client
certificate file is needed during SmartConnector setup.
Enter the required SmartConnector parameters to configure the SmartConnector, then click Next.
Confidential
Configuration Guide
Parameter
Description
Client Certificate
Required
Select 'True' if Qualys requires the connector to present an SSL client certificate;
otherwise, select 'False'.
Certificate Type
Select the SSL Keystore type, PKCS12 or JKCS. (Ignore this parameter if Qualys does
not require SSL client certificate.)
Certificate Path
Enter the SSL Keystore file path and name. This can be the path to the certificate or a
keystore containing the certificate. In either case, this file must be present in the folder
or subfolders of the folder in which the ArcSight SmartConnector is installed.
Otherwise, the connector is unable to pick up the certificate. (Ignore this parameter if
Qualys does not require SSL client certificate.)
Certificate Password
Enter the SSL Keystore password. (Ignore this parameter if Qualys does not require
SSL client certificate.)
Enter the URL used to retrieve the list of stored reports. By default, this is set to
'https://qualysguard.qualys.com/msp/scan_report_list.php'. When Qualys requires a
client certificate, this should be set to
'https://certs.qualysguard.qualys.com/msp/scan_report_list.php'.
Enter the URL used to retrieve stored reports, given the report ID. By default, this is set
to 'https://qualysguard.qualys.com/msp/scan_report.php'. When Qualys requires a
client certificate, this should be set to
'https://certs.qualysguard.qualys.com/msp/scan_report.php'.
Qualys User
Enter the name of a user with authority to gain access to the report repository.
Qualys Password
Scan Processing
Frequency (in minutes)
Enter the desired scan processing frequency for Automatic mode in minutes.
Mode
Select true if a proxy is used; otherwise, leave the default value of false.
Enter the IP Address or Host Name for the Internet Proxy Server (required only when
you will go through a proxy).
Confidential
Description
Enter the number of the port on which Internet Proxy Server is running the proxy
service (required only when you will go through a proxy).
Enter the User Name used by Internet Proxy Server for proxy authentication (needed
only if your proxy uses basic authentication.)
Enter the password for the Proxy Server User (needed only if your proxy uses basic
authentication).
The next window asks for the destination type; make sure ArcSight Manager (encrypted) is
selected and click Next. (For information about any of the other destinations listed, see the
ArcSight SmartConnector User's Guide as well as the Administrator's Guide for your ArcSight
product.)
Enter the Manager Host Name, Manager Port, and a valid ArcSight User Name and Password.
This is the same user name and password you created during the ArcSight Manager installation.
Click Next.
Enter a name for the SmartConnector and provide other information identifying the connector's use
in your environment. Click Next; the connector starts the registration process.
10 The certificate import window for the ArcSight Manager is displayed. Select Import the certificate
to the connector from destination and click Next. If you select Do not import the certificate to
connector from destination, the connector installation will end.
Confidential
Configuration Guide
The certificate is imported and the Add connector Summary window is displayed.
11 Review the Add connector Summary and click Next. If the summary is incorrect, click Previous
to make changes.
12 The wizard now prompts you to choose whether you want to run the SmartConnector as a standalone process or as a service. If you choose to run the connector as a stand-alone process, skip
step 13. If you choose to run the connector as a service, the wizard prompts you to define service
parameters. See "Run the SmartConnector" later in this guide for more information.
Confidential
Complete any Additional Configuration required, then continue with the "Run the SmartConnector."
For connector upgrade or uninstall instructions, see the SmartConnector User's Guide.
10
Confidential
Configuration Guide
when the host is restarted. For information about connectors running as services or daemons, see the
HP ArcSight SmartConnector User's Guide.
To run all SmartConnectors installed in stand-alone mode on a particular host, open a command
window, go to $ARCSIGHT_HOME\current\bin and run: arcsight connectors
To view the SmartConnector log, read the file $ARCSIGHT_HOME\current\logs\agent.log; to
stop all SmartConnectors, enter Ctrl+C in the command window.
Device-Specific Field
Destination Address
IPvalue
Destination Port
Port
Result
CVEID
Diagnosis
Consequence
Solution
EventCategory
concatenate("Qualys|","INFOS|",Number)
Device Product
'Qualys'
Date
Device Severity
Device Vendor
'Qualys'
Name
TITLE
_FILE_PATH
Transport Protocol
Protocol
Device-Specific Field
Additional Data
ExpltDescription
Destination Address
IPvalue
Destination Port
Port
Result
Confidential
11
Device-Specific Field
CVEID
Diagnosis
Consequence
Solution
CVSSBaseScore
EventCategory
concatenate("Qualys|","PRACTICES|",Number)
Device Product
'Qualys'
Date
Device Severity
Device Vendor
'Qualys'
Name
TITLE
_FILE_PATH
Transport Protocol
Protocol
Device-Specific Field
Category Technique
Vulnerability Category
Destination Address
IPvalue
Result
Device Domain
'Network'
concatenate("Qualys|","Open Port|",Number)
Device Product
'Qualys'
Date
Device Severity
Severity
Device Vendor
'Qualys'
Device Version
Version
Name
'Open Port'
_FILE_PATH
Transport Protocol
Protocol
12
Device-Specific Field
Destination Address
value
Confidential
Configuration Guide
Device-Specific Field
Destination Address
IPvalue
Destination Port
Port
Result
Diagnosis
Consequence
Solution
Device Domain
'Network'
EventCategory
concatenate("Qualys|","Services|",Number)
Device Product
'Qualys'
Date
Device Severity
Severity
Device Vendor
'Qualys'
Device Version
Version
Name
Service
_FILE_PATH
Transport Protocol
Protocol
Device-Specific Field
Category Technique
Vulnerability Category
Destination Address
IPvalue
Device Domain
'Network'
concatenate("Qualys|","URI|",One
of(OSName,OSDetected))
Device Product
'Qualys'
Date
Device Severity
Severity
Device Vendor
'Qualys'
Device Version
Version
File Path
Name
_FILE_PATH
Confidential
13
Device-Specific Field
Additional data
ExpltDescription
Category Technique
Vulnerability Category
Destination Address
IPvalue
Destination Port
Port
Result
CVEID
Diagnosis
Consequence
Solution
CVSSBaseScore
Device Domain
'Network'
EventCategory
Device Product
'Qualys'
Date
Device Severity
Severity
Device Vendor
'Qualys'
Device Version
Version
Name
_FILE_PATH
Transport Protocol
Protocol
Troubleshooting
Why do I get an 'Invalid credentials' error?
The username and password entered do not match the information in the database. Check to make
sure the information you entered is correct. Usernames and passwords are case sensitive, so make
sure Caps Lock is turned off. If Certificate Authentication is enabled for your account, then several
additional validation checks occur. You will get an "Invalid credentials" error if you do not meet these
conditions:
14
The email address in the certificate in your browser matches the email address in your
QualysGuard user account.
The issuer ID in the certificate in your browser matches the issuer ID in the certificate provided to
Qualys for the subscription.
Confidential
Configuration Guide
The exact method of implementing authentication will vary according to which programming language is
used; see the "Sample API Code" section of the QualysGuard API User Guide for details.
My SmartConnector throws an out-of-memory error. What should I do in this case?
The SmartConnector can throw an out-of-memory error when the xml data file is too large. This error is
due to the amount of temporary memory required while attempting to build the document.
If the SmartConnector is running as an application, you can resolve this problem by increasing the java
heap size in $ARCSIGHT_HOME\current\bin\scripts\Connectors.bat or Connectors.sh.
The name of the argument is:
ARCSIGHT_MEM_OPTIONS= -Xms256m -Xmx256m
The max value should be changed.
Or
If the SmartConnector is running as a service, you can resolve this problem by increasing the java heap
size in $ARCSIGHT_HOME\current\user\agent\agent.wrapper.conf. The name of the
property is:
wrapper.java.maxmemory=256
Following are some performance measurements from a development environment indicating conditions
that may throw an out-of-memory error:
Data files larger than 50MB for 256MB java heap size
Data files larger than 125MB for 512MB java heap size
Data files larger than 300MB for 1024MB java heap size
Split the scanning of any large number of assets into multiple smaller chunks so that a set of small XML
reports are created rather than one large XML file.
Communication with the Qualys URL cannot be established. What can I do?
There is a known issue with the connector framework attempting to access the Internet directly, even
when you specify proxy settings during connector setup. This causes communication to the Qualys
URL to fail. To work around this problem, modify the following settings in the
$ARCSIGHT_HOME/current/jre/lib/net.properties file:
https.proxyHost=<hostname>
http.nonProxyHosts=localhost|127.0.0.1|<manager_host>|<manager_ip>
https.nonProxyHosts=localhost|127.0.0.1|<manager_host>|<manager_ip>
Confidential
15