JP6885095B2 - Decoding classification method, decoding classification device and decoding classification program - Google Patents

Decoding classification method, decoding classification device and decoding classification program Download PDF

Info

Publication number
JP6885095B2
JP6885095B2 JP2017028864A JP2017028864A JP6885095B2 JP 6885095 B2 JP6885095 B2 JP 6885095B2 JP 2017028864 A JP2017028864 A JP 2017028864A JP 2017028864 A JP2017028864 A JP 2017028864A JP 6885095 B2 JP6885095 B2 JP 6885095B2
Authority
JP
Japan
Prior art keywords
information
classification
processing
decryption
encrypted file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017028864A
Other languages
Japanese (ja)
Other versions
JP2018136603A (en
Inventor
匠 廣田
匠 廣田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2017028864A priority Critical patent/JP6885095B2/en
Publication of JP2018136603A publication Critical patent/JP2018136603A/en
Application granted granted Critical
Publication of JP6885095B2 publication Critical patent/JP6885095B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、復号分類方法、復号分類装置および復号分類プログラムに関する。 The present invention relates to a decoding classification method, a decoding classification device, and a decoding classification program.

内部不正行為や標的型攻撃等による情報漏洩に関する事件や事故が増加している。ファイルの暗号化による情報漏洩対策の実施は、より重要になることが予想される。 Incidents and accidents related to information leakage due to internal fraud and targeted attacks are increasing. It is expected that it will be more important to take measures against information leakage by encrypting files.

一般的にセキュリティ対策が実施されると、業務効率が下がることが多い。セキュリティ対策における利用者にかかる負担や利用者にとっての利便性は、セキュリティ対策が実施される上で考慮が求められる重要な要素である。 Generally, when security measures are implemented, business efficiency often decreases. The burden on users and convenience for users in security measures are important factors that need to be considered when implementing security measures.

上記の情報漏洩対策であるファイルの暗号化の具体例を説明する。ファイル暗号化製品で暗号化された暗号化ファイルは、任意のアプリケーションで利用可能なファイルであることが多い。任意のアプリケーションで利用可能なファイルである場合、暗号化ファイルは、利用者に普段利用されているアプリケーションでもそのまま利用される。 A specific example of file encryption, which is a countermeasure against information leakage described above, will be described. Encrypted files encrypted with file encryption products are often files that can be used by any application. If the file can be used by any application, the encrypted file is also used as it is in the application normally used by the user.

すなわち、利用者は、普段利用しているアプリケーションを操作することによって暗号化ファイルを扱うことができるため、暗号化ファイルを扱うために新たなアプリケーションを導入しなくてよい。 That is, since the user can handle the encrypted file by operating the application that is normally used, it is not necessary to introduce a new application to handle the encrypted file.

任意のアプリケーションで利用可能な暗号化ファイルを生成するファイル暗号化製品の特長は、上述したように利用者にとっての暗号化ファイルの操作方法を学習するためのコストが低く、利便性が高いことである。すなわち、利用者にとってのファイル暗号化製品の導入時の負担は軽い。 The feature of the file encryption product that generates the encrypted file that can be used in any application is that the cost for learning how to operate the encrypted file for the user is low and the convenience is high as described above. is there. That is, the burden on the user when introducing a file encryption product is light.

多くのファイル暗号化製品は、アプリケーションの「ファイルを開く」処理に介入し、暗号化ファイルを復号する。次いで、ファイル暗号化製品は、復号されたファイルをアプリケーションに渡す。すなわち、ファイル暗号化製品は、任意のアプリケーションで暗号化ファイルが利用されることを実現するために、アプリケーションによる暗号化ファイルの利用を仲介している。 Many file encryption products intervene in the application's "open file" process to decrypt encrypted files. The file encryption product then passes the decrypted file to the application. That is, the file encryption product mediates the use of the encrypted file by the application in order to realize that the encrypted file is used by any application.

任意のアプリケーションに対応するため、ファイル暗号化製品は、各アプリケーションの個別処理にではなく、より汎用的な「ファイルを開く」処理に介入する。例えば、ファイル暗号化製品は、Windows(登録商標) API(Application Programming Interface)による汎用的な「ファイルを開く」処理に、APIフック等で介入する。なお、APIフックは、プログラムが特定のAPIを呼び出す際に割り込む処理を意味する。 To accommodate any application, file encryption products intervene in the more general "open file" process, rather than in the individual process of each application. For example, a file encryption product intervenes in a general-purpose "open file" process by a Windows (registered trademark) API (Application Programming Interface) with an API hook or the like. The API hook means a process of interrupting when a program calls a specific API.

特開2007−324726号公報JP-A-2007-324726

「ファイルを開く」処理を実行する際、アプリケーションは通常、利用者が開かれることを想定したファイルだけでなく、設定ファイル等も内部処理で開く。また、アプリケーションは、利用者が明示的に開くように指示をしていないファイルを「ファイルを開く」処理の実行と並列して開く場合もある。 When executing the "open file" process, the application normally opens not only the file that the user expects to open, but also the setting file and the like by internal processing. The application may also open a file that the user has not explicitly instructed to open in parallel with the execution of the "open file" process.

ファイル暗号化製品には、アプリケーションが開くファイルそれぞれに対して、復号するか否かを決定することが求められる。しかし、アプリケーションが各ファイルを開く処理は、いずれも汎用的な「ファイルを開く」処理に該当する。 File encryption products are required to decide whether to decrypt each file that the application opens. However, the process by which the application opens each file corresponds to the general-purpose "open file" process.

上記の場合、汎用的な「ファイルを開く」処理に介入するファイル暗号化製品は、介入する処理の目的を判別することが困難である。よって、ファイル暗号化製品は、アプリケーションのファイルオープン処理の対象の暗号化ファイルを一律に復号するという動作、または一律に復号しないという動作のいずれかをとらざるを得ない。 In the above case, it is difficult for a file encryption product that intervenes in the general-purpose "open file" process to determine the purpose of the intervening process. Therefore, the file encryption product has no choice but to take either an operation of uniformly decrypting the encrypted file to be processed by the file opening process of the application or an operation of not uniformly decrypting the encrypted file.

例えば、電子メールの作成、送受信、保存、および管理を行うソフトウェアであるメーラで暗号化ファイルが利用される場合を考える。メーラの利用者は、受信メールに添付された暗号化ファイルを、メーラのプレビュー機能で参照することを想定する。また、利用者は、送信メールに添付された暗号化ファイルを暗号化された状態のまま送信することを想定する。 For example, consider the case where an encrypted file is used in a mailer, which is software that creates, sends, receives, stores, and manages e-mail. It is assumed that the user of the mailer refers to the encrypted file attached to the received mail by the preview function of the mailer. In addition, it is assumed that the user sends the encrypted file attached to the sent mail in the encrypted state.

メーラで暗号化ファイルが利用される場合、利用者は、メーラによる暗号化ファイルに対する「ファイルを開く」処理に介入するようにファイル暗号化製品を設定する。上記の設定により、利用者は、受信メールの暗号化された添付ファイルをメーラのプレビュー機能で参照できる。 When an encrypted file is used by the mailer, the user sets the file encryption product to intervene in the "open file" process for the encrypted file by the mailer. With the above settings, the user can refer to the encrypted attachment of the received mail with the preview function of the mailer.

しかし、利用者が暗号化されたファイルを送信メールに添付した際にも、アプリケーション(メーラ)が内部処理でファイルを開く可能性がある。メーラが内部処理でファイルを開く場合、上記のように設定されていると利用者の意図に反して、添付ファイルが復号された状態で送信されてしまう恐れがある。 However, even when the user attaches the encrypted file to the outgoing mail, the application (mailer) may open the file by internal processing. When the mailer opens the file by internal processing, if the above settings are made, the attached file may be sent in a decrypted state against the intention of the user.

上記の例において、汎用的な「ファイルを開く」処理は、例えばWindows APIのCreateFile等のレイヤの低いAPIで行われる。メーラにおいてプレビューのためにファイルを開く処理は、低レイヤではCreateFile APIで行われる。また、メールにファイルを添付するためにファイルを開く処理も、低レイヤではCreateFile APIで行われる。すなわち、CreateFileの処理が参照されるだけでは、処理の目的がプレビューかメール添付かが判別されない。 In the above example, the general-purpose "open file" process is performed by a low-layer API such as CreateFile of Windows API. The process of opening a file for preview in the mailer is done by the CreateFile API in the lower layer. In addition, the process of opening a file to attach a file to an email is also performed by the CreateFile API in the lower layer. That is, it is not possible to determine whether the purpose of the process is preview or email attachment just by referring to the process of CreateFile.

上記の動作は、標的型攻撃や利用者の意図しない情報漏洩から情報を保護する目的で提供されているファイル暗号化製品がとると想定されていない動作である。 The above operation is not supposed to be taken by a file encryption product provided for the purpose of protecting information from targeted attacks and information leakage not intended by the user.

特許文献1には、プリントスプールオープン応答メッセージのパケットを確認し、暗号化されたメッセージの復号処理を行うファイル共有サーバ装置が記載されている。しかし、特許文献1に記載されているファイル共有サーバ装置では、オープン応答メッセージの種類に応じてメッセージを復号するか否かを決定することは想定されていない。 Patent Document 1 describes a file sharing server device that confirms a packet of a print spool open response message and decrypts an encrypted message. However, in the file sharing server device described in Patent Document 1, it is not assumed that it is determined whether or not to decrypt the message according to the type of the open response message.

[発明の目的]
そこで、本発明は、上述した課題を解決する、アプリケーションによる処理の目的に基づいて利用者が意図しない暗号化ファイルの復号を防止できる復号分類方法、復号分類装置および復号分類プログラムを提供することを目的とする。
[Purpose of Invention]
Therefore, the present invention provides a decryption classification method, a decryption classification device, and a decryption classification program that can prevent decryption of an encrypted file that the user does not intend based on the purpose of processing by the application, which solves the above-mentioned problems. The purpose.

本発明による復号分類方法は、復号分類装置において実行される復号分類方法であって、復号分類装置が、アプリケーションによる暗号化ファイルを開く処理に関する情報である処理情報とその暗号化ファイルを復号させるか否かの指示を示す復号情報とを含む分類情報を記憶部に記憶させ、検知されたアプリケーションによる暗号化ファイルを開く処理の処理情報を取得し、記憶部に記憶されている分類情報のうち取得された処理情報を含む分類情報に含まれている復号情報を検知された処理における暗号化ファイルをその復号情報が示す指示に基づいて復号する復号手段に通知し、処理情報には、アプリケーションによる暗号化ファイルを開く処理に関するスタックトレースが含まれることを特徴とする。 The decryption classification method according to the present invention is a decryption classification method executed in the decryption classification device, and whether the decryption classification device decrypts the processing information which is the information related to the process of opening the encrypted file by the application and the encrypted file. The classification information including the decryption information indicating whether or not to indicate is stored in the storage unit, the processing information of the process of opening the encrypted file by the detected application is acquired, and the classification information stored in the storage unit is acquired. decoding information included in the classification information that includes a processing information, notifies the encrypted file in the detected processed decoding means for decoding based on the instruction indicated by the decoded information, the processing information, by the application It is characterized by including a stack trace related to the process of opening an encrypted file.

本発明による復号分類装置は、アプリケーションによる暗号化ファイルを開く処理に関する情報である処理情報とその暗号化ファイルを復号させるか否かの指示を示す復号情報とを含む分類情報を記憶する記憶部と、検知されたアプリケーションによる暗号化ファイルを開く処理の処理情報を取得する取得部と、記憶部に記憶されている分類情報のうち取得された処理情報を含む分類情報に含まれている復号情報を検知された処理における暗号化ファイルをその復号情報が示す指示に基づいて復号する復号手段に通知する通知部とを備え、処理情報には、アプリケーションによる暗号化ファイルを開く処理に関するスタックトレースが含まれることを特徴とする。 The decryption classification device according to the present invention includes a storage unit that stores classification information including processing information that is information related to processing for opening an encrypted file by an application and decryption information indicating an instruction as to whether or not to decrypt the encrypted file. , The acquisition unit that acquires the processing information of the process of opening the encrypted file by the detected application, and the decryption information included in the classification information including the acquired processing information among the classification information stored in the storage unit. The processing information includes a stack trace related to the processing of opening the encrypted file by the application, including a notification unit that notifies the decryption means of decrypting the encrypted file in the detected processing based on the instruction indicated by the decryption information. characterized in that it is.

本発明による復号分類プログラムは、コンピュータに、アプリケーションによる暗号化ファイルを開く処理に関する情報である処理情報とその暗号化ファイルを復号させるか否かの指示を示す復号情報とを含む分類情報を記憶部に記憶させる記憶処理、検知されたアプリケーションによる暗号化ファイルを開く処理の処理情報を取得する取得処理、および記憶部に記憶されている分類情報のうち取得された処理情報を含む分類情報に含まれている復号情報を検知された処理における暗号化ファイルをその復号情報が示す指示に基づいて復号する復号手段に通知する通知処理を実行させるための復号分類プログラムであって、処理情報には、アプリケーションによる暗号化ファイルを開く処理に関するスタックトレースが含まれることを特徴とする。 The decryption classification program according to the present invention stores classification information including processing information which is information about a process of opening an encrypted file by an application and decryption information indicating an instruction as to whether or not to decrypt the encrypted file. included in the acquisition process, and classification information including the obtained processing information among the classified information stored in the storage unit of Ru storing process is stored, according to the detected application to acquire the processing information of the process to open the encrypted file to It is a decryption classification program for executing a notification process for notifying a decryption means that decrypts the decrypted information in the detected process based on the instruction indicated by the decryption information , and the processing information includes the decryption information. It is characterized by including a stack trace of the process of opening an encrypted file by an application.

本発明によれば、アプリケーションによる処理の目的に基づいて利用者が意図しない暗号化ファイルの復号を防止できる。 According to the present invention, it is possible to prevent decryption of an encrypted file that the user does not intend based on the purpose of processing by the application.

本発明による復号分類装置の第1の実施形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of the 1st Embodiment of the decoding classification apparatus by this invention. 第1の実施形態の復号分類装置20による分類処理の動作を示すフローチャートである。It is a flowchart which shows the operation of the classification process by the decoding classification apparatus 20 of 1st Embodiment. 本発明による復号分類装置の第2の実施形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of the 2nd Embodiment of the decoding classification apparatus by this invention. アプリケーション動作分類部100の第2の実施形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of the 2nd Embodiment of the application operation classification part 100. 分類ルール記憶部200に格納されている分類ルールの例を示す説明図である。It is explanatory drawing which shows the example of the classification rule stored in the classification rule storage unit 200. 確認画面表示部105が表示する確認画面の例を示す説明図である。It is explanatory drawing which shows the example of the confirmation screen which the confirmation screen display unit 105 displays. 第2の実施形態のアプリケーション動作分類部100による分類結果通知処理の動作を示すフローチャートである。It is a flowchart which shows the operation of the classification result notification processing by the application operation classification unit 100 of the 2nd Embodiment.

実施形態1.
以下、本発明の実施形態を、図面を参照して説明する。図1は、本発明による復号分類装置の第1の実施形態の構成例を示すブロック図である。本発明による復号分類装置20は、アプリケーションによる暗号化ファイルを開く処理に関する情報である処理情報と暗号化ファイルを復号させるか否かの指示を示す復号情報とを含む分類情報を記憶する記憶部21(例えば、分類ルール記憶部200)と、検知されたアプリケーションによる暗号化ファイルを開く処理の処理情報を取得する取得部22(例えば、アプリケーション情報取得部102)と、記憶部21に記憶されている分類情報のうち取得された処理情報を含む分類情報に含まれている復号情報を検知された処理における暗号化ファイルが復号の対象である復号手段に通知する通知部23(例えば、分類結果通知部107)とを備える。
Embodiment 1.
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration example of a first embodiment of the decoding classification device according to the present invention. The decryption classification device 20 according to the present invention stores classification information including processing information which is information related to processing for opening an encrypted file by an application and decryption information indicating an instruction as to whether or not to decrypt the encrypted file. (For example, the classification rule storage unit 200), the acquisition unit 22 (for example, the application information acquisition unit 102) that acquires the processing information of the process of opening the encrypted file by the detected application, and the storage unit 21 are stored. Notification unit 23 (for example, classification result notification unit) that notifies the decryption means of the decryption target of the encrypted file in the detected processing of the decryption information included in the classification information including the acquired processing information among the classification information. 107) and.

