Method for controlling access to a disk device connected to an execution platform and execution platform for controlling access to a disk device - Patents.com

By reserving a unique disk label area and enforcing access control through a cryptographic agent, the method addresses the lack of persistent identifiers in Windows systems, enhancing protection against unauthorized access and data loss.

JP2024536924AInactive Publication Date: 2024-10-08THALES DIS CPL USA INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024537803
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-08-27
Filing Date
2022-08-26
Publication Date
2024-10-08
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Windows systems lack unique and persistent identifiers for disk devices, making it difficult to manage and protect access to disk devices across reboots and systems, and existing encryption methods are vulnerable to unauthorized access and bypass.

Method used

A method involving a reserved unencrypted area on the disk device for storing a unique disk label, encryption of user data, and a cryptographic agent to enforce access control based on a protection policy, using a cryptographic agent to identify and manage access to the disk device.

Benefits of technology

Provides robust protection against unauthorized access and threats like ransomware by ensuring only authorized applications can access the disk device, maintaining security across system reboots and migrations, and preventing data loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024536924000001_ABST
    Figure 2024536924000001_ABST
Patent Text Reader

Abstract

The present invention provides a method for controlling access to a disk device (7) connected to an execution platform (1), comprising: reserving an unencrypted first area (9) of the disk device (7) and storing a unique disk label (11) in the first area (9); encrypting a second area (10) of the disk device (7) containing user data and file information, the method further comprising providing an encryption agent (12) running on the execution platform (1), the encryption agent (12) performing the steps of: when a request is made to open the disk device (7), reading the unique disk label (11) stored in the first area (9); obtaining a protection policy for the disk device (7) based on the unique disk label (11); and processing further access to the disk device (7) based on the protection policy.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for controlling access to a disk device connected to an execution platform, and to an execution platform for controlling access to a disk device. [Background technology]

[0002] Windows systems do not have unique, human-interactable identifiers for hard disk devices or logical unit numbers. They do have device paths, such as \device\00000011, but they are not unique or persistent across reboots or systems. Device paths can change for the same disk when the system is rebooted or the disk is attached to a different system.

[0003] Each disk drive has a serial number of the form "B23BD65F", which is relatively unique to the device and persistent across reboots and multiple systems, but can be difficult for users to remember and understand.

[0004] A disk usually has a partition table and related information, as well as an actual volume for storing user data. In Windows systems, there is a private system volume partition reserved by the system. Most disk encryption solutions simply skip the partition information and encrypt only the user volume.

[0005] An encrypted device can be accessed in multiple ways by system or user applications. Because the encryption is at the disk drive level, any application that can open the volume or disk directly will be able to read or modify the clear data. File system level checks alone cannot block these types of access because storage systems are hierarchical. So, for example, the file system is at the top, then the volume, then the disk. Requests that start at the file system level will usually go down to the lower layers (i.e. the data will actually be read from the volume / disk), but requests that start at the volume / disk (block) level will not go the other way up to the file system. So even though a file system rule may say "block this user from reading file X", if that user opens the disk directly and reads the storage area where the file resides, they will completely bypass the protection in the file system by skipping that layer entirely.

[0006] Therefore, there is a need to provide a method for controlling access to disk devices connected to an execution platform that provides better protection against unauthorized use. Summary of the Invention

[0007] The invention is defined by the independent claims 1 and 9. Further developments of the invention are set out in the dependent claims.

[0008] The inventive method for controlling access to disk devices connected to an execution platform provides greater protection against unauthorized use.Other embodiments are also disclosed.

[0009] In a first aspect, the present invention provides a method for controlling access to a disk device connected to an execution platform, comprising: - reserving an unencrypted first area of ​​a disk device and storing a unique disk label in the first area; - encrypting a second area of ​​the disk device containing user data and file information; The present invention proposes a method that may include:

[0010] The method further includes an encryption agent operating on the execution platform, when a request is made to open the disk device, - reading a unique disc label stored in a first area; - obtaining a protection policy for the disk device based on the unique disk label; and - processing further access to the disk device based on the protection policy This may include providing a cryptographic agent that performs the steps:

[0011] Considering the unique disk label stored in the first area of ​​the disk device, it is possible to uniquely identify the disk device across system reboots, multiple host systems and cluster nodes, so that the encryption agent can obtain the protection policy corresponding to the disk device and process further access to the disk device based on the protection policy.

[0012] The method of the present invention can address the use case of protecting disk drives from unauthorized access by processes during a ransomware attack, in particular by using access control and encryption.

[0013] The cryptographic agent may be a piece of software or a software module that executes on the execution platform.

[0014] In a second aspect of the invention, the present invention provides an execution platform for controlling access to a disk device connected to the execution platform. The execution platform for controlling access to a disk device may have the same features as the first aspect of the invention.

