JP2022087195A - Information processing apparatus for detecting alteration of software to be executed at start-up - Google Patents

Information processing apparatus for detecting alteration of software to be executed at start-up Download PDF

Info

Publication number
JP2022087195A
JP2022087195A JP2022064235A JP2022064235A JP2022087195A JP 2022087195 A JP2022087195 A JP 2022087195A JP 2022064235 A JP2022064235 A JP 2022064235A JP 2022064235 A JP2022064235 A JP 2022064235A JP 2022087195 A JP2022087195 A JP 2022087195A
Authority
JP
Japan
Prior art keywords
software
information processing
processing apparatus
restart
executed
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
JP2022064235A
Other languages
Japanese (ja)
Other versions
JP7322233B2 (en
Inventor
貴弘 山下
Takahiro Yamashita
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.)
Canon Inc
Original Assignee
Canon Inc
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
Priority claimed from JP2018121326A external-priority patent/JP7059127B2/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2022064235A priority Critical patent/JP7322233B2/en
Publication of JP2022087195A publication Critical patent/JP2022087195A/en
Application granted granted Critical
Publication of JP7322233B2 publication Critical patent/JP7322233B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To prohibit reboot due to extended start processing which is caused by execution of alteration detection.
SOLUTION: Control means controls measurement means so as not to execute processing to prohibit execution of reboot or processing to delay execution of reboot until a part of multiple pieces of software is executed while a function for detecting alteration with detection means is enabled, and controls the measurement means to execute the processing to prohibit execution of reboot or the processing to delay execution of reboot before a part of the software is executed and alteration detection on the other software is started.
SELECTED DRAWING: Figure 5
COPYRIGHT: (C)2022,JPO&INPIT

Description

本発明は、起動時に実行されるソフトウェアの改ざんを検知する情報処理装置及び改ざん検知方法に関する。 The present invention relates to an information processing device for detecting falsification of software executed at startup and a falsification detection method.

起動時に実行されるソフトウェア(以下、起動対象ソフトウェア)の改ざんを検知(以下、改ざん検知と呼ぶ)して、改ざんが検知された起動対象ソフトウェアを実行しない機能を有する情報処理装置が知られている。起動時に起動対象ソフトウェアの改ざんを検知するのに要する時間によって、情報処理装置の起動時間が長期化する。 An information processing device having a function of detecting falsification of software executed at startup (hereinafter referred to as "falsification target software") (hereinafter referred to as "tampering detection") and not executing the boot target software in which falsification is detected is known. .. The startup time of the information processing device is lengthened depending on the time required to detect falsification of the software to be activated at startup.

また、印刷装置や読取装置などの組込システム等では、装置の起動処理が所定時間内に完了しないときに、装置を再起動する再起動機能が知られている(特許文献1)。特許文献1では、BIOSによる起動処理中に何らかの異常が発生して、監視時間をカウントし終えるまでにBIOSによる起動処理が完了しなかったら、電子機器を再起動する。 Further, in an embedded system such as a printing device or a reading device, a restart function for restarting the device when the device startup process is not completed within a predetermined time is known (Patent Document 1). In Patent Document 1, if some abnormality occurs during the startup process by the BIOS and the startup process by the BIOS is not completed by the time the monitoring time is counted, the electronic device is restarted.

特開2012-22469号公報Japanese Unexamined Patent Publication No. 2012-22469

特許文献1には、起動対象ソフトウェアの改ざんを検知することについては何ら言及されていない。引用文献1に開示される電子機器において起動対象ソフトウェアの改ざんを検知すると、異常が発生していないにも関わらず、改ざん検知に要する時間に起因する起動時間の長期化によって、電子機器が再起動してしまう。 Patent Document 1 does not mention at all about detecting falsification of the software to be booted. When the electronic device disclosed in Cited Document 1 is detected to be tampered with, the electronic device is restarted due to the prolonged startup time due to the time required for tampering detection, even though no abnormality has occurred. Resulting in.

そこで、本発明は、起動対象ソフトウェアの改ざんの検知に起因する起動時間の長期化によって、情報処理装置が再起動するのを禁止する、ことを目的とする。 Therefore, it is an object of the present invention to prohibit the restart of the information processing apparatus due to the prolongation of the startup time caused by the detection of alteration of the software to be started.

上記の課題を解決するため、起動指示に従って実行される複数のソフトウェアの少なくとも1つの改ざんを検知する検知手段と、前記起動指示を受信してから所定時間を計測する計測手段と、前記計測手段によって前記所定時間が計測されると情報処理装置を再起動する再起動手段と、前記計測手段に対して所定の処理を実行させる制御手段と、前記制御手段は、前記検知手段によって改ざんを検知する機能が有効な状態で、前記複数のソフトウェアの一部のソフトウェアの実行をするまで、前記再起動を実行させないための処理または前記再起動の実行を遅らせるための処理を前記計測手段に実行させず、前記一部のソフトウェアを実行し且つ他部のソフトウェアの改ざん検知を開始するまでに、前記再起動を実行させないための処理または前記再起動の実行を遅らせるための処理を前記計測手段に実行させることを特徴とする。 In order to solve the above problems, the detection means for detecting at least one tampering of a plurality of software executed according to the start instruction, the measurement means for measuring a predetermined time after receiving the start instruction, and the measurement means. A restart means for restarting the information processing apparatus when the predetermined time is measured, a control means for causing the measurement means to execute a predetermined process, and the control means having a function of detecting tampering by the detection means. Is enabled, until the software of a part of the plurality of software is executed, the measuring means is not allowed to execute the process for preventing the restart or the process for delaying the execution of the restart. To have the measuring means execute a process for preventing the restart or a process for delaying the execution of the restart by the time the software of the part is executed and the detection of tampering with the software of the other part is started. It is characterized by.

本発明によれば、改ざんの検知に起因する起動時間の長期化によって、情報処理装置が再起動するのを禁止することができる。 According to the present invention, it is possible to prohibit the information processing apparatus from restarting due to the prolongation of the start-up time due to the detection of falsification.

画像形成装置1のハード構成図Hardware configuration diagram of image forming apparatus 1 HDD103に記憶されているソフトウェアを示した図The figure which showed the software stored in HDD 103 起動時に実行する処理を示したフローチャートFlowchart showing the process to be executed at startup BIOSが実行する処理を示したフローチャートFlowchart showing the process executed by the BIOS Loaderが実行する処理を示したフローチャートFlowchart showing the process executed by Roader Initrdが実行する処理を示したフローチャートFlowchart showing the process executed by the Initial WDTが実行する処理を示したフローチャートFlowchart showing the process executed by the WDT 起動時に実行する処理を示したフローチャートFlowchart showing the process to be executed at startup WDTの構成を示すブロック図Block diagram showing the configuration of WDT WDTの不揮発領域に改ざん検知機能の有効/無効を示す情報を記憶するフローチャートA flowchart that stores information indicating the validity / invalidity of the falsification detection function in the non-volatile area of the WDT.

以下、図面を参照して本発明の実施の形態を詳しく説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

本実施形態では、情報処理装置として、プリント機能及びスキャン機能を有する画像形成装置を例に説明する。 In this embodiment, as an information processing apparatus, an image forming apparatus having a print function and a scan function will be described as an example.

<第1実施形態>
図1は、画像形成装置1のハード構成図である。
<First Embodiment>
FIG. 1 is a hardware configuration diagram of the image forming apparatus 1.

