Contents
Device Control task (Device_Control, ID:15)
When the Device Control task is running, Kaspersky Embedded Systems Security manages user access to the devices that are installed on or connected to the client device (for example, hard drives, cameras, or Wi-Fi modules). This lets you protect the client device from infection when external devices are connected, and prevent data loss or leaks.
By default, the Device Control task starts automatically when the application starts. You can stop the task at any moment if necessary.
The Device Control task manages user access to devices using the access rules. You can select the action to be performed by the Device Control task: apply rules or test rules.
Device Control task manages user access at the following levels:
- Device type. For example, printers, removable drives, or CD/DVD drives.
- Connection bus. Connection bus is an interface used to connect devices to the client device (USB or FireWire).
- Trusted devices. Trusted devices are devices to which users have full access.
You can add devices to a list of trusted devices by ID. Each device has a unique
DeviceId
. You can view the IDs of the connected devices by executing thekess-control --get-device-list
command.
When a device, access to which is denied by the Device Control task, connects to a client device, the application denies the users specified in the rule access to this device and displays a notification. During attempts to read and write on this device, the application silently blocks the users specified in the rule from reading/writing.
If the Device Control task stops running, the application unblocks access to blocked devices.
In the general application settings, if the InterceptorProtectionMode
setting is set to Notify
, it is not possible to block access to devices using a device access schedule (the [Schedules.item_#]
section).
Kaspersky Embedded Systems Security ignores the excluded mount points for the Device Control task. The access rules apply to devices mounted in a globally excluded mount point.
About access rules
Device access rule is the setting that determines which users can access devices that are installed on the client device or connected to it For each device type, you can specify the following access rules: Allow, Block, or DependsOnBus. If the DependsOnBus value is specified, access to the device is defined by the connection bus access rule.
A connection bus access rule allows or blocks access to the connection bus (USB or FireWire). For each connection bus, you can specify the following access rules: Allow or Block. For example, you can allow or block connection of all USB devices. You can also limit access to specific USB devices or only to USB drives; access to other USB devices is denied.
Examples: To deny access to all USB devices except the specified one, specify the following settings: In the In the To deny access to all USB devices, but allow access to all USB drives, specify the following settings: In the In the |
By default, device access rules are created for all types of devices according to the classification of the Device Control component. Such rules grant users full access to devices if access to the connection buses of the respective device types is allowed.
You can edit device access rules and connection bus access rules.
Page topDevice Control settings
The table describes all available values and the default values of all the settings that you can specify for the Device Control task.
Device Control task settings
Setting |
Description |
Values |
|
---|---|---|---|
RulesAction |
Action performed by the application upon an attempt to access a device protected by the access rules. |
|
|
The [DeviceClass] section contains access modes for devices depending on their type. |
|||
HardDrive |
Access mode for the hard drives connected to a client device. |
|
|
RemovableDrive |
Access mode for the removable drives connected to a client device. |
|
|
FloppyDrive |
Access mode for the floppy disks connected to a client device. The application does not block floppy disks connected to the client device using the ISA bus. |
|
|
OpticalDrive |
Access mode for the CD/DVD drives connected to a client device. |
|
|
SerialPortDevice |
Access mode for the devices connected to a client device via a serial port. The application does not block the devices connected to a client device via a serial port using the ISA bus. |
|
|
ParallelPortDevice |
Access mode for the devices connected to a client device via a parallel port. |
|
|
Printer |
Access mode for the printers connected to a client device. |
|
|
Modem |
Access mode for the modems connected to a client device. |
|
|
TapeDrive |
Access mode for the tape devices connected to a client device. |
|
|
MultifuncDevice |
Access mode for the multifunctional devices connected to a client device. |
|
|
SmartCardReader |
Access mode for the smart card readers connected to a client device. |
|
|
WiFiAdapter |
Access mode for the Wi-Fi adapters connected to a client device. |
|
|
NetworkAdapter |
Access mode for the external network adapters connected to a client device. |
Device Control does not allow denying access to external network adapters in order to avoid disconnecting the client device from the network. |
|
PortableDevice |
Access mode for the portable devices connected to a client device. |
|
|
BluetoothDevice |
Access mode for the Bluetooth devices connected to a client device. |
|
|
ImagingDevice |
Access mode for the imaging devices connected to a client device. |
|
|
SoundAdapter |
Access mode for the sound adapters connected to a client device. |
|
|
InputDevice |
Access mode for the input devices (keyboards, mouse, touchpad, and others) connected to a client device. |
|
|
The [DeviceBus] section contains connection bus access rules that determine whether the connection of devices is allowed or blocked. |
|||
USB |
Connection bus access rules for the devices connected to a client device via USB interface. |
|
|
FireWire |
Connection bus access rules for the devices connected to a client device via FireWire interface. |
|
|
The [TrustedDevices.item_ #] section contains trusted devices. |
|||
DeviceId |
Specifies ID or ID mask of a trusted device. |
You can use the masks * (any sequence of characters) or ? (any single character) to indicate the device ID. |
|
Comment |
Comment to the specified trusted device. |
— |
|
The [Schedules.item_#] section contains the device access schedule. You can configure a schedule only for hard drives, removable drives, floppy disks, and CD/DVD drives. |
|||
ScheduleName |
Specifies a schedule name. The schedule name must be unique. |
The default value: The You cannot delete the |
|
DaysHours |
Specifies time intervals for a schedule. |
|
|
The [HardDrivePrincipals.item_#] section contains hard drive access rules. For hard drives, at least one schedule must always be enabled. You can assign several access rules to a hard drive. Also, multiple schedules can be specified for a user or group of users. If an access rule conflict occurs for a user or group, the minimum access rights are granted. |
|||
Principal |
Specifies a user or group of users for whom the access rule is applied. |
|
|
[HardDrivePrincipals.item_#.AccessRules.item_#] |
Access rule settings. |
— |
|
UseRule |
Specifies whether the rule is enabled or disabled. |
|
|
ScheduleName |
Schedule specified in the [Schedules.item_#] section. |
The default value: |
|
Access |
Specifies access type. |
|
|
The [RemovableDrivePrincipals.item_#] section contains the access rules for removable drives. For removable drives, at least one schedule must always be enabled. You can assign several access rules to a removable drive. Also, multiple schedules can be specified for a user or group of users. If an access rule conflict occurs for a user or group, the minimum access rights are granted. |
|||
Principal |
Specifies a user or group of users for whom the access rule is applied. |
|
|
[RemovableDrivePrincipals.item_#.AccessRules.item_#] |
Access rule settings. |
— |
|
UseRule |
Specifies whether the rule is enabled or disabled. |
|
|
ScheduleName |
Schedule specified in the [Schedules.item_#] section. |
The default value: |
|
Access |
Specifies access type. |
|
|
The [FloppyDrivePrincipals.item_#] section contains access rules for floppy drives. For floppy drives, at least one schedule must always be enabled. You can assign several access rules to a floppy drive. Also, multiple schedules can be specified for a user or group of users. If an access rule conflict occurs for a user or group, the minimum access rights are granted. |
|||
Principal |
Specifies a user or group of users for whom the access rule is applied. |
|
|
[FloppyDrivePrincipals.item_#.AccessRules.item_#] |
Access rule settings. |
— |
|
UseRule |
Specifies whether the rule is enabled or disabled. |
|
|
ScheduleName |
Schedule specified in the [Schedules.item_#] section. |
The default value: |
|
Access |
Specifies access type. |
|
|
The [OpticalDrivePrincipals.item_#] section contains the access rules for CD/DVD drives. For CD/DVD drives, at least one schedule must always be enabled. You can assign several access rules to a CD/DVD drive. Also, multiple schedules can be specified for a user or group of users. If an access rule conflict occurs for a user or group, the minimum access rights are granted. |
|||
Principal |
Specifies a user or group of users for whom the access rule is applied. |
|
|
[OpticalDrivePrincipals.item_#.AccessRules.item_#] |
Access rule settings. |
— |
|
UseRule |
Specifies whether the rule is enabled or disabled. |
|
|
ScheduleName |
Schedule specified in the [Schedules.item_#] section. |
The default value: |
|
Access |
Specifies access type. |
|
Viewing the list of connected devices on the command line
Only users with the admin and audit roles can view the list of connected devices.
To view the list of connected devices, execute the following command:
kess-control [-D] --get-device-list
Kaspersky Embedded Systems Security displays the following information about connected devices:
- Device type. Type of the connected device. For example,
OpticalDrive
orHardDrive
. - Identifier. ID of the connected device.
- Name. Name of the connected device.
- Path. Path to the device in the sysfs virtual operating system.
- System drive. The setting indicates whether the connected device is a system drive (Yes or No).
- Bus. Connection bus. Possible values:
UnknownBus
,USB
,FireWire
. - Driver. Name of the driver read by the sysfs virtual operating system.