以下、復号分類装置20による分類処理を説明する。図2は、第1の実施形態の復号分類装置20による分類処理の動作を示すフローチャートである。 Hereinafter, the classification process by the decoding classification device 20 will be described. FIG. 2 is a flowchart showing the operation of the classification process by the decoding classification device 20 of the first embodiment.

取得部22は、検知されたアプリケーションによる暗号化ファイルを開く処理に関する情報である処理情報を取得する(ステップS11)。 The acquisition unit 22 acquires processing information which is information related to the processing of opening the encrypted file by the detected application (step S11).

次いで、通知部23は、記憶部21に記憶されている分類情報のうち取得された処理情報を含む分類情報を抽出する(ステップS12)。 Next, the notification unit 23 extracts the classification information including the acquired processing information from the classification information stored in the storage unit 21 (step S12).

次いで、通知部23は、抽出された分類情報に含まれている暗号化ファイルを復号させるか否かの指示を示す復号情報を検知された処理における暗号化ファイルが復号の対象である復号手段に通知する(ステップS13)。通知した後、復号分類装置20は、分類処理を終了する。 Next, the notification unit 23 sets the decryption means in which the decryption information indicating whether or not to decrypt the encrypted file included in the extracted classification information is detected is the decryption means to be decrypted. Notify (step S13). After notifying, the decoding classification device 20 ends the classification process.