本実施形態の画像形成装置1は、起動時に実行される起動対象ソフトウェア(BIOS、Loader、Initrd、Firmware)の改ざんを検知して、改ざんが検知されたソフトウェアを実行しない機能(改ざん検知機能)を有する。 The image forming apparatus 1 of the present embodiment has a function (tampering detection function) of detecting alteration of the boot target software (BIOS, Loader, Initial, Firmware) executed at the time of activation and not executing the software in which the alteration is detected. Have.

中央演算処理部(以下、CPU)101は、画像形成装置1を稼働させるためのソフトウェアを実行する。システムバス102は、CPU101と周辺ユニットとを通信可能に接続する、および、周辺ユニット同士を通信可能に接続する通信路である。周辺ユニットとは、HDD103、RAM104、ネットワークコントローラ105、USBホストコントローラ107、及び、電力制御部109を含む。また、周辺ユニットは、ディスプレイコントローラ110、入出力コントローラ112、RTC114、不揮発性メモリ115、スキャナI/F116、及び、プリンタI/F118を含む。 The central processing unit (hereinafter, CPU) 101 executes software for operating the image forming apparatus 1. The system bus 102 is a communication path that connects the CPU 101 and peripheral units in a communicable manner and connects the peripheral units in a communicable manner. The peripheral unit includes an HDD 103, a RAM 104, a network controller 105, a USB host controller 107, and a power control unit 109. The peripheral unit includes a display controller 110, an input / output controller 112, an RTC 114, a non-volatile memory 115, a scanner I / F116, and a printer I / F118.

HDD(ハードディスクドライブ)103は、画像形成装置1が動作するために必要な各種プログラム、データベース、一時記憶ファイルを記憶する。RAM104には、画像形成装置1のプログラムが展開される。また、RAM104は、プログラムの実行時の変数や、各ユニットからDMA(Dynamic Memory Access)で転送されるデータの格納領域となる。ネットワークコントローラ105は、ネットワーク上の他の機器と通信を行う。USBホストコントローラ107は、USBホストコントローラ107に接続されたUSBデバイスと通信を行う。 The HDD (hard disk drive) 103 stores various programs, databases, and temporary storage files necessary for the image forming apparatus 1 to operate. The program of the image forming apparatus 1 is developed in the RAM 104. Further, the RAM 104 serves as a storage area for variables at the time of program execution and data transferred from each unit by DMA (Dynamic Memory Access). The network controller 105 communicates with other devices on the network. The USB host controller 107 communicates with a USB device connected to the USB host controller 107.

ディスプレイ110は、画像形成装置1の動作状況等を表示する。ディスプレイコントローラ111は、入力される信号を用いて、ディスプレイ110に映像を表示する。入力部113は、キーボード、マウス、テンキー、カーソルキー、タッチパネル等であって、ユーザーからの指示を受け付ける。入力部コントローラ112は、入力部113を制御する。入力部113がタッチパネルである場合は、物理的にはディスプレイ111の表面に装着される。RTC(リアルタイムクロック)114は、時計機能、アラーム機能、タイマ機能等を有する。不揮発メモリ115には、改ざん検知機能が有効または無効であることを示す情報(改ざん検知設定)等を記憶する設定領域(記憶部)120が存在する。また、不揮発性メモリ115は、BIOS121を記憶する。不揮発性メモリ115の詳細は後述する。 The display 110 displays the operating status of the image forming apparatus 1 and the like. The display controller 111 displays an image on the display 110 using the input signal. The input unit 113 is a keyboard, a mouse, a numeric keypad, a cursor key, a touch panel, or the like, and receives instructions from the user. The input unit controller 112 controls the input unit 113. When the input unit 113 is a touch panel, it is physically mounted on the surface of the display 111. The RTC (real-time clock) 114 has a clock function, an alarm function, a timer function, and the like. The non-volatile memory 115 has a setting area (storage unit) 120 for storing information (tampering detection setting) or the like indicating that the falsification detection function is valid or invalid. Further, the non-volatile memory 115 stores the BIOS 121. Details of the non-volatile memory 115 will be described later.

電力制御部109は、画像形成装置1に設けられるユニットへの電力の供給と停止を制御する。電力制御部109は、プログラマブルなロジックデバイスである。電力制御部109は、General Purpose Input Output(以下、GPIO)を有する。CPU101は、GPIOを介して、電力制御部の所定のレジスタに設定値を記憶する。電力制御部109は、所定のレジスタの設定値に基づいて、ユニットへの電力の供給と停止を制御する。電力制御部109は、WDT(ウオッチドッグタイマ)122を有し、ユーザーから起動指示を受信したタイミングでカウントを開始し、所定時間を計測したときに、画像形成装置1を再起動するリセット信号を出力する。これにより、起動対象ソフトウェアがハングアップした場合に、画像形成装置1を再起動することが可能になる。電力制御部109の特定のレジスタに所定の設定値を設定すると、WDT122によるカウントが停止される。電力制御部109のレジスタの設定値の変更は、ソフト制御によって可能である。 The power control unit 109 controls the supply and stop of power to the unit provided in the image forming apparatus 1. The power control unit 109 is a programmable logic device. The power control unit 109 has a General Purpose Input Input (hereinafter referred to as GPIO). The CPU 101 stores the set value in a predetermined register of the power control unit via the GPIO. The power control unit 109 controls the supply and stop of power to the unit based on the set value of a predetermined register. The power control unit 109 has a WDT (watchdog timer) 122, starts counting at the timing when a start instruction is received from the user, and receives a reset signal for restarting the image forming apparatus 1 when a predetermined time is measured. Output. This makes it possible to restart the image forming apparatus 1 when the software to be started hangs. When a predetermined set value is set in a specific register of the power control unit 109, the count by the WDT 122 is stopped. The set value of the register of the power control unit 109 can be changed by software control.

システムバス102には、スキャナI/F116を介して、スキャナ117が接続されている。スキャナ117は、原稿の画像をスキャンし、当該画像の画像データを出力する。また、システムバス102には、プリンタI/F118を介して、プリンタ119が接続されている。プリンタ119は、入力された画像データに基づいて紙などの記録媒体に画像を印刷する。 The scanner 117 is connected to the system bus 102 via the scanner I / F 116. The scanner 117 scans the image of the original and outputs the image data of the image. Further, the printer 119 is connected to the system bus 102 via the printer I / F 118. The printer 119 prints an image on a recording medium such as paper based on the input image data.

不揮発メモリ115は、BIOS(Basic Input Output System)121を記憶する。BIOSは、画像形成装置1の各ユニットの初期化を行う。CPU101は、ユーザーから受信した起動指示に従って、BIOS121を実行する。また、不揮発メモリ115には、設定領域120が設けられている。設定領域120には、改ざん検知機能の設定情報(改ざん検知機能が有効か無効かを示す情報)等を記憶する。設定領域120に記憶された設定情報等は、改ざんを意図する者によって容易に書き換えることができないように保護されている。 The non-volatile memory 115 stores a BIOS (Basic Input Output System) 121. The BIOS initializes each unit of the image forming apparatus 1. The CPU 101 executes the BIOS 121 according to the start instruction received from the user. Further, the non-volatile memory 115 is provided with a setting area 120. In the setting area 120, setting information of the falsification detection function (information indicating whether the falsification detection function is valid or invalid) and the like are stored. The setting information and the like stored in the setting area 120 are protected so that they cannot be easily rewritten by a person who intends to falsify.

