Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel76
outlinefalse
typelist
printablefalse
Info

Thank you for choosing CyberCNS. Please find below scenarios to help you choose the type of Agent suitable for your environment.

Please note CyberCNS supports only 64-bit systems for scanning and agent installation purposes.

All about Agents

  • CyberCNS provides a Single Downloadable Agent which can be used as a Probe (the so-called Regular or Network Agent) OR a Lightweight Agent OR a Scan Agent. You can choose the correct agent configuration based on your requirement. This document provides a way to decide which configuration is best suitable.

  • Navigate to Overview and click on Probes/Agents to download the Agent.

  • CyberCNS has three different types of installations that can be used depending on the requirement. These are Probe, LightWeight Lightweight, and Scan.

  • Choose the OS Type as Windows/ Mac/ Linux, or ARM and download the required Probes / Agents (Probe/Lightweight/Scan) and copy it into the remote machine, and run the command.

...

  • A Probe or Network Agent is typically installed on any machine in the network and will scan all assets in that defined network.

  • A Lightweight agent Agent, on the other hand, is installed on an end user’s system and will only scan that particular asset (useful in work-from-home scenarios when the user is not on the corporate/office network).

  • The agent will behave as a Probe or Lightweight agent depending on the command line arguments passed while during installation. These commands are to be used for installation and are readily provided in the CyberCNS console while downloading an agent.

  • CyberCNS agent uses silent installation so it is easy to push through any RMM.

  • Probe & Lightweight agents pull the same information except, lightweight does not provide Network Scan Findings.

List of Supported Operating Systems for Agent Installation

...

UBUNTU OS

...

Info

we no longer support the installation of agents on Windows 2008 R2 in v3 , and in V4 agent. This decision is based on the absence of some required kernel Dynamic Link Libraries (DLLs) in this operating system, particularly due to limitations imposed by GoLang.

List of Supported Operating Systems for Agent Installation

UBUNTU OS

Ubuntu 22.04 LTS

Jammy Jellyfish

Ubuntu 20.04 LTS

Focal Fossa

Ubuntu 18.04 LTS

Bionic Beaver

CENT OS

CentOS - 7.0

CentOS - 8.0

REDHAT LINUX OS

RHEL 7

Maipo

RHEL 8

Ootpa

SLES

OS Version 11

Suse

OS Version 12

Suse

DEBIAN OS

Debian 7

Wheezy

Debian 8

Jessie

Debian 9

Stretch

Debian 10

Buster

Debian 11

Bullseye

MAC OS

OS X 10.9

Mavericks (Cabernet)

OS X 10.10

Yosemite (Syrah)

OS X 10.11

El Capitan (Gala)

macOS 10.12

Sierra (Fuji)

macOS 10.13

High Sierra (Lobo)

macOS 10.14

Mojave (Liberty)

macOS 10.15

Catalina (Jazz)

macOS 11

Big Sur (GoldenGate)

macOS 12

Monterey (Star)

MICROSOFT WINDOWS OS

Windows 8

windows windows 10 (64-bit)

Windows

8.1

11 (64-bit)

windows windows 10

Windows Server 2012 (64-bit)

Windows

11 (64-bit)

Windows Server 2008 (64-bit)

Windows Server 2008 R2 (64-bit)

Windows Server 2012 (64-bit)

Windows

Server 2012 R2 (64-bit)

Windows Server 2016 (64-bit)

Windows Server 2019 (64-bit)

Windows Server 2022 (64-bit)

Introduction

  • This document provides an overview of the various installation switches for an Agent and how they are used during the process of installation and post-installation. There are two ways:

Note: There are two executables 

🔸 cybercnsagentCybercnsagent.exe that is used during installation. 

...

Installation Parameters

  • 🔸 Cybercnsagent.exe

S.No

Command line Parameter

Description

1

-c

Companyid. Unique id of the company which is a guid. 

2

-a

ClientId. This is a clientid that identifies a company in the installation. This is used to authenticate the agent against the Keycloak Openid so that it has only specific permissions. A modified version of an agent can never delete data using these credentials.

3

-s

ClientSecret. This is a secret that authenticates the clientid in the installation. This is used to authenticate the agent against the Keycloak Openid so that it has only specific permissions. A modified version of an agent can never delete data using these credentials.

4

-b

Base URL or Domain. CyberCNS domain that the agent needs to check into. <company name>.mycybercns.com

For V3 please use portal.mycybercns.com/me/<domain name>

Probe Type-Specific Options

5

-i

Install as a service. This must be followed by the Service Role that can be

  • Probe - Scans the entire network and provides data

  • Lightweight Agent- Scans the individual system where it is installed

6

-m

Run without creating a service or installing as in the case of conducting an assessment. This must be followed by the Service Role that can be

  • Probe - Scans the entire network and provides data

  • Lightweight Agent- Scans the individual system where it is installed

Post-installation

  • The cybercnsagentv2.exe is located in Installation Path: C:\Program Files(x86)\CyberCNSAgentV2. It has the following parameters.

1

-d

Run the agent in debug or verbose mode on the command line. This is usually to debug a problem when discovery does not happen 

2

-h

Help Text display all options

3

-u

Force an update of the agent. Checks if a new version is available and upgrades itself

4

-v

Display the version of the agent

To download the agent

  • On the global menu(⚙) Navigate to the Overview tab and click on Probe/Agent to install the Agent.

Info