そのような構成により、復号分類装置は、アプリケーションによる処理の目的に基づいて利用者が意図しない暗号化ファイルの復号を防止できる。 With such a configuration, the decryption classification device can prevent decryption of the encrypted file that the user does not intend based on the purpose of processing by the application.

また、通知部23は、取得された処理情報を含む分類情報が記憶部21に記憶されていない検知された処理における暗号化ファイルを復号させない指示を示す情報を復号手段に通知してもよい。 Further, the notification unit 23 may notify the decoding means of information indicating an instruction not to decrypt the encrypted file in the detected processing in which the classification information including the acquired processing information is not stored in the storage unit 21.

そのような構成により、復号分類装置は、利用者に予め指定されていない暗号化ファイルの復号を防止できる。 With such a configuration, the decryption classification device can prevent the decryption of the encrypted file not specified in advance by the user.

また、通知部23は、取得された処理情報を含む分類情報が記憶部21に記憶されていない検知された処理における暗号化ファイルを復号させるか否かの指示を示す情報が入力される入力手段(例えば、確認画面)を提示し、提示された入力手段を介して入力された情報を復号手段に通知してもよい。 Further, the notification unit 23 is an input means for inputting information indicating whether or not to decrypt the encrypted file in the detected processing in which the classification information including the acquired processing information is not stored in the storage unit 21. (For example, a confirmation screen) may be presented to notify the decoding means of the information input via the presented input means.

そのような構成により、復号分類装置は、利用者に予め指定されていない暗号化ファイルを復号させるか否かを利用者に確認できる。 With such a configuration, the decryption classification device can confirm with the user whether or not to decrypt the encrypted file not specified in advance by the user.

また、記憶部21は、提示された入力手段を介して入力された情報が復号情報として含まれる分類情報を記憶してもよい。 Further, the storage unit 21 may store the classification information in which the information input via the presented input means is included as the decoding information.

そのような構成により、復号分類装置は、利用者に予め指定されていない暗号化ファイルに関する新たな分類情報を登録できる。 With such a configuration, the decryption classification device can register new classification information regarding the encrypted file that has not been previously specified to the user.

また、復号分類装置20は、アプリケーションによる暗号化ファイルを開く処理を検知する検知部(例えば、ファイルアクセス検知部101)を備えてもよい。 Further, the decryption classification device 20 may include a detection unit (for example, a file access detection unit 101) that detects a process of opening an encrypted file by an application.

そのような構成により、復号分類装置は、アプリケーションによる暗号化ファイルを開く処理を検知できる。 With such a configuration, the decryption classifier can detect the process of opening the encrypted file by the application.

また、処理情報には、アプリケーションによる暗号化ファイルを開く処理に関するスタックトレースが含まれてもよい。 In addition, the processing information may include a stack trace related to the processing of opening the encrypted file by the application.

そのような構成により、復号分類装置は、暗号化ファイルの復号が許可されているアプリケーションによる暗号化ファイルを開く処理の条件をより細かく設定できる。 With such a configuration, the decryption classification device can set the conditions of the process of opening the encrypted file by the application permitted to decrypt the encrypted file in more detail.

また、処理情報には、アプリケーションによる暗号化ファイルを開く処理におけるアプリケーションに関する情報(例えば、アプリケーションが格納されているパス)や、暗号化ファイルに関する情報(例えば、暗号化ファイルの拡張子)が含まれてもよい。 In addition, the processing information includes information about the application in the process of opening the encrypted file by the application (for example, the path where the application is stored) and information about the encrypted file (for example, the extension of the encrypted file). You may.

実施形態2.
[構成の説明]
次に、本発明の第2の実施形態を、図面を参照して説明する。図3は、本発明による復号分類装置の第2の実施形態の構成例を示すブロック図である。
Embodiment 2.
[Description of configuration]
Next, a second embodiment of the present invention will be described with reference to the drawings. FIG. 3 is a block diagram showing a configuration example of a second embodiment of the decoding classification device according to the present invention.

本実施形態の復号分類装置は、任意のアプリケーションに利用者に指定された復号処理だけを実行させ、利用者に指定されていない復号処理の実行を抑制させることによって、ファイルの安全性と利便性を両立させる暗号化ファイルの復号分類装置である。 The decryption classification device of the present embodiment causes an arbitrary application to execute only the decryption process specified by the user, and suppresses the execution of the decryption process not specified by the user, thereby ensuring the safety and convenience of the file. It is a decryption classification device for encrypted files that achieves both.

図3に示すように、復号分類装置10は、アプリケーション動作分類部100と、分類ルール記憶部200と、アプリケーション300(以下、AP300という。)と、オペレーティングシステム400(以下、OS400という。)と、ハードディスク駆動装置500(以下、HDD500という。)とを備える。 As shown in FIG. 3, the decoding classification device 10 includes an application operation classification unit 100, a classification rule storage unit 200, an application 300 (hereinafter referred to as AP300), an operating system 400 (hereinafter referred to as OS400), and the like. It is provided with a hard disk drive device 500 (hereinafter referred to as HDD 500).

アプリケーション動作分類部100は、暗号化ファイルを扱う任意のアプリケーションの動作を、暗号化ファイルが復号されたファイルを処理するアプリケーション動作と、暗号化ファイルを暗号化された状態のまま処理するアプリケーション動作のいずれかに分類する機能を有する。 The application operation classification unit 100 processes an operation of an arbitrary application that handles an encrypted file, an application operation that processes a file in which the encrypted file is decrypted, and an application operation that processes the encrypted file in an encrypted state. It has a function to classify into either.

アプリケーション動作分類部100は、任意のアプリケーションの「ファイルを開く」処理に介入するファイル暗号化製品(図示せず)と連携して動作する。 The application operation classification unit 100 operates in cooperation with a file encryption product (not shown) that intervenes in the "open file" process of any application.

分類ルール記憶部200は、アプリケーション動作分類部100がアプリケーションの動作を分類する際に使用する分類ルールを記憶する機能を有する。なお、分類ルールは、例えばハードディスクである分類ルール記憶部200にファイルとして格納される。また、分類ルール記憶部200は、データベースでもよい。 The classification rule storage unit 200 has a function of storing classification rules used by the application operation classification unit 100 when classifying application operations. The classification rule is stored as a file in the classification rule storage unit 200, which is a hard disk, for example. Further, the classification rule storage unit 200 may be a database.

図3に示すように、分類ルールは、「APパス」と、「拡張子」と、「スタックトレース」と、「復号動作」とで構成されている。「APパス」は、任意のアプリケーションが格納されているパスである。「拡張子」は、任意のアプリケーションが開く暗号化ファイルの拡張子である。 As shown in FIG. 3, the classification rule is composed of an "AP path", an "extension", a "stack trace", and a "decryption operation". The "AP path" is a path in which an arbitrary application is stored. The "extension" is the extension of an encrypted file opened by any application.

「スタックトレース」は、任意のアプリケーションの暗号化ファイルを開く処理で実行されていた関数やメソッド等の履歴を示す。「復号動作」は、分類ルールに記載されている内容に該当するアプリケーションが暗号化ファイルを開く処理における暗号化ファイルを復号させるか否かの指示を示す。 The "stack trace" shows the history of functions and methods executed in the process of opening an encrypted file of an arbitrary application. The "decryption operation" indicates an instruction as to whether or not the application corresponding to the content described in the classification rule decrypts the encrypted file in the process of opening the encrypted file.

AP300は、任意のアプリケーションである。図3に示す例では、AP300は「Mail.exe」というメーラであると想定されている。 AP300 is an arbitrary application. In the example shown in FIG. 3, AP300 is assumed to be a mailer called "Mail.exe".

OS400は、復号分類装置10のオペレーティングシステム(Operating System)である。OS400は、例えばWindowsである。また、HDD500は、復号分類装置10が備えるハードディスク駆動装置(Hard Disk Drive)である。 OS400 is an operating system of the decoding classification device 10. OS400 is, for example, Windows. Further, the HDD 500 is a hard disk drive device (Hard Disk Drive) included in the decoding classification device 10.