図2は、HDD103に記憶されているソフトウェアを示した図である。各々のソフトウェアが実行する処理の詳細は後述する。 FIG. 2 is a diagram showing software stored in the HDD 103. Details of the processing executed by each software will be described later.

HDD103には、複数のソフトウェアを記憶可能である。複数のソフトウェアとは、OS(オペレーティングシステム)201、Loader202、Initrd203、及び、Firmware204が記憶されている。 A plurality of software can be stored in the HDD 103. As the plurality of software, OS (operating system) 201, Roader202, Industry203, and Firmware204 are stored.

OS201は、多くのソフトウェアが共通して利用する基本的な機能などを有する。Loader202は、OS201及びInitrd203を起動する機能を有する。また、Initrd203は、幾つかのファイルを含んでおり、Loader202がInitrd203をRAM104に展開する。Initrd203は、OS201がファイルシステムを使用できるようになる前にマウントされる初期のファイルシステムである。OS201の起動初期段階において、HDD103のファイルを解釈できない状態であっても、RAM104に展開されたInitrd203に含まれるファイルを代替で使用可能になる。 OS201 has basic functions and the like that are commonly used by many software. The Roader 202 has a function of starting the OS 201 and the Intrud 203. Further, the Inside 203 contains some files, and the Roader 202 expands the Inside 203 to the RAM 104. Intrud 203 is an early file system that is mounted before OS 201 can use the file system. Even if the file of the HDD 103 cannot be interpreted at the initial stage of booting the OS 201, the file included in the Intrud 203 expanded in the RAM 104 can be used as a substitute.

Firmware204は、プリント処理を行うファームウェアやスキャン処理を行うファームウェアを有する。また、HDD103は、設定ファイル、ユーザーデータ等を記憶する。OS201、Loader202、及び、Initrd203の各々から、OS201のハッシュ値、Loader202のハッシュ値、及び、Initrd203のハッシュ値と比較される比較値を、所定の算出方法で算出しておく。また、Firmware204からFirmware204のハッシュ値と比較される比較値を、所定の算出方法で算出しておく。そして、OS201の比較値、Loader202の比較値、及び、Initrd203の比較値は、不揮発性メモリ120の設定領域120に記憶する。また、Firmware204のハッシュ値と比較される比較値は、HDD103に記憶する。これらの比較値は、後述する改ざん検知で利用される。一般的に、改ざん検知の対象のソフトウェアのデータサイズが大きくなれば、改ざん検知に要する時間が長期化することが知られている。 The Firmware 204 has a firmware for performing a print process and a firmware for performing a scan process. Further, the HDD 103 stores a setting file, user data, and the like. A comparison value to be compared with the hash value of OS201, the hash value of Roader202, and the hash value of Intrud203 is calculated from each of OS201, Roader202, and Intrud203 by a predetermined calculation method. Further, a comparison value to be compared with the hash value of Firmware 204 to Firmware 204 is calculated by a predetermined calculation method. Then, the comparison value of the OS 201, the comparison value of the Roader 202, and the comparison value of the Inside 203 are stored in the setting area 120 of the non-volatile memory 120. Further, the comparison value to be compared with the hash value of Firmware 204 is stored in the HDD 103. These comparison values are used in the falsification detection described later. In general, it is known that the larger the data size of the software to be tampered with, the longer the time required for tampering detection.

図3は、起動時に実行する処理を示したフローチャートである。BIOS121が実行する処理、Loader202が実行する処理、及び、Initrd203が実行する処理の詳細は後述する。本実施形態では、BIOS121が、OS201、Loader202、及び、Initrd203の改ざん検知を行う。なお、本実施形態ではBIOS121が、OS201、Loader202、Initrd203の改ざん検知を行うが、起動されたソフトが順番に次のソフトウェアの改ざん検知を行っても良い。例えば、BIOS121がLoader202の改ざん検知を行い、そして、Loader202がOS201及びInitd203の改ざん検知を行っても良い。また、本実施形態では、BIOS121の改ざん検知を行っていないが、当然、BIOS121の改ざん検知を行ってもよい。 FIG. 3 is a flowchart showing a process to be executed at startup. Details of the process executed by the BIOS 121, the process executed by the Roader 202, and the process executed by the Intrud 203 will be described later. In this embodiment, the BIOS 121 detects tampering with OS201, Roader202, and Intrud203. In the present embodiment, the BIOS 121 detects the falsification of the OS201, the Roader202, and the Inside203, but the started software may detect the falsification of the next software in order. For example, the BIOS 121 may detect the tampering of the Roader 202, and the Roader 202 may detect the tampering of the OS 201 and the Inside 203. Further, in the present embodiment, the tampering detection of the BIOS 121 is not performed, but of course, the tampering detection of the BIOS 121 may be performed.

CPU101は、不揮発メモリ115に記憶されているBIOS121を読み出し、BIOS121を実行する(S301)。BIOS121は、Loader202、OS201、及び、Initrd203の改ざんを検知する。Loader202、OS201、及び、Initrd203の改ざんが無いと判断すると、CPU101は、HDD103に記憶されているLoader202を読み出し、Loader202を実行する(S302)。次に、Loader202は、OS201及びInitrd203をHDD103から読み出して、RAM104に展開する。そして、CPU101は、OS201及びInitrd203を実行する(S303、S304)。OS201は、図1に記載された各ハードウェアの初期化を行う。また、OS201は、Initrd203を用いて、OS201の起動処理を行う。Initrd203は、RAM104上に仮のファイルシステムを提供し、OS201は、HDD103上のファイルシステムを解釈可能になるまでの間、Initrd203で代用する。ハードウェアの初期化完了後、OS201は、WDT122による所定時間のカウントを停止する(S305)。これにより、WDT122が所定時間のカウントを終了することにより、画像形成装置1が再起動されることを禁止することができる。事前の処理で、WDT122がすでに解除されていたとしても問題は無い。最後に、OS201は、各種ファームウェア204を起動する(S306)。これにより、画像形成装置1が有するプリント機能やスキャン機能が実行可能な状態となる。 The CPU 101 reads out the BIOS 121 stored in the non-volatile memory 115 and executes the BIOS 121 (S301). The BIOS 121 detects tampering with Roader202, OS201, and Intrud203. When it is determined that the Loader202, OS201, and Intrud203 have not been tampered with, the CPU 101 reads the Loader202 stored in the HDD 103 and executes the Loader202 (S302). Next, the Roader 202 reads the OS 201 and the Intrud 203 from the HDD 103 and expands them into the RAM 104. Then, the CPU 101 executes OS 201 and Intrud 203 (S303, S304). OS201 initializes each hardware shown in FIG. In addition, OS201 uses Intrud203 to start the OS201. The Inside 203 provides a temporary file system on the RAM 104, and the OS 201 substitutes the Inside 203 until the file system on the HDD 103 becomes interpretable. After the hardware initialization is completed, the OS 201 stops counting for a predetermined time by the WDT 122 (S305). As a result, it is possible to prohibit the image forming apparatus 1 from being restarted when the WDT 122 finishes counting for a predetermined time. There is no problem even if WDT122 has already been released by the prior processing. Finally, the OS 201 boots the various firmware 204 (S306). As a result, the print function and the scan function of the image forming apparatus 1 can be executed.