Please use the below Direct Download URL for agent download in case required. URL used under Probes/Agents comes with expiry so not suitable for agent push through RMM.

https://configuration.mycybercns.com/api/v3/configuration/agentlink?ostype=windows

​>> Supported ostype keys

For Windows -> windows

For Linux -> Linux

For MAC -> darwin

For ARM / Raspberry Pi. -> arm

🔸 For a successful download please follow the below steps depending on your agent selection.

...

  1. Open Powershell as an administrator.

  2. Use a copied command from the console to install. This contains information about your domain, company, etc.

...

  • Click on select Exe or Msi format for the window operating system

  • Please refer to MSI Agent installation using GPO documentation for MSI agent installation using GPO.

...

  • In case of command prompt as administrator is used please use the below-highlighted part of the command only.

  • Navigate to the folder where the agent is downloaded. You may want to create a new folder and copy the CyberCNS agent into it as it gets installed into the same folder.

...

  • The Probe is a Windows Service that is installed on the Windows machine in the network you would be running scans on. The Windows Service runs under the local system permission but requires the following prerequisites

    • 4 core CPU on the machine

    • Minimum of 4 GB RAM for the first 1000 Assets and 1GB for every additional 500 assets.

    • Reachability to all the subnets needs to scanbe scanned.

    • Ports 443 outbound opened to the installation domain <yourcompany>.mycybercns.com

    • Admin SMB shares permission to login into the remote system and fetches required data.

  • The Probe is useful for an office environment where you have controlled IP Addressing.

  • It deploys the following techniques to get to the devices

    • Windows - It attempts to use the Admin SMB share to send a small executable called the Dissolvable agent that it then runs on the remote machine to fetch the details. It probes the shares using standard SMB tools and does an NFS discovery to check any NFS shares.

    • Active Directory - It uses SMB to query the users, and groups from the Credentials provided during the AD setup in the Master credentials.

    • Linux - It uses SSH credentials to log in to the box and figure out using Linux commands what is running on the machines.

    • Network Devices - It uses SNMP to discover the Sysobjectid and look up the version of the device and then query the vulnerabilities for the version. It also connects to OEM APIs to get the vulnerability details.

  • You can discover multiple subnets(CIDR/IP Range/Static IP) using a single Probe.

  • The probe will require AD Credentials in the case of the AD environment for scanning purposes.

  • In the case of a Non-AD Environment, if any central system is able to communicate with the other systems in the network it solves the purpose.

...

Info

For Windows Agent Powershell version 3.0 and above is required.

  1. Navigate to the Company under which the agent is to be installed and open the Probes/Agents section to get the installation command. ( Below image can be referred)

  2. Select the install option as to either as Probe or , Lightweight or Scan install.

  3. Click on Download once the option is chosen, and then run the command for the selected company as shown below. OR Copy the complete command to the clipboard using the copy option in the command box.

  4. Open Powershell as an administrator, and run the script.

  5. Probe A probe or lightweight agent will be installed in the devicechosen asset.

  • If Probe/ Lightweight is chosen then it installs the CyberCNS service into the agent system, whereas the Scan agent will only scan that system without installing a CyberCNS service. Using the installed service we can use a feature of the scheduler.

...

To Install as a Lightweight Agent

  • The below image is to download the Probe Agent by selecting the option as Lightweight agent for the selected company.

...

  • we can use a feature of the scheduler to help schedule further scans.

  • Select Exe/ Msi format of the installer for the Windows operating system.

...

To Install a Lightweight Agent

Info

Web installer format is available for Lightweight agent only.

  • Click on select Exe/Msi/web installer format to install lightweight agent on the windows system.

  • Either download a Lightweight agent for the selected company as per below image or use the command shown in the grey box to copy and run it under Powershell as an administrator for windows.

...

  • Click on Select Web Installer format for the Windows operating system.

    Image Added
  • The agent will be downloaded in the download folder ( or the set folder for download) of the system used for download.

...

  • Navigate to the download folder, Right-click on the downloaded file, and click on Run as administrator.

...

  • WebInstaller installation window will appear as below showing the status of agent installation.

    Image Added

To run a scan

  • Once the download is completed, select the option to Scan and run the command.

  • A scan agent will help to do a one-time scan.

...

Uninstallation Steps for Windows(Probe & LightWeightAgent)

...

  1. Download Mac/Apple agent from the company & open the terminal.

  2. At the terminal run >> Sudo Su

  3. Navigate to the downloaded path and give executable permission for the installation script using the commands below. using the commands below

    Code Block
    chmod +x cybrcnsagentcybercnsagent_darwin

To Install as a Probe

...

  1. Download the Linux agent from the company & open terminal

  2. At the terminal run >> Sudo Su

  3. Navigate to the downloaded path and give executable permission for the installation script using the commands below.

Code Block
chmod +x cybrcnsagentcybercnsagent_linux

To Install as a Probe

...

  1. Download the ARM agent from the company & open terminal

  2. At the terminal run >> Sudo Su

  3. Navigate to the downloaded path and give executable permission for the installation script using the commands below.

Code Block
chmod +x cybrcnsagentcybercnsagent_arm

To Install as a Probe

...

Please use the option with the proxy format for an authenticated proxy:

-p username:password@IPaddress or Hostname:port

e.g. -p user:pass@proxy.example.me:3128

For unauthenticated Proxy

-p IP address or Hostname:port

e.g. -p proxy.example.me:3128

Tags support for LightWeight Agent

...