JP2017123011A - Processing execution device, processing execution method, and control program - Google Patents

Processing execution device, processing execution method, and control program Download PDF

Info

Publication number
JP2017123011A
JP2017123011A JP2016001092A JP2016001092A JP2017123011A JP 2017123011 A JP2017123011 A JP 2017123011A JP 2016001092 A JP2016001092 A JP 2016001092A JP 2016001092 A JP2016001092 A JP 2016001092A JP 2017123011 A JP2017123011 A JP 2017123011A
Authority
JP
Japan
Prior art keywords
program
file
execution
processing
authority
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.)
Granted
Application number
JP2016001092A
Other languages
Japanese (ja)
Other versions
JP6355657B2 (en
Inventor
伊藤 孝之
Takayuki Ito
孝之 伊藤
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2016001092A priority Critical patent/JP6355657B2/en
Publication of JP2017123011A publication Critical patent/JP2017123011A/en
Application granted granted Critical
Publication of JP6355657B2 publication Critical patent/JP6355657B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To permit the execution of processing regardless of an object to be processed as for processing requested from a program given a special authority even when the execution propriety of processing is determined in accordance with the object to be processed.SOLUTION: In a processing execution device 100, an execution part 110 is configured to execute processing requested from a process 130, and a control part 120 is configured to, when an object to be processed fulfills a condition, cause the execution part 110 to execute the processing, and the control part 120 is configured to, even when the object to be processed does not fulfill the condition, read authority information 129 from a memory 105 when the process 130 of a request source of the processing is a shell, and to cause the execution part 110 to execute the processing when authority of the processing is given to a script program 140 executed by the shell.SELECTED DRAWING: Figure 1

Description

本発明は、処理実行装置、処理実行方法及び制御プログラムに関するものである。   The present invention relates to a process execution device, a process execution method, and a control program.

工場やプラント等の機器を監視、制御する計算機システムは、一般にはインターネットに接続せず、閉じたネットワーク構成下で利用される。そのため、一般のPC(Personal Computer)で利用される、インターネットに接続して最新のウィルスパターンファイルをダウンロードして利用するウィルス対策ソフトウェアを利用することは難しい。しかし、閉じたネットワークであっても、外部から持ち込まれたPCや記録媒体を介してコンピュータウィルスが入り込む危険性がある。   Computer systems that monitor and control equipment such as factories and plants are generally not connected to the Internet but are used in a closed network configuration. Therefore, it is difficult to use anti-virus software that is connected to the Internet and downloads and uses the latest virus pattern file, which is used on a general PC (Personal Computer). However, even in a closed network, there is a risk that a computer virus may enter through a PC or recording medium brought in from outside.

特許文献1には、プログラムの不正な改竄を防止しつつプログラムの正当な更新を可能にする技術が記載されている。この技術では、プログラムを実行してよいかどうか判定する際に、プログラムのハッシュ値がホワイトリストにあるかどうか、また、ホワイトリストにない場合は親プロセスのハッシュ値がホワイトリストにあるかどうかを確認している。   Japanese Patent Application Laid-Open No. 2004-228561 describes a technique that enables a legitimate program update while preventing unauthorized program falsification. In this technology, when determining whether to execute the program, whether the hash value of the program is in the white list, and if not, whether the hash value of the parent process is in the white list. I have confirmed.

特開2010−238168号公報JP 2010-238168 A

従来の技術では、正当なプログラムにより動的に作成されたプログラムを起動する場合、対象のプログラムはホワイトリストに登録されていないため実行することはできない。ただし、親プロセスがホワイトリストに登録されている場合、そのプロセスから起動されたホワイトリスト未登録プログラムは実行可能となる。   In the conventional technique, when a program dynamically created by a legitimate program is started, the target program is not registered in the white list and cannot be executed. However, when the parent process is registered in the white list, the white list unregistered program started from the process can be executed.

UNIX(登録商標) OS(Operating System)のシェルコマンドで実行するスクリプトプログラムから起動するホワイトリスト未登録プログラムの親プロセスは、スクリプトプログラムではなくシェルとなる。しかし、シェルをホワイトリストに登録し、そこから起動されるホワイトリスト未登録子プロセスも実行可能にすると、侵入者がシェルコマンドから起動したマルウェアの実行を阻止できない。   The parent process of a whitelist unregistered program started from a script program executed by a shell command of UNIX (registered trademark) OS (Operating System) is not a script program but a shell. However, if the shell is registered in the whitelist and the whitelist unregistered child process started from there is also executable, the intruder cannot prevent execution of malware started from the shell command.

本発明は、処理の対象によって処理の実行可否を決めている場合であっても、特別な権限を与えたプログラムを実行しているプロセスから要求される処理については、処理の対象に関わらず、処理の実行を許可できるようにすることを目的とする。   In the present invention, even if the execution of the process is determined depending on the process target, the process requested from the process executing the program to which the special authority is given, regardless of the process target, The purpose is to allow execution of processing.

本発明の一態様に係る処理実行装置は、
プロセスから要求された処理を実行する実行部と、
前記処理の対象が条件を満たしていれば、前記実行部に前記処理を実行させ、前記処理の対象が前記条件を満たしていなくても、前記処理の要求元のプロセスが、他のプログラムのファイルを参照して前記他のプログラムを実行しているプログラムに該当する場合は、前記処理の権限が付与されたプログラムを示す権限情報をメモリから読み取って、前記他のプログラムに前記処理の権限が付与されていれば、前記実行部に前記処理を実行させる制御部とを備える。
A process execution device according to an aspect of the present invention includes:
An execution unit that executes processing requested by the process;
If the process target satisfies the condition, the execution unit executes the process, and even if the process target does not satisfy the condition, the process requesting process is a file of another program. If the program corresponds to a program executing the other program, the authority information indicating the program to which the process authority is granted is read from the memory, and the process authority is granted to the other program. If it is, the control part which makes the said execution part perform the said process is provided.

本発明では、処理の権限が付与されたプログラムを示す権限情報を管理している。このため、本発明によれば、特別な権限を与えたプログラムを実行しているプロセスから要求される処理については、処理の対象に関わらず、処理の実行を許可できるようになる。   In the present invention, authority information indicating a program to which a process authority is granted is managed. For this reason, according to the present invention, it is possible to permit execution of processing requested from a process executing a program to which a special authority is given regardless of the processing target.

実施の形態1に係る処理実行装置の構成を示すブロック図。FIG. 2 is a block diagram showing a configuration of a process execution device according to the first embodiment. 実施の形態1に係る処理実行装置の動作を示すフローチャート。3 is a flowchart showing the operation of the process execution device according to the first embodiment. 実施の形態1に係る処理実行装置の動作を示すフローチャート。3 is a flowchart showing the operation of the process execution device according to the first embodiment. 実施の形態2に係る処理実行装置の構成を示すブロック図。FIG. 4 is a block diagram illustrating a configuration of a process execution device according to a second embodiment. 実施の形態2に係る処理実行装置の動作を示すフローチャート。10 is a flowchart showing the operation of the process execution device according to the second embodiment. 実施の形態2に係る処理実行装置の動作を示すフローチャート。10 is a flowchart showing the operation of the process execution device according to the second embodiment. 実施の形態3に係る処理実行装置の構成を示すブロック図。FIG. 4 is a block diagram illustrating a configuration of a process execution device according to a third embodiment. 実施の形態3に係る処理実行装置の動作を示すフローチャート。10 is a flowchart showing an operation of a process execution device according to the third embodiment. 実施の形態3に係る処理実行装置の動作を示すフローチャート。10 is a flowchart showing an operation of a process execution device according to the third embodiment.

以下、本発明の実施の形態について、図を用いて説明する。なお、各図中、同一又は相当する部分には、同一符号を付している。実施の形態の説明において、同一又は相当する部分については、その説明を適宜省略又は簡略化する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, the same code | symbol is attached | subjected to the part which is the same or it corresponds in each figure. In the description of the embodiments, the description of the same or corresponding parts will be omitted or simplified as appropriate.

実施の形態1.
本実施の形態に係る装置は、プログラムのリストを基に実行可否の判別を行い、リストに掲載されていないプログラムについては、起動元プログラムが参照するファイルに付与された権限を基に実行可否を判断する。なお、1つ1つのファイルは、ファイルID(IDentifier)によって識別される。
Embodiment 1 FIG.
The apparatus according to the present embodiment determines whether or not execution is possible based on the list of programs, and determines whether or not the programs not listed are executable based on the authority given to the file referred to by the activation source program. to decide. Each file is identified by a file ID (IDentifier).

以下では、本実施の形態に係る装置の構成、本実施の形態に係る装置の動作、本実施の形態の効果を順番に説明する。   Hereinafter, the configuration of the apparatus according to the present embodiment, the operation of the apparatus according to the present embodiment, and the effects of the present embodiment will be described in order.

***構成の説明***
図1を参照して、本実施の形態に係る装置である処理実行装置100の構成を説明する。
*** Explanation of configuration ***
With reference to FIG. 1, the structure of the process execution apparatus 100 which is an apparatus according to the present embodiment will be described.

処理実行装置100は、コンピュータである。処理実行装置100は、プロセッサ101、ネットワークコントローラ102、入力デバイス103、表示デバイス104、メモリ105、補助記憶装置106といったハードウェアを備える。プロセッサ101は、信号線を介して他のハードウェアと接続され、これら他のハードウェアを制御する。   The process execution device 100 is a computer. The processing execution apparatus 100 includes hardware such as a processor 101, a network controller 102, an input device 103, a display device 104, a memory 105, and an auxiliary storage device 106. The processor 101 is connected to other hardware via a signal line, and controls these other hardware.

処理実行装置100は、機能部として、実行部110と、制御部120とを備える。実行部110と、制御部120とのそれぞれの機能は、ソフトウェアにより実現される。   The process execution device 100 includes an execution unit 110 and a control unit 120 as functional units. The functions of the execution unit 110 and the control unit 120 are realized by software.

プロセッサ101は、プロセッシングを行うIC(Integrated Circuit)である。プロセッサ101は、具体的には、CPU(Central Processing Unit)である。   The processor 101 is an IC (Integrated Circuit) that performs processing. Specifically, the processor 101 is a CPU (Central Processing Unit).

ネットワークコントローラ102は、データを受信するレシーバ及びデータを送信するトランスミッタを含む。ネットワークコントローラ102は、具体的には、通信チップ又はNIC(Network Interface Card)である。   The network controller 102 includes a receiver that receives data and a transmitter that transmits data. Specifically, the network controller 102 is a communication chip or a NIC (Network Interface Card).

入力デバイス103は、具体的には、マウス、キーボード、又は、タッチパネルである。   Specifically, the input device 103 is a mouse, a keyboard, or a touch panel.

表示デバイス104は、具体的には、LCD(Liquid Crystal Display)である。   Specifically, the display device 104 is an LCD (Liquid Crystal Display).

メモリ105は、具体的には、RAM(Random Access Memory)である。   Specifically, the memory 105 is a RAM (Random Access Memory).

補助記憶装置106は、具体的には、ROM(Read Only Memory)、フラッシュメモリ、又は、HDD(Hard Disk Drive)である。   Specifically, the auxiliary storage device 106 is a ROM (Read Only Memory), a flash memory, or an HDD (Hard Disk Drive).

補助記憶装置106には、実行部110、制御部120といった「部」の機能を実現するプログラムが記憶されている。プログラムは、メモリ105にロードされ、プロセッサ101によって実行される。本実施の形態において、実行部110の機能を実現するプログラムは、OSである。制御部120の機能を実現するプログラムは、OS上で実行されてもよいし、OSに統合されてもよい。   The auxiliary storage device 106 stores a program that realizes the function of “unit” such as the execution unit 110 and the control unit 120. The program is loaded into the memory 105 and executed by the processor 101. In the present embodiment, the program that realizes the function of the execution unit 110 is an OS. The program that realizes the function of the control unit 120 may be executed on the OS or may be integrated into the OS.

補助記憶装置106には、「部」の機能を実現するプログラムのほかにも、複数のプログラム131と、複数のライブラリ132と、少なくとも1つのスクリプトプログラム140とが記憶されている。プログラム131は、ライブラリ132とともにメモリ105にロードされ、ライブラリ132と結合され、プロセッサ101によって実行される。ライブラリ132と結合されたプログラム131は、プロセス130としてOSにより管理される。スクリプトプログラム140は、プログラム131の1つであるシェルにより実行される。   The auxiliary storage device 106 stores a plurality of programs 131, a plurality of libraries 132, and at least one script program 140 in addition to a program that realizes the function of “unit”. The program 131 is loaded into the memory 105 together with the library 132, is combined with the library 132, and is executed by the processor 101. The program 131 combined with the library 132 is managed by the OS as a process 130. The script program 140 is executed by a shell that is one of the programs 131.

補助記憶装置106には、さらに、ホワイトリスト124と、実行特権プログラムのファイルID125と、シェルのファイルID126と、シェルのファイルディスクリプタ127とが記憶されている。ホワイトリスト124には、実行を許可するプログラム131のファイルIDを登録する。具体的には、実行を許可するプログラム131をOSが補助記憶装置106上でファイルとして管理するためのユニークな番号等を登録しておく。実行特権プログラムのファイルID125も、特別な権限が与えられたプログラムをOSが補助記憶装置106上でファイルとして管理するための識別子である。具体的には、プログラム131のファイルIDや、スクリプトプログラム140のファイルIDである。本実施の形態において、実行特権プログラムのファイルID125は、処理の権限としてプログラムの起動処理の権限が付与されたプログラムを示す権限情報129である。シェルのファイルID126は、シェルのファイルの識別子である。シェルのファイルディスクリプタ127は、シェルがスクリプトプログラム140を読み込むときに使用するファイルの記述子である。具体的には、シェルがオープンしている入力ファイルを識別するための番号である。   The auxiliary storage device 106 further stores a white list 124, an execution privilege program file ID 125, a shell file ID 126, and a shell file descriptor 127. In the white list 124, the file ID of the program 131 that is permitted to be executed is registered. Specifically, a unique number or the like for the OS to manage the program 131 to be executed as a file on the auxiliary storage device 106 is registered. The file ID 125 of the execution privilege program is also an identifier for the OS to manage the program to which the special authority is given as a file on the auxiliary storage device 106. Specifically, it is the file ID of the program 131 or the file ID of the script program 140. In the present embodiment, the file ID 125 of the execution privilege program is authority information 129 indicating the program to which the authority of the program activation process is given as the authority of the process. The shell file ID 126 is an identifier of the shell file. The shell file descriptor 127 is a file descriptor used when the shell reads the script program 140. Specifically, it is a number for identifying the input file opened by the shell.

実行部110は、プロセス130から要求されてプログラム起動処理111を実行する。   The execution unit 110 executes the program start processing 111 requested by the process 130.

制御部120は、起動可否判断処理121を実行する。制御部120は、起動可否判断処理121において、ホワイトリスト124、実行特権プログラムのファイルID125、シェルのファイルID126、シェルのファイルディスクリプタ127といったデータを参照する。制御部120が参照するデータは、メモリ105にあれば、メモリ105から読み取られ、メモリ105になければ、補助記憶装置106からメモリ105に転送されてから読み取られる。   The control unit 120 executes the activation possibility determination process 121. The control unit 120 refers to data such as the white list 124, the execution privilege program file ID 125, the shell file ID 126, and the shell file descriptor 127 in the activation permission determination process 121. Data referred to by the control unit 120 is read from the memory 105 if it is in the memory 105, and is read after being transferred from the auxiliary storage device 106 to the memory 105 if it is not in the memory 105.

処理実行装置100は、1つのプロセッサ101のみを備えていてもよいし、複数のプロセッサ101を備えていてもよい。複数のプロセッサ101が「部」の機能を実現するプログラムを連携して実行してもよい。   The processing execution apparatus 100 may include only one processor 101 or may include a plurality of processors 101. A plurality of processors 101 may execute a program for realizing the function of “unit” in cooperation with each other.

「部」の処理の結果を示す情報、データ、信号値、及び、変数値は、補助記憶装置106、メモリ105、又は、プロセッサ101内のレジスタ又はキャッシュメモリに記憶される。   Information, data, signal values, and variable values indicating the result of the processing of “unit” are stored in the auxiliary storage device 106, the memory 105, or a register or cache memory in the processor 101.

「部」の機能を実現するプログラムは、磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ブルーレイ(登録商標)ディスク、DVD(Digital Versatile Disc)等の可搬記録媒体に記憶されてもよい。   A program for realizing the function of “part” may be stored in a portable recording medium such as a magnetic disk, a flexible disk, an optical disk, a compact disk, a Blu-ray (registered trademark) disk, a DVD (Digital Versatile Disc), or the like.

***動作の説明***
図2及び図3を参照して、処理実行装置100の動作を説明する。処理実行装置100の動作は、本実施の形態に係る処理実行方法に相当する。
*** Explanation of operation ***
The operation of the processing execution apparatus 100 will be described with reference to FIGS. The operation of the process execution device 100 corresponds to the process execution method according to the present embodiment.

図2は、実行部110により実行されるプログラム起動処理111の流れを示すフローチャートである。   FIG. 2 is a flowchart showing the flow of the program activation process 111 executed by the execution unit 110.

ステップS11において、プログラム起動処理111は、起動可否判断処理121を呼び出す。その結果、ステップS12で起動許可と判定されると、ステップS13において、プログラム起動処理111は、プログラム131の起動処理を実行する。具体的には、プログラム起動処理111は、プログラム131を補助記憶装置106からメモリ105に読み出して起動する。ステップS12で起動不可であると判定されると、ステップS14において、プログラム起動処理111は、エラーを返す。なお、ステップS12での許可は、起動可否判断処理121としての許可であり、OSが確認する実行権やアクセス権の処理はステップS13の処理に含むものとする。   In step S11, the program activation process 111 calls the activation availability determination process 121. As a result, if it is determined in step S12 that activation is permitted, the program activation process 111 executes the activation process of the program 131 in step S13. Specifically, the program activation processing 111 reads the program 131 from the auxiliary storage device 106 to the memory 105 and activates it. If it is determined in step S12 that activation is not possible, the program activation process 111 returns an error in step S14. The permission in step S12 is permission as the activation permission determination process 121, and the processing of the execution right and the access right confirmed by the OS is included in the process in step S13.

図3は、制御部120により実行される起動可否判断処理121の流れを示すフローチャートである。起動可否判断処理121の流れは、本実施の形態に係る制御プログラムの処理手順に相当する。   FIG. 3 is a flowchart showing the flow of the activation permission determination process 121 executed by the control unit 120. The flow of the activation possibility determination process 121 corresponds to the processing procedure of the control program according to the present embodiment.

ステップS21において、起動可否判断処理121は、起動しようとしたプログラム131がホワイトリスト124に登録済であるかどうかを確認する。登録済プログラムであれば、ステップS28において、起動可否判断処理121は、プログラム131の起動許可を与える。登録済プログラムでない場合は、ステップS22において、起動可否判断処理121は、親のプロセス130が存在するかを確認する。ここで、親のプロセス130とは、プログラム131を起動しようとしているプロセス130のことである。親のプロセス130が存在しない場合は、ステップS27において、起動可否判断処理121は、プログラム131を起動不可とする。ステップS22で親のプロセス130が存在する場合は、ステップS23において、起動可否判断処理121は、親のプロセス130のプログラム131のファイルIDが実行特権プログラムのファイルID125に合致するかどうかを確認する。実行特権プログラムのファイルID125に合致する場合は、ステップS28において、起動可否判断処理121は、プログラム131の起動許可を与える。ステップS23で実行特権プログラムのファイルID125に合致しない場合は、ステップS24において、起動可否判断処理121は、親のプロセス130がシェルであるかどうかを、シェルのファイルID126を用いて確認する。シェルでなければ、ステップS26において、起動可否判断処理121は、さらに親のプロセス130を遡って確認を行う。ステップS24で親のプロセス130がシェルであれば、ステップS25において、起動可否判断処理121は、シェルのファイルディスクリプタ127に結び付けられたスクリプトプログラム140のファイルIDが実行特権プログラムのファイルID125に一致するかどうかを確認する。一致した場合は、ステップS28において、起動可否判断処理121は、プログラム131の起動許可を与える。ステップS25で一致しない場合は、ステップS26において、起動可否判断処理121は、親のプロセス130を遡って確認を行う。   In step S <b> 21, the activation permission determination process 121 confirms whether the program 131 to be activated is already registered in the white list 124. If it is a registered program, the activation permission determination processing 121 gives permission to activate the program 131 in step S28. If it is not a registered program, the activation possibility determination processing 121 confirms in step S22 whether the parent process 130 exists. Here, the parent process 130 is a process 130 that is trying to start the program 131. If the parent process 130 does not exist, in step S27, the activation availability determination processing 121 disables the program 131. If the parent process 130 exists in step S22, the activation permission determination process 121 checks in step S23 whether the file ID of the program 131 of the parent process 130 matches the file ID 125 of the execution privilege program. If it matches the file ID 125 of the execution privilege program, the activation permission determination processing 121 gives activation permission of the program 131 in step S28. If the file ID 125 of the execution privilege program does not match in step S23, the activation permission determination process 121 checks in step S24 whether or not the parent process 130 is a shell using the shell file ID 126. If it is not a shell, in step S <b> 26, the activation possibility determination processing 121 further checks back to the parent process 130. If the parent process 130 is a shell in step S24, in step S25, the activation permission determination process 121 determines whether the file ID of the script program 140 linked to the shell file descriptor 127 matches the file ID 125 of the execution privilege program. Check if. If they match, the activation permission determination processing 121 gives permission to activate the program 131 in step S28. If they do not coincide with each other in step S25, in step S26, the activation possibility determination processing 121 performs confirmation by tracing back the parent process 130.

ここで、起動可否判断処理121を、制御部120の動作として説明する。   Here, the activation permission determination process 121 will be described as an operation of the control unit 120.

制御部120は、ステップS21において、起動処理の対象となるプログラム131が条件を満たしているかどうかを確認する。本実施の形態では、起動処理により起動されるプログラム131がメモリ105に記憶されたホワイトリスト124に登録されている場合に、条件が満たされることになる。よって、制御部120は、起動処理の対象となるプログラム131のファイルIDをキーとして、メモリ105に記憶されたホワイトリスト124を検索する。キーと一致するファイルIDがホワイトリスト124に含まれていれば、起動処理の対象が条件を満たしていることになる。   In step S <b> 21, the control unit 120 confirms whether the program 131 that is the target of the activation process satisfies the condition. In the present embodiment, the condition is satisfied when the program 131 activated by the activation process is registered in the white list 124 stored in the memory 105. Therefore, the control unit 120 searches the white list 124 stored in the memory 105 using the file ID of the program 131 to be activated as a key. If the file ID that matches the key is included in the white list 124, the activation process target satisfies the condition.

起動処理の対象が条件を満たしていれば、制御部120は、ステップS28において、実行部110に起動処理を実行させる。具体的には、制御部120は、起動処理の実行を許可することを示すデータをメモリ105、又は、プロセッサ101のレジスタに格納する。実行部110は、このデータを参照して起動処理を実行する。   If the target of the startup process satisfies the condition, the control unit 120 causes the execution unit 110 to execute the startup process in step S28. Specifically, the control unit 120 stores data indicating that execution of the startup process is permitted in the memory 105 or the register of the processor 101. The execution unit 110 executes the startup process with reference to this data.

起動処理の対象が条件を満たしていなくても、制御部120は、ステップS22及びステップS23において、起動処理の要求元のプロセス130、即ち、親のプロセス130が存在するかどうか、もし存在していれば親のプロセス130に起動処理の権限が付与されているかどうかを確認する。親のプロセス130が存在するかどうかを確認する方法については、特許文献1と同様の方法を用いることができる。親のプロセス130に起動処理の権限が付与されているかどうかを確認する際には、制御部120は、権限情報129をメモリ105から読み取って、権限情報129を参照する。権限情報129は、本実施の形態では、起動処理の権限が付与されたプログラムのファイルを識別するファイルID125である。よって、制御部120は、親のプロセス130として動作しているプログラム131のファイルIDと、権限情報129であるファイルID125とを比較する。両者が一致していれば、親のプロセス130に起動処理の権限が付与されていることになる。   Even if the target of the activation process does not satisfy the condition, the control unit 120 determines whether or not the process 130 that requested the activation process, that is, the parent process 130 exists in step S22 and step S23. Then, it is confirmed whether or not the parent process 130 is authorized for the activation process. As a method for confirming whether or not the parent process 130 exists, the same method as in Patent Document 1 can be used. When confirming whether or not the parent process 130 is authorized to start processing, the control unit 120 reads the authority information 129 from the memory 105 and refers to the authority information 129. In the present embodiment, the authority information 129 is a file ID 125 that identifies the file of the program to which the authority for the activation process is granted. Therefore, the control unit 120 compares the file ID of the program 131 operating as the parent process 130 with the file ID 125 that is the authority information 129. If the two match, the parent process 130 is granted the authority for the activation process.

親のプロセス130に起動処理の権限が付与されていれば、制御部120は、ステップS28において、実行部110に起動処理を実行させる。その結果、制御部120は、ステップS13において、親のプロセス130から要求された処理を実行することになる。この処理は、処理の対象としてプログラム131を起動する処理である。   If the parent process 130 is authorized for the activation process, the control unit 120 causes the execution unit 110 to execute the activation process in step S28. As a result, the control unit 120 executes processing requested from the parent process 130 in step S13. This process is a process for starting the program 131 as a processing target.

親のプロセス130に起動処理の権限が付与されていなくても、制御部120は、ステップS24において、親のプロセス130が、他のプログラムのファイルを参照して当該他のプログラムを実行しているプログラム131に該当するかどうかを確認する。そして、もし該当していれば、制御部120は、ステップS25において、当該他のプログラムに起動処理の権限が付与されているかどうかを確認する。本実施の形態では、親のプロセス130が、他のプログラムとしてスクリプトプログラム140を実行しているシェルであれば、他のプログラムのファイルを参照して当該他のプログラムを実行しているプログラム131に該当することになる。よって、制御部120は、親のプロセス130がシェルであるかどうかを確認する。具体的には、制御部120は、親のプロセス130として動作しているプログラム131のファイルIDとメモリ105に記憶されたシェルのファイルID126とを比較する。両者が一致していれば、親のプロセス130がシェルであることになる。親のプロセス130がシェルである場合、制御部120は、シェルが参照するファイルを示すファイルディスクリプタ127と権限情報129とをメモリ105から読み取って、ファイルディスクリプタ127と権限情報129とを参照する。ファイルディスクリプタ127は、ファイルID等を含むファイル情報へのインデックスである。また、前述したように、権限情報129は、本実施の形態では、起動処理の権限が付与されたプログラムのファイルを識別するファイルID125である。よって、制御部120は、ファイルディスクリプタ127で示されるスクリプトプログラム140のファイルIDと、権限情報129であるファイルID125とを比較する。両者が一致していれば、スクリプトプログラム140に起動処理の権限が付与されていることになる。   Even if the parent process 130 is not given the authority for the activation process, in step S24, the control unit 120 refers to the file of another program and executes the other program in the parent process 130. Check whether the program 131 is applicable. And if it corresponds, the control part 120 confirms whether the authority of a starting process is provided to the said other program in step S25. In the present embodiment, if the parent process 130 is a shell that executes the script program 140 as another program, the program 131 that executes the other program with reference to the file of the other program is referred to. That will be true. Therefore, the control unit 120 checks whether or not the parent process 130 is a shell. Specifically, the control unit 120 compares the file ID of the program 131 operating as the parent process 130 with the shell file ID 126 stored in the memory 105. If they match, the parent process 130 is a shell. When the parent process 130 is a shell, the control unit 120 reads the file descriptor 127 and authority information 129 indicating a file referred to by the shell from the memory 105 and refers to the file descriptor 127 and authority information 129. The file descriptor 127 is an index to file information including a file ID and the like. In addition, as described above, the authority information 129 is a file ID 125 that identifies a file of a program to which the authority for activation processing is granted in this embodiment. Therefore, the control unit 120 compares the file ID of the script program 140 indicated by the file descriptor 127 with the file ID 125 that is the authority information 129. If the two match, the script program 140 is authorized to start processing.

スクリプトプログラム140に起動処理の権限が付与されていれば、制御部120は、ステップS28において、実行部110に起動処理を実行させる。その結果、制御部120は、ステップS13において、親のプロセス130から要求された処理を実行することになる。前述したように、この処理は、処理の対象としてプログラム131を起動する処理である。   If the script program 140 is authorized for the startup process, the control unit 120 causes the execution unit 110 to execute the startup process in step S28. As a result, the control unit 120 executes processing requested from the parent process 130 in step S13. As described above, this processing is processing for starting the program 131 as a processing target.

親のプロセス130がシェルでないか、シェルであってもスクリプトプログラム140に起動処理の権限が付与されていなければ、制御部120は、ステップS26を経て、親のプロセス130の先祖について、ステップS24及びステップS25を含む同様の処理を行う。ここで、あるプロセス130に対して、そのプロセス130を子とするプロセス130を先代とすると、親のプロセス130から先代、先々代と順番に初代まで遡ったとき、親のプロセス130の先代から初代までのそれぞれのプロセス130が、親のプロセス130の先祖に該当する。よって、制御部120は、親のプロセス130と、その先祖のプロセス130とのいずれかに起動処理の権限が付与されていれば、ステップS28において、実行部110に起動処理を実行させる。   If the parent process 130 is not a shell or the script program 140 is not authorized to start even if the parent process 130 is a shell, the control unit 120 proceeds to step S24 and step S24 for the ancestor of the parent process 130 through step S26. Similar processing including step S25 is performed. Here, when a process 130 having the process 130 as a child is a predecessor of a certain process 130, when the parent process 130 is traced back to the first generation in order, the first generation to the first generation of the parent process 130. Each process 130 corresponds to an ancestor of the parent process 130. Therefore, if the authority of the activation process is granted to either the parent process 130 or its ancestor process 130, the control unit 120 causes the execution unit 110 to execute the activation process in step S28.

以上のように、本実施の形態では、親のプロセス130が実行特権プログラムであるかどうかの確認に加え、親のプロセス130がシェルの場合は、処理しているスクリプトプログラム140に特権が与えられているかどうかを確認する。これにより、シェルに特権を与えずにスクリプトプログラム140に特権を与え、ホワイトリスト124に登録されていないプログラム131を起動することができる。具体的には、スクリプトプログラム140の中でプログラム131のソースコードをコンパイルし、生成された未登録のプログラム131をスクリプトプログラム140から起動することができる。しかし、シェルには特権を与えていないため、侵入者が不正にログインして実行しているシェルコマンド上でコンパイルした不正プログラムを実行することはできない。   As described above, in this embodiment, in addition to confirming whether or not the parent process 130 is an execution privilege program, if the parent process 130 is a shell, a privilege is given to the script program 140 being processed. Check whether it is. As a result, it is possible to give a privilege to the script program 140 without giving a privilege to the shell and start the program 131 not registered in the white list 124. Specifically, the source code of the program 131 can be compiled in the script program 140, and the generated unregistered program 131 can be started from the script program 140. However, since the shell has no privileges, it is not possible to execute a malicious program compiled on a shell command that is executed by an intruder logging in illegally.

***実施の形態の効果の説明***
本実施の形態では、処理実行装置100が、特別にプログラム131の起動処理の権限が付与されたプログラムを示す権限情報129を管理している。このため、本実施の形態によれば、処理実行装置100が、特別な権限を与えたプログラムを実行しているプロセス130から要求される処理については、起動処理の対象がどのプログラム131であるかに関わらず、プログラム131の起動処理の実行を許可できるようになる。
*** Explanation of the effect of the embodiment ***
In the present embodiment, the process execution device 100 manages authority information 129 indicating a program to which the authority for starting the program 131 is specifically granted. For this reason, according to the present embodiment, for the process requested by the process 130 executing the program to which the process execution apparatus 100 has given special authority, which program 131 is the target of the activation process. Regardless, the execution of the startup process of the program 131 can be permitted.

***他の構成***
本実施の形態では、「部」の機能がソフトウェアにより実現されるが、変形例として、「部」の機能がソフトウェアとハードウェアとの組み合わせにより実現されてもよい。即ち、「部」の一部の機能が専用の電子回路により実現され、残りの機能がソフトウェアにより実現されてもよい。専用の電子回路としては、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ロジックIC、GA(Gate Array)、ASIC(Application Specific Integrated Circuit)、又は、FPGA(Field−Programmable Gate Array)を用いることができる。
*** Other configurations ***
In the present embodiment, the function of “unit” is realized by software. However, as a modification, the function of “unit” may be realized by a combination of software and hardware. That is, some functions of the “unit” may be realized by a dedicated electronic circuit, and the remaining functions may be realized by software. The dedicated electronic circuit includes a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, a logic IC, a GA (Gate Array), an ASIC (Application Specific Integrated Circuit), or an FPGA (Field-Programmable Gate). Array) can be used.