図4は、BIOSが実行する処理を示したフローチャートである。 FIG. 4 is a flowchart showing the processing executed by the BIOS.

CPU101は、システムバス102に接続された各ハードウェアを認識して、各ハードウェアの初期化処理を行う(S401)。そして、CPU101は、記憶領域120から改ざん検知機能の設定情報を読み出す(S402)。そして、CPU101は、S402で読み出した設定情報に基づいて、改ざん検知機能が有効か否かを判定する(S403)。有効であると判定した場合(S403:Yes)、CPU101は、HDD103に記憶されたOS201、Loader202及びInitrd203を検証して(S404)、OS201、Loader202及びInitrd203の改ざんを検知する。Loader202の改ざんを検知する検知方法は、Loader202のハッシュ値と、記憶領域120上に予め記憶された値と、のを比較により行う。また、OS201の改ざんの検知方法は、OS201のハッシュ値と、記憶領域120上に予め記憶された値と、のを比較により行う。また、Initrd203の改ざんの検知方法は、Initrd203のハッシュ値と、記憶領域120上に予め記憶された値と、のを比較により行う。上記したLoader202のハッシュ値、OS201のハッシュ値、及び、Initrd203のハッシュ値は、公知のアルゴリズム(例えば、SHA-256)を使って算出する。なお、改ざんの検知方法は、上記の方法に限定されない。 The CPU 101 recognizes each hardware connected to the system bus 102 and performs initialization processing of each hardware (S401). Then, the CPU 101 reads out the setting information of the falsification detection function from the storage area 120 (S402). Then, the CPU 101 determines whether or not the falsification detection function is effective based on the setting information read in S402 (S403). When it is determined to be valid (S403: Yes), the CPU 101 verifies the OS201, Roader202 and Insider203 stored in the HDD103 (S404), and detects tampering with the OS201, Roader202 and Insider203. The detection method for detecting the falsification of the Roader 202 is performed by comparing the hash value of the Roader 202 with the value stored in advance on the storage area 120. Further, the falsification detection method of the OS 201 is performed by comparing the hash value of the OS 201 with the value stored in advance in the storage area 120. Further, the method of detecting falsification of Intrud 203 is performed by comparing the hash value of Intrud 203 with the value stored in advance in the storage area 120. The hash value of the Roader 202, the hash value of the OS 201, and the hash value of the Intrud 203 described above are calculated using a known algorithm (for example, SHA-256). The falsification detection method is not limited to the above method.

そして、CPU101は、OS201、Loader202及びInitrd203のいずれか1つにおいて改ざんを検知した場合(S405:Yes)、CPU101は、WDT122によるカウントを停止する(S406)。そして、CPU101は、起動不良が発生したことを示すエラー情報をディスプレイ111に表示するよう指示する(S407)。WDT122によるカウントを停止することにより、エラー情報が表示された後に、WDT122による画像形成装置1の再起動を禁止することができる。S407の後、CPU101は、以降の処理を実行せず、待機する。本実施形態では、エラー情報がディスプレイ111に表示されるようにしたが、不図示のLEDの点灯や明滅であっても良い。また、エラー情報を外部のサーバ等に送信しても良い。 Then, when the CPU 101 detects tampering in any one of the OS 201, Roader 202 and Intrud 203 (S405: Yes), the CPU 101 stops counting by the WDT 122 (S406). Then, the CPU 101 instructs the display 111 to display the error information indicating that the startup failure has occurred (S407). By stopping the counting by the WDT 122, it is possible to prohibit the restart of the image forming apparatus 1 by the WDT 122 after the error information is displayed. After S407, the CPU 101 does not execute the subsequent processing and stands by. In the present embodiment, the error information is displayed on the display 111, but the LED (not shown) may be lit or blinking. Further, the error information may be transmitted to an external server or the like.

一方で、改ざん検知機能が無効であると判定した場合(S403:No)、CPU101は、Loader202をHDD103からRAM104に展開する。そして、CPU101は、RAM104に展開されたLoader202を実行する(S408)。また、OS201、Loader202及びInitrd203の全てに改ざんが検知されなかった場合(S405:No)、CPU101は、Loader202をHDD103からRAM104に展開する。そして、CPU101は、RAM104に展開されたLoader202を実行する(S408)。 On the other hand, when it is determined that the falsification detection function is invalid (S403: No), the CPU 101 expands the Roader 202 from the HDD 103 to the RAM 104. Then, the CPU 101 executes the Roader 202 expanded in the RAM 104 (S408). Further, when tampering is not detected in all of OS201, Roader202 and Intrud203 (S405: No), the CPU 101 expands the Roader 202 from the HDD 103 to the RAM 104. Then, the CPU 101 executes the Roader 202 expanded in the RAM 104 (S408).

図5は、Loaderが実行する処理を示したフローチャートである。 FIG. 5 is a flowchart showing the process executed by the loader.

CPU101は、記憶領域120から改ざん検知機能の設定情報を読み出す(S501)。そして、CPU101は、読み出した設定情報に基づいて、改ざん検知機能が有効か否かを判定する(S502)。有効であると判定した場合(S502:Yes)、CPU101は、WDT122によるカウントを停止する(S503)。これにより、Initrd203やOS201の改ざんの検知中に、WDT122が画像形成装置1を再起動するのを禁止することができる。最後に、CPU101は、OS201及びInitrd203をRAM104に展開し、RAM104に展開されたOS201及びInitrd203を実行する(S504)。 The CPU 101 reads out the setting information of the falsification detection function from the storage area 120 (S501). Then, the CPU 101 determines whether or not the falsification detection function is effective based on the read setting information (S502). If it is determined to be valid (S502: Yes), the CPU 101 stops counting by the WDT 122 (S503). This makes it possible to prohibit the WDT 122 from restarting the image forming apparatus 1 during the detection of tampering with Intrud 203 or OS 201. Finally, the CPU 101 expands the OS 201 and the Intrud 203 to the RAM 104, and executes the OS 201 and the Intrud 203 expanded in the RAM 104 (S504).

図6は、Initrdが実行する処理を示したフローチャートである。 FIG. 6 is a flowchart showing the process executed by the Initial.

CPU101は、記憶領域120から改ざん検知機能の設定情報を読み出す(S601)。そして、CPU101は、読み出した設定情報に基づいて、改ざん検知機能が有効か否かを判定する(S602)。有効であると判定した場合(S602:Yes)、CPU101は、Firmware204を検証して(S603)、Firmware204の改ざんを検知する。Firmware204の改ざんの検知方法は、上記したLoader202等の検知方法と同様であるので、その説明を省略する。 The CPU 101 reads out the setting information of the falsification detection function from the storage area 120 (S601). Then, the CPU 101 determines whether or not the falsification detection function is effective based on the read setting information (S602). When it is determined to be valid (S602: Yes), the CPU 101 verifies the Firmware 204 (S603) and detects the falsification of the Firmware 204. Since the method of detecting tampering with Fireware 204 is the same as the method of detecting tampering with Roader202 or the like described above, the description thereof will be omitted.