以下、本実施形態の復号分類装置10の復号対象の暗号化ファイルを分類する動作を図3を参照して説明する。図3に示すように、アプリケーション動作分類部100は、AP300の暗号化ファイルへのアクセスを検知する(ステップS1)。 Hereinafter, the operation of classifying the encrypted file to be decrypted by the decryption classification device 10 of the present embodiment will be described with reference to FIG. As shown in FIG. 3, the application operation classification unit 100 detects access to the encrypted file of the AP 300 (step S1).

次いで、アプリケーション動作分類部100は、暗号化ファイルにアクセスしたAP300が格納されているパスと、AP300のアクセスに関するスタックトレースとを取得する(ステップS2)。 Next, the application operation classification unit 100 acquires the path in which the AP300 that accessed the encrypted file is stored and the stack trace related to the access of the AP300 (step S2).

次いで、アプリケーション動作分類部100は、分類ルール記憶部200から分類ルールを取得する(ステップS3)。アプリケーション動作分類部100は、取得された分類ルールの中に、ステップS2で取得された情報と同じ情報を含む分類ルールが存在するか否かを確認する(ステップS4)。 Next, the application operation classification unit 100 acquires a classification rule from the classification rule storage unit 200 (step S3). The application operation classification unit 100 confirms whether or not the acquired classification rule includes the same information as the information acquired in step S2 (step S4).

同じ情報を含む分類ルールが存在しない場合(ステップS5における「存在しない場合」)、アプリケーション動作分類部100は、暗号化ファイルを復号しないと決定する。または、アプリケーション動作分類部100は、暗号化ファイルを復号するか否かを利用者に確認する。 If the classification rule containing the same information does not exist (“if it does not exist” in step S5), the application operation classification unit 100 determines that the encrypted file is not decrypted. Alternatively, the application operation classification unit 100 confirms with the user whether or not to decrypt the encrypted file.

また、利用者に分類ルールを新たに指定された場合、アプリケーション動作分類部100は、指定された分類ルールを分類ルール記憶部200に保存する。暗号化ファイルを復号するか否かを決定した後、復号分類装置10は、復号分類処理を終了する。 When a classification rule is newly specified by the user, the application operation classification unit 100 stores the designated classification rule in the classification rule storage unit 200. After deciding whether or not to decrypt the encrypted file, the decryption classification device 10 ends the decryption classification process.

同じ情報を含む分類ルールが存在する場合(ステップS5における「存在する場合」)、アプリケーション動作分類部100は、対象の分類ルールに含まれる「復号動作」が示す内容に従って、暗号化ファイルを復号するか否かを決定する。暗号化ファイルを復号するか否かを決定した後、復号分類装置10は、復号分類処理を終了する。 When a classification rule containing the same information exists (“if it exists” in step S5), the application operation classification unit 100 decrypts the encrypted file according to the content indicated by the “decryption operation” included in the target classification rule. Decide whether or not. After deciding whether or not to decrypt the encrypted file, the decryption classification device 10 ends the decryption classification process.

次に、アプリケーション動作分類部100の構成を、図面を参照して説明する。図4は、アプリケーション動作分類部100の第2の実施形態の構成例を示すブロック図である。 Next, the configuration of the application operation classification unit 100 will be described with reference to the drawings. FIG. 4 is a block diagram showing a configuration example of a second embodiment of the application operation classification unit 100.

図4に示すように、アプリケーション動作分類部100は、ファイルアクセス検知部101と、アプリケーション情報取得部102と、分類ルール取得部103と、分類ルール確認部104と、確認画面表示部105と、分類ルール保存部106と、分類結果通知部107と、確認画面表示切替部108とを含む。 As shown in FIG. 4, the application operation classification unit 100 classifies the file access detection unit 101, the application information acquisition unit 102, the classification rule acquisition unit 103, the classification rule confirmation unit 104, and the confirmation screen display unit 105. It includes a rule storage unit 106, a classification result notification unit 107, and a confirmation screen display switching unit 108.

本実施形態のアプリケーション動作分類部100は、暗号化ファイルを開くアプリケーションの動作が、暗号化ファイルの復号が許可されたアプリケーション動作であるか、または暗号化ファイルの復号が許可されていないアプリケーション動作であるかを分類ルールに従って決定する。 In the application operation classification unit 100 of the present embodiment, the operation of the application that opens the encrypted file is an application operation that is permitted to decrypt the encrypted file, or an application operation that is not permitted to decrypt the encrypted file. Determine if there is one according to the classification rules.

ファイルアクセス検知部101は、任意のアプリケーションの「ファイルを開く」処理に介入したファイル暗号化製品と連携し、「ファイルを開く」処理が行われたことを検知する機能を有する。ファイルアクセス検知部101による検知を契機に、復号分類装置10は、復号分類処理を開始する。 The file access detection unit 101 has a function of detecting that the "open file" process has been performed in cooperation with the file encryption product that intervened in the "open file" process of any application. Upon detection by the file access detection unit 101, the decoding classification device 10 starts the decoding classification process.

アプリケーション情報取得部102は、分類ルールの検索に使用される情報を取得する機能を有する。図3に示すように、アプリケーション情報取得部102が取得する情報は、例えば「ファイルを開く」処理を実行しているアプリケーションが格納されているパスや、処理の対象のファイルの拡張子である。 The application information acquisition unit 102 has a function of acquiring information used for searching a classification rule. As shown in FIG. 3, the information acquired by the application information acquisition unit 102 is, for example, a path in which the application executing the "open file" process is stored or an extension of the file to be processed.

また、図3に示すように、アプリケーション情報取得部102が取得する情報には、暗号化ファイルを開くアプリケーションの処理に関するスタックトレースも含まれる。情報を取得した後、アプリケーション情報取得部102は、分類ルール取得部103に対して分類ルールを取得するように命令する。 Further, as shown in FIG. 3, the information acquired by the application information acquisition unit 102 also includes a stack trace related to the processing of the application that opens the encrypted file. After acquiring the information, the application information acquisition unit 102 orders the classification rule acquisition unit 103 to acquire the classification rule.

なお、アプリケーション情報取得部102は、例えば、ファイル暗号化製品と同様にアプリケーションの処理にAPIフック等で介入する。介入することによって、アプリケーション情報取得部102は、アプリケーションが格納されているパス、処理の対象のファイルの拡張子、および暗号化ファイルを開くアプリケーションの処理に関するスタックトレースを取得する。 The application information acquisition unit 102 intervenes in the processing of the application by an API hook or the like, as in the case of the file encryption product, for example. By intervening, the application information acquisition unit 102 acquires the path in which the application is stored, the extension of the file to be processed, and the stack trace regarding the processing of the application that opens the encrypted file.

復号分類装置10が低レイヤのCreateFileの処理に介入する場合、汎用的なアプリケーションに対応できるため、介入対象の処理が削減される。しかし、低レイヤの処理が参照されるだけでは、操作の目的が判別されない。よって、本実施形態のアプリケーション情報取得部102は、スタックトレースを利用する。 When the decryption classification device 10 intervenes in the processing of the low-layer CreateFile, the processing of the intervention target is reduced because it can correspond to a general-purpose application. However, the purpose of the operation cannot be determined only by referring to the low-layer processing. Therefore, the application information acquisition unit 102 of the present embodiment uses the stack trace.

スタックトレースは、コールスタックとも呼ばれる。コールスタック(Call Stack)は、プログラムの実行中にサブルーチンに関する情報を格納するスタックである。スタックトレースは、スタックに格納されている情報が部分的に写しとられたデータである。 Stack traces are also known as call stacks. The Call Stack is a stack that stores information about subroutines during program execution. A stack trace is data in which the information stored in the stack is partially copied.

スタックトレースが利用されると、復号分類装置10は、CreateFileが呼び出されるまでの処理過程を確認できる。すなわち、復号分類装置10は、汎用性を維持しつつ、アプリケーションの各動作の差異にも対応できる。 When the stack trace is used, the decryption classification device 10 can confirm the processing process until CreateFile is called. That is, the decoding classification device 10 can cope with the difference in each operation of the application while maintaining the versatility.

分類ルール取得部103は、アプリケーション情報取得部102で取得された情報を含む分類ルールを分類ルール記憶部200に格納されている分類ルールから取得する機能を有する。図5は、分類ルール記憶部200に格納されている分類ルールの例を示す説明図である。 The classification rule acquisition unit 103 has a function of acquiring a classification rule including the information acquired by the application information acquisition unit 102 from the classification rule stored in the classification rule storage unit 200. FIG. 5 is an explanatory diagram showing an example of a classification rule stored in the classification rule storage unit 200.

