JPS60201436A - Illegal use preventing device of off-line program - Google Patents

Illegal use preventing device of off-line program

Info

Publication number
JPS60201436A
JPS60201436A JP59057743A JP5774384A JPS60201436A JP S60201436 A JPS60201436 A JP S60201436A JP 59057743 A JP59057743 A JP 59057743A JP 5774384 A JP5774384 A JP 5774384A JP S60201436 A JPS60201436 A JP S60201436A
Authority
JP
Japan
Prior art keywords
card
program
execution
line program
offline 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
JP59057743A
Other languages
Japanese (ja)
Inventor
Toshiaki Kasuya
粕谷 利明
Takeo Tamada
玉田 丈夫
Yasushi Ozaki
裕史 尾崎
Hitoshi Kokuryo
国料 均
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP59057743A priority Critical patent/JPS60201436A/en
Publication of JPS60201436A publication Critical patent/JPS60201436A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

PURPOSE:To prevent an illegal use by counting the number of times of execution of prescribed processing steps of an off-line program stored in an IC card, and making the off-line program inexecutable from information of the number of times of execution of each processing step. CONSTITUTION:An operation storage device body 1 of an IC card stores an off- line program consisting of plural processing steps 2a-2n, and it is used by installing it to an interface of a host computer 3. The host computer 3 inputs the off-line program of the IC card, and executes prescribed processings shown by the program based on discriminating information, etc. which an IC card user has inputted directly. Counters 4a-4n incorporated in the card execute the number of times of execution of the processing steps 2d-2n of the program, respectively, and an operation comparing circuit 6 compares counting values of the counters 4a-4n. As a result, when an illegal execution of the off-line program is detected from a deviation, etc. of the execution frequency, an eraser part 7 erases the prescribed processing step of the off-line program of the body 1.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は携帯用カード等に格納されたオフラインプログ
ラムの不正使用や不正読取り等を未然に防ぐことのでき
る実用性の高いオフラインプログラムの不正防止装置に
関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention provides a highly practical offline program fraud prevention device that can prevent unauthorized use or unauthorized reading of offline programs stored in portable cards, etc. Regarding.