一般的に、図2に記載されるソフトウェアの中では、Firmware204のデータサイズが最も大きいため、Firmware204の改ざんを検知するのに要する時間が相対的に長くなる。検知方法によっては数分オーダーの時間を要する場合があるが、これはWDT122の発動する時間オーダー(秒オーダー)よりも長い。 Generally, among the software shown in FIG. 2, since the data size of the Firmware 204 is the largest, the time required to detect the falsification of the Firmware 204 is relatively long. Depending on the detection method, it may take several minutes, but this is longer than the time order (second order) in which the WDT 122 is activated.

Firmware204の改ざんを検知した場合(S604:Yes)、CPU101は、起動不良が発生したことを示すエラー情報をディスプレイ111に表示するよう指示する(S605)。なお、WDT122によるカウントは、既に図5のS503で停止済みであるため、本図のフローではWDT122によるカウントの停止は行わない。 When the falsification of the Firmware 204 is detected (S604: Yes), the CPU 101 instructs the display 111 to display error information indicating that a startup failure has occurred (S605). Since the count by the WDT 122 has already been stopped in S503 of FIG. 5, the count by the WDT 122 is not stopped in the flow of this figure.

一方で、Firmware204の改ざんを検知しなかった場合(S604:No)や、改ざん検知機能が無効である場合(S602:No)、CPU101は、ファイルシステムの初期化を行う(S606)。OS201がHDD103上のファイルシステムを解釈できるようになった時点で、CPU101は、HDD103の領域をマウントし、Firmware204をファイルとして認識した上で、適切な起動順序で実行する。 On the other hand, when the falsification of the File 204 is not detected (S604: No) or when the falsification detection function is invalid (S602: No), the CPU 101 initializes the file system (S606). When the OS 201 can interpret the file system on the HDD 103, the CPU 101 mounts the area of the HDD 103, recognizes the Filere 204 as a file, and executes the files in an appropriate boot order.

図7は、WDTが実行する処理を示したフローチャートである。本フローチャートは、画像形成装置1に電力が供給された時点で開始され、図3のソフトウェアの実行フローと並行して実行される。WDT122は、図3のフローでソフトウェアがハングアップした場合に再起動をかけることで起動処理をやり直すために使用されるものである。 FIG. 7 is a flowchart showing the process executed by the WDT. This flowchart starts when power is supplied to the image forming apparatus 1, and is executed in parallel with the execution flow of the software of FIG. The WDT 122 is used to restart the startup process by restarting the software when the software hangs in the flow of FIG.

まず、WDT122は、カウント値を初期値(例えば、90秒)に設定する(S701)。この初期値は、あらかじめ固定された値でも良いし、CPU101から指示された値や、不揮発領域に記憶された設定値を設定しても良い。続いて、WDT122は、カウントの停止がされたか否かを確認する(S702)。停止された場合(S702:Yes)、処理を終了する。一方で、停止されていない場合(S702:No)、WDT122は、残カウント値を読み、0か否か確認する。(S703)。カウント値が1以上である場合(S703:No)は、WDT122は、カウント値を減らす(S704)。そして、WDT122は、所定時間待機し(S705)、再度S702からのフローを繰り返す。所定時間は、例えば、1秒とする。設定された初期値(例えば、90秒)が経過した場合に、WDT122は、リセット信号を出力する。画像形成装置1は、リセット信号に従って、再起動する。 First, the WDT 122 sets the count value to an initial value (for example, 90 seconds) (S701). This initial value may be a fixed value in advance, or may be a value instructed by the CPU 101 or a set value stored in the non-volatile area. Subsequently, the WDT 122 confirms whether or not the count has been stopped (S702). If it is stopped (S702: Yes), the process ends. On the other hand, when it is not stopped (S702: No), WDT122 reads the remaining count value and confirms whether or not it is 0. (S703). When the count value is 1 or more (S703: No), WDT122 reduces the count value (S704). Then, the WDT 122 waits for a predetermined time (S705), and repeats the flow from S702 again. The predetermined time is, for example, 1 second. When the set initial value (for example, 90 seconds) has elapsed, the WDT 122 outputs a reset signal. The image forming apparatus 1 restarts according to the reset signal.

本実施形態では、WDT122が初期値(例えば、90秒)をカウントしたときに、画像形成装置1が再起動するが、WDT122が初期値をカウントしたときに、画像形成装置1をシャットダウンしても良い。 In the present embodiment, the image forming apparatus 1 is restarted when the WDT 122 counts the initial value (for example, 90 seconds), but even if the image forming apparatus 1 is shut down when the WDT 122 counts the initial value. good.

<第2実施形態>
第1実施形態では、Initrd203の起動後に、WDT122のカウントを停止する例について説明した。この第2実施形態では、BIOS121の起動後に、WDT122によるカウントを停止する。第2実施形態と第1実施形態とでは、WDT122によるカウントを停止するタイミングが異なる。
<Second Embodiment>
In the first embodiment, an example of stopping the counting of the WDT 122 after starting the Intrud 203 has been described. In this second embodiment, after the BIOS 121 is started, the counting by the WDT 122 is stopped. The timing at which the count by the WDT 122 is stopped differs between the second embodiment and the first embodiment.

図8は、起動時に実行する処理を示したフローチャートである。本実施形態でも、BIOS121が、OS201、Loader202、及び、Initrd203の改ざん検知を行う。 FIG. 8 is a flowchart showing a process to be executed at startup. Also in this embodiment, the BIOS 121 detects tampering with OS201, Roader202, and Intrud203.

CPU101は、不揮発メモリ115に記憶されているBIOS121を読み出し、BIOS121を実行する(S801)。BIOS121は、Loader202、OS201、及び、Initrd203の改ざんを検知する。Loader202、OS201、及び、Initrd203の改ざんが無いと判断すると、WDT122によるカウントを停止する(S802)。 The CPU 101 reads out the BIOS 121 stored in the non-volatile memory 115 and executes the BIOS 121 (S801). The BIOS 121 detects tampering with Roader202, OS201, and Intrud203. When it is determined that the Roader202, OS201, and Intrud203 have not been tampered with, the count by WDT122 is stopped (S802).

続いて、CPU101は、HDD103に記憶されているLoader202を読み出し、Loader202を実行する(S802)。つまり、本実施形態では、Loader202を実行する前に、WDT122によるカウントを停止する(S802)。S803、S804、S805及びS806は、図3のS302、S303、S304及びS306と同様であるので、その説明を省略する。 Subsequently, the CPU 101 reads the Roader 202 stored in the HDD 103 and executes the Roader 202 (S802). That is, in the present embodiment, the count by the WDT 122 is stopped before the loader 202 is executed (S802). Since S803, S804, S805 and S806 are the same as S302, S303, S304 and S306 in FIG. 3, the description thereof will be omitted.

<第3実施形態>
第1実施形態では、不揮発性メモリ115に記憶された設定情報に基づいて、WDT122によるカウントを停止した。第3実施形態では、WDT122が有する所定の設定値に基づいて、WDT122によるカウントを停止する。第1実施形態と第3実施形態とでは、WDT122の内部構成が異なっている。
<Third Embodiment>
In the first embodiment, the counting by the WDT 122 is stopped based on the setting information stored in the non-volatile memory 115. In the third embodiment, the counting by the WDT 122 is stopped based on the predetermined set value of the WDT 122. The internal configuration of the WDT 122 is different between the first embodiment and the third embodiment.