図5に示す分類ルールの形態は、図3に示す分類ルールの形態と同様である。すなわち、分類ルールは、図5に示すように「APパス」と、「拡張子」と、「スタックトレース」と、「復号動作」とで構成されている。 The form of the classification rule shown in FIG. 5 is the same as the form of the classification rule shown in FIG. That is, as shown in FIG. 5, the classification rule is composed of an "AP path", an "extension", a "stack trace", and a "decoding operation".

なお、分類ルールを取得する際、分類ルール取得部103は、アプリケーション情報取得部102で取得された情報と完全に一致する情報を含む分類ルールを取得してもよい。また、分類ルール取得部103は、アプリケーション情報取得部102で取得された情報と部分的に一致する情報を含む分類ルールを取得してもよい。 When acquiring the classification rule, the classification rule acquisition unit 103 may acquire the classification rule including the information that completely matches the information acquired by the application information acquisition unit 102. Further, the classification rule acquisition unit 103 may acquire a classification rule including information that partially matches the information acquired by the application information acquisition unit 102.

分類ルールを取得する処理を実行した後、分類ルール取得部103は、分類ルール確認部104に対して処理結果を確認するように命令する。 After executing the process of acquiring the classification rule, the classification rule acquisition unit 103 instructs the classification rule confirmation unit 104 to confirm the processing result.

分類ルール確認部104は、分類ルール取得部103の処理結果を確認する。確認した結果分類ルールが取得されていた場合、分類ルール確認部104は、取得された分類ルールに従って復号動作を決定する。分類ルール確認部104は、分類結果通知部107に対して決定された復号動作を通知するように命令する。 The classification rule confirmation unit 104 confirms the processing result of the classification rule acquisition unit 103. If the classification rule has been acquired as a result of the confirmation, the classification rule confirmation unit 104 determines the decoding operation according to the acquired classification rule. The classification rule confirmation unit 104 instructs the classification result notification unit 107 to notify the determined decoding operation.

確認した結果分類ルールが取得されていない場合、分類ルール確認部104は、利用者への復号動作の確認が行われるように設定されているか否かを確認する。利用者への復号動作の確認が行われるように設定されている場合、分類ルール確認部104は、確認画面表示部105に対して確認画面を表示するように命令する。 As a result of the confirmation When the classification rule has not been acquired, the classification rule confirmation unit 104 confirms whether or not the decoding operation is confirmed to the user. When the user is set to confirm the decoding operation, the classification rule confirmation unit 104 instructs the confirmation screen display unit 105 to display the confirmation screen.

利用者への復号動作の確認が行われるように設定されていない場合、分類ルール確認部104は、分類結果通知部107に対して復号しないことを通知するように命令する。 If the user is not set to confirm the decoding operation, the classification rule confirmation unit 104 instructs the classification result notification unit 107 to notify that the decoding operation is not performed.

確認画面表示部105は、利用者に対して暗号化ファイルの復号要否の入力を求める確認画面を表示する機能を有する。図6は、確認画面表示部105が表示する確認画面の例を示す説明図である。確認画面表示部105は、図6に示す確認画面を用いて利用者に暗号化ファイルの復号要否を確認する。 The confirmation screen display unit 105 has a function of displaying a confirmation screen asking the user to input whether or not the encrypted file needs to be decrypted. FIG. 6 is an explanatory diagram showing an example of a confirmation screen displayed by the confirmation screen display unit 105. The confirmation screen display unit 105 confirms with the user whether or not the encrypted file needs to be decrypted by using the confirmation screen shown in FIG.

図6に示すように、確認画面には、復号を要求しているアプリケーションと、復号が要求されているファイルと、復号要否を確認する旨とが表示されている。暗号化ファイルの復号を許可する場合、利用者は、「復号する」ボタンをクリックする。また、暗号化ファイルの復号を許可しない場合、利用者は、「復号しない」ボタンをクリックする。 As shown in FIG. 6, on the confirmation screen, an application requesting decryption, a file requested to be decrypted, and confirmation of whether or not decoding is necessary are displayed. When permitting the decryption of the encrypted file, the user clicks the "decrypt" button. If the decryption of the encrypted file is not permitted, the user clicks the "Do not decrypt" button.

利用者から入力された情報を基に、確認画面表示部105は、分類結果通知部107に対して入力された情報が示す復号動作を通知するように命令する。 Based on the information input from the user, the confirmation screen display unit 105 instructs the classification result notification unit 107 to notify the decoding operation indicated by the input information.

なお、利用者が確認画面に表示されている内容を分類ルールとして保存することを選択した場合、確認画面表示部105は、利用者から入力された情報を受け取った後、分類ルール保存部106に対して新たな分類ルールを保存するように命令する。 When the user chooses to save the content displayed on the confirmation screen as a classification rule, the confirmation screen display unit 105 receives the information input from the user and then stores the content displayed on the confirmation screen in the classification rule storage unit 106. Instruct them to save the new classification rule.

利用者が確認画面に表示されている内容を分類ルールとして保存することを選択する場合は、例えば、図6に示す「次回からは確認しない。」のチェックボックスにチェックが入力された場合である。 When the user chooses to save the content displayed on the confirmation screen as a classification rule, for example, when a check is entered in the check box of "Do not confirm from the next time" shown in FIG. ..

すなわち、分類ルール記憶部200に該当する分類ルールが存在しない場合、確認画面表示部105は、利用者に暗号化ファイルの復号要否を確認することによって新たに分類ルールを生成する。新たに分類ルールを生成する場合、確認画面表示部105は、同様のケースに関して最初の確認以降、利用者に復号要否を再度確認せずに済む。生成された分類ルールに従って、ファイル暗号化製品、およびアプリケーションは動作する。 That is, when the classification rule corresponding to the classification rule storage unit 200 does not exist, the confirmation screen display unit 105 newly generates a classification rule by confirming with the user whether or not the encrypted file needs to be decrypted. When a new classification rule is generated, the confirmation screen display unit 105 does not have to reconfirm with the user whether or not decoding is necessary after the first confirmation regarding the same case. File encryption products and applications operate according to the generated classification rules.

また、分類ルール記憶部200に該当する分類ルールが存在しない場合、確認画面表示部105は、利用者に暗号化ファイルの復号要否を確認せずに、復号を実行しないことがファイル暗号化製品、およびアプリケーションに通知されるように動作してもよい。利用者は、確認画面表示部105がとる動作をいつでも変更できる。 Further, when the classification rule corresponding to the classification rule storage unit 200 does not exist, the confirmation screen display unit 105 does not execute the decryption without confirming to the user whether or not the encrypted file needs to be decrypted. , And may act to notify the application. The user can change the operation taken by the confirmation screen display unit 105 at any time.

分類ルール保存部106は、アプリケーション情報取得部102で取得された情報および確認画面表示部105に利用者から入力された情報を基に生成された新たな分類ルールを、分類ルール記憶部200に保存する機能を有する。保存が完了した後、分類ルール保存部106は、分類結果通知部107に対して保存された分類ルールが示す復号動作を通知するように命令する。 The classification rule storage unit 106 stores in the classification rule storage unit 200 a new classification rule generated based on the information acquired by the application information acquisition unit 102 and the information input from the user to the confirmation screen display unit 105. Has the function of After the storage is completed, the classification rule storage unit 106 instructs the classification result notification unit 107 to notify the decoding operation indicated by the stored classification rule.

分類結果通知部107は、復号分類装置10と連携するファイル暗号化製品に対して、暗号化ファイルの復号動作を通知する機能を有する。通知対象の復号動作の情報は、分類ルール確認部104、確認画面表示部105、または分類ルール保存部106のいずれかから分類結果通知部107に入力される。 The classification result notification unit 107 has a function of notifying the file encryption product linked with the decryption classification device 10 of the decryption operation of the encrypted file. The information of the decoding operation to be notified is input to the classification result notification unit 107 from any of the classification rule confirmation unit 104, the confirmation screen display unit 105, or the classification rule storage unit 106.

ファイル暗号化製品に対して「復号しない」という復号動作が通知された場合、アプリケーションは、暗号化された状態のファイルを開くことを試みる。メーラの場合、ファイルが暗号化された状態のまま送信メールに添付される。 When the file encryption product is notified of a "do not decrypt" decryption action, the application attempts to open the encrypted file. In the case of a mailer, the file is attached to the outgoing mail in an encrypted state.

確認画面表示切替部108は、分類ルール記憶部200に分類ルールが存在しない場合に表示する確認画面を切り替える機能を有する。利用者は、任意のタイミングで確認画面表示切替部108に表示する確認画面を切り替えさせることができる。 The confirmation screen display switching unit 108 has a function of switching the confirmation screen to be displayed when the classification rule does not exist in the classification rule storage unit 200. The user can switch the confirmation screen to be displayed on the confirmation screen display switching unit 108 at an arbitrary timing.

