Kaspersky Industrial CyberSecurity for Linux Nodes

Start process

August 5, 2024

ID 272410

You can use the Start process task to remotely start processes and executable files on devices.

For example, you can run:

  • Processes stopped as a result of malicious activity on the device.
  • Processes stopped by you.

    For example, you can remotely start a process that you have stopped using the Terminating a process task.

  • Scripts.

    For example, you can run a script to collect data from the device to investigate a threat.

  • Utilities.

    For example, you can run a utility that saves device configuration information to a file.

  • Applications.

If SELinux is installed in your operating system in Enforcing mode, starting the Start process task requires additional configuration of SELinux.

You can create and run the Start process task, as well as edit its settings in the Web Console:

You cannot create, run, or configure the Start process task using the command line. You cannot view a Start process task created in the Web Console on the command line with the kics-control --get-task-list command.

Start process task settings

Setting

Description

Executable command

Field for entering the command to start the process.

For example, if you want to run the klnagchk tool, which checks the connection to the Administration Server, you need to enter /<absolute path to the directory with the utility>/klnagchk and then, if necessary, fill in the other fields described in the table below.

Command line arguments (optional)

Field for entering command line arguments to pass additional input to the script, utility, or application at startup.

For example, you can enter the -logfile /tmp/klnagchk.log argument. This argument tells the tool to save the result to a file named klnagchk.log in the /tmp directory.

If you need to pass multiple arguments, separate them with spaces.

For example, you can enter -logfile /tmp/klnagchk.log -savecert /home/user/certificate.cer arguments. These arguments tell the tool to save the result to a file named klnagchk.log in the /tmp directory, and to save the certificate used to check access to the Administration Server in the certificate.cer file in the /home/user/ directory.

Working directory path (optional)

Field for the path to the working directory in which the command from the Executable command field is executed.

For example, you can enter /tmp and run the klnagchk utility with the following arguments: -logfile klnagchk.log -savecert certificate.cer. In this case, both files are created in the /tmp directory.

You can view the result of the task in the Assets (Devices)Tasks → <task name> section, on the Results tab in the Description column.

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.