図9は、第3実施形態に係るWDTの構成を示すブロック図である。WDT122は、不揮発領域901を備える。不揮発性領域901は、CPU101の指示に従って、設定情報を記憶する。また、不揮発性領域901は、上記した初期値や、WDT122によるカウントが停止されたことを示す情報を記憶することができる。 FIG. 9 is a block diagram showing the configuration of the WDT according to the third embodiment. The WDT 122 includes a non-volatile region 901. The non-volatile region 901 stores the setting information according to the instruction of the CPU 101. Further, the non-volatile region 901 can store the above-mentioned initial value and information indicating that the count by the WDT 122 has been stopped.

図10は、WDTの不揮発領域に改ざん検知機能の有効/無効を示す情報を記憶するフローチャートである。改ざん検知機能の設定を変更したときに、不揮発領域901に所定の設定値を記憶する。ディスプレイ111が備えているタッチパネルやキー操作によって、改ざん検知機能の設定が変更されたときに、本フローが実行される。 FIG. 10 is a flowchart for storing information indicating the validity / invalidity of the falsification detection function in the non-volatile region of the WDT. When the setting of the falsification detection function is changed, a predetermined set value is stored in the non-volatile area 901. This flow is executed when the setting of the falsification detection function is changed by the touch panel or key operation provided on the display 111.

CPU101は、改ざん検知機能の設定の変更が、改ざん検知機能を有効にする変更であると判定した場合(S1001:Yes)、CPU101は、記憶領域120に改ざん検知機能が有効であることを示す設定値を記憶する(S1002)。更に、CPU101は、不揮発領域901に、改ざん検知機能が有効であることを示す設定値を書き込む(S1003)。不揮発領域901に改ざん検知機能が有効であることを示す設定値が記憶されている場合、WDT122によるカウントは停止される。なお、不揮発領域901に改ざん検知機能が有効であることを示す設定値が記憶されている場合、WDT122によるカウントを開始しないようにしても良い。これにより、改ざん検知機能によって起動時間が長期化しても、画像形成装置1が再起動するのを禁止することができる。 When the CPU 101 determines that the change in the setting of the falsification detection function is a change for enabling the falsification detection function (S1001: Yes), the CPU 101 is a setting indicating that the falsification detection function is effective in the storage area 120. Store the value (S1002). Further, the CPU 101 writes a set value indicating that the falsification detection function is effective in the non-volatile area 901 (S1003). When the set value indicating that the falsification detection function is effective is stored in the non-volatile area 901, the count by the WDT 122 is stopped. If the non-volatile area 901 stores a set value indicating that the falsification detection function is effective, the count by the WDT 122 may not be started. Thereby, even if the start-up time is prolonged by the falsification detection function, it is possible to prohibit the image forming apparatus 1 from restarting.

一方で、CPU101は、改ざん検知機能の設定の変更が、改ざん検知機能を無効にする変更であると判定した場合(S1001:No)、CPU101は、記憶領域120に改ざん検知機能が無効であることを示す設定値を記憶する(S1004)。更に、CPU101は、不揮発領域901に改ざん検知機能が無効であることを示す設定値を書き込む(S1005)。 On the other hand, when the CPU 101 determines that the change in the setting of the falsification detection function is a change that invalidates the falsification detection function (S1001: No), the CPU 101 indicates that the falsification detection function is invalid in the storage area 120. The set value indicating the above is stored (S1004). Further, the CPU 101 writes a set value indicating that the falsification detection function is invalid in the non-volatile area 901 (S1005).

(その他の実施例)
上記した実施形態では、改ざん検知機能の有効/無効を示す設定値に基づいて、WDT122によるカウントを停止したが、改ざん検知機能の有効/無効を示す設定値に基づいて、WDT122に設定する初期値を変更しても良い。例えば、改ざん検知機能の無効を示す設定値が記憶されていれば、WDT122に90秒を設定し、改ざん検知機能の有効を示す設定値が記憶されていれば、WDT122に90秒より長い270秒を設定する。
(Other examples)
In the above embodiment, the count by the WDT 122 is stopped based on the setting value indicating the enable / disable of the falsification detection function, but the initial value set in the WDT 122 based on the setting value indicating the enable / disable of the falsification detection function. May be changed. For example, if the setting value indicating the invalidity of the falsification detection function is stored, 90 seconds is set in the WDT 122, and if the setting value indicating the validity of the falsification detection function is stored, the WDT 122 has 270 seconds longer than 90 seconds. To set.

上記した実施形態では、改ざん検知機能の有効/無効を示す設定値に基づいて、WDT122によるカウントを停止する例について説明したが、本発明はこれだけに限定されない。例えば、本発明は、改ざん検知機能の有効/無効を示す設定値に基づいて、WDT122がカウントする初期値を改ざん検知による起動時間を考慮して長くしても良い。例えば、改ざん検知機能が無効を示す設定値である場合に、例えば90秒を初期値とし、改ざん検知機能が有効を示す設定値である場合に、例えば270秒を初期値とする。これにより、改ざん検知機能による起動時間が長期化しても、画像形成装置1が再起動するのを禁止することができる。さらに、ソフトのハングアップなどで改ざん検知が途中で停止したとしても、長めに設定した時間で画像形成装置1を再起動することができる。 In the above-described embodiment, an example of stopping the counting by the WDT 122 based on the setting value indicating the validity / invalidity of the falsification detection function has been described, but the present invention is not limited to this. For example, in the present invention, the initial value counted by the WDT 122 may be lengthened in consideration of the activation time due to the falsification detection, based on the set value indicating the validity / invalidity of the falsification detection function. For example, when the falsification detection function is a set value indicating invalidity, for example, 90 seconds is set as the initial value, and when the falsification detection function is a set value indicating valid, for example, 270 seconds is set as the initial value. As a result, it is possible to prohibit the image forming apparatus 1 from restarting even if the activation time by the falsification detection function is prolonged. Further, even if the falsification detection is stopped in the middle due to the hang-up of the software, the image forming apparatus 1 can be restarted in a long set time.

また、上記した実施形態では、改ざん検知機能の有効/無効を示す設定値に基づいて、WDT122によるカウントを停止する例について説明したが、本発明はこれだけに限定されない。例えば、本発明は、改ざん検知機能の有効/無効を示す設定値に基づいて、WDT122がカウントしたカウント値をリセットしても良い。これにより、WDT122がカウントしたカウント値がリセットされるので、例えば、既にWDT122が30秒をカウントしていたとしても、その30秒がリセットされる。これにより、画像形成装置1が再起動されるまでの時間が30秒だけ延長される。 Further, in the above-described embodiment, an example of stopping the counting by the WDT 122 based on the set value indicating the validity / invalidity of the falsification detection function has been described, but the present invention is not limited to this. For example, the present invention may reset the count value counted by the WDT 122 based on the set value indicating the validity / invalidity of the falsification detection function. As a result, the count value counted by the WDT 122 is reset. Therefore, for example, even if the WDT 122 has already counted 30 seconds, the 30 seconds are reset. As a result, the time until the image forming apparatus 1 is restarted is extended by 30 seconds.

また、上記した実施形態では、BIOS121がLoader202、OS202及びInitrd203の改ざんを検知する前に、WDT122によるカウントを停止しても良い。 Further, in the above-described embodiment, the count by the WDT 122 may be stopped before the BIOS 121 detects the tampering of the Roader 202, OS 202 and Intrud 203.