プロセッサ101、メモリ105、及び、専用の電子回路を、総称して「プロセッシングサーキットリ」という。つまり、「部」の機能は、プロセッシングサーキットリにより実現される。   The processor 101, the memory 105, and the dedicated electronic circuit are collectively referred to as a “processing circuit”. That is, the function of “part” is realized by a processing circuit.

「部」を「工程」又は「手順」又は「処理」に読み替えてもよい。また、「部」の機能をファームウェアにより実現してもよい。   “Part” may be read as “step” or “procedure” or “processing”. Further, the function of “unit” may be realized by firmware.

実施の形態2.
本実施の形態に係る装置は、ライブラリのリストを基にロード可否の判別を行い、リストに掲載されていないライブラリについては、ライブラリをロードするプログラムの起動元プログラムが参照するファイルに付与された権限を基にロード可否を判断する。
Embodiment 2. FIG.
The apparatus according to the present embodiment determines whether or not loading is possible based on the list of libraries, and for the libraries not listed, the authority given to the file referred to by the starting program of the program that loads the library Based on the above, whether to load is determined.

以下では、本実施の形態に係る装置の構成、本実施の形態に係る装置の動作、本実施の形態の効果を順番に説明する。主に実施の形態1との差異を説明する。   Hereinafter, the configuration of the apparatus according to the present embodiment, the operation of the apparatus according to the present embodiment, and the effects of the present embodiment will be described in order. Differences from the first embodiment will be mainly described.