[0015] It goes without saying that the features mentioned above and those which will be described hereinafter can be used not only in the combinations specified, but also in other combinations or alone, without departing from the scope of the invention. [Brief description of the drawings]

[0016] In the following text, the present invention will be described in more detail based on exemplary embodiments with reference to the attached drawings, which also disclose essential features of the present invention. These exemplary embodiments are merely illustrative and should not be interpreted as limiting. For example, the description of an embodiment having a large number of elements or components should not be interpreted as meaning that all of these elements or components are necessary for implementation. Rather, other embodiments may include alternative elements and components, further elements or components, or additional elements or components. Unless otherwise specified, elements or components of different embodiments may be combined with each other. Modifications and changes described for one embodiment may also be applicable to other embodiments. To avoid repetition, identical or mutually corresponding elements in different figures are given the same reference numbers and will not be described multiple times.

[0017] [Figure 1] FIG. 2 is a diagram illustrating a disk device 7 connected to the execution platform 1. [Diagram 2] FIG. 2 is a diagram showing the functions of the encryption agent 12 for processing access to a disk device. [Diagram 3] FIG. 2 is a diagram showing the functions of the encryption agent 12 for processing access to a disk device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018] 1 shows diagrammatically an execution platform 1 for executing software applications. The execution platform 1 is embodied for example as a conventional personal computer with a computing section 2 (including for example a processor 3, a working memory 4, an operating system and further hardware elements), an input unit 5 (in this case for example a keyboard) and an output unit 6 (for example a screen). Of course, the execution platform can for example be a distributed system (whose components are located on different networked computers), a multiple host system or a computer cluster.

[0019] Further provided is a disk device 7 connected to the execution platform 1, as indicated by double-headed arrow 8. The disk device 7 may be a hard disk drive (using magnetic storage devices or embodied as, for example, a solid-state drive). Further, the disk device 7 may be embodied in various form factors (for example, as a 3.5-inch or 2.5-inch drive or as a USB flash drive). In particular, the disk device 7 may be an external mass storage device or may be provided by an external mass storage device (for example, a SAN (Storage Area Network) and / or a NAS (Network Attached Storage)). Thus, the disk device 7 may be a directly attached disk device, a disk in a RAID configuration (RAID=Redundant Array of Independent Disks) connected to a controller on the execution platform 1, or an external SAN / NAS storage device.

[0020] As shown, the disk device 7 comprises a first area 9 and a second area 10 .

[0021] To uniquely identify the disk drive 7 across reboots and / or different operating platforms, a unique disk label 11 is associated with the disk drive 7 and stored in a first area 9 on the same disk drive 7. This unique disk label 11 is preferably provided by the user so that the user can easily understand and remember it. If the disk drive 7 is moved to another system or another operating platform, the disk drive 7 can be identified by the exact same disk label 11. Storing the unique disk label 11 on the disk drive 7 provides independence of operating system details. For example, when a regular disk is inserted into the operating platform 1, it may be recognized as \Device\00000005. When that regular disk is put into another system, it may become \Device\00000007, or it may become something like / dev / sd1 if the operating system is different. There is no way to know for sure that this is the same disk. However, the present invention allows for the addition of a private area (first area 9) on disk device 7 that contains a user-defined unique disk label 11 (e.g., "SQL database 123"), so that no matter where disk device 7 is moved or in what order the operating system connects the disks, the user will always know it is the same disk he or she thinks it is.

[0022] The first area 9 is not encrypted and may constitute 64 MB. The first area may store further information, such as for example key information used for encryption / decryption of the second area 10. Of course, the size of the first area 9 may vary and does not necessarily have to be 64 MB.

[0023] The second area 10 may comprise 100 GB and contains user data and file information (e.g., partition tables and other system specific private volumes). Of course, the size of the second area 10 may vary and does not necessarily have to be 100 GB.

[0024] Further provided is an encryption agent 12 (FIG. 2) that operates on the execution platform 1. When a request is made to open a disk device 7 (FIG. 2; step S1), the encryption agent 12 may execute the following steps: The disk device 7 is identified and the unique disk label 11 is read from the first area 9 (step S2). The encryption agent 12 then obtains a protection policy for the disk device 7 based on the unique disk label 11 from the data security manager 13 (step S3).

[0025] Generally speaking, a protection policy will include a set of users, a set of resources, and a set of rules. For example, "Bob" can read all files but not write to any files, "Alice" can read and write all files, and "Carl" can read all files. * This would stipulate that you can read .pdf files, but you can only obtain the ciphertext (eg for backup purposes).