また、上記した実施形態では、改ざん検知機能の有効/無効を示す設定値に基づいて、WDT122によるカウントを停止する例について説明した。が、本発明は、改ざん検知機能の有効/無効を示す設定値に基づいて、WDT122から出力されるリセット信号をマスクする回路を設けても良い。 Further, in the above-described embodiment, an example of stopping the counting by the WDT 122 based on the set value indicating the validity / invalidity of the falsification detection function has been described. However, the present invention may provide a circuit that masks the reset signal output from the WDT 122 based on the set value indicating the validity / invalidity of the falsification detection function.

また、上記した実施形態では、OS201、Loader202、Initrd203及びFirmware204が、HDD203に記憶されている。が、OS201、Loader202及びInitrd203がFlashに記憶され、Firmware204がHDDに記憶されていても良い。 Further, in the above-described embodiment, the OS 201, Roader 202, Intrud 203, and Firmware 204 are stored in the HDD 203. However, OS201, Roader202 and Intrud203 may be stored in Flash, and Firstware204 may be stored in HDD.

上記した実施形態では、本発明の情報処理装置の一例として画像形成装置1について説明したが、本発明の情報処理装置は、画像形成装置でなくても構わない。例えば、本発明の画像形成装置は、パーソナルコンピュータ、タブレット、スマートフォン、ゲーム機、遊技機、空気調和機、ATMであっても良い。 In the above-described embodiment, the image forming apparatus 1 has been described as an example of the information processing apparatus of the present invention, but the information processing apparatus of the present invention does not have to be an image forming apparatus. For example, the image forming apparatus of the present invention may be a personal computer, a tablet, a smartphone, a game machine, a game machine, an air conditioner, or an ATM.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記録媒体を、システムあるいは装置に供給するよう構成することによっても達成される。この場合、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記録媒体に格納されたプログラムコードを読出し実行することにより、上記機能が実現されることとなる。なお、この場合、そのプログラムコードを記憶した記録媒体は本発明を構成することになる。 An object of the present invention is also achieved by configuring a recording medium on which a program code of software that realizes the functions of the above-described embodiment is recorded to be supplied to a system or an apparatus. In this case, the above function is realized by the computer (or CPU or MPU) of the system or device reading and executing the program code stored in the recording medium. In this case, the recording medium in which the program code is stored constitutes the present invention.

プログラムコードを供給するための記録媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD-ROM、CD-R、磁気テープ、不揮発性のメモリカード、ROMなどを用いることができる。 As the recording medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, a ROM, or the like can be used.

また、コンピュータが読出したプログラムコードを実行することにより、前述した実施形態の機能が実現される場合に限られない。例えば、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)などが実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。 Further, the present invention is not limited to the case where the function of the above-described embodiment is realized by executing the program code read by the computer. For example, based on the instruction of the program code, an OS (operating system) running on a computer may perform a part or all of the actual processing, and the processing may realize the function of the above-described embodiment. included.

さらに、記録媒体から読出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、前述した実施形態の機能が実現される場合も含まれる。つまり、プログラムコードがメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPUなどが実際の処理の一部または全部を行い、その処理によって実現される場合も含まれる。 Further, when the function of the above-described embodiment is realized after the program code read from the recording medium is written in the memory provided in the function expansion board inserted in the computer or the function expansion unit connected to the computer. Is also included. That is, after the program code is written in the memory, the CPU provided in the function expansion board or the function expansion unit performs a part or all of the actual processing based on the instruction of the program code, and is realized by the processing. Is also included.

1 画像形成装置
101 CPU
103 HDD
115 不揮発性メモリ
121 BIOS
120 設定領域
122 WDT
201 OS
202 Loader
203 Initrd
1 Image forming device 101 CPU
103 HDD
115 Non-volatile memory 121 BIOS
120 Setting area 122 WDT
201 OS
202 Roader
203 Initial

Claims (16)