***構成の説明***
図4を参照して、本実施の形態に係る装置である処理実行装置100の構成を説明する。
*** Explanation of configuration ***
With reference to FIG. 4, the configuration of process execution device 100 which is a device according to the present embodiment will be described.

処理実行装置100は、実施の形態1と同じように、コンピュータである。   The processing execution apparatus 100 is a computer as in the first embodiment.

処理実行装置100は、実施の形態1と同じように、機能部として、実行部110と、制御部120とを備える。実行部110と、制御部120とのそれぞれの機能は、ソフトウェアにより実現される。   As in the first embodiment, the processing execution apparatus 100 includes an execution unit 110 and a control unit 120 as functional units. The functions of the execution unit 110 and the control unit 120 are realized by software.

補助記憶装置106には、ホワイトリスト124と、実行特権プログラムのファイルID125と、シェルのファイルID126と、シェルのファイルディスクリプタ127とが記憶されている。ホワイトリスト124には、ロードを許可するライブラリ132のファイルIDを登録する。具体的には、ロードを許可するライブラリ132をOSが補助記憶装置106上でファイルとして管理するためのユニークな番号等を登録しておく。実行特権プログラムのファイルID125も、特別な権限が与えられたプログラム131をOSが補助記憶装置106上でファイルとして管理するための識別子である。具体的には、プログラム131のファイルIDや、スクリプトプログラム140のファイルIDである。本実施の形態において、実行特権プログラムのファイルID125は、処理の権限としてライブラリ132のロード処理の権限が付与されたプログラムを示す権限情報129である。シェルのファイルID126、及び、シェルのファイルディスクリプタ127については、実施の形態1のものと同じである。   The auxiliary storage device 106 stores a white list 124, an execution privilege program file ID 125, a shell file ID 126, and a shell file descriptor 127. In the white list 124, the file ID of the library 132 permitted to be loaded is registered. Specifically, a unique number or the like for the OS to manage the library 132 to be loaded as a file on the auxiliary storage device 106 is registered. The file ID 125 of the execution privilege program is also an identifier for the OS to manage the program 131 to which special authority is given as a file on the auxiliary storage device 106. Specifically, it is the file ID of the program 131 or the file ID of the script program 140. In the present embodiment, the file ID 125 of the execution privilege program is authority information 129 indicating the program to which the authority of the load process of the library 132 is given as the authority of the process. The shell file ID 126 and the shell file descriptor 127 are the same as those in the first embodiment.

