Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 25 Next »

The agent installation parameters have changed.

Previously installed agents will have no impact to this modification, only new agents installed after Monday, September 30, 2024.

Please note this and change your RMM scripts and any other automated command line installations to support the agent parameter changes.

The current installation method (without the -j $user_secret) will be supported until September 6th, 2024; any installations after this date that are not using the new -j $user_secret will error out for invalid token.

  • The user secret is automatically generated by ConnectSecure

  • The user secret is generated for ConnectSecure users only

  • The user secret is generated per ConnectSecure user and can be used across all company tenants and RMM installers; you do not need a unique $user_secret for each RMM installer

  • The user secret does not expire unless explicitly reset in Global Settings

The agent download screen will automatically create and assign the $user_secret as shown here:

image-20240829-144545.png

The updated script that includes $user_secret is highlighted in bold below:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; 

$source = (Invoke-RestMethod -Method "Get" -URI "https://configuration.myconnectsecure.com/api/v4/configuration/agentlink?ostype=windows");

$destination = 'cybercnsagent.exe';

Invoke-WebRequest -Uri $source -OutFile $destination;

./cybercnsagent.exe -c $company_id -e $tenant_id -j $user_secret -i;


Please send email to support@connectsecure.com if you have any questions or concerns on this.



Overview

This document will cover installing the ConnectSecure Vulnerability Scan Agent for V4 using different methods.


Instructions

Please review the https://cybercns.atlassian.net/wiki/x/nYA_fif you require policies for agent dependencies.

  1. You must be at the company level to see the installer options; they will not display globally.

  2. Tap on Overview > Agents > Download Agent icon.

image-20240715-173911.png

The agent ALWAYS installs as a Lightweight by default. You must use the Discovery Settings to convert the Lightweight to a Probe.

How To: Configure Company Discovery Settings

  1. Select the desired operating system: Windows, Mac, Linux, or ARM.

image-20240715-174015.png

Windows

Web Installer (Download)

Tap this option to download the ‘cybercns_webinstaller,’ which comes as a Windows Application (*.exe) and should use the ‘Run as Administrator’ option when installing.

image-20240520-135119.png

The system will prompt you to save the application (.exe) to your desired location; choose and click save.

Browse to the location of the download. It’s called ‘cybercns_webinstaller_ID’.

Run the application as administrator to install the agent.

image-20240216-212350.png

The command prompt will appear temporarily and display the installation progress.

image-20240216-212503.png

Once the CyberCNSAgent service is successfully started, the prompt will close out automatically.

🏁 Installation using Web Installer is completed.


Command Line (Download)

Tap on the download option to use the command prompt installation method.

image-20240715-174033.png

You will be prompted to save the application called ‘cybercnsagent’ (.exe) to a location of your choice.

Tap save to continue.

To install, open the Command Prompt as Administrator.

image-20240216-213037.png

Use the change directory command and navigate to the location where you saved the ‘cybercnsagent.exe’ application from the download step earlier.

Run the following command:

cybercnsagent.exe -c <CompanyID> -e <TenantID> -i

^ Replace the <CompanyID> and <TenantID> from the values found in the agent installation window.

image-20240216-214151.png

Agent installation should start and be completed with a successful message, and the CyberCNSAgent service should be started.

image-20240216-214510.png

🏁 Installation using Command Prompt is completed.


PowerShell (Copy to Clipboard)

(preferred installation method)

Tap the Copy to Clipboard button to copy the prebuilt PowerShell script to your clipboard.

image-20240520-135316.png

Open PowerShell as Administrator and run the script.

image-20240216-214729.png

The script will begin the agent download process first, which shows in the PowerShell window.

image-20240216-214840.png

Once the download completes, the script will need a return/enter to start and complete the installation.

Tap Enter.

image-20240216-214932.png

Once the CyberCNSAgent service is started, you can close PowerShell out.

image-20240216-215120.png

🏁 Installation using PowerShell (Copy to Clipboard) is completed.


MSI via GPO

Refer to our KB here: How To: Install ConnectSecure Agent MSI via GPO


Mac

Terminal (Copy to Clipboard)

  1. Select the Mac option, then use the Copy to Clipboard button.

image-20240520-135710.png
  1. Launch the MAC Terminal

  2. Execute: sudo su (enter the password)

  3. Execute: paste the command copied to the clipboard

image-20240520-145451.png

🏁 MAC Agent Install Completed


Installer PKG

  1. Select the Mac option, then tap the Download button.

image-20240522-144327.png
  1. Launch the Terminal

  2. Run the following commands

sudo su
sudo installer -pkg ./cybercnsagent_darwin.pkg -target /; sudo /opt/install.sh -c XXXX -e XXXXXXXXXXXXXXXXXX -i

In the above command on line #2, you need to replace the values for ‘XXXX’ and ‘XXXXXXXXXXXXXXXXXX’

-c XXXX = your Company ID

-e XXXXXXXXXXXXXXXXXX = your Tenant ID

image-20240522-144817.png

🏁 MAC PKG Agent Install Completed


Linux

Terminal (Copy to Clipboard)

  1. Select the Linux option then use the Copy to Clipboard button.

image-20240520-172408.png
  1. Launch the Terminal

  2. Execute: su root (enter the root password)

  3. Execute: paste the command copied to the clipboard

image-20240520-180329.png

🏁 Linux Agent Install Completed


ARM

Terminal (Copy to Clipboard)

IN PROGRESS


RMM or Script Install

NOTE: If you are planning to deploy ConnectSecure V4 Agent through your RMM or similar scripting engine(s), please use the following URL, which has no expiration:

https://configuration.myconnectsecure.com/api/v4/configuration/agentlink?ostype=windows

​>>supported ostype keys

  • image-20240213-134936.png
  1. For Windows -> windows

  2. For Linux -> linux

  3. For MAC -> darwin

  4. For ARM / Raspberry Pi.  -> arm


Need Support?

Do you need help? You can access our support portal to create, view, and update tickets anytime.

https://cybercns.freshdesk.com

Click below to be directed to our secure support portal or email support@cybercns.com to open a ticket.

image-20231229-202028.png

  • No labels