起動指示に従って実行される複数のソフトウェアの少なくとも1つの改ざんを検知する検知手段と、
前記起動指示を受信してから所定時間を計測する計測手段と、
前記計測手段によって前記所定時間が計測されると情報処理装置を再起動する再起動手段と、
前記計測手段に対して所定の処理を実行させる制御手段と、
前記制御手段は、
前記検知手段によって改ざんを検知する機能が有効な状態で、
前記複数のソフトウェアの一部のソフトウェアの実行をするまで、前記再起動を実行させないための処理または前記再起動の実行を遅らせるための処理を前記計測手段に実行させず、
前記一部のソフトウェアを実行し且つ他部のソフトウェアの改ざん検知を開始するまでに、前記再起動を実行させないための処理または前記再起動の実行を遅らせるための処理を前記計測手段に実行させることを特徴とする情報処理装置。
A detection means that detects at least one tampering with a plurality of software executed according to a start instruction,
A measuring means that measures a predetermined time after receiving the activation instruction,
A restarting means for restarting the information processing apparatus when the predetermined time is measured by the measuring means,
A control means for causing the measuring means to execute a predetermined process, and
The control means is
With the function to detect tampering by the detection means enabled,
Until the software of a part of the plurality of software is executed, the measuring means is not allowed to execute the process for preventing the restart or the process for delaying the execution of the restart.
To have the measuring means execute a process for preventing the restart or a process for delaying the execution of the restart before the software of the part is executed and the falsification detection of the software of the other part is started. An information processing device characterized by.
前記再起動を実行させないための処理は、前記所定時間の計測を停止させる処理であることを特徴とする請求項1に記載の情報処理装置。 The information processing apparatus according to claim 1, wherein the process for preventing the restart from being executed is a process for stopping the measurement at the predetermined time. 前記再起動を遅らせるための処理は、前記所定時間を延長することであることを特徴とする請求項1に記載の情報処理装置。 The information processing apparatus according to claim 1, wherein the process for delaying the restart is to extend the predetermined time. 前記再起動を遅らせるための処理は、前記計測手段による前記所定時間の計測をリセットすることを特徴とする請求項1に記載の情報処理装置。 The information processing apparatus according to claim 1, wherein the process for delaying the restart resets the measurement of the predetermined time by the measuring means. 前記再起動手段は、前記検知手段によって改ざんを検知する機能が無効な状態で、前記複数のソフトウェアの全てのソフトウェアの実行を完了するまで再起動を実行可能であることを特徴とする請求項1乃至4の何れか1項に記載の情報処理装置。 The restart means is characterized in that it can be restarted until the execution of all the software of the plurality of software is completed in a state where the function of detecting falsification by the detection means is invalid. The information processing apparatus according to any one of 4 to 4. 前記再起動手段は、前記検知手段よって前記複数のソフトウェアの少なくとも1つの改ざんが検知された場合、再起動を実行しないことを特徴とする請求項1乃至5の何れか1項に記載の情報処理装置。 The information processing according to any one of claims 1 to 5, wherein the restarting means does not execute restarting when at least one falsification of the plurality of software is detected by the detecting means. Device. 前記改ざんが検知されたことを示す情報を出力する出力手段をさらに備えることを特徴とする請求項1乃至6の何れか1項に記載の情報処理装置。 The information processing apparatus according to any one of claims 1 to 6, further comprising an output means for outputting information indicating that the falsification has been detected. 前記出力手段は、前記改ざんが検知されたことを示す情報を表示する表示手段であることを特徴とする請求項7に記載の情報処理装置。 The information processing apparatus according to claim 7, wherein the output means is a display means for displaying information indicating that the falsification has been detected. 前記複数のソフトウェアを実行可能な実行手段をさらに備え、
前記実行手段は、前記検知手段よって改ざんが検知されなかったソフトウェアを実行することを特徴とする請求項1乃至8の何れか1項に記載の情報処理装置。
Further provided with an execution means capable of executing the plurality of software,
The information processing apparatus according to any one of claims 1 to 8, wherein the executing means executes software for which falsification has not been detected by the detecting means.
前記実行手段は、前記複数のソフトウェアを所定の順番で実行し、
前記実行手段によって実行されたソフトウェアが、次に実行されるべきソフトウェアの改ざんを検知する、ことを特徴とする請求項9に記載の情報処理装置。
The execution means executes the plurality of software in a predetermined order, and the execution means executes the plurality of software in a predetermined order.
The information processing apparatus according to claim 9, wherein the software executed by the executing means detects falsification of the software to be executed next.
前記複数のソフトウェアは、BIOS、Loader、OS、Initrd及びFirmwareの何れか1つを含む、ことを特徴とする請求項1乃至10の何れか1項に記載の情報処理装置。 The information processing apparatus according to any one of claims 1 to 10, wherein the plurality of software includes any one of BIOS, Loader, OS, Initial and Firmware. 前記一部のソフトウェアは、前記BIOS、前記Loaderを少なくとも含み、前記他部のソフトウェアは、Initrdを少なくとも含むことを特徴とする請求項11に記載の情報処理装置。 The information processing apparatus according to claim 11, wherein some of the software includes at least the BIOS and the Roader, and the software of the other part includes at least the Initial. 前記改ざんを検知する機能が有効または無効を示す情報を記憶する記憶手段と、
を特徴とする請求項1乃至12のいずれか1項に記載の情報処理装置。
A storage means for storing information indicating whether the function for detecting falsification is valid or invalid, and
The information processing apparatus according to any one of claims 1 to 12, wherein the information processing apparatus is characterized.
画像を印刷する印刷手段をさらに備える、ことを特徴とする請求項1乃至13の何れか1項に記載の情報処理装置。 The information processing apparatus according to any one of claims 1 to 13, further comprising a printing means for printing an image. 原稿の画像を読み取る読取手段をさらに備える、ことを特徴とする請求項1乃至14の何れか1項に記載の情報処理装置。 The information processing apparatus according to any one of claims 1 to 14, further comprising a reading means for reading an image of a document. 起動指示に従って実行される複数のソフトウェアの少なくとも1つの改ざんを検知する検知工程と、
前記起動指示を受信してから所定時間を計測する計測工程と、
前記所定時間が計測されると情報処理装置を再起動する再起動工程と、
前記検知工程において改ざんを検知する機能が有効な状態で、前記複数のソフトウェアの一部のソフトウェアを実行するまで、前記再起動を実行させないための処理または前記再起動の実行を遅らせるための処理を前記計測工程において実行せず、
前記一部のソフトウェアを実行し且つ他部のソフトウェアの改ざん検知を開始するまでに、前記再起動を実行させないための処理または前記再起動の実行を遅らせるための処理を前記計測工程において実行する制御工程と、を有することを特徴とする情報処理装置の制御方法。
A detection process that detects at least one tampering with multiple pieces of software executed according to a startup instruction,
A measurement process that measures a predetermined time after receiving the start instruction, and
The restart process of restarting the information processing device when the predetermined time is measured, and
A process for not executing the restart or a process for delaying the execution of the restart until a part of the software of the plurality of software is executed while the function for detecting tampering is enabled in the detection process. Not executed in the measurement process
Control to execute the process for not executing the restart or the process for delaying the execution of the restart in the measurement process until the software of the part is executed and the tampering detection of the software of the other part is started. A control method for an information processing apparatus, which comprises a process.
JP2022064235A 2018-06-26 2022-04-08 Information processing device and tampering detection method for detecting tampering of software executed at startup Active JP7322233B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022064235A JP7322233B2 (en) 2018-06-26 2022-04-08 Information processing device and tampering detection method for detecting tampering of software executed at startup

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018121326A JP7059127B2 (en) 2018-06-26 2018-06-26 Information processing device that detects tampering with software executed at startup and its control method
JP2022064235A JP7322233B2 (en) 2018-06-26 2022-04-08 Information processing device and tampering detection method for detecting tampering of software executed at startup

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018121326A Division JP7059127B2 (en) 2018-06-26 2018-06-26 Information processing device that detects tampering with software executed at startup and its control method

Publications (2)

Publication Number Publication Date
JP2022087195A true JP2022087195A (en) 2022-06-09
JP7322233B2 JP7322233B2 (en) 2023-08-07

Family

ID=87519633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022064235A Active JP7322233B2 (en) 2018-06-26 2022-04-08 Information processing device and tampering detection method for detecting tampering of software executed at startup

Country Status (1)

Country Link
JP (1) JP7322233B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008525892A (en) * 2004-12-23 2008-07-17 マイクロソフト コーポレーション Method and system for locking the TPM always "on" using a monitor
WO2009013831A1 (en) * 2007-07-26 2009-01-29 Panasonic Corporation Information processing terminal and falsification verification method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008525892A (en) * 2004-12-23 2008-07-17 マイクロソフト コーポレーション Method and system for locking the TPM always "on" using a monitor
WO2009013831A1 (en) * 2007-07-26 2009-01-29 Panasonic Corporation Information processing terminal and falsification verification method

Also Published As

Publication number Publication date
JP7322233B2 (en) 2023-08-07

Similar Documents

Publication Publication Date Title
JP7059127B2 (en) Information processing device that detects tampering with software executed at startup and its control method
TWI530790B (en) System boot code recovery method, computing system, and controller for use in a system
JP5120664B2 (en) Server system and crash dump collection method
US9658863B2 (en) Information processing apparatus and control method therefor
KR20060015329A (en) Booting from non-volatile memory
WO2016206514A1 (en) Startup processing method and device
JP2010086364A (en) Information processing device, operation state monitoring device and method
JP2015044307A (en) Image forming apparatus
JP5561791B2 (en) Information processing apparatus, information processing method, and information processing program
JP7322233B2 (en) Information processing device and tampering detection method for detecting tampering of software executed at startup
JP6253433B2 (en) Control device
US9342392B2 (en) Image forming apparatus, image forming apparatus control method, and recording medium
US20170228008A1 (en) Electronic apparatus, control method thereof, and storage medium
JP7210238B2 (en) Information processing device, control method for information processing device, and program
US20230155840A1 (en) Information processing apparatus and control method for information processing apparatus
JP2021089607A (en) Information processing apparatus
JP2019200660A (en) Information processing apparatus, method for controlling information processing apparatus, and program
JP2022126549A (en) Information processing apparatus
US20230069169A1 (en) Information processing apparatus and control method of the same
JP2020057250A (en) Information processor, and control method and program therefor
JP2024004647A (en) Information processing apparatus and control method for information processing apparatus
JP2009010756A (en) Image processing apparatus, self-diagnosis method, self-diagnosis program, and recording medium
JP2020155029A (en) Information processor, control method thereof, and program
JP2017102887A (en) Information processing device, start method, and start program
JP2023031907A (en) Information processing apparatus and control method of information processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220408

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230418

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230608

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230726

R151 Written notification of patent or utility model registration

Ref document number: 7322233

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151