本実施の形態では、実行部110が、ライブラリロード処理112を実行する。   In the present embodiment, the execution unit 110 executes the library load process 112.

また、本実施の形態では、制御部120が、ライブラリロード可否判断処理122を実行する。制御部120は、ライブラリロード可否判断処理122において、ホワイトリスト124、実行特権プログラムのファイルID125、シェルのファイルID126、シェルのファイルディスクリプタ127といったデータを参照する。   In the present embodiment, the control unit 120 executes the library load availability determination process 122. In the library load availability determination process 122, the control unit 120 refers to data such as a white list 124, an execution privilege program file ID 125, a shell file ID 126, and a shell file descriptor 127.

***動作の説明***
図5及び図6を参照して、処理実行装置100の動作を説明する。処理実行装置100の動作は、本実施の形態に係る処理実行方法に相当する。
*** Explanation of operation ***
The operation of the processing execution apparatus 100 will be described with reference to FIGS. The operation of the process execution device 100 corresponds to the process execution method according to the present embodiment.

図5は、実行部110により実行されるライブラリロード処理112の流れを示すフローチャートである。   FIG. 5 is a flowchart showing the flow of the library loading process 112 executed by the execution unit 110.

ステップS31において、ライブラリロード処理112は、ライブラリロード可否判断処理122を呼び出す。その結果、ステップS32でロード許可と判定されると、ステップS33において、ライブラリロード処理112は、ライブラリ132のロード処理を実行する。具体的には、ライブラリロード処理112は、ライブラリ132を補助記憶装置106からメモリ105にロードする。ステップS32でロード不可であると判定されると、ステップS34において、ライブラリロード処理112は、エラーを返す。なお、ステップS32での許可は、ライブラリロード可否判断処理122としての許可であり、OSが確認する実行権やアクセス権の処理はステップS33の処理に含むものとする。   In step S31, the library load process 112 calls the library load availability determination process 122. As a result, if it is determined in step S32 that the load is permitted, the library load process 112 executes the load process of the library 132 in step S33. Specifically, the library load process 112 loads the library 132 from the auxiliary storage device 106 to the memory 105. If it is determined in step S32 that loading is not possible, the library loading process 112 returns an error in step S34. Note that the permission in step S32 is permission as the library load availability determination process 122, and the execution right and access right processes confirmed by the OS are included in the process in step S33.