一般的に、アプリケーションが内部処理で開くファイルの数よりも、利用者が開くファイルの数の方が少ないと考えられる。その理由は、アプリケーションが内部処理で開くファイルには、設定ファイル、ログファイル、およびdll(dynamic link library)等多くのファイルが含まれるためである。 In general, it is considered that the number of files opened by the user is smaller than the number of files opened by the application by internal processing. The reason is that the files that the application opens by internal processing include many files such as configuration files, log files, and dlls (dynamic link libraries).

確認画面表示切替部108は、利用者が開くことを想定した暗号化ファイル以外、利用者への確認を行わないように分類ルール確認部104に指示できる。すなわち、確認画面表示切替部108が設けられると表示される確認画面が限定されるため、利用者にとっての利便性が向上する。 The confirmation screen display switching unit 108 can instruct the classification rule confirmation unit 104 not to confirm to the user other than the encrypted file that is supposed to be opened by the user. That is, since the confirmation screen displayed when the confirmation screen display switching unit 108 is provided is limited, the convenience for the user is improved.

[動作の説明]
以下、本実施形態のアプリケーション動作分類部100の分類結果を通知する動作を図7を参照して説明する。図7は、第2の実施形態のアプリケーション動作分類部100による分類結果通知処理の動作を示すフローチャートである。
[Explanation of operation]
Hereinafter, an operation of notifying the classification result of the application operation classification unit 100 of the present embodiment will be described with reference to FIG. 7. FIG. 7 is a flowchart showing the operation of the classification result notification processing by the application operation classification unit 100 of the second embodiment.

最初に、ファイルアクセス検知部101は、任意のアプリケーションの「ファイルを開く」処理に介入したファイル暗号化製品と連携して、「ファイルを開く」処理が行われたことを検知する(ステップS101)。 First, the file access detection unit 101 detects that the "open file" process has been performed in cooperation with the file encryption product that intervened in the "open file" process of any application (step S101). ..

次いで、アプリケーション情報取得部102は、「ファイルを開く」処理を行ったアプリケーションに関する情報を取得する(ステップS102)。アプリケーション情報取得部102は、例えば「ファイルを開く」処理を行ったアプリケーションが格納されているパス、処理の対象のファイルの拡張子、暗号化ファイルを開くアプリケーションの処理に関するスタックトレースを取得する。 Next, the application information acquisition unit 102 acquires information about the application that has performed the "open file" process (step S102). The application information acquisition unit 102 acquires, for example, the path in which the application that has performed the "open file" process is stored, the extension of the file to be processed, and the stack trace related to the process of the application that opens the encrypted file.

次いで、分類ルール取得部103は、分類ルール記憶部200に格納されている分類ルールのうち、ステップS102で取得された情報を含む分類ルールを取得する(ステップS103)。なお、取得される分類ルールには、ステップS102で取得された情報と完全に一致する情報が含まれていてもよいし、ステップS102で取得された情報と部分的に一致する情報が含まれていてもよい。 Next, the classification rule acquisition unit 103 acquires a classification rule including the information acquired in step S102 among the classification rules stored in the classification rule storage unit 200 (step S103). The acquired classification rule may include information that completely matches the information acquired in step S102, or includes information that partially matches the information acquired in step S102. You may.

次いで、分類ルール確認部104は、ステップS103で分類ルールが取得されたか否かを確認する(ステップS104)。分類ルールが取得された場合(ステップS104におけるYes)、分類ルール確認部104は、取得された分類ルールの内容を確認する(ステップS105)。確認した後、アプリケーション動作分類部100は、ステップS110の処理を行う。 Next, the classification rule confirmation unit 104 confirms whether or not the classification rule has been acquired in step S103 (step S104). When the classification rule is acquired (Yes in step S104), the classification rule confirmation unit 104 confirms the content of the acquired classification rule (step S105). After confirmation, the application operation classification unit 100 performs the process of step S110.

分類ルールが取得されなかった場合(ステップS104におけるNo)、分類ルール確認部104は、対象の暗号化ファイルが利用者への復号動作の確認が行われるように設定されているか否かを確認画面表示切替部108に問い合わせて確認する(ステップS106)。 When the classification rule is not acquired (No in step S104), the classification rule confirmation unit 104 confirms whether or not the target encrypted file is set so that the user can confirm the decryption operation. Inquire and confirm the display switching unit 108 (step S106).

対象の暗号化ファイルが利用者への復号動作の確認が行われるように設定されていない場合(ステップS106におけるNo)、アプリケーション動作分類部100は、ステップS110の処理を行う。 When the target encrypted file is not set so that the user can confirm the decryption operation (No in step S106), the application operation classification unit 100 performs the process of step S110.

対象の暗号化ファイルが利用者への復号動作の確認が行われるように設定されている場合(ステップS106におけるYes)、確認画面表示部105は、利用者に対して暗号化ファイルの復号要否の入力を求める確認画面を表示する(ステップS107)。 When the target encrypted file is set so that the user can confirm the decryption operation (Yes in step S106), the confirmation screen display unit 105 asks the user whether or not the encrypted file needs to be decrypted. A confirmation screen prompting for the input of is displayed (step S107).

確認画面表示部105は、利用者からの確認画面への入力を待機する。確認画面に利用者から復号要否が入力された後、確認画面表示部105は、ステップS108の処理を行う。 The confirmation screen display unit 105 waits for input from the user to the confirmation screen. After the user inputs the necessity of decoding to the confirmation screen, the confirmation screen display unit 105 performs the process of step S108.

次いで、確認画面表示部105は、利用者が確認画面に表示されている内容を分類ルールとして保存することを選択しているか否かを確認する(ステップS108)。分類ルールとして保存することが選択されていない場合(ステップS108におけるNo)、アプリケーション動作分類部100は、ステップS110の処理を行う。 Next, the confirmation screen display unit 105 confirms whether or not the user has selected to save the content displayed on the confirmation screen as a classification rule (step S108). When saving as a classification rule is not selected (No in step S108), the application operation classification unit 100 performs the process of step S110.

分類ルールとして保存することが選択されている場合(ステップS108におけるYes)、分類ルール保存部106は、確認画面表示部105によって生成された分類ルールを分類ルール記憶部200に保存する(ステップS109)。 When saving as a classification rule is selected (Yes in step S108), the classification rule saving unit 106 saves the classification rule generated by the confirmation screen display unit 105 in the classification rule storage unit 200 (step S109). ..

例えば、確認画面表示部105は、「ファイルを開く」処理を実行しているアプリケーションが格納されているパス、処理の対象のファイルの拡張子、暗号化ファイルを開くアプリケーションの処理に関するスタックトレースを、生成される分類ルールに含める。 For example, the confirmation screen display unit 105 sets the path where the application executing the "open file" process is stored, the extension of the file to be processed, and the stack trace related to the process of the application that opens the encrypted file. Include in the generated classification rules.

次いで、確認画面表示部105は、暗号化ファイルを復号させるか否かの指示を示す復号動作の情報を生成される分類ルールに追加する。分類ルール保存部106は、生成された分類ルールを分類ルール記憶部200に保存する。 Next, the confirmation screen display unit 105 adds information on the decryption operation indicating an instruction as to whether or not to decrypt the encrypted file to the generated classification rule. The classification rule storage unit 106 stores the generated classification rule in the classification rule storage unit 200.

次いで、分類結果通知部107は、分類ルールから取得した情報または利用者から入力された情報を基に、復号分類装置10が連携するファイル暗号化製品に対して分類結果を通知する(ステップS110)。 Next, the classification result notification unit 107 notifies the file encryption product to which the decryption classification device 10 cooperates with the classification result based on the information acquired from the classification rule or the information input from the user (step S110). ..

具体的には、分類結果通知部107は、「ファイルを開く」処理の対象の暗号化ファイルを復号させるか否かの指示を示す復号動作の情報をファイル暗号化製品に通知する。通知した後、アプリケーション動作分類部100は、分類結果通知処理を終了する。 Specifically, the classification result notification unit 107 notifies the file encryption product of information on the decryption operation indicating an instruction as to whether or not to decrypt the encrypted file to be processed in the "open file" process. After the notification, the application operation classification unit 100 ends the classification result notification process.

[効果の説明]
本実施形態の復号分類装置は、任意のアプリケーションに対応できる。復号分類装置は、アプリケーションが行う「ファイルを開く」処理を目的ごとに分類することによって、利用者が開かれることを想定したファイルのみをファイル暗号化製品に復号させる。すなわち、利用者が開かれることを想定しないファイルの復号が防止されるため、復号分類装置は、セキュリティレベルの向上と利便性の向上を両立させることができる。
[Explanation of effect]
The decoding classification device of this embodiment can correspond to any application. The decryption classification device classifies the "open file" process performed by the application according to the purpose, so that the file encryption product decrypts only the file that is supposed to be opened by the user. That is, since decryption of a file that is not supposed to be opened by the user is prevented, the decryption classification device can achieve both improvement in security level and improvement in convenience.

