Qualys Integration with CCP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Qualys Integration with CCP

L4 Transporter

The Qualys team needs to specify the File on the Qualys side to perform vulnerability scans for Unix based. Now, the situation is that the Unix servers are not a part of Directory group due to which a common ID which performs the scan has to be created on all Unix servers (as a local ID) & those servers needs to be onboarded onto CyberArk.

 

Therefore if any has come across to this, please provide your inputs:-

1) Now if the Qualys team needs to perform scan on 100 Linux servers, they would have to create one record at a time (100 records in total).

2)Is there a way, that they can specify a common name in the File on the Qualys side so that they would not have create 100 records.

 

Is there a way that it can be achieved so that the Qualys team does not have to create 100 records ?

1 accepted solution

Accepted Solutions

L3 Networker

Hi @Sk Faizan Ur Rahman​, a possible solution is to use an ssh key.

 

The Platform "Unix via ssh Keys" is used for this usage. The Public Key is stored on the server and the Private Key is stored on the Vault. Of course, the public key must be copied to all servers. Qualys side it is possible to use only one account and one rule that contains the list of servers to be scanned.

 

View Qualys Integration with CyberArk Application Identity Manager (AIM) guide.

 

Nino

View solution in original post

8 REPLIES 8

L3 Networker

Hi @Sk Faizan Ur Rahman​, a possible solution is to use an ssh key.

 

The Platform "Unix via ssh Keys" is used for this usage. The Public Key is stored on the server and the Private Key is stored on the Vault. Of course, the public key must be copied to all servers. Qualys side it is possible to use only one account and one rule that contains the list of servers to be scanned.

 

View Qualys Integration with CyberArk Application Identity Manager (AIM) guide.

 

Nino

Hi @Antonino Bambino​  : Thanks for your response !

 

Right , so if I refer to page no. 13. There is a section which says :

Using variables in the vault folder or file name 

 

You can use one or more variables when defining the folder name or file name in order to match

several targets that use the same naming convention. During the scan, we'll match the variables

to hosts that are already defined in the vault.

${ip} // The IP address of the target, i.e. 10.20.30.40.

${ip_dash} // The IP address of the target with dashes instead of dots, i.e. 10-20-30-40.

${dnshost} // The DNS host name of the target, i.e. host.domain.

${host} // The hostname of the target, i.e. host before .domain.

${nbhost} // (Windows only) The NetBIOS host name of the target in upper-case, i.e. HOST_ABC.

Qualys CyberArk AIM Integration 14

Important - When using variables to gather credentials from a CyberArk AIM vault, be sure the

scanner appliance used for the scan job has scanner version 11.8 or later. Authentication will fail

if the scanner appliance has an older version because the scanner will not be able to resolve the

variables in your authentication record to actual values. Not sure which scanner version is on

your appliance? Go to the Scans > Appliances list to see the version for each appliance and

update the version if needed.

Example:

Let's say you have these 4 devices in your CyberArk AIM vault:

centos6-10-50-60-70.foo.bar

host40-10-20-30-40

host80-10-50-60-70

host12-10-30-10-12

You’ll need to create 2 records with the following configuration.

Record 1: ${dnshost}

matches centos6-10-50-60-70.foo.bar

Record 2: ${host}-${ip_dash}

matches host40-10-20-30-40, host80-10-50-60-70, host12-10-30-10-12

 

 

This is the below snapshot of the File which I'm referring to since I would have to specify the ObjectName of the target account. Now if want to scan lets say 100 different linux servers. How do I go about that ?

Field_Content_versions_oct20__0682J00000IapwfQAB.png 

L3 Networker

Folder, normally, is Root

File is the Name attribute of CyberArk Account created for authentication ( Operating System-UnixviaSSHKeys-IP_Appliance-Username )

 

For Example

Platform Name: Unix via SSH Keys

Device Type: Operating System

Safe: Safe_Qualys

Username: qualys_lnx

Hostname: XYZZYX (Appliance Qualys)

Address: 10.10.10.10

 

Name: Operating System-UnixviaSSHKeys-10.10.10.10-qualys_lnx

 

Nino

 

 

That is correct the Folder should be Root.

 

However in my case, since the qual_lnx ID is not a part of AD group due to which I’m creating the local ID i.e qual_lnx on 100 different linux servers. So for each server, it creates different ObjectName. For eg.

1) Operating System-UnixviaSSHKeys-10.10.10.10-qualys_lnx

2) Operating System-UnixviaSSHKeys-10.10.10.11-qualys_lnx

 

 

Therefore in Qualys record if Qualys team wants to scan 100 different Linux servers. In File : Qualys would need to specify the ObjectName of different linux servers each time which will create 100 different records. (1 record at a time, 100 records in total)

 

That is where I’m looking for some sort of solution so that the Qualys team would not have to perform this manual task for each servers?

 

 

L3 Networker

I understand the problem. In fact, the proposed solution is to use an ssh key. With a single private key managed by CyberArk you can access all the servers on which the public key is installed.

 

If you don't want to use this solution the problem shifts to the Qualys configuration and in this case it would be better to ask their experts.

 

Nino

Hi @Antonino Bambino​ :

1) currently we're not managing keys. We're using using password-based authentication method to onboard servers onto CyberArk. If I'm not wrong, for managing keys, we would require a separate license for the same ?

2) If we want to proceed with SSH Key based authentication : then what would be the adequate steps that needs to be followed ? Do we need to onboard the 100 Linux servers using SSH key based authentication method?

L3 Networker

1)The Platform Unix via SSH Key not required other license. This is a default Platform and is necesary only one account for managed the private key.

 

2) The activity is moved to all server for the installation of the public key. Normally, the public key is stored in the inital image

 

If you want is possible to test a direct access from PSM:

  • enable Platform if not abled
  • add account for the target and store private key
  • store public key in to target
  • test a connection

 

Nino

Right. So i have created a new platform by duplicating Unix via SSH Keys

And now I'm adding an account onto CyberArk:

Field_Content_versions_oct20__0682J00000Iax55QAB.pngJust have couple of queries. Hope you could confirm on this.

1) On the Address field: what exactly needs to be specified. (since there are 100 different linux servers). Again it will create 100 different Objectname for those servers?

2) if I specify a common IP address and just onboard one account onto CyberArk but then again we wont be able to manage the keys automatically via CPM onto different linux servers ?

  • 1 accepted solution
  • 705 Views
  • 8 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!