図6は、制御部120により実行されるライブラリロード可否判断処理122の流れを示すフローチャートである。ライブラリロード可否判断処理122の流れは、本実施の形態に係る制御プログラムの処理手順に相当する。   FIG. 6 is a flowchart showing the flow of the library load availability determination process 122 executed by the control unit 120. The flow of the library load availability determination processing 122 corresponds to the processing procedure of the control program according to the present embodiment.

ステップS41において、ライブラリロード可否判断処理122は、ロードしようとしたライブラリ132がホワイトリスト124に登録済であるかどうかを確認する。登録済ライブラリであれば、ステップS48において、ライブラリロード可否判断処理122は、ライブラリ132のロード許可を与える。登録済ライブラリでない場合は、ステップS42において、ライブラリロード可否判断処理122は、親のプロセス130が存在するかを確認する。ここで、親のプロセス130とは、ライブラリ132をロードしようとしているプロセス130のことである。親のプロセス130が存在しない場合は、ステップS47において、ライブラリロード可否判断処理122は、ライブラリ132をロード不可とする。ステップS42で親のプロセス130が存在する場合は、ステップS43において、ライブラリロード可否判断処理122は、親のプロセス130のプログラム131のファイルIDが実行特権プログラムのファイルID125に合致するかどうかを確認する。実行特権プログラムのファイルID125に合致する場合は、ステップS48において、ライブラリロード可否判断処理122は、ライブラリ132のロード許可を与える。ステップS43で実行特権プログラムのファイルID125に合致しない場合は、ステップS44において、ライブラリロード可否判断処理122は、親のプロセス130がシェルであるかどうかを、シェルのファイルID126を用いて確認する。シェルでなければ、ステップS46において、ライブラリロード可否判断処理122は、さらに親のプロセス130を遡って確認を行う。ステップS44で親のプロセス130がシェルであれば、ステップS45において、ライブラリロード可否判断処理122は、シェルのファイルディスクリプタ127に結び付けられたスクリプトプログラム140のファイルIDが実行特権プログラムのファイルID125に一致するかどうかを確認する。一致した場合は、ステップS48において、ライブラリロード可否判断処理122は、ライブラリ132のロード許可を与える。ステップS45で一致しない場合は、ステップS46において、ライブラリロード可否判断処理122は、親のプロセス130を遡って確認を行う。   In step S41, the library load availability determination process 122 confirms whether the library 132 to be loaded is already registered in the white list 124. If it is a registered library, the library load availability determination processing 122 gives permission to load the library 132 in step S48. If it is not a registered library, in step S42, the library load availability determination process 122 checks whether the parent process 130 exists. Here, the parent process 130 is a process 130 that is trying to load the library 132. If the parent process 130 does not exist, the library load availability determination processing 122 disables the library 132 in step S47. If the parent process 130 exists in step S42, in step S43, the library load availability determination process 122 checks whether the file ID of the program 131 of the parent process 130 matches the file ID 125 of the execution privilege program. . If it matches the file ID 125 of the execution privilege program, the library load availability determination processing 122 gives the load permission of the library 132 in step S48. If it does not match the file ID 125 of the execution privilege program in step S43, in step S44, the library load availability determination processing 122 checks whether or not the parent process 130 is a shell using the shell file ID 126. If it is not a shell, in step S46, the library load availability determination processing 122 further checks back to the parent process 130. If the parent process 130 is a shell in step S44, in step S45, the library load availability determination process 122 causes the file ID of the script program 140 linked to the shell file descriptor 127 to match the file ID 125 of the execution privilege program. Check whether or not. If they match, the library load availability determination processing 122 gives permission to load the library 132 in step S48. If they do not match in step S45, in step S46, the library load availability determination processing 122 performs verification by going back to the parent process 130.

ここで、ライブラリロード可否判断処理122を、制御部120の動作として説明する。   Here, the library load availability determination process 122 will be described as an operation of the control unit 120.

制御部120は、ステップS41において、ロード処理の対象となるライブラリ132が条件を満たしているかどうかを確認する。本実施の形態では、ロード処理によりロードされるライブラリ132がメモリ105に記憶されたホワイトリスト124に登録されている場合に、条件が満たされることになる。よって、制御部120は、ロード処理の対象となるライブラリ132のファイルIDをキーとして、メモリ105に記憶されたホワイトリスト124を検索する。キーと一致するファイルIDがホワイトリスト124に含まれていれば、ロード処理の対象が条件を満たしていることになる。   In step S41, the control unit 120 checks whether or not the library 132 that is the target of the load process satisfies the condition. In the present embodiment, the condition is satisfied when the library 132 to be loaded by the loading process is registered in the white list 124 stored in the memory 105. Therefore, the control unit 120 searches the white list 124 stored in the memory 105 using the file ID of the library 132 to be loaded as a key. If the file ID that matches the key is included in the white list 124, the load processing target satisfies the condition.

上記のように、本実施の形態では、プロセス130から要求される処理が、処理の対象としてプログラム131を起動する処理から、処理の対象としてライブラリ132をロードする処理に変わっているだけで、ステップS41の動作は、実施の形態1におけるステップS21の動作とほぼ同じである。ステップS42以降の動作についても、実施の形態1におけるステップS22以降の動作とほぼ同じであるため、説明を省略する。   As described above, in the present embodiment, the process requested from the process 130 is changed from the process of starting the program 131 as the process target to the process of loading the library 132 as the process target. The operation of S41 is substantially the same as the operation of step S21 in the first embodiment. Since the operation after step S42 is also substantially the same as the operation after step S22 in the first embodiment, the description thereof will be omitted.

以上のように、本実施の形態では、実施の形態1と同様に、シェルに特権を与えずにスクリプトプログラム140に特権を与え、ホワイトリスト124に登録されていないライブラリ132をロードすることができる。   As described above, in the present embodiment, as in the first embodiment, it is possible to load the library 132 that is not registered in the white list 124 by granting privileges to the script program 140 without giving privileges to the shell. .

***実施の形態の効果の説明***
本実施の形態では、処理実行装置100が、特別にライブラリ132のロード処理の権限が付与されたプログラムを示す権限情報129を管理している。このため、本実施の形態によれば、処理実行装置100が、特別な権限を与えたプログラムを実行しているプロセス130から要求される処理については、ロード処理の対象がどのライブラリ132であるかに関わらず、ライブラリ132のロード処理の実行を許可できるようになる。
*** Explanation of the effect of the embodiment ***
In the present embodiment, the process execution device 100 manages authority information 129 indicating a program to which the authority for load processing of the library 132 is specially granted. Therefore, according to the present embodiment, for the processing requested by the process 130 that is executing the program to which the processing execution apparatus 100 has given the special authority, which library 132 is the target of the load processing? Regardless, the execution of the load process of the library 132 can be permitted.