ファイル暗号化製品で暗号化された暗号化ファイルは、任意のアプリケーションで利用可能なファイルであることが多い。任意のアプリケーションで利用可能な暗号化ファイルを生成するファイル暗号化製品の特長は、利用者にとっての暗号化ファイルの操作方法を学習するためのコストが低く、利便性が高いことである。すなわち、利用者にとってのファイル暗号化製品の導入時の負担は軽い。 Encrypted files encrypted with file encryption products are often files that can be used by any application. A feature of a file encryption product that generates an encrypted file that can be used by any application is that the cost for learning how to operate the encrypted file for the user is low and the convenience is high. That is, the burden on the user when introducing a file encryption product is light.

任意のアプリケーションに対応するため、ファイル暗号化製品は、各アプリケーションの個別処理にではなく、Windows APIの処理のようなより汎用的な「ファイルを開く」処理に介入する。しかし、汎用的な「ファイルを開く」処理に介入するファイル暗号化製品は、介入する処理の目的を判別することが困難である。 To accommodate any application, file encryption products intervene in more general-purpose "open file" processes, such as the Windows API process, rather than in the individual process of each application. However, it is difficult for a file encryption product that intervenes in a general-purpose "open file" process to determine the purpose of the intervening process.

ファイルオープン処理の目的を判別することが困難であるため、ファイル暗号化製品は、利用者が開かれることを想定したファイルだけを復号し、他のファイルを復号しないような処理を実行できない。標的型攻撃や利用者の意図しない情報漏洩から情報を保護するため、ファイル暗号化製品には、利用者が開かれることを想定したファイルだけを復号することが求められている。 Since it is difficult to determine the purpose of the file open process, the file encryption product cannot perform a process that decrypts only the file that is supposed to be opened by the user and does not decrypt other files. In order to protect information from targeted attacks and information leakage that the user does not intend, file encryption products are required to decrypt only files that are supposed to be opened by the user.

本実施形態の復号分類装置は、任意のアプリケーションに対応できる。また、本実施形態の復号分類装置は、アプリケーションの「ファイルを開く」処理を目的ごとに分類することによって、利用者が開かれることを想定したファイルのみを復号し、利用者が開かれることを想定していないファイルの復号を防止する。 The decoding classification device of this embodiment can correspond to any application. Further, the decoding classification device of the present embodiment classifies the "open file" process of the application according to the purpose, thereby decoding only the file that is supposed to be opened by the user, and the user is opened. Prevent decryption of unexpected files.

本実施形態の復号分類装置は、DRM(Digital Rights Management:デジタル著作権管理)、コンテンツセキュリティの向上、およびファイル暗号化によるセキュリティの向上のために利用されることが考えられる。 The decryption classification device of this embodiment is considered to be used for DRM (Digital Rights Management), improvement of content security, and improvement of security by file encryption.

なお、各実施形態の復号分類装置10、および復号分類装置20は、例えば、非一時的な記憶媒体に格納されているプログラムに従って処理を実行するCPU(Central Processing Unit)によって実現される。すなわち取得部22、通知部23、ファイルアクセス検知部101、アプリケーション情報取得部102、分類ルール取得部103、分類ルール確認部104、確認画面表示部105、分類ルール保存部106、分類結果通知部107、確認画面表示切替部108、AP300、およびOS400は、例えば、プログラム制御に従って処理を実行するCPUによって実現される。 The decoding classification device 10 and the decoding classification device 20 of each embodiment are realized by, for example, a CPU (Central Processing Unit) that executes processing according to a program stored in a non-temporary storage medium. That is, the acquisition unit 22, the notification unit 23, the file access detection unit 101, the application information acquisition unit 102, the classification rule acquisition unit 103, the classification rule confirmation unit 104, the confirmation screen display unit 105, the classification rule storage unit 106, and the classification result notification unit 107. The confirmation screen display switching unit 108, AP300, and OS400 are realized by, for example, a CPU that executes processing according to program control.

また、記憶部21は、例えばRAM(Random Access Memory)で実現される。また、分類ルール記憶部200がRAMで実現されてもよい。 Further, the storage unit 21 is realized by, for example, RAM (Random Access Memory). Further, the classification rule storage unit 200 may be realized by RAM.

また、各実施形態の復号分類装置10における各部、および復号分類装置20における各部は、ハードウェア回路によって実現されてもよい。一例として、記憶部21、取得部22、通知部23、ファイルアクセス検知部101、アプリケーション情報取得部102、分類ルール取得部103、分類ルール確認部104、確認画面表示部105、分類ルール保存部106、分類結果通知部107、確認画面表示切替部108、分類ルール記憶部200、AP300、OS400、およびHDD500が、それぞれLSI(Large Scale Integration)で実現される。また、それらが1つのLSIで実現されていてもよい。 Further, each part in the decoding classification device 10 and each part in the decoding classification device 20 of each embodiment may be realized by a hardware circuit. As an example, the storage unit 21, the acquisition unit 22, the notification unit 23, the file access detection unit 101, the application information acquisition unit 102, the classification rule acquisition unit 103, the classification rule confirmation unit 104, the confirmation screen display unit 105, and the classification rule storage unit 106. , Classification result notification unit 107, confirmation screen display switching unit 108, classification rule storage unit 200, AP300, OS400, and HDD500 are each realized by LSI (Large Scale Integration). Further, they may be realized by one LSI.

10、20 復号分類装置
21 記憶部
22 取得部
23 通知部
100 アプリケーション動作分類部
101 ファイルアクセス検知部
102 アプリケーション情報取得部
103 分類ルール取得部
104 分類ルール確認部
105 確認画面表示部
106 分類ルール保存部
107 分類結果通知部
108 確認画面表示切替部
200 分類ルール記憶部
300 アプリケーション
400 オペレーティングシステム
500 ハードディスク駆動装置
10, 20 Decoding classification device 21 Storage unit 22 Acquisition unit 23 Notification unit 100 Application operation classification unit 101 File access detection unit 102 Application information acquisition unit 103 Classification rule acquisition unit 104 Classification rule confirmation unit 105 Confirmation screen display unit 106 Classification rule storage unit 107 Classification result notification unit 108 Confirmation screen display switching unit 200 Classification rule storage unit 300 Application 400 Operating system 500 Hard disk drive

Claims (10)

