Information processing device, restart method of information processing device, and storage medium
By introducing a detector and a restart unit into the information processing device, using the storage unit to store tamper detection information, and restarting according to a predetermined time, the problem of time extension caused by tamper detection during startup is solved and the startup efficiency of the device is improved.
Patent Information
- Application Number
- CN201910561627.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-06-26
- Filing Date
- 2019-06-26
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2039-06-26
AI Technical Summary
When the existing information processing device performs software tampering detection during startup, the resulting time extension causes the device to restart, affecting startup efficiency.
An information processing device is designed, which includes a detector, a storage unit and a restart part. By restarting the device according to the stored information and the predetermined time after receiving the startup command, restarts caused by extended tamper detection time are prevented.
This effectively prevents the extension of startup time caused by the extension of tamper detection time, ensures rapid restart of the information processing device, and improves startup efficiency.
Smart Images

Figure CN110647422B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an information processing device for detecting tampering of software executed at startup, a restart method of the information processing device and a storage medium. Background Art
[0002] Some information processing devices are known that have a function of detecting tampering (hereinafter referred to as tampering detection) of software executed at startup (hereinafter referred to as startup software) and not executing the startup software in which tampering has been detected. Due to the time spent on tampering detection of the startup software at startup, the startup time of the information processing device is extended.
[0003] It is known that embedded systems in devices such as printing devices or reading devices have a restart function, which is used to restart the device when the startup process of the device is not completed within a predetermined time (Japanese Patent Publication No. 2012-22469). Japanese Patent Publication No. 2012-22469 discloses an electronic device that restarts the electronic device if an abnormal situation occurs during the startup process based on a basic input and output system (BIOS) and the startup process based on the BIOS is not completed when the monitoring time count ends. However, Japanese Patent Publication No. 2012-22469 does not describe the detection of tampering with the startup software. Summary of the invention
[0004] In the electronic device disclosed in Japanese Patent Laid-Open No. 2012-22469, when tampering is detected in the startup software, the electronic device is restarted due to the extended startup time caused by the time spent on tampering detection. Therefore, the present invention provides an information processing device that prevents the information processing device from being restarted due to the extended startup time caused by the time spent on detecting tampering in the startup software.
[0005] According to one aspect of the present invention, an information processing device includes: a detector, which is constructed to detect tampering of at least one software component among multiple software components to be executed according to a startup instruction; a storage unit, which is constructed to store information for enabling or disabling a function of detecting the tampering; and a restarter, which is constructed to restart the information processing device that has been started according to the startup instruction based on the information stored in the storage unit and a predetermined time after receiving the startup instruction.
[0006] Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 This is a hardware configuration diagram of an image forming apparatus.
[0008] Figure 2 Illustrate software components stored in a hard disk drive (HDD).
[0009] Figure 3 This is a flowchart illustrating the processing performed at the time of startup.
[0010] Figure 4 is a flowchart illustrating a process executed by the BIOS.
[0011] Figure 5 This is a flowchart illustrating the processing executed by a loader.
[0012] Figure 6 is a flowchart illustrating the processing performed using the initial ramdisk (initrd).
[0013] Figure 7 is a flowchart illustrating a process performed by a watchdog timer (WDT).
[0014] Figure 8 This is a flowchart illustrating the processing performed at the time of startup.
[0015] Fig. 9 is a block diagram illustrating the structure of a WDT.
[0016] Fig.10 This is a flowchart for storing information indicating whether to enable or disable the tampering detection function of the nonvolatile area of the WDT. DETAILED DESCRIPTION
[0017] The embodiments of the present invention are described in detail below with reference to the accompanying drawings. The various embodiments of the present invention described below can be implemented individually, or as a combination of multiple embodiments or their essential features, or in a single embodiment, a combination of components or features from individual embodiments is beneficial.
[0018] In the embodiments, an image forming apparatus having a printing function and a scanning function will be described by way of an example of an information processing apparatus.
[0019] First embodiment
[0020] Figure 1 2 is a diagram showing the hardware configuration of the image forming apparatus 1 .
[0021] The image forming apparatus 1 according to this embodiment has a function (referred to as a tampering detection function) of detecting tampering of startup software (BIOS, loader, initial ramdisk (initrd) or firmware) executed at startup and not executing software in which tampering has been detected.
[0022] A central processing unit (hereinafter referred to as CPU) 101 executes software for activating the image forming apparatus 1. A system bus 102 is a communication path that connects the CPU 101 and peripheral units to allow communication between the CPU 101 and the peripheral units and connects the peripheral units to allow communication between the peripheral units. The peripheral units include a hard disk drive (HDD) 103, a random access memory (RAM) 104, a network controller 105, a universal serial bus (USB) host controller 107, and a power control unit 109. The peripheral units also include a display controller 110, an input unit controller 112, a real time clock (RTC) 114, a nonvolatile memory 115, a scanner interface (I / F) 116, and a printer I / F 118.
[0023] The HDD 103 stores various programs, databases, and temporary files necessary for the operation of the image forming apparatus 1. The RAM 104 is loaded with programs for the image forming apparatus 1. In addition, the RAM 104 is used as a storage area for variables in the program when it is executed and data transferred from each unit by dynamic memory access (DMA). The network controller 105 communicates with other devices on the network. The USB host controller 107 communicates with the USB device connected to the USB host controller 107.
[0024] The display 111 displays the operating state of the image forming apparatus 1, etc. The display controller 110 displays a video on the display 111 using an input signal. The input unit 113 receives instructions from a user. Examples of the input unit 113 include a keyboard, a mouse, a ten-key keypad, a cursor key, and a touch panel. The input unit controller 112 controls the input unit 113. When the input unit 113 is a touch panel, the input unit 113 is physically mounted on the surface of the display 111. The RTC 114 has a clock function, an alarm function, a timer function, etc. The non-volatile memory 115 has a setting area (storage unit) 120, which stores, for example, information indicating whether the tampering detection function is valid or invalid (tampering detection setting). In addition, the non-volatile memory 115 stores a BIOS 121. The details of the non-volatile memory 115 will be described below.
[0025] The power control unit 109 controls to supply power to or stop supplying power to the units included 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 and output (hereinafter referred to as GPIO) device. The CPU 101 stores a setting value in a predetermined register of the power control unit 109 via the GPIO device. The power control unit 109 controls to supply power to or stop supplying power to these units according to the setting value stored in the predetermined register. The power control unit 109 includes a watchdog timer (WDT) 122. The WDT 122 starts counting when a startup instruction is received from the user, and outputs a reset signal when a predetermined time is measured to restart the image forming apparatus 1. This enables the image forming apparatus 1 to be restarted when the startup software crashes. When a predetermined setting value is set in a specific register of the power control unit 109, the WDT 122 stops counting. The setting value in the register of the power control unit 109 can be changed by software control.
[0026] The scanner 117 is connected to the system bus 102 via the scanner I / F 116. The scanner 117 scans an image on a document and outputs image data of the image. Furthermore, 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.
[0027] The nonvolatile memory 115 stores a BIOS 121. The BIOS 121 initializes each unit of the image forming apparatus 1. The CPU 101 executes the BIOS 121 according to a startup instruction received from the user. The nonvolatile memory 115 is provided with a setting area 120. The setting area 120 stores tampering detection function setting information (information indicating whether the tampering detection function is enabled or disabled) and the like. The setting information and the like stored in the setting area 120 are prevented from being easily rewritten by a person who intends to tamper with the setting information and the like.
[0028] Figure 2 There are illustrated software components stored in the HDD 103. The processing executed by each software component will be described in detail below.
[0029] The HDD 103 is capable of storing a plurality of software components including an operating system (OS) 201 , a loader 202 , an initrd 203 , and a firmware 204 .
[0030] The OS 201 has basic functions and the like commonly used by many software components. The loader 202 has a function of starting the OS 201 and the initrd 203. The initrd 203 includes some files, and the loader 202 loads the initrd 203 into the RAM 104. The initrd 203 is an initial file system installed before the OS 201 can use an actual file system. Even if the OS 201 cannot interpret files in the HDD 103 at the initial stage of startup, files included in the initrd 203 loaded into the RAM 104 can be used instead.
[0031] Firmware 204 includes a firmware component for performing print processing and a firmware component for performing scan processing. In addition, HDD103 stores configuration files, user data, etc. According to a predetermined calculation method, comparison values to be compared with the hash value of OS 201, the hash value of loader 202, and the hash value of initrd 203 are calculated from OS 201, loader 202, and initrd 203, respectively. In addition, according to a predetermined calculation method, a comparison value to be compared with the hash value of firmware 204 is calculated from firmware 204. The comparison value of OS 201, the comparison value of loader 202, and the comparison value of initrd 203 are stored in the setting area 120 of the non-volatile memory 115. The comparison value to be compared with the hash value of firmware 204 is stored in HDD 103. These comparison values are used for the following tampering detection. As is well known, as the amount of data of the software to be detected for tampering increases, the time consumed by tampering detection is extended.
[0032] Figure 3 201 and 203. The process of the process performed by the BIOS 121, the process performed by the loader 202 and the process performed by the initrd 203 will be described in detail below. In the present embodiment, the BIOS 121 detects tampering to the OS 201, the loader 202 and the initrd 203. Although the BIOS 121 detects tampering to the OS 201, the loader 202 and the initrd 203 in the present embodiment, the startup software can detect tampering to the next software in turn. For example, the BIOS 121 can detect tampering to the loader 202, and then the loader 202 can detect tampering to the OS 201 and the initrd 203. In addition, although the BIOS 121 is not detected for tampering in the present embodiment, it should be understood that the BIOS 121 can be detected for tampering.
[0033] The CPU 101 reads the BIOS 121 stored in the nonvolatile memory 115 and executes the BIOS 121 (S301). The BIOS 121 detects tampering of the loader 202, the OS 201, and the initrd 203. If it is determined that no tampering has occurred in the loader 202, the OS 201, or the initrd 203, the CPU 101 reads the loader 202 stored in the HDD 103 and executes the loader 202 (S302). Then, the loader 202 reads the OS 201 and the initrd 203 from the HDD 103, and loads the OS 201 and the initrd 203 into the RAM 104. Then, the CPU 101 executes the OS 201 and the initrd 203 (S303 and S304). The OS 201 uses Figure 1 The hardware components shown in the figure are initialized. In addition, OS 201 performs the boot process of OS 201 by using initrd 203. initrd 203 provides a temporary file system to RAM 104, and OS 201 uses initrd 203 for a period of time until OS 201 can interpret the file system on HDD 103. After the hardware component initialization is completed, OS 201 stops WDT 122 from counting the predetermined time (S305). Therefore, WDT 122 completes counting the predetermined time, thereby preventing the image forming device 1 from being restarted. Even if WDT 122 is invalid in the preprocessing, no problem will occur. Finally, OS 201 starts various firmware components in firmware 204 (S306). This makes the printing function and scanning function of the image forming device 1 executable.
[0034] Figure 4 is a flowchart illustrating the processing executed by the BIOS 121.
[0035] The CPU 101 identifies the hardware components connected to the system bus 102 and initializes the hardware components (S401). Then, the CPU 101 reads the tampering detection function setting information from the setting area 120 (S402). Then, the CPU 101 determines whether the tampering detection function is valid (S403) based on the setting information read in S402. If it is determined that the tampering detection function is valid (S403: "Yes"), the CPU 101 verifies the OS 201, the loader 202, and the initrd 203 stored in the HDD 103 (S404), and detects tampering of the OS 201, the loader 202, and the initrd 203. The detection method for detecting tampering of the loader 202 is performed by comparing the hash value of the loader 202 with the value pre-stored in the setting area 120. The detection method for detecting tampering of the OS 201 is performed by comparing the hash value of the OS 201 with the value pre-stored in the setting area 120. The detection method for detecting tampering of initrd 203 is performed by comparing the hash value of initrd 203 with the value pre-stored in the setting area 120. The hash value of the loader 202, the hash value of the OS 201, and the hash value of the initrd 203 are calculated by using a well-known algorithm (for example, SHA-256). The tampering detection method is not limited to those described above.
[0036] If the CPU 101 detects tampering in any one of the OS 201, the loader 202, and the initrd 203 (S405: "Yes"), the CPU 101 stops the WDT 122 from counting (S406). Then, the CPU 101 instructs the display 111 to display an error message indicating that a startup failure has occurred (S407). The WDT 122 stops counting, thereby preventing the image forming device 1 from being restarted by the WDT 122 after the error message is displayed. After the processing of S407, the CPU 101 waits without performing subsequent processing. In the present embodiment, the display 111 displays the error message. Alternatively, a light emitting diode (LED) (not shown) may be turned on or flashed. The error message may be sent to an external server, etc.
[0037] On the other hand, if it is determined that the tampering detection function is invalid (S403: "No"), the CPU 101 loads the loader 202 from the HDD 103 into the RAM 104. Then, the CPU 101 executes the loader 202 loaded into the RAM 104 (S408). If no tampering is detected in the OS 201, the loader 202, or the initrd 203 (S405: "No"), the CPU 101 loads the loader 202 from the HDD 103 into the RAM 104. Then, the CPU 101 executes the loader 202 loaded into the RAM 104 (S408).
[0038] Figure 5 is a flowchart illustrating the processing executed by the loader 202.
[0039] The CPU 101 reads the tampering detection function setting information from the setting area 120 (S501). Then, the CPU 101 determines whether the tampering detection function is valid based on the read setting information (S502). If it is determined that the tampering detection function is valid (S502: "Yes"), the CPU 101 stops the WDT 122 from counting (S503). This can prevent the image forming apparatus 1 from being restarted by the WDT 122 during the detection of tampering of the initrd 203 or the OS 201. Finally, the CPU 101 loads the OS 201 and initrd 203 into the RAM 104, and executes the OS 201 and initrd 203 loaded into the RAM 104 (S504).
[0040] Figure 6 203 is a flowchart illustrating the processing performed by initrd 203.
[0041] The CPU 101 reads the tamper detection function setting information from the setting area 120 (S601). Then, the CPU 101 determines whether the tamper detection function is valid based on the read setting information (S602). If it is determined that the tamper detection function is valid (S602: "Yes"), the CPU 101 verifies the firmware 204 (S603) and detects tampering of the firmware 204. The detection method for detecting tampering of the firmware 204 is similar to the detection method for the above-mentioned loader 202, etc., and will not be described.
[0042] Usually, in Figure 2 Among the illustrated software components, firmware 204 has the largest data size, so it takes a relatively long time to detect tampering with firmware 204. Depending on the detection method, it may take about several minutes, which is longer than the time (about several seconds) to activate WDT 122.
[0043] If tampering is detected in the firmware 204 (S604: Yes), the CPU 101 instructs the display 111 to display an error message indicating that a startup failure has occurred (S605). Figure 5 In the illustrated S503 , the WDT 122 stops counting, so this flowchart does not involve stopping the WDT 122 from counting.
[0044] On the other hand, if no tampering is detected in the firmware 204 (S604: "No"), or if the tampering 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 in the HDD 103 to recognize the firmware 204 as a file, and then executes the file in the appropriate boot sequence.
[0045] Figure 7 1 is a flowchart illustrating the processing executed by the WDT 122. The illustrated flowchart starts when power is supplied to the image forming apparatus 1, and is related to the processing of the WDT 122. Figure 3 The execution of the illustrated software components is performed in parallel. WDT 122 is used when the software components are Figure 3 In the illustrated flowchart, when a crash occurs, the image forming apparatus 1 is restarted to perform the activation process of the software component again.
[0046] First, WDT 122 sets the count value to an initial value (e.g., 90 seconds) (S701). The initial value may be a pre-fixed value, a value specified by CPU 101, or a set value stored in a non-volatile area (described below). Then, WDT 122 checks whether to stop counting WDT 122 (S702). If WDT 122 is stopped counting (S702: "Yes"), the process ends. On the other hand, if WDT 122 is not stopped counting (S702: "No"), WDT 122 determines the remaining count value and checks whether the remaining count value is 0 (S703). If the count value is 1 or more (S703: "No"), WDT 122 decreases the count value (S704). Then, WDT 122 waits for a predetermined time (S705) and repeats the process again from S702. 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 and the image forming apparatus 1 is restarted according to the reset signal (S706).
[0047] In the present embodiment, when the WDT 122 counts to an initial value (eg, 90 seconds), the image forming apparatus 1 is restarted. Alternatively, when the WDT 122 counts to the initial value, the image forming apparatus 1 may be shut down.
[0048] Second embodiment
[0049] The first embodiment describes an example in which the WDT 122 stops counting after the initrd 203 is started. In the second embodiment, the WDT 122 stops counting after the BIOS 121 is started. The second embodiment is different from the first embodiment in the timing at which the counting operation of the WDT 122 stops.
[0050] Figure 8 2 is a flowchart illustrating the processing executed at the time of booting. In addition, in the present embodiment, the BIOS 121 detects tampering with the OS 201 , the loader 202 , and the initrd 203 .
[0051] The CPU 101 reads the BIOS 121 stored in the nonvolatile memory 115 and executes the BIOS 121 (S801). The BIOS 121 detects tampering of the loader 202, OS 201 or initrd 203. If it is determined that no tampering has occurred in the loader 202, OS 201 or initrd 203, the WDT 122 stops counting (S802).
[0052] Then, the CPU 101 reads the loader 202 stored in the HDD 103 and executes the loader 202 (S803). That is, in the present embodiment, the WDT 122 stops counting before executing the loader 202 (S802). The processing of S803, S804, S805, and S806 is the same as that of Figure 3 The processing of S302, S303, S304 and S306 illustrated in is similar and will not be described.
[0053] Third embodiment
[0054] In the first embodiment, the WDT 122 stops counting based on setting information stored in the nonvolatile memory 115. In the third embodiment, the WDT 122 stops counting based on a predetermined setting value included in the WDT 122. The first and third embodiments differ from each other in the internal structure of the WDT 122.
[0055] Fig. 9 1 is a block diagram illustrating the configuration of the WDT 122 according to the third embodiment. The WDT 122 includes a nonvolatile area 901. The nonvolatile area 901 stores setting information according to an instruction from the CPU 101. In addition, the nonvolatile area 901 can store the above-mentioned initial value and information indicating that the WDT 122 has stopped counting.
[0056] Fig.101 is a flowchart for storing information indicating whether the tamper detection function is enabled or disabled in the nonvolatile area 901 of the WDT 122. When the setting of the tamper detection function is changed, a predetermined setting value is stored in the nonvolatile area 901. When the setting of the tamper detection function is changed by operating the touch panel or keys of the display 111, the illustrated flowchart is executed.
[0057] If the CPU 101 determines that the setting of the tampering detection function has been changed to enable the tampering detection function (S1001: "Yes"), the CPU 101 stores the setting value indicating that the tampering detection function is enabled in the setting area 120 (S1002). The CPU 101 also writes the setting value indicating that the tampering detection function is enabled to the non-volatile area 901 (S1003). If the setting value indicating that the tampering detection function is enabled has been stored in the non-volatile area 901, the WDT 122 stops counting. If the setting value indicating that the tampering detection function is enabled has been stored in the non-volatile area 901, the WDT 122 may not start counting. This can prevent the image forming apparatus 1 from being restarted even if the startup time is extended by the tampering detection function.
[0058] On the other hand, if the CPU 101 determines that the setting of the tamper detection function has been changed to disable the tamper detection function (S1001: "No"), the CPU 101 stores the setting value indicating that the tamper detection function is disabled in the setting area 120 (S1004). In addition, the CPU 101 writes the setting value indicating that the tamper detection function is disabled in the non-volatile area 901 (S1005).
[0059] Other embodiments
[0060] In the above-described embodiment, the WDT 122 stops counting based on the setting value indicating that the tamper detection function is valid or invalid. However, the initial value set in the WDT 122 may be changed based on the setting value indicating that the tamper detection function is valid or invalid. For example, if a setting value indicating that the tamper detection function is invalid is stored, the value set in the WDT 122 is 90 seconds. If a setting value indicating that the tamper detection function is valid is stored, the value set in the WDT 122 is 270 seconds, which is longer than 90 seconds.
[0061] Although the above embodiment describes an example in which the WDT 122 stops counting based on a setting value indicating that the tampering detection function is valid or invalid, the present invention is not limited to the above embodiment. For example, in an embodiment of the present invention, considering that the startup time may be affected by tampering detection, the initial value for counting of the WDT 122 may be set longer based on a setting value indicating that the tampering detection function is valid or invalid. For example, for a setting value indicating that the tampering detection function is invalid, the initial value is set to, for example, 90 seconds. For example, for a setting value indicating that the tampering detection function is valid, the initial value is set to 270 seconds. Even if the startup time is extended by the tampering detection function, the image forming device 1 can be prevented from being restarted. In addition, even if the tampering detection is interrupted due to a software crash, etc., it may take a longer time to start restarting the image forming device 1.
[0062] In addition, the above embodiment describes an example in which the WDT 122 stops counting based on a setting value indicating whether the tampering detection function is valid or invalid. However, the present invention is not limited to the above embodiment. For example, in an embodiment of the present invention, the count value counted by the WDT 122 can be reset based on a setting value indicating whether the tampering detection function is valid or invalid. Therefore, the count value counted by the WDT 122 is reset. For example, if the WDT 122 counts for 30 seconds, the 30-second time period can be reset. Therefore, the time until the image forming apparatus 1 is restarted is extended by 30 seconds.
[0063] Furthermore, in the above-described embodiment, before the BIOS 121 detects tampering of the loader 202 , the OS 201 , and the initrd 203 , the WDT 122 may stop counting.
[0064] In addition, the above embodiment describes an example in which WDT 122 stops counting based on a setting value indicating whether the tamper detection function is valid or invalid. In an embodiment of the present invention, a circuit may be included for shielding the reset signal output from WDT 122 based on a setting value indicating whether the tamper detection function is valid or invalid.
[0065] Furthermore, in the above-described embodiment, the OS 201, the loader 202, the initrd 203, and the firmware 204 are stored to the HDD 103. However, the OS 201, the loader 202, and the initrd 203 may be stored to the flash memory, and the firmware 204 may be stored to the HDD 103.
[0066] In addition, the embodiments of the present invention may be implemented by reading and executing computer executable instructions (e.g., one or more programs) recorded on a storage medium (also more completely referred to as a "non-transitory computer-readable storage medium") to perform one or more functions in the above-mentioned embodiments, and / or a computer of a system or device including one or more circuits (e.g., an application-specific integrated circuit (ASIC)) for performing one or more functions in the above-mentioned embodiments, and the embodiments of the present invention may be implemented by, for example, reading and executing the computer executable instructions from the storage medium by the computer of the system or device to perform one or more functions in the above-mentioned embodiments, and / or controlling the one or more circuits to perform one or more functions in the above-mentioned embodiments. The computer may include one or more processors (e.g., a central processing unit (CPU), a microprocessing unit (MPU)), and may include a network of separate computers or separate processors to read and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, a hard disk, a random access memory (RAM), a read-only memory (ROM), a memory of a distributed computing system, an optical disk (such as a compact disc (CD), a digital versatile disc (DVD), or a Blu-ray disc (BD) TM ), flash memory devices, memory cards, etc.
[0067] Other embodiments
[0068] The embodiments of the present invention may also be implemented by providing software (program) for performing the functions of the above-described embodiments to a system or device via a network or various storage media, and a computer or a central processing unit (CPU) or a microprocessing unit (MPU) of the system or device reads and executes the program.
[0069] While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments.The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
Claims
1. An information processing device, comprising: a detector configured to detect tampering prior to execution of a plurality of software components to be executed in accordance with the launch instruction; a storage unit configured to store information for enabling or disabling a function of detecting the tampering; a timer configured to measure a predetermined time in response to receipt of a start instruction; as well as a restart section configured to control the timer according to execution of a plurality of software components and restart the information processing apparatus based on the passage of the predetermined time, The restart unit stops the timer and enters a state in which the information processing apparatus cannot be restarted after a part of the plurality of software components has been executed in a functionally valid state and before verification of tampering of other software components is started.
2. The information processing device according to claim 1, wherein: In a case where information for enabling the function of detecting tampering is already stored in the storage unit, The restart section does not restart the information processing device based on a predetermined time that has elapsed after receiving the startup instruction.
3. The information processing device according to claim 1, wherein: In a case where information for disabling the function of detecting the tampering is stored in the storage unit, The restart section restarts the information processing device that has been started up according to the startup instruction based on a predetermined time that has elapsed after receiving the startup instruction.
4. The information processing device according to claim 1, further comprising a measuring unit configured to measure time, in, A predetermined time that elapses after the start instruction is received is measured by the measuring unit.
5. The information processing device according to claim 4, wherein: When information for enabling a tamper detection function is stored in the storage unit, The measuring unit stops measuring the predetermined time.
6. The information processing device according to claim 1, wherein: When tampering is detected by the detector in at least a part of the plurality of software components, the restart section does not restart the information processing apparatus.
7. The information processing device according to claim 1, wherein: When tampering is detected by the detector in at least a portion of the plurality of software components, measuring the predetermined time is stopped. 8 . The information processing device according to claim 1 , further comprising an output unit configured to output information indicating that tampering is detected.
9. The information processing device according to claim 8, wherein: The output unit includes a display unit configured to display information indicating that tampering is detected.
10. The information processing device according to claim 1, further comprising an execution unit configured to execute a plurality of software components. in, The execution unit executes a software component among the plurality of software components, the tampering of which is not detected by the detector.
11. The information processing device according to claim 10, in, The execution unit executes the plurality of software components in a predetermined order, and Among the plurality of software components, the software component executed by the execution unit is configured to detect tampering of a subsequent software component to be executed.
12. The information processing device according to claim 11, wherein: The execution unit executes other software components different from the plurality of software components, and The other software executed by the execution unit is configured to detect tampering of one or all of the plurality of software components.
13. The information processing device according to claim 12, wherein: The other software components include at least one of initrd and firmware.
14. The information processing device according to claim 1, wherein: The plurality of software components include at least one of a BIOS and a loader. 15 . The information processing apparatus according to claim 1 , further comprising a printer configured to print an image. 16 . The information processing apparatus according to claim 1 , further comprising a reader configured to read an image on a document.
17. The information processing device according to claim 1, wherein: The start instruction is received from a user.
18. The information processing device according to claim 1, wherein: The restart unit restarts the information processing device according to a reset signal.
19. The information processing device according to claim 1, wherein: The detector detects tampering of a software component to be executed among the plurality of software components based on at least a pre-stored value and a hash value of the software component.
20. A restart method for an information processing device, the restart method comprising: detecting tampering prior to execution of a plurality of software components to be executed in response to the launch instruction; In the storage unit, information for enabling or disabling the function of detecting the tampering is stored; In the timer, a predetermined time is measured in response to receipt of a start command; as well as controlling the timer according to execution of a plurality of software components and restarting the information processing apparatus based on the passage of the predetermined time, After a part of the plurality of software components has been executed in a functionally valid state and before verification of tampering of other software components is started, the timer is stopped and the information processing apparatus enters a state in which it cannot be restarted.
21. A computer-readable storage medium storing a program which, when executed on a computer, causes the computer to execute the method of claim 20.
Citation Information
Patent Citations
Electronic apparatus and control program thereof
JP2012022469A
System and method to lock tpm always 'on' using a monitor
CN101116070A
A computer system comprising a secure boot mechanism
CN101965570A
Image forming apparatus that performs update of firmware, and control method thereof
CN104780287A
Information processing apparatus
US20180152579A1
