Files

Illustration 1 — Files

File activity - monitors basic file operations (reading, writing, deleting, etc.).

Note

Incorrect configuration of this module can lead to decreased performance on user workstations. If there is no file activity monitoring task, disable this module to reduce the load.

FTP - monitoring connections via the FTP protocol: intercepting logins, passwords, downloaded and uploaded files.

Shadow copying - interception of shadow copies of files. Supports intercepting files sent by:

  • by email via postal agents and webmail;

  • to USB drives;

  • via Internet messengers: QIP, ICQ, Skype, Agent Mail.ru, etc.;

  • to the printer;

  • via browser on Google Drive.

Note

For Linux systems, shadow copying of files on USB drives is possible only to the addresses specified in Rules: File monitoring - Paths and masks.

Intercepting files from external media - intercepting the list of files that are on the USB drive at the time of connection. Interception is available for Windows and Linux agents.

The agent intercepts files with the following extensions: .png, .mp4, .xls, .txt, .docx, .doc, .jpg, .jpeg, .pdf.

For each file, the agent creates a separate File operation event with the operation type Disk table of contents. The event contains the file name and its location on the external drive.

Illustration 2 — Files

To have the agent create copies of files and transfer them to the server, enable Shadow copy and set interception rules.

File interception from mobile devices (WPD) - interception of a list of files from connected mobile devices. When Rules: Intercepting files from external media is enabled, files are additionally shadow copied.

Shadow copying when transferring via RDP - creating shadow copies when copying files via a shared clipboard when connecting to a remote desktop via the RDP protocol.

Note

Enable the Clipboard option in the RDP connection settings for the shared clipboard to work. It allows you to copy files between your local and remote computer.

Warning

For the module to work, enable Clipboard in the Keyboard and clipboard section. Without it, the agent will not monitor the shared clipboard and create shadow copies of files when copied.

Behavior under various scenarios:

Scenario

Result

  1. PCs without an agent connected via RDP to PCs with an agent.
    2. The user copied the file to on any of the PCs.

The agent creates a shadow copy of the file.

  1. PCs with an agent connected via RDP to PCs without an agent.
    2. The user copied the file to PCs with an agent.

The agent creates a shadow copy of the file.

  1. PCs with an agent connected via RDP to PCs without an agent.
    2. The user copied the file to PCs without an agent.

The agent does not create a shadow copy of the file.

  1. PCs with an agent connected via RDP to another PCs with an agent.
    2. The user copied the file to on any of the PCs.

The agent creates a shadow copy of the file.

A shadow copy is created both when copying a file from a computer to a remote desktop, and in the opposite direction - from a remote desktop to a computer under the supervision of an agent.

Note

To create a shadow copy, the file size must not exceed the value in the Max file size for shadow copy field.

Max file size for shadow copying—maximum file size for shadow copying. This limitation protects the controlled PCs, data transmission channels and server from overload in the event of mass transfer of large files.

SMB caching - speeds up file processing. Useful if your network uses many file servers.

Normalize filenames - expands all short filenames. May slow down access to file servers.

Rules: File monitoring - Paths and masks

Disable - disables tracking of file operations on the specified paths.

Allow - monitors file operations only on the specified paths. All other file activity is not tracked.

When specifying monitoring paths, special characters are supported:

  • asterisk “*” - any number of characters before or after the specified line;

  • question mark “?” — indication of any one character of the string.

File monitoring on Linux agents

To enable file monitoring on the Linux agent, turn on the File activity switch and add paths to monitor in the Rules: File monitoring - Paths and masks section.

Note

If you leave the Allow and Deny lines empty, file activity will not be monitored.

Note

Copying files on the Linux agent is fixed only when moving along the specified paths. If the path is not included in the list, the copy operation is not tracked.

Examples of specifying paths:

Path

Description

Comment

/

All directories on the machine.

The vast majority of file operations are
system operations that do not relate to
user activity.
Specifying “/” in the Allow line can
heavily load the system

~/

User home directories.

Reduces the number of
events displayed with files. Sufficient level of control.

~user/

User’s home directory is user.

/media/

Operations with CD and USB devices.

Specify the path used on your system.

/mnt/

Operations with mounted
USB devices.

Specify the path used on your system.

~/.*

Operations in system folders
(/home/user/.cahce/, etc.)

Here, the main part of the operations are system ones and
does not relate to user activity.

Rules: File monitoring - Paths and masks - Reading

Disable - disables tracking of read operations on the specified paths.

Allow—monitors read operations only on the paths specified in the filter. All other file activity along any paths is not tracked.

Note

This rule affects the operation of the “File Activity” module: if the Deny line at the end of the path or mask is set to “*”, then file reading operations will not be tracked along this path and no file operations will be displayed in the Lens, since the first operation when working with files is always Read.

Rules: File monitoring - Applications

Deny - list of executable files whose file operations are not monitored.

Allow - list of executable files for which file operations should be monitored.

Rules: File monitoring - Applications - Reading

Deny—Disables file read operations from being tracked by the specified executable files.

Allow - Allows file reads to be tracked by only the specified executable files.

Rules: Files - Special controls

Allow - creates a shadow copy for the selected files for all file operations except deletion.

For Linux systems, shadow copying of files only works within the paths specified in Rules: File monitoring - Paths and masks and when Shadow copying is enabled. Shadow copies are written to the report designer in the corresponding operation in the event type - File - Operation.

Note

If you actively use, for example, a folder name, a lot of shadow copies of files can be formed.

Rules: Intercepting files from external media

Allow—masks for intercepting files from external drives.

Supported post format:

  • *.docx — intercepts files with the specified extension;

  • name.* - intercept files with a given name;

  • *.* - intercepts all files from the media.

Warning

The *.* rule can cause a large load on the server.