JPS61195427A - Program identifier - Google Patents

Program identifier

Info

Publication number
JPS61195427A
JPS61195427A JP60036945A JP3694585A JPS61195427A JP S61195427 A JPS61195427 A JP S61195427A JP 60036945 A JP60036945 A JP 60036945A JP 3694585 A JP3694585 A JP 3694585A JP S61195427 A JPS61195427 A JP S61195427A
Authority
JP
Japan
Prior art keywords
identification code
load module
computer
register
program
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.)
Pending
Application number
JP60036945A
Other languages
Japanese (ja)
Inventor
Yoshitetsu Nishiwaki
西脇 義哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP60036945A priority Critical patent/JPS61195427A/en
Publication of JPS61195427A publication Critical patent/JPS61195427A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

PURPOSE:To inhibit completely the actuation of a wrong load module by producing a mask unable interruption signal according to the result of comparison between a computer discrimination code and a ciphered program discrimination code. CONSTITUTION:A ciphered program discrimination code stored in a load module is decoded by a decoder 11 prior to execution of a load module. This decoded code is stored in a register 12. While a computer discrimination code is stored previously in a register 13. Thus a comparator 14 compares the contents of the register 13 with those of a register 12 and sends the result of this comparison to an interruption generating circuit 15. Then no interruption signal is produced if the coincides is obtained from said comparison. While a mask unable interruption signal is produced and sent to a computer when no coincidence of comparison is obtained. This can inhibit the actuation of a wrong load module.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、不正に入手したプログラムなどを識別して
その動作を禁止するためのプログラム識別装置に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program identification device for identifying illegally obtained programs and prohibiting their operation.

[従来の技術] 第2図は、従来におけるこの種のプログラム識別装置の
構成を示す図である。図において(1)はロードモジュ
ール内に暗号化されて記録されているプログラム識別コ
ードを復号する復号化手段、(2)は復号化手段(1)
で復号したプログラム識別コードと予め設定された計算
機識別コードとを比較する比較手段、(3)は比較手段
(2)の比較結果により、不正プログラムであると判定
された時に当該ロードモジュールの実行を中止し、逆に
正しいプログラムであると判定された時には当該ロード
モジュールを実行させるロードモジュール起動手段であ
る。(4)は上記(1)〜、(3)包含するロードモジ
ュール制御プログラムである。
[Prior Art] FIG. 2 is a diagram showing the configuration of a conventional program identification device of this type. In the figure, (1) is a decoding means for decoding the program identification code encrypted and recorded in the load module, and (2) is a decoding means (1).
Comparing means (3) compares the program identification code decrypted by the program identification code with a preset computer identification code; It is a load module starting means that cancels the program and executes the load module when it is determined that the program is correct. (4) is a load module control program that includes the above (1) to (3).

このような構成において、復号化手段(1)は、ロード
モジュール内に暗号化されて記憶されているプログラム
識別コードを復号し、その復号結果のプログラム識別コ
ードを比較手段(2)に入力する。すると、比較手段(
2)は、復号されたプログラム識別コードと予め設定さ
れた計算Il識別コードを比較し、その比較結果の情報
をロートモシュニル起動手段(3)に送る。ロードモジ
ュール起動手段(3)は、比較手段(2)の比較結果に
より次のように異なる処理を行う。すなわち、比較手段
(2)における比較結果が一致の場合には、前記ロード
モジュール動作が許可されたものと判定し、このロード
モジュールに記憶されたプログラムを実行させる。しか
し、比較結果が不一致の場合は、前記ロードモジュール
は動作が許可されていない不正プログラムであると判定
し、ロードモジュールに記憶されたプログラムの実行を
禁止する。
In such a configuration, the decryption means (1) decrypts the program identification code encrypted and stored in the load module, and inputs the program identification code resulting from the decryption to the comparison means (2). Then, the means of comparison (
2) compares the decoded program identification code with a preset calculation Il identification code, and sends information on the comparison result to the rotmoshnir activation means (3). The load module activation means (3) performs different processing as follows depending on the comparison result of the comparison means (2). That is, if the comparison result in the comparing means (2) is a match, it is determined that the load module operation is permitted, and the program stored in this load module is executed. However, if the comparison results do not match, it is determined that the load module is a malicious program whose operation is not permitted, and execution of the program stored in the load module is prohibited.

このような構成により、計算機に実行を許されたプログ
ラムのみが起動され、不正プログラムによって計算機が
不正使用されるのが防止される。
With this configuration, only programs that are allowed to be executed by the computer are started, and unauthorized use of the computer by unauthorized programs is prevented.

[発明が解決しようとする問題点] ところが上記の構成では、暗号化されたプログラム識別
コードを解読することができなくてもロードモジュール
起動手段自体を変更してロードモジュールを起動可能な
ように簡単に変更できるため、不正プログラムの動作を
完全に禁止することができないという問題点があった。
[Problems to be Solved by the Invention] However, in the above configuration, even if the encrypted program identification code cannot be decoded, the load module starting means itself can be changed to start the load module easily. There was a problem in that it was not possible to completely prohibit the operation of malicious programs.

