- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
02-14-2022 09:05 AM
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 ?
02-14-2022 08:17 PM
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
02-14-2022 08:17 PM
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
02-14-2022 10:01 PM
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 ?
02-14-2022 11:03 PM
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
02-15-2022 12:28 AM
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?
02-15-2022 07:55 AM
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
02-15-2022 08:11 AM
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?
02-15-2022 08:38 AM
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:
Nino
02-16-2022 01:42 AM
Right. So i have created a new platform by duplicating Unix via SSH Keys
And now I'm adding an account onto CyberArk:
Just 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 ?
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!