[0026] The Data Security Manager 13 is not part of the execution platform 1, but is part of a remote system that can be accessed, for example, via the Internet. Thus, security can be enhanced because not all pieces of the puzzle are stored on the same platform. In particular, the Data Security Manager 13 should be considered as a separate system, a black box, that provides policy information to the different execution platforms 1 that run the software of the encryption agent 12. It is a centralized authority that pushes configuration and key information to all the individual execution platforms 1.

[0027] The encryption agent 12 processes further access to the disk device 7 based on the protection policy (step S4). Step S4 implements the policy such that, for example, a whitelist in the policy is checked, a process signature (preferably stored in the data security manager 13, providing security to the execution platform so that a malicious application cannot update the signature and break the protection) is verified, and as a result, the application is allowed or denied to open the disk device 7. If the disk device 7 is allowed to be opened, such access includes the decryption required to read data from the second area 10 and encryption to store data in the second area 10 (it is also possible that the policy indicates that the disk device 7 can be opened, but encryption or decryption is not allowed). In this way, the protection policy for user data is implemented and the disk device 7 is protected.

[0028] As discussed, the first area 9 is a part of the disk capacity provided by the disk device 7. Therefore, a certain space or some sectors are reserved on the disk device 7. These reserved sectors need to be protected from other components so that they are not overwritten. Also, since these reserved sectors cannot be used by the execution platform 1, the reported device size needs to be reduced. In Windows systems, implementations above the disk layer are prone to problems and are not always reliable.

[0029] The encryption agent 12 thus comprises an encryption disk driver 14 (above / below is a key property since the relative position in the stack determines the order of processing) below the disk layer of the operation system (hence below the disk system driver 16 of the Windows operation system) as shown in Figure 3. The encryption disk driver 14 is thus a kernel driver below the disk system driver 16 and is able to filter SCSI (SCSI = Small Computer System Interface) requests (steps S1, S1 1 , S2 1 ). The encryption disk driver 14 also reduces the reported disk size of the disk device 7 by the size of the first area. In this example, the disk capacity of the disk device 7 is 100.064 GB. Since 64 MB is reserved in the first area 9, the reported disk size is 100 GB. By providing the encryption disk driver 16, it becomes possible to capture the SCSI device path and process access in accordance with the above protection policy (steps S3, S4). 1 , S4 2 ).

[0030] In addition to these two functions, the encrypted disk driver 14 also needs to adjust the disk offset of all operations. For example, if the length of the first region 9 is 64MB, then the data at offset 64MB on the physical disk is actually the logical offset 0 of the user data. Therefore, if the user application reads data at offset 1MB, it needs to convert the data by adding 64MB to the offset to produce a physical disk read at offset 65MB.

[0031] Thus, the first region 9 is hidden and the operating system and / or user is led to believe that the disk device 7 is slightly smaller. As a result, as already explained, the logical / effective offset will differ from the physical / actual offset and so the encryption agent 12, and in particular the encryption disk driver 14, translates any operations that refer to a particular disk offset.

[0032] The advantage of the encrypted disk driver 14 being a kernel driver below the disk system driver 16 is that it avoids potential bypasses. This is because one is more sensitive to the stacking order above the disk layer. There can be many drivers at each layer (file system, volume, etc.) that provide functionality at that level. However, because of the need to translate positions, it must also ensure that it is the last component in the sequence. If it is not, the user could potentially bypass the execution platform 1 of the present invention, similar to the above example of bypassing the file system completely. For example, if the encrypted disk driver 14 is a volume filter, what happens if the user reads directly at the disk level? The execution platform 1 of the present invention cannot see it, so it cannot adjust, and the user gets the wrong data or sees private areas.

[0033] Furthermore, the disk drive 7 may be accessed as a volume path (e.g., \\.\C:) or as a raw disk drive path (e.g., \\.\PhysicalDrive1), and thus through the file system layer. In this case, the encryption agent 12 filters such paths (steps S1, S1 2 , S2 2 and S2 1 ), and processes the access according to the above-mentioned protection policy (steps S3, S4 1 , S4 2 , S4 3 , S4 4 ) is provided with an encryption file system driver 15 for the encryption file system.

[0034] Thus, the method of the present invention identifies and associates various paths to the encrypted disk device 7 and protects access via these paths according to corresponding protection policies.

[0035] Therefore, by protecting the disk device 7, it is possible to prevent both internal and external threats to data. If the disk device 7 itself performs encryption / decryption, a direct read of the disk or volume from an application will obtain clear data. The method of the present invention prevents this by blocking direct reads of the disk and volume from unauthorized / non-whitelisted applications. Furthermore, the method of the present invention can not only be used to protect data, but also to prevent malicious applications from destroying or deleting the device. If an unauthorized application tries to delete, damage or update important data on the disk device 7, it will be blocked. Therefore, it is possible to provide a stronger, more efficient and stronger protection for the external disk device 7.