この発明は上記のような問題点を解決するためになされ
たもので、不正プログラムの動作を完全に禁止すること
ができるプログラム識別装置を提供することを目的とす
る。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a program identification device that can completely prohibit the operation of unauthorized programs.

[問題点を解決するための手段] この発明に係るプログラム識別装置は、暗号化されたプ
ログラム識別コードを復号する復号手段と、復号された
プログラム識別コードと予め設定された計算°機識別コ
ードとを比較する比較手段と、この比較手段の比較結果
が不一致の場合は計算機側でマスク処理が不可能な割込
み信号を発生−する割込み発生手段とを設けたものであ
る。
[Means for Solving the Problems] A program identification device according to the present invention includes a decoding means for decoding an encrypted program identification code, a decrypted program identification code and a preset computer identification code. and an interrupt generating means for generating an interrupt signal that cannot be masked on the computer side if the comparison result of the comparing means does not match.

[作用] 予め設定された計算機識別コードと復号されたプログラ
ム識別コードとを比較した結果が一致の場合は割込み信
号は発生しないが、比較結果が不一致の場合にはマスク
不可能な割込み信号が発生し、ロードモジュールの不正
プログラムの動作は禁止される。
[Function] If the result of comparing the preset computer identification code and the decoded program identification code is a match, no interrupt signal is generated, but if the comparison result is a mismatch, a non-maskable interrupt signal is generated. However, the operation of malicious programs in the load module is prohibited.

[発明の実施例] 以下、この発明の一実施例を図について説明する。[Embodiments of the invention] An embodiment of the present invention will be described below with reference to the drawings.

第1図において、(11)はロードモジュール内の暗号
化されたプログラム識別コードを復号する復号器、(1
2)は復号器(11)の復号結果であるプログラム識別
コードを格納するレジスタ、(13)は計算機識別コー
ドを格納するレジスタ、(14)はレジスタ(13)と
レジスタ(12)の内容を比較する比較器、(15)は
比較器(14)の比較結果が不一致の時にマスク不可能
な割込み信号を計算機(図示せず)に発生する割込み発
生回路である。
In FIG. 1, (11) is a decoder that decodes the encrypted program identification code in the load module;
2) is a register that stores the program identification code that is the decoding result of the decoder (11), (13) is a register that stores the computer identification code, and (14) compares the contents of register (13) and register (12). The comparator (15) is an interrupt generating circuit that generates a non-maskable interrupt signal to a computer (not shown) when the comparison result of the comparator (14) does not match.

このような構成において、ロードモジュール実行に先立
ってロードモジュール内に記録されている暗号化された
プログラム識別コードを復号器(11)に入力して復号
する。復号器(11)で復号されたプログラム識別コー
ドは、レジスタ(12)に格納される。一方、計算機識
別コードは予めレジスタ(13)に格納されている。比
較器(14)はレジスタ(13)とレジスタ(14)の
記憶内容を比較し、その比較結果を割込み発生回路(1
5)に送る。割込み発生回路(15)は、比較結果が一
致の場合は、割込み信号を発生しない。しかし、比較結
果が不一致の場合は、マスク不可能な割込み信号を計算
機に対して発生する。
In such a configuration, prior to execution of the load module, the encrypted program identification code recorded in the load module is input to the decoder (11) and decoded. The program identification code decoded by the decoder (11) is stored in the register (12). On the other hand, the computer identification code is stored in advance in the register (13). The comparator (14) compares the stored contents of the register (13) and the register (14), and sends the comparison result to the interrupt generation circuit (1).
5) Send to. The interrupt generation circuit (15) does not generate an interrupt signal if the comparison result is a match. However, if the comparison results do not match, a non-maskable interrupt signal is generated to the computer.

従って、ロードモジュール内に記録されている暗号化さ
れたプログラム識別コードが正しくない場合は、当該プ
ログラムは当該計算機上で正当に動作を許可されたもの
でないものと判定され、その動作は禁止される。従って
、不正なロードモジュールの動作を完全に禁止すること
ができる。
Therefore, if the encrypted program identification code recorded in the load module is incorrect, it is determined that the program is not authorized to operate on the computer, and its operation is prohibited. . Therefore, the operation of unauthorized load modules can be completely prohibited.

なお、上記実施例では、計算機識別コードおよびプログ
ラム識別コードを格納するレジスタを設けたものを示し
たが、これらのコードが定常的に保持される構造であれ
ば、このレジスタを省略することができる。
In the above embodiment, a register for storing a computer identification code and a program identification code is provided, but if the structure is such that these codes are constantly held, this register can be omitted. .