(発明の技術的背景とその問題点〕 近時、各種のICカードを利用した情報処理システムが
考えられている。この種の情報処理システムは、携帯用
のICカードにその利用者毎に定められた所定のオフラ
インプログラムを個々に格納し、ICカードをホスト・
コンピュータに装着したときそこに格納されたオフライ
ンプログラムに基いて前記ホスト・コンピュータとの間
で前記各利用者毎に定められた特有の情報処理を実行す
るようにしたものである。この場合、一般に上記ICカ
ードにはその不正使用を防止するべく、利用者の識別情
報等の他の利用者に対して秘密化された情報がオフライ
ンプログラムの一部として組込まれることが多い。そし
てこのオフラインプログラムの一部に組込まれた利用者
固有の秘密化情報と、そのICカード利用者が直接入力
する情報とを利用してホスト・コンピュータが上記IC
カードの不正使用を識別するようにしている。
(Technical background of the invention and its problems) Recently, information processing systems using various IC cards have been considered. A predetermined offline program is individually stored, and the IC card is used as a host.
When installed in a computer, specific information processing determined for each user is executed with the host computer based on an offline program stored therein. In this case, in order to prevent unauthorized use of the IC card, information that is kept confidential from other users, such as the user's identification information, is generally incorporated into the IC card as part of an offline program. Then, the host computer uses the user-specific confidential information incorporated in a part of this offline program and the information directly input by the IC card user to
We are trying to identify fraudulent card usage.

然し乍ら、上記ICカードは携帯性を有する為、例えば
これを別に準備したコンピュータ・システムに装着し、
上記ICカードに格納されたオフラインプログラムを実
行させることが可能である。
However, since the above-mentioned IC card is portable, it can be inserted into a separately prepared computer system, for example.
It is possible to execute an offline program stored in the IC card.

従って、上記オフラインプログラムの一部に組込まれた
利用者固有の秘密化情報を第3者が読出したり、或いは
ホスト・コンピュータがICカード利用者を識別する為
に直接入力する情報を試行鉗誤的に確認することが可能
である。これ故、例えば第3者が上記秘密化情報を知り
得た場合や、前記ICカード上のオフラインプログラム
に不正な改造を加えた場合等、ホスト・コンピュータが
゛これを知り得ず、またそれを検査する手段を備えない
ことから上記ICカードの不正使用を防ぐことができな
かった。
Therefore, it is possible for a third party to read the user-specific confidential information incorporated in a part of the offline program, or for the host computer to input information directly to identify the IC card user by trial and error. It is possible to check. Therefore, for example, if a third party comes to know the confidential information or makes unauthorized modifications to the offline program on the IC card, the host computer will not be able to know this or Since there is no inspection means, it has not been possible to prevent unauthorized use of the IC card.

〔発明の目的〕[Purpose of the invention]

本発明はこのような事情を考慮してなされたもので、そ
の目的とするところは、オフラインプログラムを内蔵し
たICカード等の携帯用演算記憶装置の不正改造や不正
使用を未然に防ぐことのできる実用性の高いオフライン
プログラムの不正防止装置を提供することにある。
The present invention has been made in consideration of these circumstances, and its purpose is to prevent unauthorized modification and unauthorized use of portable computing storage devices such as IC cards that have built-in offline programs. The object of the present invention is to provide a highly practical offline program fraud prevention device.

〔発明の概要〕[Summary of the invention]

本発明は演算記憶装置本体に内蔵されたオフラインプロ
グラムの所定の処理ステップの実行回数をそれぞれ計数
し、これらの各処理ステップの実行回数の情報、例えば
その実行回数の頻度差から前記オフラインプログラムの
不正な実行を検出し、オフラインプログラムの所定の処
理ステップを実行不能化する等してその不正使用を未然
に防ぐようにしたものである。
The present invention counts the number of executions of each predetermined processing step of an offline program built in the main body of an arithmetic storage device, and detects fraud in the offline program from information on the number of executions of each processing step, for example, the frequency difference in the number of executions. This system is designed to prevent unauthorized use of offline programs by detecting unauthorized execution and disabling predetermined processing steps of offline programs.

(発明の効果〕 かくして本発明によれば、ICカードに格納されたオフ
ラインプログラムの所定の処理ステップの実行回数をそ
れぞれ計数しているので、例えば前記オフラインプログ
ラムを不正に実行した場合、一般に上記オフラインプロ
グラムの各処理ステップの実行頻度に本来のオフライン
プログラムの実行時とは異なる差異が生じるので、前記
所定の処理ステップの実行回数の計数値からその不正使
用を効果的に検出することができる。つまり、オフライ
ンプログラムに隠された利用者の識別に関する情報等を
探し出そうとする場合には、上記オフラインプログラム
がその本来の処理ルーチンで実行されることが少なく、
特定の処理ステップのみが繰返して実行されることが多
い。この為、オフラインプログラムの各処理ステップの
実行頻度をモニタすることにより、オフラインプログラ
ムの不正な実行を容易に、且つ効果的に検出することが
可能となる。従ってこの場合には、前記オフラインプロ
グラムの所定の処理ステップの実行が不能となるように
、例えば上記所定の処理ステップをイレーズ(消去)す
る等すれば、そのオフラインプログラムを格納したIC
カードの使用が不可能となり、オフラインプログラムの
不正使用を未5− 然に防止することができる等の実用上絶大なる効果が奏
せられる。
(Effects of the Invention) Thus, according to the present invention, since the number of times each predetermined processing step of the offline program stored in the IC card is executed is counted, for example, if the offline program is executed fraudulently, the offline program is generally executed. Since the execution frequency of each processing step of the program differs from when the original offline program is executed, unauthorized use of the program can be effectively detected from the counted value of the number of executions of the predetermined processing step. , when trying to find information related to user identification hidden in an offline program, the offline program is rarely executed in its original processing routine;
Often only specific processing steps are performed repeatedly. Therefore, by monitoring the execution frequency of each processing step of the offline program, it is possible to easily and effectively detect unauthorized execution of the offline program. Therefore, in this case, if the predetermined processing steps of the offline program are erased so that the execution of the predetermined processing steps of the offline program is disabled, the IC storing the offline program can be
This has great practical effects, such as making it impossible to use the card and preventing unauthorized use of offline programs.

(発明の実施例〕 以下、図面を参照して本発明の一実施例につき説明する
(Embodiment of the invention) An embodiment of the invention will be described below with reference to the drawings.

図は実施例装置の概略構成図である。図中、1は複数の
処理ステップ28〜211からなるオフラインプログラ
ムを格納した演算記憶装置本体である。
The figure is a schematic configuration diagram of an example device. In the figure, 1 is an arithmetic storage device main body that stores an offline program consisting of a plurality of processing steps 28 to 211.

この演算記憶装置本体1は例えばICカードとして実現
されるもので、ホスト・コンピュータ3のインターフェ
ースに装着されて用いられる。しかしてホスト・コンピ
ュータ3は上記ICカードのオフラインプログラムを入
力すると共に、ICカード利用者が直接入力した識別情
報等に基いて上記ICカードの利用者が適正であるか否
かを判定した後、上記オフラインプログラムで示される
所定の処理を実行する。尚、この判定処理によって前記
10カードが不正使用であるとの結果が得られた場合に
は、上記オフラインプログラムを実行しないことは勿論
のこと、そのICカードの回収6− を行う。
This arithmetic storage device main body 1 is realized as, for example, an IC card, and is used by being attached to an interface of a host computer 3. The host computer 3 then inputs the offline program of the IC card and determines whether or not the user of the IC card is appropriate based on the identification information directly input by the IC card user. A predetermined process indicated by the offline program is executed. Incidentally, if a result of this judgment process is obtained that the ten cards are fraudulently used, the offline program is of course not executed, and the IC card is collected 6-.

しかしてこのICカードには前記演算記憶装置本体1と
共に前記オフラインプログラムの所定の処理ステップ2
8〜2nの実行回数をそれぞれ計数する複数のカウンタ
4a〜4nが設けられている。これらの各カウンタ4a
〜4nによりそれぞれ計数された前記各処理ステップ2
8〜2nの実行回数は、モニタ5を介してモニタ出力さ
れると共に、演算比較回路6にそれぞれ与えられるよう
になっている。この演算比較回路6は前記カウンタ4a
〜4nと共に、また後述するイレーサ部1と共に前記I
Cカードに一体的に組込まれたものである。
However, this IC card contains predetermined processing steps 2 of the offline program as well as the arithmetic storage device main body 1.
A plurality of counters 4a to 4n are provided to count the number of times 8 to 2n are executed, respectively. Each of these counters 4a
Each processing step 2 counted by ~4n
The number of executions of 8 to 2n is monitored and output via the monitor 5, and is also provided to the arithmetic comparison circuit 6, respectively. This arithmetic comparison circuit 6 is connected to the counter 4a.
4n and also together with the eraser section 1 described later.
It is integrated into the C card.

前記演算比較回路6はカウンタ4a〜4nがそれぞれ計
数した前記各処理ステップ28〜2nの実行回数を相互
に比較し、その実行頻度の偏り等から前記オフラインプ
ログラムの不正な実行を検出するものとなっている。こ
の演算比較回路6により前記オフラインプログラムの不
正な実行が検出されたとき、イレーサ部7は前記演算記
憶装置本体1に格納された前記オフラインプログラムの
所定の処理ステップを消去している。
The arithmetic comparison circuit 6 compares the number of executions of each of the processing steps 28 to 2n counted by the counters 4a to 4n, respectively, and detects unauthorized execution of the offline program from deviations in the frequency of execution. ing. When the arithmetic comparison circuit 6 detects illegal execution of the offline program, the eraser section 7 erases a predetermined processing step of the offline program stored in the arithmetic storage device main body 1.

即ち、ICカードが本来のホスト・コンピュータ以外の
コンピュータ・システムに装着されて使用された場合、
一般に前記オフラインプログラムの正規の処理ルーチン
が不明であることから本来の処理ルーチンとは異なる処
理ルーチンで前記オフラインプログラムが実行されるこ
とになる。この結果、特定の処理ステップの実行回数が
少なくなったり、或いは特定の処理ステップの実行回数
のみが非常に大きくなる等、各処理ステップの実行回数
頻度に本来とは異なる大きな偏りが生じる。
In other words, if the IC card is installed and used in a computer system other than the original host computer,
Generally, since the official processing routine of the offline program is unknown, the offline program is executed using a processing routine different from the original processing routine. As a result, a large deviation from the original frequency occurs in the frequency of execution of each processing step, such as a decrease in the number of executions of a specific processing step, or a very large number of executions of a specific processing step.

従って、このような偏りが検出された場合、これを前記
オフラインプログラムが不正に使用されている、つまり
ICカードが不正に使用されているして判定することが
可能となる。
Therefore, if such a bias is detected, it can be determined that the offline program is being used illegally, that is, the IC card is being used illegally.

そこで、この判定結果を得て前記イレーサ部7を駆動し
、前記処理ステップ28〜2nを消去すれば、これによ
ってICカードの使用ができなくなり、その不正使用が
未然に防がれることになる。また前記オフラインプログ
ラムの不正な改造も防がれることになる。
Therefore, by driving the eraser section 7 based on this determination result and erasing the processing steps 28 to 2n, the IC card can no longer be used, thereby preventing its unauthorized use. Moreover, unauthorized modification of the offline program is also prevented.

尚、上記イレーサ部7の駆動による前記オフラインプロ
グラムの処理ステップの消去を前記ホスト・コンピュー
タ3の制御の下で行うようにしてもよい。即ち、ICカ
ードのオフラインプログラムを不正に使用した場合、カ
ウンタ4a〜4nにはその不正使用時の各処理ステップ
の実行回数が計数されているので、その後、上記ICカ
ードがホスト・コンピュータ3に装着されたとき、ホス
ト・コンピュータ3にてこれを検出して前記処理ステッ
プの消去とそのICカードの回収を行うようにしてもよ
い。
Note that erasing of the processing steps of the offline program by driving the eraser section 7 may be performed under the control of the host computer 3. That is, if the off-line program of the IC card is used illegally, the counters 4a to 4n count the number of executions of each processing step at the time of the illegal use, so the IC card is then installed in the host computer 3. When this occurs, the host computer 3 may detect this and erase the processing steps and collect the IC card.

こように本装置によれば、オフラインプログラムの各処
理ステップの実行回数をそれぞれ計数しているので、こ
れらの各計数値から前記オフラインプログラムの不正使
用を効果的に判別することができ、不正な利用者による
ICカードの利用を未然に防ぐことが可能となる。従っ
て、この種ICカードを利用した各種情報処理システム
の健全性を維持した効果的な運用を図ることができる等
9− の実用上絶大なる効果が奏せられる。
As described above, according to this device, since the number of executions of each processing step of the offline program is counted, it is possible to effectively determine the unauthorized use of the offline program from each of these counted values, and to prevent unauthorized use. It becomes possible to prevent the user from using the IC card. Therefore, great practical effects can be achieved, such as making it possible to effectively operate various information processing systems using this type of IC card while maintaining their soundness.

尚、本発明は上述した実施例に限定されるものではない
。例えば、オフラインプログラム中の特定の処理ステッ
プの実行回数のみを計数するようにしても良く、またそ
の不正使用時に消去する処理ステップも特定の上記オフ
ラインプログラムにおける要のものだけにしても良い。
Note that the present invention is not limited to the embodiments described above. For example, only the number of executions of a specific processing step in an offline program may be counted, and only essential processing steps in the specific offline program may be deleted in the event of unauthorized use.

更にはICカードには、オフラインプログラムを格納し
た演算記憶装置本体1とカウンタ4a〜4nだけを設け
るようにしても良い。要するに本発明はその要旨を逸脱
しない範囲で種々変形して実施することができる。
Furthermore, the IC card may be provided with only the arithmetic storage device main body 1 storing an offline program and the counters 4a to 4n. In short, the present invention can be implemented with various modifications without departing from the gist thereof.

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

図は本発明の一実施例を示す概略構成図である。 1・・・演算記憶装置本体、28〜2n・・・オフライ
ンプログラムの処理ステップ、3・・・ホスト・コンピ
ュータ、4a〜4n・・・カウンタ、5・・・モニタ、
6・・・演算比較回路、7・・・イレーサ部。 出願人代理人 弁理士 鈴江武彦 10−
The figure is a schematic configuration diagram showing one embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Arithmetic storage device body, 28-2n... Offline program processing step, 3... Host computer, 4a-4n... Counter, 5... Monitor,
6... Arithmetic comparison circuit, 7... Eraser section. Applicant's agent Patent attorney Takehiko Suzue 10-

Claims (2)

【特許請求の範囲】[Claims] (1) オフラインプログラムを内蔵した演算記憶装置
本体に設けられ、上記オフラインプログラムの所定の処
理ステップの実行回数をそれぞれ計数するカウンタと、
このカウンタが計数した上記各処理ステップの実行回数
を相互に比較して前記オフラインプログラムの処理ステ
ップの不正な実行を判定する手段と、この手段により前
記オフラインプログラムの不正な実行が検出されたとき
に前記オフラインプログラムの所定の処理ステップを実
行不能化する手段とを具備したことを特徴とするオフラ
インプログラムの不正防止装置。
(1) a counter provided in the main body of the arithmetic storage device containing the offline program and counting the number of times each predetermined processing step of the offline program is executed;
means for comparing the number of executions of each of the processing steps counted by the counter with each other to determine whether the processing step of the offline program is fraudulently executed; An off-line program fraud prevention device comprising means for disabling predetermined processing steps of the off-line program.
(2) オフラインプログラムの不正な実行を判定する
手段、および上記オフラインプログラムの所定の処理ス
テップを実行不能化する手段は、カウンタと共に演算記
憶装置本体に設けられたものである特許請求の範囲第1
項記載のオフラインプログラムの不正防止装置。
(2) The means for determining unauthorized execution of the offline program and the means for disabling predetermined processing steps of the offline program are provided in the main body of the arithmetic storage device together with a counter.
Offline program fraud prevention device described in section.
JP59057743A 1984-03-26 1984-03-26 Illegal use preventing device of off-line program Pending JPS60201436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59057743A JPS60201436A (en) 1984-03-26 1984-03-26 Illegal use preventing device of off-line program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59057743A JPS60201436A (en) 1984-03-26 1984-03-26 Illegal use preventing device of off-line program

Publications (1)

Publication Number Publication Date
JPS60201436A true JPS60201436A (en) 1985-10-11

Family

ID=13064385

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59057743A Pending JPS60201436A (en) 1984-03-26 1984-03-26 Illegal use preventing device of off-line program

Country Status (1)

Country Link
JP (1) JPS60201436A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63148361A (en) * 1986-12-12 1988-06-21 Hiromasa Kobayashi On-line compound terminal equipment
JPH0526842A (en) * 1991-07-23 1993-02-02 Ngk Insulators Ltd Oxygen sensor
US5822771A (en) * 1993-05-14 1998-10-13 Fujitsu Limited System for management of software employing memory for processing unit with regulatory information, for limiting amount of use and number of backup copies of software
CN104823044A (en) * 2012-11-20 2015-08-05 株式会社电装 Gas sensor

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63148361A (en) * 1986-12-12 1988-06-21 Hiromasa Kobayashi On-line compound terminal equipment
JPH0526842A (en) * 1991-07-23 1993-02-02 Ngk Insulators Ltd Oxygen sensor
US5822771A (en) * 1993-05-14 1998-10-13 Fujitsu Limited System for management of software employing memory for processing unit with regulatory information, for limiting amount of use and number of backup copies of software
US6067640A (en) * 1993-05-14 2000-05-23 Fujitsu Limited System for management of software employing memory for processing unit with regulatory information, for limiting amount of use and number of backup copies of software
CN104823044A (en) * 2012-11-20 2015-08-05 株式会社电装 Gas sensor
CN104823044B (en) * 2012-11-20 2017-03-22 株式会社电装 Gas sensor

Similar Documents

Publication Publication Date Title
US11132659B2 (en) Tamper detection
US3931504A (en) Electronic data processing security system and method
US10032019B2 (en) System, method, and computer program product for detecting access to a memory device
US7343496B1 (en) Secure transaction microcontroller with secure boot loader
US20070204173A1 (en) Central processing unit and encrypted pin pad for automated teller machines
US6957338B1 (en) Individual authentication system performing authentication in multiple steps
US7480931B2 (en) Volume mount authentication
WO1991017611A1 (en) Method and means to limit access to computer systems
US7454629B2 (en) Electronic data processing device
CN112580758A (en) Tool cabinet
JPS60201436A (en) Illegal use preventing device of off-line program
CN110188578A (en) A kind of method and apparatus of automatic shield information
US20130268934A1 (en) Dynamic method for controlling the integrity of the execution of an executable code
EP0236412B1 (en) Secure computer system
CN116723123B (en) Method, terminal and storage medium for checking and managing safety configuration of industrial control host
CN101510239B (en) Information processing system and information processing method
CN110221143A (en) A method, device, and computer equipment for soft error screening of a device under test
US7593258B2 (en) Protection of the flow of a program executed by an integrated circuit or of data contained in this circuit
JP2003233790A (en) Digital circuit component protection method and protection configuration
TWI858869B (en) System and method for counterfeit detection of applications on ios
JP2000181870A (en) Portable electronic device, failure detection method
JPS62106552A (en) Loop detector
Rushinek et al. Performance monitoring tools for computer systems: Hardware, software, firmware and hybrid controls
Chastain Security vs Performance
CN106600846A (en) Self-service terminal safety control method and apparatus and self-service terminal