***他の構成***
本実施の形態では、実施の形態1と同じように、「部」の機能がソフトウェアにより実現されるが、実施の形態1の変形例と同じように、「部」の機能がソフトウェアとハードウェアとの組み合わせにより実現されてもよい。
*** Other configurations ***
In the present embodiment, as in the first embodiment, the function of “unit” is realized by software. However, as in the modification of the first embodiment, the function of “unit” is software and hardware. It may be realized by a combination.

実施の形態3.
本実施の形態に係る装置は、ファイルのリストを基に更新可否の判別を行い、リストに掲載されているファイルについては、更新を実行するプログラムの起動元プログラムが参照するファイルに付与された権限を基に更新可否を判断する。
Embodiment 3 FIG.
The apparatus according to the present embodiment determines whether or not update is possible based on the list of files, and for the files listed in the list, the authority given to the file referred to by the start source program of the program that executes the update Based on the above, it is determined whether the update is possible.

以下では、本実施の形態に係る装置の構成、本実施の形態に係る装置の動作、本実施の形態の効果を順番に説明する。主に実施の形態1との差異を説明する。   Hereinafter, the configuration of the apparatus according to the present embodiment, the operation of the apparatus according to the present embodiment, and the effects of the present embodiment will be described in order. Differences from the first embodiment will be mainly described.

***構成の説明***
図7を参照して、本実施の形態に係る装置である処理実行装置100の構成を説明する。
*** Explanation of configuration ***
With reference to FIG. 7, the structure of the process execution apparatus 100 which is an apparatus according to the present embodiment will be described.

処理実行装置100は、実施の形態1と同じように、コンピュータである。   The processing execution apparatus 100 is a computer as in the first embodiment.

処理実行装置100は、実施の形態1と同じように、機能部として、実行部110と、制御部120とを備える。実行部110と、制御部120とのそれぞれの機能は、ソフトウェアにより実現される。   As in the first embodiment, the processing execution apparatus 100 includes an execution unit 110 and a control unit 120 as functional units. The functions of the execution unit 110 and the control unit 120 are realized by software.

補助記憶装置106には、ホワイトリスト124と、書き込み特権プログラムのファイルID128と、シェルのファイルID126と、シェルのファイルディスクリプタ127とが記憶されている。ホワイトリスト124には、更新を許可するファイルのファイルIDを登録する。具体的には、更新を許可するプログラム131をOSが補助記憶装置106上でファイルとして管理するためのユニークな番号等を登録しておく。書き込み特権プログラムのファイルID128も、特別な権限が与えられたプログラム131をOSが補助記憶装置106上でファイルとして管理するための識別子である。具体的には、プログラム131のファイルIDや、スクリプトプログラム140のファイルIDである。本実施の形態において、書き込み特権プログラムのファイルID128は、処理の権限として書き込みモードでのファイルのオープン処理の権限が付与されたプログラムを示す権限情報129である。シェルのファイルID126、及び、シェルのファイルディスクリプタ127については、実施の形態1のものと同じである。   The auxiliary storage device 106 stores a white list 124, a file ID 128 of a write privilege program, a shell file ID 126, and a shell file descriptor 127. In the white list 124, file IDs of files that are allowed to be updated are registered. Specifically, a unique number or the like for the OS to manage the update-permitted program 131 as a file on the auxiliary storage device 106 is registered. The file ID 128 of the write privilege program is also an identifier for the OS to manage the program 131 to which special authority is given as a file on the auxiliary storage device 106. Specifically, it is the file ID of the program 131 or the file ID of the script program 140. In the present embodiment, the file ID 128 of the write privilege program is authority information 129 indicating a program to which the authority of the file open process in the write mode is given as the authority of the process. The shell file ID 126 and the shell file descriptor 127 are the same as those in the first embodiment.

本実施の形態では、実行部110が、ファイルオープン処理113を実行する。   In the present embodiment, the execution unit 110 executes the file open process 113.

また、本実施の形態では、制御部120が、ファイルオープン可否判断処理123を実行する。制御部120は、ファイルオープン可否判断処理123において、ホワイトリスト124、書き込み特権プログラムのファイルID128、シェルのファイルID126、シェルのファイルディスクリプタ127といったデータを参照する。   Further, in the present embodiment, the control unit 120 executes a file open permission determination process 123. The control unit 120 refers to data such as the white list 124, the write privilege program file ID 128, the shell file ID 126, and the shell file descriptor 127 in the file open permission determination process 123.

***動作の説明***
図8及び図9を参照して、処理実行装置100の動作を説明する。処理実行装置100の動作は、本実施の形態に係る処理実行方法に相当する。
*** Explanation of operation ***
The operation of the processing execution apparatus 100 will be described with reference to FIGS. The operation of the process execution device 100 corresponds to the process execution method according to the present embodiment.

図8は、実行部110により実行されるファイルオープン処理113の流れを示すフローチャートである。なお、ファイルオープン処理113の対象となるファイルは、データファイルでもよいが、本実施の形態では、プログラム131の改竄の防止や保守時のプログラム131の更新を想定し、プログラム131のファイルであるとする。   FIG. 8 is a flowchart showing the flow of the file open process 113 executed by the execution unit 110. The file that is the target of the file open process 113 may be a data file. However, in this embodiment, the file of the program 131 is assumed to prevent falsification of the program 131 and to update the program 131 during maintenance. To do.

ステップS51において、ファイルオープン処理113は、ファイルオープン可否判断処理123を呼び出す。その結果、ステップS52でオープン許可と判定されると、ステップS53において、ファイルオープン処理113は、ファイルのオープン処理を実行する。具体的には、ファイルオープン処理113は、補助記憶装置106上のプログラム131のファイルを開く。ファイルが開かれると、メモリ105を介してファイルからのデータの読み込みとファイルへのデータの書き込みとの少なくともいずれかが可能となる。ステップS52でオープン不可であると判定されると、ステップS54において、ファイルオープン処理113は、エラーを返す。なお、ステップS52での許可は、ファイルオープン可否判断処理123としての許可であり、OSが確認する実行権やアクセス権の処理はステップS53の処理に含むものとする。   In step S51, the file open process 113 calls a file open permission determination process 123. As a result, if it is determined in step S52 that the file is open-permitted, in step S53, the file open process 113 executes a file open process. Specifically, the file open process 113 opens the file of the program 131 on the auxiliary storage device 106. When the file is opened, it is possible to read data from the file via the memory 105 and / or write data to the file. If it is determined in step S52 that the file cannot be opened, the file open process 113 returns an error in step S54. The permission in step S52 is permission as the file open permission determination process 123, and the processing of the execution right and access right that the OS confirms is included in the process in step S53.

図9は、制御部120により実行されるファイルオープン可否判断処理123の流れを示すフローチャートである。ファイルオープン可否判断処理123の流れは、本実施の形態に係る制御プログラムの処理手順に相当する。   FIG. 9 is a flowchart showing the flow of the file open permission determination process 123 executed by the control unit 120. The flow of the file openability determination process 123 corresponds to the process procedure of the control program according to the present embodiment.

ステップS61において、ファイルオープン可否判断処理123は、ファイルを書き込みモードでオープンしようとしているかどうかを確認する。書き込みモードでなければ、ステップS69において、ファイルオープン可否判断処理123は、ファイルのオープン許可を与える。ステップS61で書き込みモードであった場合は、ステップS62において、ファイルオープン可否判断処理123は、オープンしようとしたプログラム131のファイルがホワイトリスト124に登録済であるかどうかを確認する。未登録プログラムであれば、ステップS69において、ファイルオープン可否判断処理123は、ファイルのオープン許可を与える。登録済プログラムの場合は、ステップS63において、ファイルオープン可否判断処理123は、親のプロセス130が存在するかを確認する。ここで、親のプロセス130とは、ファイルを書き込みモードでオープンしようとしているプロセス130のことである。親のプロセス130が存在しない場合は、ステップS68において、ファイルオープン可否判断処理123は、ファイルをオープン不可とする。ステップS63で親のプロセス130が存在する場合は、ステップS64において、ファイルオープン可否判断処理123は、親のプロセス130のプログラム131のファイルIDが書き込み特権プログラムのファイルID128に合致するかどうかを確認する。書き込み特権プログラムのファイルID128に合致する場合は、ステップS69において、ファイルオープン可否判断処理123は、プログラム131のファイルのオープン許可を与える。ステップS64で書き込み特権プログラムのファイルID128に合致しない場合は、ステップS65において、ファイルオープン可否判断処理123は、親のプロセス130がシェルであるかどうかを、シェルのファイルID126を用いて確認する。シェルでなければ、ステップS67において、ファイルオープン可否判断処理123は、さらに親のプロセス130を遡って確認を行う。ステップS65で親のプロセス130がシェルであれば、ステップS66において、ファイルオープン可否判断処理123は、シェルのファイルディスクリプタ127に結び付けられたスクリプトプログラム140のファイルIDが書き込み特権プログラムのファイルID128に一致するかどうかを確認する。一致した場合は、ステップS69において、ファイルオープン可否判断処理123は、プログラム131のファイルのオープン許可を与える。ステップS66で一致しない場合は、ステップS67において、ファイルオープン可否判断処理123は、親のプロセス130を遡って確認を行う。   In step S61, the file open permission determination process 123 confirms whether the file is to be opened in the write mode. If it is not in the writing mode, the file open permission determination process 123 gives permission to open the file in step S69. If it is in the writing mode in step S61, in step S62, the file open permission determination processing 123 confirms whether or not the file of the program 131 to be opened is already registered in the white list 124. If it is an unregistered program, in step S69, the file open permission determination processing 123 gives permission to open the file. In the case of a registered program, in step S63, the file open permission determination process 123 confirms whether the parent process 130 exists. Here, the parent process 130 is a process 130 that is trying to open a file in the write mode. If the parent process 130 does not exist, in step S68, the file open permission determination process 123 determines that the file cannot be opened. If the parent process 130 exists in step S63, in step S64, the file open availability determination process 123 checks whether the file ID of the program 131 of the parent process 130 matches the file ID 128 of the write privilege program. . If it matches the file ID 128 of the write privilege program, in step S69, the file open permission determination process 123 gives permission to open the file of the program 131. If the file ID 128 does not match the file privilege 128 of the write privilege program in step S64, the file open permission determination process 123 checks in step S65 whether or not the parent process 130 is a shell using the shell file ID 126. If it is not a shell, in step S67, the file open permission determination processing 123 further checks back to the parent process 130. If the parent process 130 is a shell in step S65, the file open permission determination process 123 in step S66 is such that the file ID of the script program 140 linked to the shell file descriptor 127 matches the file ID 128 of the write privilege program. Check whether or not. If they match, in step S69, the file open permission determination process 123 gives permission to open the file of the program 131. If they do not match in step S66, in step S67, the file open permission determination process 123 performs confirmation by going back to the parent process 130.