[発明の効果] 以上の説明から明らかなようにこの発明によれば、計算
機識別コードと暗号化されたプログラム識別コードの比
較結果に従って計算機側でマスク不可能な割込み信号を
発生するように構成したため、不正なロードモジュール
の動作を完全に禁止することができるという効果がある
[Effects of the Invention] As is clear from the above description, according to the present invention, a non-maskable interrupt signal is generated on the computer side according to the comparison result between the computer identification code and the encrypted program identification code. This has the effect of completely prohibiting the operation of unauthorized load modules.

【図面の簡単な説明】[Brief explanation of drawings]

第1図はこの発明の一実施例によるプログラム識別装置
を示す図、第2図は従来装置の構成を示す図である。 (4)・・・ロードモジュール制御手段、(11)・・
・復号器、(12)・・・レジスタ、(13)・・・レ
ジスタ、(14)・・・比較器、(15)・・・割込み
発生回路。
FIG. 1 is a diagram showing a program identification device according to an embodiment of the present invention, and FIG. 2 is a diagram showing the configuration of a conventional device. (4)...Load module control means, (11)...
- Decoder, (12)...Register, (13)...Register, (14)...Comparator, (15)...Interrupt generation circuit.

Claims (1)

【特許請求の範囲】[Claims] ロードモジュールに暗号化されて記憶されたプログラム
識別コードを復号する復号化手段と、復号されたプログ
ラム識別コードと前記ロードモジュールに記憶されたプ
ログラムを実行する計算機の識別コードとを比較し、両
者が不一致の場合には割込み発生手段から前記計算機に
対してマスク処理が不可能な割込み信号を発生させる比
較手段とを備え、プログラム識別コードと計算機の識別
コードとが一致する場合のみ前記ロードモジュールに記
憶されたプログラムを前記計算機に実行させることを特
徴とするプログラム識別装置。
A decryption means decrypts the program identification code encrypted and stored in the load module, and compares the decrypted program identification code with the identification code of the computer that executes the program stored in the load module. and comparing means for causing the interrupt generating means to generate an interrupt signal that cannot be masked to the computer in the case of a mismatch, and storing the program identification code in the load module only when the program identification code and the computer identification code match. A program identification device that causes the computer to execute the program.
JP60036945A 1985-02-26 1985-02-26 Program identifier Pending JPS61195427A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60036945A JPS61195427A (en) 1985-02-26 1985-02-26 Program identifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60036945A JPS61195427A (en) 1985-02-26 1985-02-26 Program identifier

Publications (1)

Publication Number Publication Date
JPS61195427A true JPS61195427A (en) 1986-08-29

Family

ID=12483889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60036945A Pending JPS61195427A (en) 1985-02-26 1985-02-26 Program identifier

Country Status (1)

Country Link
JP (1) JPS61195427A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63311455A (en) * 1987-06-13 1988-12-20 Sony Corp Copy protection device for software
JPS6435628A (en) * 1987-07-31 1989-02-06 Hitachi Ltd Security device
JP2013061724A (en) * 2011-09-12 2013-04-04 Hitachi Automotive Systems Ltd Vehicle control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63311455A (en) * 1987-06-13 1988-12-20 Sony Corp Copy protection device for software
JPS6435628A (en) * 1987-07-31 1989-02-06 Hitachi Ltd Security device
JP2013061724A (en) * 2011-09-12 2013-04-04 Hitachi Automotive Systems Ltd Vehicle control device

Similar Documents

Publication Publication Date Title
US4864494A (en) Software usage authorization system with key for decrypting/re-encrypting/re-transmitting moving target security codes from protected software
US10223290B2 (en) Processing device with sensitive data access mode
US20030120938A1 (en) Method of securing software against reverse engineering
CN1969500B (en) Securing software
KR101687439B1 (en) A processor-implemented method for ensuring software integrity
US10248579B2 (en) Method, apparatus, and instructions for safely storing secrets in system memory
US20080046725A1 (en) Fast system call method
EP4319041A1 (en) Cipher card and root key protection method therefor, and computer readable storage medium
US6490720B1 (en) Sequence numbering mechanism to ensure execution order integrity of inter-dependent smart card applications
JPS61195427A (en) Program identifier
EP0962850A2 (en) A method for protecting embedded system software and embedded system
US20060136746A1 (en) Security system for preventing unauthorized copying of digital data
JPH05120149A (en) Copy preventing system for executing form file
JPS61282930A (en) Information processor
JPS5848298A (en) Information processor
JPS62266622A (en) Program action timing device
JPH05173892A (en) File loading system
WO2022176164A1 (en) Program processing device, program processing method, and program
JPH043224A (en) Method for managing soft module by ic card
US20240259177A1 (en) Enhanced cryptography systems and methods
JP5355351B2 (en) Computer
JPH02297626A (en) System for masking contents of program and data
JPH04287124A (en) Method and device for inhibiting software from being used without permission at computer system
JPS6313209B2 (en)
JPH02311928A (en) Ciphering firmware system