Kaspersky Security Center 15 For Linux PoC Guide
Kaspersky Security Center 15 For Linux PoC Guide
Kaspersky
22.09.2023
Changelog
This version is made for Kaspersky Security Center 15 for Linux and Kaspersky Endpoint Security for Linux 11.4.
Contents
Introduction ...................................................................................................................................................................3
Who should use this guide? ......................................................................................................................................3
About Kaspersky Security Center for Linux ...............................................................................................................3
Prepare the environment ..............................................................................................................................................4
Review the hardware and software requirements .....................................................................................................4
Download required files .............................................................................................................................................4
Setup and deploy ..........................................................................................................................................................5
Install MariaDB server ...............................................................................................................................................5
Install Kaspersky Security Center for Linux ...............................................................................................................8
Install and configure Kaspersky Security Center Web Console ..............................................................................10
Capability scenarios ....................................................................................................................................................17
Remote Protection Deployment for Linux ................................................................................................................17
File Threat Protection for Linux ...............................................................................................................................28
Web Threat Protection for Linux ..............................................................................................................................31
Network Threat Protection for Linux ........................................................................................................................33
Behavior Detection ..................................................................................................................................................35
Device Control .........................................................................................................................................................37
Useful information .......................................................................................................................................................39
Appendix A: POC success criteria ..............................................................................................................................40
Introduction
Who should use this guide?
This guide is built to help you quickly deploy and configure Kaspersky Security Center for Linux for evaluation1. It
guides you through the process of Kaspersky Security Center for Linux installation and configuration and
Kaspersky Endpoint Security for Linux deployment. It also demonstrates protection capabilities for Linux devices.
This document is intended for use by Kaspersky presales engineers and 3rd parties willing to evaluate Kaspersky
Security Center for Linux.
Kaspersky Security Center Linux enables the administrator to install Kaspersky security applications on devices on
a corporate network, remotely run scan and update tasks, and manage the security policies of managed
applications. The administrator can use a detailed dashboard that provides a snapshot of corporate device
statuses, detailed reports, and granular settings in protection policies.
• Create a hierarchy of Administration Servers to manage the organization's network, as well as networks at
remote offices or client organizations.
• The client organization is an organization whose anti-virus protection is ensured by the service provider.
• Create a hierarchy of administration groups to manage a selection of client devices as a whole.
• Manage an anti-virus protection system built based on Kaspersky applications.
• Perform remote installation of applications by Kaspersky and other software vendors.
• Perform centralized deployment of license keys for Kaspersky applications to client devices, monitor their
use, and renew licenses.t
• Receive statistics and reports about the operation of applications and devices.
• Receive notifications about critical events during the operation of Kaspersky applications.
• Perform inventory of hardware connected to the organization's network.
• Centrally manage files moved to Quarantine or Backup by security applications, as well as manage files for
which processing by security applications has been postponed.
Feature comparison between the product for Windows and Linux OS is available in Online Help.
1 If you need to deploy Kaspersky Security Center for Linux in production environment, then please refer to Online Help.
Prepare the environment
Review the hardware and software requirements
Administration Server, Database Server, Web Console Server and Network Agent:
https://support.kaspersky.com/help/KSCLinux/15/en-US/96255.htm.
Information about ports used by Kaspersky Security Center 15 for Linux is specified in Online Help.
How to download and install MariaDB Server is described during the deployment step.
Setup and deploy
Main installation scenario is described in Online Help. However, in purpose of this guide we will cover the following
main steps:
2. Installation instructions specific for your Linux Distro will appear. For Ubuntu 20.04 and a repository in UK run
the following commands in terminal:
Copy and paste the following into a file, with the command:
sudo nano /etc/apt/sources.list.d/mariadb.sources
Install MariaDB 10.5 from the MariaDB repository with the commands:
sudo apt update
sudo apt install mariadb-server mariadb-client
3. After installation check the status of
the MariaDB Server (one-line
command):
sudo
mysql_secure_installation
4.1.
5. The next step is to configure MariaDB server. Create a backup copy of the my.cnf file:
sudo cp /etc/mysql/my.cnf /etc/mysql/my.cnf.bk
Configure the following parameters in [mysqld] section 2(modify existing or add new if they’re missing):
sort_buffer_size=10M
join_buffer_size=100M
join_buffer_space_limit=300M
join_cache_level=8
The value of the "innodb_buffer_pool_size” must be no less than 80 percent of the expected KAV
database size. In this guide 6500M is used. It is completely enough for quick testing purposes.
Note that depending on the MariaDB server version the my.cnf file may contain different
sections. You should add the lines to the [mysqld] section.
Save and close the modified file and restart mariadb.service by the following command:
After completing these steps, you successfully installed and configured MariaDB Server.
Install Kaspersky Security Center for Linux
1. Create a group 'kladmins' and an unprivileged account 'ksc'. The account must be a member of the 'kladmins'
group. To do this, sequentially run the following commands:
sudo adduser ksc
sudo groupadd kladmins
sudo gpasswd -a ksc kladmins
sudo usermod -g kladmins ksc
2. Install Kaspersky Security Center for Linux by executing the following command in the terminal:
11.
systemctl status
kladminserver_srv.service
After completing these steps, you successfully installed Kaspersky Security Center.
3. Run the following command to start Kaspersky Security Center 13 Web Console installation:
Enter credentials.
16. Agree to use KSN for KES for Linux and the rest
of the applications selected earlier.
17. Create basic policies and tasks.
After completing these steps, you successfully install Kaspersky Security Center 15 Web Console and performed initial
configuration of the Administration Server.
Capability scenarios
Remote Protection Deployment for Linux
To deploy Kaspersky Endpoint Security for Linux using Kaspersky Security Center you should perform the
following basic steps:
1. Make sure that Kaspersky Endpoint Security for Linux management plug-in is installed in Kaspersky
Security Center 15 Web Console.
2. Create installation packages for both Network Agent and Kaspersky Endpoint Security for Linux.
3. Create and run remote installation tasks for Network Agent and Kaspersky Endpoint Security for Linux.
Click + Add.
15. Prior to Kaspersky applications deployment prepare a Linux device to remote deployment. Do the following:
• Make sure that sudo is installed on the target Linux device.
• Test the device configuration:
▪ Check whether you can connect to the device through an SSH client (such as PuTTY).
If you cannot connect to the device, open the /etc/ssh/sshd_config file and make sure that
the following settings have the respective values listed below:
PasswordAuthentication no
ChallengeResponseAuthentication yes
Save the file and restart the SSH service by using the sudo service ssh restart
command.
▪ Disable the sudo password for the user account under which the device is to be connected.
Use the visudo command in sudo to open the sudoers configuration file. In the file you have
opened, specify the following: username ALL = (ALL) NOPASSWD: ALL. This file is
processed in the “top-to-bottom” order, therefore add this new line to the end of the file. In this
case, username is the user account, which is to be used for the device connection using SSH.
▪ Save the sudoers file and then close it.
▪ Connect to the device again through SSH and make sure that the Sudo service does not prompt
you to enter a password; you can do this using the sudo whoami command.
41. Now select the key and proceed to the next step.
After completing these steps, you successfully deployed Kaspersky protection in your network.
File Threat Protection for Linux
In this scenario we will demonstrate File Threat Protection of Kaspersky Endpoint Security 11 for Linux.
Evaluation steps:
Expected results:
The EICAR test virus file will be deleted by a File Threat Protection On-Access Scan as soon as it’s downloaded.
Instructions:
Go to https://www.eicar.org/?page_id=3950 and
try to download the eicar.com file.
Check that the file has been downloaded and
that it’s been deleted after downloading.
After completing these steps, you have successfully demonstrated File Threat Protection of Kaspersky Endpoint
Security 11 for Linux.
Web Threat Protection for Linux
In this scenario we will demonstrate that using Kaspersky Endpoint Security 11 for Linux you will protect your
computer from the web threats.
Evaluation steps:
Expected results:
Access to the malicious web-page will be blocked by the Web Threat Protection component.
Instructions:
https://www.kaspersky.com/test/wmuf
https://www.kaspersky.com/test/aphish_h
After completing these steps, you have successfully demonstrated that Kaspersky Endpoint Security 11 for Linux
can protect your computer from the web threats.
Network Threat Protection for Linux
In this scenario we will demonstrate that Kaspersky Endpoint Security 11 for Linux can detect and block network
attacks.
Evaluation steps:
Expected results:
The Network Threat Protection component will detect the network attack and block the attacking computer.
Instructions:
• For Windows: download and install the Nmap utility. Ncat is included in the distribution package of Nmap
• For Linux: download and install Ncat from the following link https://nmap.org/download.html or you can
install the Netcat utility via a terminal, e.g. for Ubuntu execute the following command:
4. On the protected computer open terminal and run the following command with elevated rights:
nc -l 80 > umids_Test.Eicar.Ban.pcap
5. On the attacker host in the Command Prompt open a folder with Ncat (it is in the nmap installation folder) and
run the following command:
Ncat 10.0.0.3 80 < umids_Test.Eicar.Ban.pcap
where umids_Test.Eicar.Ban.pcap is the test file to be transferred to the protected host. If the file is not
in the same folder as Ncat, then you should specify the full path to the file.
After completing these steps, you have successfully demonstrated that Kaspersky Endpoint Security 11 for Linux
can detect and block network attacks.
NB: if you performed this attack from the Kaspersky Security Center host, it may be blocked on the protected
host, so there it may be delay in the event appearing on Kaspersky Security Center.
Behavior Detection
In this scenario we will demonstrate that Kaspersky Endpoint Security 11 for Linux can detect and block malicious
activity by using behavior detection.
Evaluation steps:
For Kaspersky employees: request a test file for this scenario from [email protected] .
Expected results:
The Behavior Detection task will detect and delete the test file.
Instructions:
After completing these steps, you have successfully demonstrated that Kaspersky Endpoint Security 11 for Linux
can detect and block malicious activity by using behavior detection.
Device Control
In this scenario we will demonstrate how to restrict certain types of devices on managed computers using
Kaspersky Endpoint Security 11 for Linux.
Evaluation steps:
Expected results:
Use of CD/DVD drive will be blocked by Kaspersky Endpoint Security 11 for Linux.
For most cases it is common to show the restriction for USB devices, however in a cloud environment it is
easier to demonstrate the Device Control functionality for CD/DVD drives. The process of demonstration is
the same for USB devices and other types of devices.
Instructions:
After completing these steps, you have successfully demonstrated that Kaspersky Endpoint Security 11 for Linux
can block access to forbidden types of devices.
Useful information
1. Online Help is the main source of information.
2. Kaspersky Security Center page on the Kaspersky website. On the Kaspersky Security Center page on the
Kaspersky website, you can view general information about the application, its functions, and features.
3. The Knowledge Base is a section on the Kaspersky Technical Support website. On the Kaspersky Security
Center 13 Linux page in the Knowledge Base, you can read articles that provide useful information,
recommendations, and answers to frequently asked questions on how to buy, install, and use the
application. Articles in the Knowledge Base may provide answers to questions that relate both to
Kaspersky Security Center as well as to other Kaspersky applications. Articles in the Knowledge Base may
also contain Technical Support news.
4. If your question does not require an immediate answer, you can discuss it with Kaspersky experts and
other users in our community. In the community, you can view discussion topics, post your comments, and
create new discussion topics.
5. If you cannot find a solution to your problem, contact Technical Support.
Appendix A: POC success criteria
# Task Success criteria Notes
1. Prepare environment
1.1. Review the requirements POC environments meets all the imposed
requirements
1.2. Download required files All required installation files are downloaded.
2.3. Install Kaspersky Security You can successfully log into Kaspersky
Center Web Console Security Center Web Console. Basic
configuration is performed without errors in
accordance with the guide instructions.
3. Capability scenarios
3.1. Deploy Kaspersky protection Network Agents for Linux and Kaspersky
for Linux remotely Endpoint Security for Linux are installed on
the target devices