復号分類装置において実行される復号分類方法であって、
前記復号分類装置が、
アプリケーションによる暗号化ファイルを開く処理に関する情報である処理情報と当該暗号化ファイルを復号させるか否かの指示を示す復号情報とを含む分類情報を記憶部に記憶させ
検知されたアプリケーションによる暗号化ファイルを開く処理の処理情報を取得し、
前記記憶部に記憶されている分類情報のうち取得された処理情報を含む分類情報に含まれている復号情報を検知された処理における暗号化ファイルを当該復号情報が示す指示に基づいて復号する復号手段に通知し、
処理情報には、アプリケーションによる暗号化ファイルを開く処理に関するスタックトレースが含まれる
ことを特徴とする復号分類方法。
It is a decoding classification method executed in the decoding classification device.
The decoding classification device
Stored in the storage unit classification information including the decryption information indicating whether to decode whether the instruction processing information and the encrypted file is information relating to the processing of opening the encrypted file by the application,
Acquires the processing information of the process of opening the encrypted file by the detected application,
Decoding information included in the classification information including the acquired processing information among the classified information stored in the storage unit, decodes based on the encrypted file in the detected processing instruction indicated by the decoded information notify the decoding means,
A decryption classification method characterized in that the processing information includes a stack trace related to the processing of opening an encrypted file by an application.
復号分類装置が、
取得された処理情報を含む分類情報が記憶部に記憶されていない場合、前記処理情報が示す処理における暗号化ファイルを復号させない指示を示す情報を復号手段に通知する
請求項1記載の復号分類方法。
Decryption classification device
The decryption classification method according to claim 1, wherein when the classification information including the acquired processing information is not stored in the storage unit, the decoding means is notified of the information indicating the instruction not to decrypt the encrypted file in the processing indicated by the processing information. ..
復号分類装置が、
取得された処理情報を含む分類情報が記憶部に記憶されていない場合、前記処理情報が示す処理における暗号化ファイルを復号させるか否かの指示を示す情報が入力される入力手段を提示し、
提示された前記入力手段を介して入力された情報を復号手段に通知する
請求項1記載の復号分類方法。
Decryption classification device
When the classification information including the acquired processing information is not stored in the storage unit, an input means for inputting information indicating whether or not to decrypt the encrypted file in the processing indicated by the processing information is presented.
The decoding classification method according to claim 1, wherein the information input via the presented input means is notified to the decoding means.
復号分類装置が、
提示された入力手段を介して入力された情報が復号情報として含まれる分類情報を記憶部に記憶させ
請求項3記載の復号分類方法。
Decryption classification device
Presented decoded classification method of claim 3, wherein the classification information Ru stored in the storage unit the information entered via the input means is included as the decoding information.
復号分類装置が、
アプリケーションによる暗号化ファイルを開く処理を検知する
請求項1から請求項4のうちのいずれか1項に記載の復号分類方法。
Decryption classification device
The decryption classification method according to any one of claims 1 to 4, which detects a process of opening an encrypted file by an application.
アプリケーションによる暗号化ファイルを開く処理に関する情報である処理情報と当該暗号化ファイルを復号させるか否かの指示を示す復号情報とを含む分類情報を記憶する記憶部と、
検知されたアプリケーションによる暗号化ファイルを開く処理の処理情報を取得する取得部と、
前記記憶部に記憶されている分類情報のうち取得された処理情報を含む分類情報に含まれている復号情報を検知された処理における暗号化ファイルを当該復号情報が示す指示に基づいて復号する復号手段に通知する通知部とを備え
処理情報には、アプリケーションによる暗号化ファイルを開く処理に関するスタックトレースが含まれる
ことを特徴とする復号分類装置。
A storage unit that stores classification information including processing information that is information related to processing for opening an encrypted file by an application and decryption information that indicates whether or not to decrypt the encrypted file.
An acquisition unit that acquires processing information for the process of opening an encrypted file by the detected application,
Decoding information included in the classification information including the acquired processing information among the classified information stored in the storage unit, decodes based on the encrypted file in the detected processing instruction indicated by the decoded information It is equipped with a notification unit that notifies the decryption means .
A decryption classification device characterized in that the processing information includes a stack trace related to the processing of opening an encrypted file by an application.
通知部は、取得された処理情報を含む分類情報が記憶部に記憶されていない場合、前記処理情報が示す処理における暗号化ファイルを復号させない指示を示す情報を復号手段に通知する
請求項記載の復号分類装置。
The sixth aspect of claim 6 in which the notification unit notifies the decoding means of information indicating an instruction not to decrypt the encrypted file in the processing indicated by the processing information when the classification information including the acquired processing information is not stored in the storage unit. Decryption classification device.
通知部は、The notification part is
取得された処理情報を含む分類情報が記憶部に記憶されていない場合、前記処理情報が示す処理における暗号化ファイルを復号させるか否かの指示を示す情報が入力される入力手段を提示し、When the classification information including the acquired processing information is not stored in the storage unit, an input means for inputting information indicating whether or not to decrypt the encrypted file in the processing indicated by the processing information is presented.
提示された前記入力手段を介して入力された情報を復号手段に通知するNotify the decoding means of the information input via the presented input means.
請求項6記載の復号分類装置。The decoding classification device according to claim 6.
コンピュータに、
アプリケーションによる暗号化ファイルを開く処理に関する情報である処理情報と当該暗号化ファイルを復号させるか否かの指示を示す復号情報とを含む分類情報を記憶部に記憶させる記憶処理、
検知されたアプリケーションによる暗号化ファイルを開く処理の処理情報を取得する取得処理、および
前記記憶部に記憶されている分類情報のうち取得された処理情報を含む分類情報に含まれている復号情報を検知された処理における暗号化ファイルを当該復号情報が示す指示に基づいて復号する復号手段に通知する通知処理を実行させるための復号分類プログラムであって、
処理情報には、アプリケーションによる暗号化ファイルを開く処理に関するスタックトレースが含まれる
復号分類プログラム
On the computer
Application storage processing Ru stored in the storage unit classification information including the decryption information indicating whether an instruction to decode the processed information and the encrypted file is information relating to the processing of opening the encrypted file by,
Acquisition process to acquire processing information of processing to open encrypted file by detected application, and
Decoding information included in the classification information including the acquired processing information among the classified information stored in the storage unit, decodes based on the encrypted file in the detected processing instruction indicated by the decoded information A decryption classification program for executing a notification process for notifying the decryption means .
The processing information includes a stack trace of the application's process of opening the encrypted file.
Decryption classification program .
コンピュータに、
取得された処理情報を含む分類情報が記憶部に記憶されていない場合、前記処理情報が示す処理における暗号化ファイルを復号させない指示を示す情報を復号手段に通知する通知処理を実行させる
請求項9記載の復号分類プログラム。
On the computer
9. When the classification information including the acquired processing information is not stored in the storage unit, a notification process for notifying the decryption means of information indicating an instruction not to decrypt the encrypted file in the process indicated by the process information is executed. The decryption classification program described.
JP2017028864A 2017-02-20 2017-02-20 Decoding classification method, decoding classification device and decoding classification program Active JP6885095B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017028864A JP6885095B2 (en) 2017-02-20 2017-02-20 Decoding classification method, decoding classification device and decoding classification program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017028864A JP6885095B2 (en) 2017-02-20 2017-02-20 Decoding classification method, decoding classification device and decoding classification program

Publications (2)

Publication Number Publication Date
JP2018136603A JP2018136603A (en) 2018-08-30
JP6885095B2 true JP6885095B2 (en) 2021-06-09

Family

ID=63365540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017028864A Active JP6885095B2 (en) 2017-02-20 2017-02-20 Decoding classification method, decoding classification device and decoding classification program

Country Status (1)

Country Link
JP (1) JP6885095B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7238539B2 (en) * 2019-03-27 2023-03-14 日本電気株式会社 File encryption device, method and program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3976738B2 (en) * 2004-02-03 2007-09-19 Necシステムテクノロジー株式会社 Confidential document management apparatus, confidential document management method, and confidential document management program
JP4226534B2 (en) * 2004-09-07 2009-02-18 三菱電機インフォメーションシステムズ株式会社 Content multi-stage encryption system and content multi-stage encryption program
JP4555049B2 (en) * 2004-10-27 2010-09-29 株式会社日立製作所 Computer system, management computer, and data management method
JP2008077366A (en) * 2006-09-21 2008-04-03 Hitachi Ltd Storage control device and method for controlling encrypting function thereof
JP2009059008A (en) * 2007-08-30 2009-03-19 Sgi Japan Ltd File management system

Also Published As

Publication number Publication date
JP2018136603A (en) 2018-08-30

Similar Documents

Publication Publication Date Title
JP6352332B2 (en) System and method for restoring changed data
US8973107B2 (en) Method and apparatus for securing keystrokes from being intercepted between the keyboard and a browser
US11947667B2 (en) Preventing ransomware from encrypting files on a target machine
US8943546B1 (en) Method and system for detecting and protecting against potential data loss from unknown applications
KR101928908B1 (en) Systems and Methods for Using a Reputation Indicator to Facilitate Malware Scanning
US7991747B1 (en) System and method for managing data loss due to policy violations in temporary files
US8141159B2 (en) Method and system for protecting confidential information
US9811674B2 (en) Data leakage prevention system, method, and computer program product for preventing a predefined type of operation on predetermined data
US7975308B1 (en) Method and apparatus to secure user confidential data from untrusted browser extensions
US20170324755A1 (en) Method and System for Mitigating the Effects of Ransomware
CN109117664B (en) Access control method and device for application program
JP2007325275A (en) System and method for detecting invasion upon image processor
US20180026986A1 (en) Data loss prevention system and data loss prevention method
US9607176B2 (en) Secure copy and paste of mobile app data
US20150317488A1 (en) Access control apparatus, computer-readable medium, and access control system
JP6885095B2 (en) Decoding classification method, decoding classification device and decoding classification program
US9785775B1 (en) Malware management
CN109657490B (en) Transparent encryption and decryption method and system for office files
JP2011198256A (en) Content protection device
JP2004199229A (en) Method for disabling decryption of data stored in storage device and computer program
CN111753263A (en) Non-inductive encryption and decryption method based on macOS system
JP2005227866A (en) Operation management apparatus, operation content judgment method, operation managing program, operation management system, and client terminal
US20090094459A1 (en) Method and system for associating one or more pestware-related indications with a file on a computer-readable storage medium of a computer
GB2568837B (en) Controlling access to stored content
CN117077127A (en) Transparent encryption method, device, equipment and storage medium under macOS

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200109

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201201

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210122

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210413

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210426

R150 Certificate of patent or registration of utility model

Ref document number: 6885095

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150