Organization of joint work between RuSIEM and iBatyr Monitor

Introduction

RuSIEM is a software package that is a SIEM system (Security Information and Event Management - security information and event management), designed to collect and analyze information about events in the company’s information environment.

RuSIEM includes various modules - collection and analysis of information, automatic notification of events that are classified as incidents, reporting, etc. The use of RuSIEM will automate the complex processing of logs of various software systems, security devices and applications and provide the data they contain in the form of visual reports, as well as promptly notify system users about events and incidents that have occurred.

Using RuSIEM, you can obtain information about incidents registered in iBatyr Monitor and send alerts about them to groups of RuSIEM users, but for this, interaction (transfer of information about events and incidents) between iBatyr Monitor and RuSIEM must be configured.

Scheme of organizing the transfer of information from iBatyr Monitor to RuSIEM

In the most general terms, the scheme for transferring information from iBatyr Monitor to RuSIEM can be represented by the following scheme:

Illustration 1 — Organization of joint work between RuSIEM and iBatyr Monitor

The iBatyr Monitor server transmits information about events and incidents collected by iBatyr Monitor agents to the RuSIEM server via the syslog protocol, and RuSIEM users receive notifications about these incidents automatically.

The RuSIEM system administrator must configure the RuSIEM server, the iBatyr Monitor server administrator must configure the iBatyr Monitor server.

Setting up the iBatyr Monitor server to transfer information to RuSIEM

It is assumed that the iBatyr Monitor server has already been deployed in the system, and user groups have been created on it. The server is fully operational, the appropriate policies for searching for incidents are configured. Let’s look at an example with the following parameters for connecting to the iBatyr Monitor server:

  • IPv4 address for connecting via ssh protocol – 10.10.13.17

  • web interface - http://10.10.13.17

  • logins – support for connecting via ssh and admin for the web interface

  • passwords – known to the administrator

  • port used to connect to the RuSIEM server – 5014

First you need to enable the system policy Syslog connector.

For example, we will configure the incident message “PrintScreen Execution” - we will assume that in the organization, the execution of PrintScreen (saving a copy of the screen to the buffer for later use) is considered an incident.

Let’s go to the web interface for managing the iBatyr Monitor server through a browser (it is recommended to use Google Chrrome), enter your username and password and click the “Login” button. The web interface of the iBatyr Monitor server will open:

Next, let’s make sure that PrintScreen events were registered by iBatyr Monitor agents earlier (which means we can assume that they will be in the future). Let’s select the period “Current year”:

Illustration 2 — Organization of joint work between RuSIEM and iBatyr Monitor

After displaying the events for the year, in the “Designer” tab, select the “Triggered Policies” dimension, and in it, select the “PrintScreen Interception” event filter. We make sure that there were events, for which, in the “Designer” tab, move down to the “Triggered Policies” link and select the “PrintScreen Interception” filter (highlighted with a red frame):

Illustration 3 — Organization of joint work between RuSIEM and iBatyr Monitor

There really were events, this can be seen on the right side of the browser window.

Now you can proceed to setting up the server to transmit information about events to RuSIEM. Let’s connect to the server via the ssh protocol, for example, using the PuTTY application (we know the server’s IPv4 address, login and password in advance, only current fragments of screenshots are shown):

Illustration 4 — Organization of joint work between RuSIEM and iBatyr Monitor Illustration 5 — Organization of joint work between RuSIEM and iBatyr Monitor

After entering your login and password, the command line interface of the iBatyr Monitor server will open.

Illustration 6 — Organization of joint work between RuSIEM and iBatyr Monitor

Information is transferred to the RuSIEM server using the rsyslog service. You need to make sure that the service is installed and running (active). This is done using the command:

service rsyslog status
Illustration 7 — Organization of joint work between RuSIEM and iBatyr Monitor

The output may differ from that shown in the screenshot, the main thing is that the service is installed and running: this is displayed by the green “active: running” line in the output of the command results. Next, pressing the key combination Ctrl-C will return the server to the command line prompt. If there is no message about a running service (“active: running” in green) in the command output (which is not normal - this is a system service, and on the iBatyr Monitor Enterpise server it should work out of the box), try starting the service with the command:

sudo service rsyslog start

Then request the service status again. If the service still does not work, the only way out is to contact your Linux system administrator.