[0036] With file system level encryption, direct reads at the disk or volume level are not a big issue as they will return encrypted data. However, ransomware may still perform direct writes to the disk or volume which will cause data loss. Such data loss can be very costly for an enterprise. With the method of the present invention, such data loss will be prevented as the ransomware is not an authorized / whitelisted application and cannot directly access the disk device 7.

[0037] The unique disk label 11 may be selected by the user. In particular, the user may specify a unique human readable name and define which applications are allowed to access the disk device 7. For example, the user may sign the allowed applications (including system processes), create a process set and add the process signature, and add the process set to a protection policy. The user may compile a data protection policy, an access control policy, and a device protection policy, and associate these policies with the unique disk label 11 for protection. Thus, the user does not need to remember long serial numbers, device IDs, and hardware IDs to apply the policies and protections.

[0038] Furthermore, it is possible to uniquely identify a disk drive 7 across system reboots, multiple host systems and cluster nodes, given the unique disk label 11. When a disk drive 7 is moved from one system to another, the unique disk label 11 identifies and enables protection of the disk drive 7 to be protected.

[0039] Furthermore, a user may be able to identify whitelisted applications that may access the disk device 7, thus prohibiting a user or administrator from installing unauthorized or unverified applications to access protected data. This innovation identifies various ways to directly access / open the disk device 7, and allows only whitelisted applications to access the disk device 7. Customers can protect the disk device from unauthorized administrators who may directly open the disk device and read or destroy data. This enhanced protection provides data security and device protection from privileged users.

[0040] According to the present invention, the first region 9 of the disk drive 7 is a dedicated private storage that may only be accessed as described above. Even if a user (or an operating system) attempts to read from the "beginning" of the disk drive 7, they are actually reading from the beginning of the second region 10. In particular, the drivers (e.g., the encrypted disk driver 14 and the encrypted file system driver 15) will translate all requests to effectively hide the first region 9 and trick the operating system into believing that the entire disk drive 7 is solely the second region 10.

Claims

1. A method for controlling access to a disk device (7) connected to an execution platform (1), comprising: - the method comprising: - reserving an unencrypted first area (9) of said disk device (7) and storing a unique disk label (11) in said first area (9); - encrypting a second area (10) of said disk device (7) containing user data and file information, The method further comprises an encryption agent (12) operating on the execution platform (1), which, when a request to open the disk device (7) is received, - reading said unique disc label (11) stored in said first area (9), - obtaining a protection policy for said disk device (7) based on said unique disk label (11); and - processing further access to said disk device (7) based on said protection policy; providing a cryptographic agent (12) that executes:

2. 2. The method of claim 1, wherein the encryption agent (12) performs decryption for reading data from the second area (10) and encryption for writing data to the second area (10).

3. the encryption agent (12) comprises an encryption disk driver (14) below the disk layer of an operating system running on the execution platform (1); 3. The method of claim 1, wherein the encryption disk driver (14) controls access to the disk device (7) that bypasses the disk layer.

4. 4. The method of claim 1, wherein the encryption agent (12) comprises a file system driver (15) for controlling access to the disk device (7) through a disk layer of an operating system running on the execution platform (1).

5. The protection policy includes a whitelist of applications that are permitted to access the disk device (7), 5. The method according to claim 1, wherein the encryption agent (12) allows access to the disk device (7) only by applications included in the whitelist.

6. The method according to any one of claims 1 to 5, further comprising a data security manager for processing security policies and ensuring that the disk label (11) is a unique disk label (11).

7. The method according to any one of the preceding claims, comprising a label step whereby a user can define the unique disc label (11).

8. 8. A method according to any one of claims 1 to 7, comprising a policy step by which a user can define a whitelist of applications that are allowed to access the disk device.

9. 1. An execution platform for controlling access to an attached disk device, comprising: the disk device (7) comprises an unencrypted first area (9) for storing a unique disk label (11) and an encrypted second area containing data and file information, When an encryption agent (12) is running on the execution platform (1) and a request is made to open the disk device (7), - reading said unique disc label (11) stored in said first area (9), - obtaining a protection policy for said disk device (7) based on said unique disk label (11); and - processing further access to said disk device (7) based on said protection policy; The execution platform on which you run.

Citation Information

Patent Citations

  • Electronic data leakage prevention program

    JP2007249782A

  • Electronic calculator with filter driver means for auxiliary storage device, filter driver program for auxiliary storage device, and recording medium of filter driver program for auxiliary storage device

    JP2010198368A

  • Portable storage device

    JP2010231711A

  • Encryption of disk drive data

    JP2011517205A

  • Information processing apparatus and removable medium management method

    JP2012150772A