ここで、ファイルオープン可否判断処理123を、制御部120の動作として説明する。   Here, the file open availability determination process 123 will be described as an operation of the control unit 120.

制御部120は、ステップS62において、書き込みモードでのオープン処理の対象となるファイルが条件を満たしているかどうかを確認する。本実施の形態では、オープン処理によりオープンされるファイルがメモリ105に記憶されたホワイトリスト124に登録されていない場合に、条件が満たされることになる。よって、制御部120は、オープン処理の対象となるファイルのファイルIDをキーとして、メモリ105に記憶されたホワイトリスト124を検索する。キーと一致するファイルIDがホワイトリスト124に含まれていなければ、オープン処理の対象が条件を満たしていることになる。   In step S62, the control unit 120 confirms whether or not the file to be opened in the write mode satisfies the condition. In the present embodiment, the condition is satisfied when the file to be opened by the open process is not registered in the white list 124 stored in the memory 105. Therefore, the control unit 120 searches the white list 124 stored in the memory 105 using the file ID of the file to be opened as a key. If the file ID that matches the key is not included in the white list 124, the target of the open process satisfies the condition.

上記のように、本実施の形態では、プロセス130から要求される処理が、処理の対象としてプログラム131を起動する処理から、処理の対象としてファイルを書き込みモードでオープンする処理に変わっているだけで、ステップS62の動作は、実施の形態1におけるステップS21の動作とほぼ同じである。ステップS63以降の動作についても、実施の形態1におけるステップS22以降の動作とほぼ同じであるため、説明を省略する。   As described above, in the present embodiment, the process requested from the process 130 is changed from the process of starting the program 131 as the process target to the process of opening the file in the write mode as the process target. The operation in step S62 is substantially the same as the operation in step S21 in the first embodiment. Since the operation after step S63 is also substantially the same as the operation after step S22 in the first embodiment, the description thereof will be omitted.

以上のように、本実施の形態では、ファイルを書き込みモードでオープンするとき、対象のファイルがホワイトリスト124に登録されているものである場合は、通常の場合は拒絶するため、プログラム131の改竄を防止することができる。ホワイトリスト124を補助記憶装置106上にファイルとして保存しておく場合は、そのファイル自体をホワイトリスト124に登録しておくことで、ホワイトリスト124の改竄を防止することもできる。変更させたくない設定ファイル、認証や署名に用いる鍵ファイル等もホワイトリスト124に登録しておくことで改竄を防止することができる。また、プログラム131の保守のためにホワイトリスト124に登録済のファイルを更新する場合、更新用のスクリプトプログラム140を書き込み特権プログラムとすることにより、通常は書き込みができない登録済のファイルを更新することができる。なお、スクリプトプログラム140の中では、一般に用いられる方法で、署名による更新プログラムの正当性を確認することが望ましい。   As described above, in this embodiment, when a file is opened in the write mode, if the target file is registered in the white list 124, it is rejected in a normal case. Can be prevented. When the white list 124 is stored as a file on the auxiliary storage device 106, falsification of the white list 124 can be prevented by registering the file itself in the white list 124. It is possible to prevent falsification by registering in the white list 124 a setting file that is not desired to be changed and a key file used for authentication and signature. In addition, when updating a file registered in the white list 124 for maintenance of the program 131, the registered script file 140 that cannot be normally written is updated by using the update script program 140 as a write privilege program. Can do. In the script program 140, it is desirable to confirm the validity of the update program using a signature by a generally used method.

***実施の形態の効果の説明***
本実施の形態では、処理実行装置100が、特別に書き込みモードでのファイルのオープン処理の権限が付与されたプログラムを示す権限情報129を管理している。このため、本実施の形態によれば、処理実行装置100が、特別な権限を与えたプログラムを実行しているプロセス130から要求される処理については、オープン処理の対象がどのファイルであるかに関わらず、書き込みモードでのファイルのオープン処理の実行を許可できるようになる。
*** Explanation of the effect of the embodiment ***
In the present embodiment, the process execution device 100 manages authority information 129 that indicates a program that is specifically given authority to open a file in the write mode. For this reason, according to the present embodiment, for the process requested by the process 130 that is executing the program to which the process execution apparatus 100 has given special authority, which file is the target of the open process. Regardless, the execution of the file open process in the write mode can be permitted.

また、本実施の形態では、処理実行装置100が、ハッシュ値による改竄のチェックを行わないので、プログラム131等を更新したときのハッシュ値の更新が不要となる。   Further, in the present embodiment, the process execution device 100 does not check for falsification using a hash value, so that it is not necessary to update the hash value when the program 131 or the like is updated.

***他の構成***
本実施の形態では、実施の形態1と同じように、「部」の機能がソフトウェアにより実現されるが、実施の形態1の変形例と同じように、「部」の機能がソフトウェアとハードウェアとの組み合わせにより実現されてもよい。
*** Other configurations ***
In the present embodiment, as in the first embodiment, the function of “unit” is realized by software. However, as in the modification of the first embodiment, the function of “unit” is software and hardware. It may be realized by a combination.

以上、本発明の実施の形態について説明したが、これらの実施の形態のうち、いくつかを組み合わせて実施しても構わない。或いは、これらの実施の形態のうち、いずれか1つ又はいくつかを部分的に実施しても構わない。具体的には、これらの実施の形態の説明において「部」として説明するもののうち、いずれか1つのみを採用してもよいし、いくつかの任意の組み合わせを採用してもよい。なお、本発明は、これらの実施の形態に限定されるものではなく、必要に応じて種々の変更が可能である。   As mentioned above, although embodiment of this invention was described, you may implement combining some of these embodiment. Alternatively, any one or some of these embodiments may be partially implemented. Specifically, any one of those described as “parts” in the description of these embodiments may be employed, or some arbitrary combinations may be employed. In addition, this invention is not limited to these embodiment, A various change is possible as needed.

100 処理実行装置、101 プロセッサ、102 ネットワークコントローラ、103 入力デバイス、104 表示デバイス、105 メモリ、106 補助記憶装置、110 実行部、111 プログラム起動処理、112 ライブラリロード処理、113 ファイルオープン処理、120 制御部、121 起動可否判断処理、122 ライブラリロード可否判断処理、123 ファイルオープン可否判断処理、124 ホワイトリスト、125 ファイルID、126 ファイルID、127 ファイルディスクリプタ、128 ファイルID、129 権限情報、130 プロセス、131 プログラム、132 ライブラリ、140 スクリプトプログラム。   100 processing execution device, 101 processor, 102 network controller, 103 input device, 104 display device, 105 memory, 106 auxiliary storage device, 110 execution unit, 111 program start processing, 112 library load processing, 113 file open processing, 120 control unit , 121 Startup availability determination processing, 122 Library load availability determination processing, 123 File open availability determination processing, 124 White list, 125 File ID, 126 File ID, 127 File descriptor, 128 File ID, 129 Authority information, 130 Process, 131 Program 132 libraries, 140 script programs.

Claims (9)