Next, using the nano editor, we will create the configuration file /etc/rsyslog.d/50-siem.conf on behalf of the superuser (root). This is done with the command:

sudo nano /etc/rsyslog.d/50-siem.conf

After entering the support user password, a nano editor window will open with an empty file (this will show “New File” above the editor command prompt lines). You need to add two lines to this file:

$RepeatedMsgReduction off
If $programname=='ibatyr' then @@10.10.13.18:5014

If you use two or more RuSIEM systems, the configuration with the list of servers should be line-by-line:

$RepeatedMsgReduction off
If $programname=='ibatyr' then @@10.10.10.19:518
If $programname=='ibatyr' then @@10.18.10.12:514

The server address is provided as an example. Replace it with the address of your RuSIEM server and add an empty line:

Illustration 8 — Organization of joint work between RuSIEM and iBatyr Monitor

then press the Ctrl-X, Y and Enter keys. The server will issue a command prompt. Using the cat /etc/rsyslog.d/50-siem.conf command, you need to make sure that the file contains the entered line:

Illustration 9 — Organization of joint work between RuSIEM and iBatyr Monitor

After this, you need to restart the rsyslog service with the command:

sudo service rsyslog restart

If the command does not output anything and the server issues a command line prompt, then everything is configured correctly and you can proceed to configuring the RuSIEM server to receive information transmitted by the iBatyr Monitor server. Configuring the RuSIEM server to receive information from the iBatyr Monitor server It is assumed that the RuSIEM server has already been deployed in the system, and user groups have been created on it. The server is fully operational. The parameters for connecting to it are as follows:

  • web interface – https://10.10.13.18

  • login – admin

  • password – known to the administrator.

Interaction with iBatyr Monitor is configured from the RuSIEM web interface. Let’s connect to the RuSIEM server using the Google Chrome browser via the https protocol, the login window will be displayed. After entering the login and password known to us, and clicking the “Login” button, the interface window of the RuSIEM software package will open (by default, an empty desktop opens, part of the screen is shown):

Illustration 10 — Organization of joint work between RuSIEM and iBatyr Monitor

Setting up the rules for notifying incidents collected by the iBatyr Monitor software package is done in the “Correlation” panel (the third button from the top in the left toolbar, if you hover the mouse cursor over it, a hint will pop up, part of the screen will be shown):

Illustration 11 — Organization of joint work between RuSIEM and iBatyr Monitor

Clicking this button will open the correlation rules panel and display a list of existing correlations (part of the screen shown):

Illustration 12 — Organization of joint work between RuSIEM and iBatyr Monitor

It is necessary to add a new correlation corresponding to receiving information about the event “Print Screen operation completed” recorded by the iBatyr Monitor agent. To do this, click the add correlation button “+” in the toolbar (to the left of the phrase “Select node”).

Illustration 13 — Organization of joint work between RuSIEM and iBatyr Monitor

The panel for adding a new correlation will open (part of the screen shown):

Illustration 14 — Organization of joint work between RuSIEM and iBatyr Monitor

You need to fill out the fields in this section as follows (part of the screen is shown):

Illustration 15 — Organization of joint work between RuSIEM and iBatyr Monitor

Next, you need to scroll down the correlation rule creation panel and create correlation trigger rules. The policy name (field policy.name) must be equivalent (equals) to the name of the triggered policy in iBatyr Monitor (“Intercept Print Screen”), and the value of field vendor must be equal to the string “ibatyr”. Since you cannot set two values in one condition, you will need to set two rules (part of the screen shown):

Illustration 16 — Organization of joint work between RuSIEM and iBatyr Monitor

You can also add one or more additional notifications when the rule is triggered (part of the screen shown):

Illustration 17 — Organization of joint work between RuSIEM and iBatyr Monitor

And describe the contents of the event (part of the screen is shown):

Illustration 18 — Organization of joint work between RuSIEM and iBatyr Monitor

After the rules are created, you need to save the correlation rule by clicking the “Save Rule” button (at the very bottom of the panel, green, shown in the previous illustration). The correlation panel will display the rule we created (part of the screen shown):

Illustration 19 — Organization of joint work between RuSIEM and iBatyr Monitor

Now users of the “Policy Violations” group will have incidents created every time the “Print Screen Interception” policy is triggered in iBatyr Monitor.