The Tags and access blocking module allows you to block access to files based on specified parameters.
Attention
Do not enable this module if you do not intend to block files based on content.
Enabling the module may slow down work with files on workstations.
For files specified in the Files → Rules: File Monitoring → Paths and Masks and Rules: File Monitoring → Paths and Masks → Read sections, blocking notifications will not be displayed.
Configuring the module
Creation and configuration of access blocking rules occurs in the main web interface of iBatyr Monitor.
Go to Control Panel → Computer Configurations, find DLP in the list and check the box.
Click on DLP and select Tags and Access Blocks from the side menu.
To create a rule:
In the Field line, select the rule attribute - the attribute by which the rule will work.
Note
In the Linux agent configuration, blocking devices of the Hard, USB, CD, Network, and Removable types is possible only according to one criterion - Source disk. This behavior is determined by the architectural features of the Linux operating system.
Available attributes:
Attribute
Description
Computer name
Ban for a specific device.
Username
Ban for a specific user.
User domain
Ban for domain users.
Application name
Prohibition of actions with a file in the application.
File name
Restrictions on actions with a file by name.
If the name changes, access will be granted.
For Windows agent the file name must be specified with the extension: your-file.pdf, otherwise the rule will not work.
This is because in Windows the file name includes both the body part and the extension.
To make the rule work without specifying an extension, use the contains operator.
File path
Restrictions for files located at the specified path.
Even if you change your name, access will be limited.
File extension
Limit operations by file extension: .docx, .xls, etc.
If the user changes the extension, access will be granted.
Content Type
Restricting access to a specific content format.
Retained even if the file extension is changed.
Indicator of the presence of a mark
Lock on any label file.
Label value
Blocking by label with a specific value.
Content
Blocking by content.
File operation type
Prohibition on all or individual operations with the file.
Source Disk
Prohibition of transferring files from the source to removable media.
Disk-Receiver
Prohibition of transferring files from storage media.
In the Operator line, select a logical operator.
Available logical operators:
Operator
Abbreviation
Purpose
Usage
not equal
!
Logical NOT
not ATTR
equals
==
Comparison
ATTR == one
matches
Regular expression
ATTR matches “(one|two)”
contained
Being on the list
ATTR in {“one” “two”}
not contained
Not listed
ATTR are not in {“one” “two”}
or
or
Logical OR
ATTR or ATTR2
And
and
Logical AND
ATTR and ATTR2
In the Value field, specify the value of the selected attribute (file name, computer name…). All values are case insensitive.
Attribute Features:
For the Content Type attribute, the file extension is determined based on its content and may differ from that specified in the path;
by the Content attribute you can block only MS Office and .txt files;
When creating rules with the Content attribute, use the Boolean operator matches.
Features of the module
Incorrectly configured blocking rules may disrupt the functionality of some applications.
For example, blocking zip archives can disrupt the operation of MS Excel, since the Excel cache is stored in a zip archive format. To avoid this, the rules for blocking zip archives should be as follows:
mime == “application/zip” and not exe_name matches “(7zfm.exe|excel.exe)
mime == “application/zip” and exe_name != “7zfm.exe” or exe_name != “excel.exe
More examples of how the blocking module works are given in separate article.
Digital tags
In addition to blocking rules, the module supports working with digital file tags. These tags allow you to track files even if their name or content changes.
The Tags and access blocking module supports working with files in the following format:
Microsoft Office Word Document (.docx)
Microsoft Office Excel Workbook (.xlsx)
Microsoft Office PowerPoint Presentation (.pptx)
Open Office Text Document (.odt)
Open Office Spreadsheet (.ods)
Open Office Presentation (.odp)
You can add a digital tag using the tagger utility for Windows and Linux. You can download the utility in the module window.
Utility for Windows
To put a digital mark on a file:
Download and install the tagger utility in Tags and access blocking → DLP module configuration.
After installation is complete, run the program as an administrator.
Select the required files and click the Mark files icon.
In the label creation window that opens, enter the label text.
Ready! The digital tag has been placed.
Now you can configure tracking the movements of these files within the security perimeter.
Linux utility
To put a digital mark on a file:
Download the tagger utility in Tags and access blocking → DLP module configuration.
Make the script file executable:
chmod +x /path/to/taggerHere /path/to/ is the full path to the downloaded script.
Place a label on the selected file:
./tagger tag -v mark_name path/to/file_nameHere mark_name is the text of the mark; path/to/file_name — path to the file that needs to be marked (including the network path).
Ready! The digital tag has been placed. Now you can configure tracking the movements of these files within the security perimeter.
List of commands and flags of the tagger utility:
Command/flag |
Description |
|---|---|
-H |
Call a list of available commands. |
-V |
Full name and version of the utility. |
help |
Calls up a list of available commands with descriptions. |
info |
Returns information about the specified file. |
rule |
Debug command for testing manually created DLP rules. |
simularity |
Compares the contents of two files. |
tag |
Places the specified label on the specified file. |