プロセスから要求された処理を実行する実行部と、
前記処理の対象が条件を満たしていれば、前記実行部に前記処理を実行させ、前記処理の対象が前記条件を満たしていなくても、前記処理の要求元のプロセスが、他のプログラムのファイルを参照して前記他のプログラムを実行しているプログラムに該当する場合は、前記処理の権限が付与されたプログラムを示す権限情報をメモリから読み取って、前記他のプログラムに前記処理の権限が付与されていれば、前記実行部に前記処理を実行させる制御部と
を備える処理実行装置。
An execution unit that executes processing requested by the process;
If the process target satisfies the condition, the execution unit executes the process, and even if the process target does not satisfy the condition, the process requesting process is a file of another program. If the program corresponds to a program executing the other program, the authority information indicating the program to which the process authority is granted is read from the memory, and the process authority is granted to the other program. If it is, A process execution apparatus provided with the control part which makes the said execution part perform the said process.
前記処理の要求元のプロセスは、前記他のプログラムとしてスクリプトプログラムを実行しているシェルであれば、前記他のプログラムのファイルを参照して前記他のプログラムを実行しているプログラムに該当する請求項1に記載の処理実行装置。   If the process requesting process is a shell executing a script program as the other program, the process corresponds to a program executing the other program with reference to a file of the other program. Item 2. The processing execution device according to Item 1. 前記権限情報は、前記処理の権限が付与されたプログラムのファイルを識別するファイルIDであり、
前記制御部は、前記処理の対象が前記条件を満たしていなくても、前記処理の要求元のプロセスが前記シェルである場合は、前記シェルが参照するファイルを示すファイルディスクリプタと前記権限情報とを参照し、前記ファイルディスクリプタで示されるファイルと前記権限情報で識別されるファイルとが一致していれば、前記実行部に前記処理を実行させる請求項2に記載の処理実行装置。
The authority information is a file ID that identifies a file of a program to which the process authority is granted,
If the process request source process is the shell even if the process target does not satisfy the condition, the control unit displays a file descriptor indicating a file referred to by the shell and the authority information. The process execution device according to claim 2, wherein the execution unit executes the process if the file indicated by the file descriptor matches the file identified by the authority information.
前記制御部は、前記処理の対象が前記条件を満たしていなくても、前記処理の要求元のプロセスと前記処理の要求元のプロセスの先祖プロセスとのいずれかに前記処理の権限が付与されていれば、前記実行部に前記処理を実行させる請求項1から3のいずれか1項に記載の処理実行装置。   The control unit grants the processing authority to either the process requesting process or an ancestor process of the process requesting process even if the processing target does not satisfy the condition. Then, the process execution apparatus according to any one of claims 1 to 3, which causes the execution unit to execute the process. 前記処理は、前記処理の対象としてプログラムを起動する処理であり、
前記条件は、前記処理により起動されるプログラムが前記メモリに記憶されたホワイトリストに登録されている場合に満たされる請求項1から4のいずれか1項に記載の処理実行装置。
The process is a process of starting a program as the target of the process,
5. The process execution device according to claim 1, wherein the condition is satisfied when a program activated by the process is registered in a white list stored in the memory. 6.
前記処理は、前記処理の対象としてライブラリをロードする処理であり、
前記条件は、前記処理によりロードされるライブラリが前記メモリに記憶されたホワイトリストに登録されている場合に満たされる請求項1から4のいずれか1項に記載の処理実行装置。
The process is a process of loading a library as the target of the process,
5. The process execution device according to claim 1, wherein the condition is satisfied when a library loaded by the process is registered in a white list stored in the memory. 6.
前記処理は、前記処理の対象としてファイルを書き込みモードでオープンする処理であり、
前記条件は、前記処理によりオープンされるファイルが前記メモリに記憶されたホワイトリストに登録されていない場合に満たされる請求項1から4のいずれか1項に記載の処理実行装置。
The process is a process of opening a file in a write mode as a target of the process,
5. The process execution device according to claim 1, wherein the condition is satisfied when a file opened by the process is not registered in a white list stored in the memory. 6.
コンピュータが、プロセスから要求された処理の対象が条件を満たしていれば、前記処理を実行し、
前記コンピュータが、前記処理の対象が前記条件を満たしていなくても、前記処理の要求元のプロセスが、他のプログラムのファイルを参照して前記他のプログラムを実行しているプログラムに該当する場合は、前記処理の権限が付与されたプログラムを示す権限情報をメモリから読み取って、前記他のプログラムに前記処理の権限が付与されていれば、前記処理を実行する処理実行方法。
If the processing target requested by the process satisfies the condition, the computer executes the process,
When the computer corresponds to a program that executes the other program by referring to a file of another program even if the processing target does not satisfy the condition Is a process execution method for reading authority information indicating a program to which the process authority is granted from a memory and executing the process if the other program is granted the process authority.
コンピュータに、
プロセスから要求された処理の対象が条件を満たしていれば、前記処理を実行させ、
前記処理の対象が前記条件を満たしていなくても、前記処理の要求元のプロセスが、他のプログラムのファイルを参照して前記他のプログラムを実行しているプログラムに該当する場合は、前記処理の権限が付与されたプログラムを示す権限情報をメモリから読み取らせて、前記他のプログラムに前記処理の権限が付与されていれば、前記処理を実行させる制御プログラム。
On the computer,
If the processing target requested by the process satisfies the condition, the processing is executed,
Even if the processing target does not satisfy the condition, if the process requesting process corresponds to a program executing the other program with reference to a file of another program, the process A control program for reading authority information indicating a program to which the authority is granted from a memory and executing the process if the authority for the process is granted to the other program.
JP2016001092A 2016-01-06 2016-01-06 Process execution device, process execution method, and control program Active JP6355657B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016001092A JP6355657B2 (en) 2016-01-06 2016-01-06 Process execution device, process execution method, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016001092A JP6355657B2 (en) 2016-01-06 2016-01-06 Process execution device, process execution method, and control program

Publications (2)

Publication Number Publication Date
JP2017123011A true JP2017123011A (en) 2017-07-13
JP6355657B2 JP6355657B2 (en) 2018-07-11

Family

ID=59306598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016001092A Active JP6355657B2 (en) 2016-01-06 2016-01-06 Process execution device, process execution method, and control program

Country Status (1)

Country Link
JP (1) JP6355657B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766191A (en) * 2019-01-17 2019-05-17 山东中孚安全技术有限公司 A kind of single machine puppet distributed document inspection method and system
CN112269644A (en) * 2020-10-16 2021-01-26 苏州浪潮智能科技有限公司 Verification method, system and device for subprocess calling and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316780A (en) * 2006-05-24 2007-12-06 Nec Corp Computer system, computer and file operation limiting method to be used therefor, and its program
JP2015176278A (en) * 2014-03-14 2015-10-05 三菱電機株式会社 Information processing apparatus and information processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316780A (en) * 2006-05-24 2007-12-06 Nec Corp Computer system, computer and file operation limiting method to be used therefor, and its program
JP2015176278A (en) * 2014-03-14 2015-10-05 三菱電機株式会社 Information processing apparatus and information processing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
伊藤 孝之、外3名: "「動的にプログラムを生成するアプリケーションに対するホワイトリストの適用」", 電子情報通信学会2016年総合大会講演論文集, vol. 情報・システム2, JPN6018017155, 16 March 2016 (2016-03-16), JP, pages 2 - 0 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766191A (en) * 2019-01-17 2019-05-17 山东中孚安全技术有限公司 A kind of single machine puppet distributed document inspection method and system
CN112269644A (en) * 2020-10-16 2021-01-26 苏州浪潮智能科技有限公司 Verification method, system and device for subprocess calling and readable storage medium
CN112269644B (en) * 2020-10-16 2022-07-08 苏州浪潮智能科技有限公司 Verification method, system and device for subprocess calling and readable storage medium

Also Published As

Publication number Publication date
JP6355657B2 (en) 2018-07-11

Similar Documents

Publication Publication Date Title
US11113404B2 (en) Securing operating system configuration using hardware
CN101681407B (en) Trusted operating environment for malware detection
JP6559223B2 (en) Device policy manager
JP5992457B2 (en) Protecting operating system configuration values
JP5745061B2 (en) Authenticating the use of interactive components during the boot process
US9600661B2 (en) System and method to secure a computer system by selective control of write access to a data storage medium
US20080250493A1 (en) Method, System and Computer Program for Automating Configuration of Software Applications
CN109313690A (en) Self-contained encryption boot policy verifying
CN101681406A (en) Trusted operating environment for malware detection
JP6072091B2 (en) Secure access method and secure access device for application programs
KR102076878B1 (en) Protecting anti-malware processes
CN102279760A (en) Device booting with an initial protection component
JPWO2007040228A1 (en) Information processing apparatus, information processing method, and program
JP2016527608A (en) Process authentication and resource permissions
US11550899B2 (en) Systems and methods for hardening security systems using live patching
US20090119772A1 (en) Secure file access
US20170255775A1 (en) Software verification systems with multiple verification paths
US7890756B2 (en) Verification system and method for accessing resources in a computing environment
EP3583536B1 (en) Securely defining operating system composition without multiple authoring
CN111400723A (en) TEE extension-based operating system kernel mandatory access control method and system
JP2023500166A (en) Method and apparatus for authority management, computer equipment and storage medium
CN114651253A (en) Virtual environment type verification for policy enforcement
US10628489B2 (en) Controlling access to one or more datasets of an operating system in use
WO2017016231A1 (en) Policy management method, system and computer storage medium
JP6355657B2 (en) Process execution device, process execution method, and control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180418

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: 20180515

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180612

R150 Certificate of patent or registration of utility model

Ref document number: 6355657

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250