Kaspersky Embedded Systems Security for Linux

Configuring the use of Kaspersky Security Network in the command line

You can enable or disable the use of Kaspersky Security Network in the command line by using the UseKSN option in the general application settings.

You can change the value of UseKSN with the help of command line switches or a configuration file that contains all general application settings.

To enable the use of Kaspersky Security Network with the help of command line switches, run:

kess-control --set-app-settings UseKSN=<Extended/Basic> --accept-ksn

where:

  • <Extended/Basic>: Kaspersky Security Network mode.
  • --accept-ksn: an option signifying that you agree to the terms in the Kaspersky Security Network Statement. You confirm that you have fully read, understand, and accept the terms and conditions of the Kaspersky Security Network Statement.

The file ksn_license.<language ID> containing the text of the Kaspersky Security Network Statement is located in the directory /opt/kaspersky/kess/doc/.

To disable the use of Kaspersky Security Network with the help of command line switches, run:

kess-control --set-app-settings UseKSN=No

To enable or disable use of Kaspersky Security Network with a configuration file, execute the following command:

kess-control --set-app-settings --file <configuration file name> [--json] [--accept-ksn]

where:

  • --file <configuration file path> is the full path to the configuration file with the general application settings where the required UseKSN value is configured.
  • --json: specify this option if you are importing settings from a configuration file in JSON format. If the --json option is not specified, the application attempts to import from an INI file. If the import fails, an error is displayed.
  • --accept-ksn: an option signifying that you agree to the terms in the Kaspersky Security Network Statement. You must specify the option if you are enabling the use of Kaspersky Security Network.

If Kaspersky Embedded Systems Security installed on a client device runs under a policy that was assigned in Kaspersky Security Center, the value of the UseKSN setting can only be modified by using Kaspersky Security Center. When Kaspersky Embedded Systems Security installed on a client device stops running under a policy, the following value is assigned to the setting: UseKSN=No.

In this section

Checking the connection to Kaspersky Security Network using the command line

Enabling and disabling cloud mode from the command line

Page top
[Topic 265021]

Checking the connection to Kaspersky Security Network using the command line

To check the connection to Kaspersky Security Network, run the following command:

kess-control --app-info

The Using Kaspersky Security Network line displays the status of the connection to Kaspersky Security Network:

  • If Extended KSN mode is displayed, Kaspersky Embedded Systems Security uses Kaspersky Security Network, information can be obtained from the knowledge base, and anonymous statistics and information about the types and sources of threats are sent.
  • If Basic KSN mode is displayed, Kaspersky Embedded Systems Security uses Kaspersky Security Network and information can be obtained from the knowledge base, but anonymous statistics and information about the types and sources of threats are not sent.
  • If the status is Disabled, Kaspersky Embedded Systems Security does not use Kaspersky Security Network.

The Kaspersky Security Network Infrastructure line displays information about the infrastructure solution that is used to work with Kaspersky reputation databases: Kaspersky Security Network or Kaspersky Private Security Network.

A connection to Kaspersky Security Network may be absent for the following reasons:

  • The user device is not connected to the internet.
  • The use of Kaspersky Security Network is disabled.
  • The application has not been activated or the license has expired.
  • Problems related to the license key are detected. For example, the key is in the denylist.
Page top
[Topic 246852]

Enabling and disabling cloud mode from the command line

Cloud mode is an operating mode of Kaspersky Embedded Systems Security that uses a lightweight version of the malware databases.

You can enable or disable cloud mode in the command line with the help of the CloudMode=Yes/No option in the general application settings.

You can change the value of CloudMode using a configuration file that contains all general application settings or with command line options.

Cloud mode is available if use of Kaspersky Security Network is enabled.

Page top

[Topic 265024]