JPH06149681A - Circuit and method for protecting hard disk and floppy disk from computer virus - Google Patents

Circuit and method for protecting hard disk and floppy disk from computer virus

Info

Publication number
JPH06149681A
JPH06149681A JP3209602A JP20960291A JPH06149681A JP H06149681 A JPH06149681 A JP H06149681A JP 3209602 A JP3209602 A JP 3209602A JP 20960291 A JP20960291 A JP 20960291A JP H06149681 A JPH06149681 A JP H06149681A
Authority
JP
Japan
Prior art keywords
disk
program
floppy disk
protection
hard
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
JP3209602A
Other languages
Japanese (ja)
Inventor
Song-Kyu Kim
キュ キム ソン
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.)
QUNIX COMPUTER CO Ltd
Original Assignee
QUNIX COMPUTER CO Ltd
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 QUNIX COMPUTER CO Ltd filed Critical QUNIX COMPUTER CO Ltd
Publication of JPH06149681A publication Critical patent/JPH06149681A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/16Protection against loss of memory contents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

(57)【要約】 (修正有) 【目的】 ディスク内のデータ(情報)がウイルスプロ
グラムにより破壊されないようにする。 【構成】 アドレスデコーダ手段及びデータバスに連結
されていて保護プログラムを貯蔵する手段、保護プログ
ラムにより利用されるバッファーメモリ手段、並びに保
護プログラムが動作されないままハード及びフロッピー
ディスクコントローラが直接使用されるのを監視する動
作感知手段を有し、動作感知回路がディスエイブルされ
た後要求される機能中ディスクに直接影響を与える初期
化機能及び書込み機能時にのみ選択する第1段階、保護
プログラムを使用すべきかを判断する第2段階、ディス
クの状態及び要求された書き領域を判別する第3段階、
並びに第3段階の状態によってプログラムを継続すべき
か否かを判断して処理する第4段階により、ディスクに
貯蔵された情報がウイルスプログラムにより破壊されな
いようにする。
(57) [Summary] (Correction) [Purpose] To prevent data (information) on the disk from being destroyed by virus programs. An address decoder means and a means for storing a protection program connected to a data bus, a buffer memory means used by the protection program, and a hard and floppy disk controller are directly used without the protection program being operated. The first step of having a motion sensing means for monitoring and selecting only during the initialization function and the write function which directly affects the disk during the function required after the motion sensing circuit is disabled, whether the protection program should be used or not. The second step of judging, the third step of judging the state of the disc and the requested writing area,
In addition, according to the state of the third step, it is determined whether the program should be continued or not and the fourth step is performed to prevent the information stored in the disk from being destroyed by the virus program.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はコンピューターウイルス
からハードディスクやフロッピーディスクを保護する回
路及び上記回路を利用した保護方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit for protecting a hard disk or a floppy disk from a computer virus and a protection method using the circuit.

【0002】コンピューター時代が到来しながらコンピ
ューターが正常に機能することを妨害するプログラム
(一名“コンピューターウイルス”という)等が出現し
て煩わしくなった。
With the advent of the computer age, a program (referred to as a “computer virus”) that interferes with the normal functioning of a computer has appeared and has become annoying.

【0003】コンピューターウイルスはすでに誰かによ
り作成されたプログラムであって、ディスクに貯蔵され
ていたものがコンピューターを作動するとコンピュータ
ーの主メモリ装置に移行して、そのコンピューターで用
いるディスクのデータを破壊してディスク全体又は一部
を使えないようにしたり、プログラム遂行に悪影響を及
ぼす。
A computer virus is a program that has already been written by someone, and the program stored in the disk moves to the main memory device of the computer when the computer is activated and destroys the data on the disk used by the computer. It disables the whole or part of the disk, and adversely affects program execution.

【0004】[0004]

【従来の技術】従来のコンピューターウイルス退治方法
を説明すれば次の通りである。
2. Description of the Related Art A conventional method for eliminating computer viruses is as follows.

【0005】プログラムやディスケットを用いる前に予
めウイルスを検査しうるプログラムでウイルス感染され
たか否かを判断したり、ウイルス感知プログラムをシス
テムに常住させてウイルス感染を検査する方法を用いた
が、これらの方法は運用体制(オペレーションシステ
ム)(以下、簡単に“OS”という)が駆動されてのみ
活用することができるため、OSと共に感染される場
合、防ぐ方法がなく、ウイルスプログラムが若干変わっ
てもウイルス感知プログラムがこれを感知できず、新規
ウイルスに対する対策がなく、ウイルスを検査するため
に遂行しなければならない過程が大変であった。更に、
ハードディスクシステムにウイルス検査プログラムを内
蔵して置き、OSブーティング(booting)時に検査する
ようにしておいてもフロッピーディスクを通じてブーデ
ィングするときには対策がなく、一旦システムがウイル
スに感染されると使用するハード及びフロッピーディス
クの感染を防ぐことができない問題点があった。
Before using a program or diskette, a method capable of inspecting a virus in advance is used to determine whether or not a virus has been infected, and a method for resident a virus detection program in the system to inspect a virus is used. This method can be used only when the operating system (hereinafter simply referred to as "OS") is driven, so there is no way to prevent it from being infected with the OS, even if the virus program changes slightly. The virus detection program could not detect this, there was no countermeasure against the new virus, and the process that had to be performed to inspect the virus was difficult. Furthermore,
Even if a hard disk system has a built-in virus check program and it is checked during OS booting, there is no countermeasure when booting through a floppy disk, and the hardware used once the system is infected by a virus. Also, there is a problem that the infection of the floppy disk cannot be prevented.

【0006】[0006]

【発明が解決しようとする課題】上記のような問題点を
解決するために案出した本発明は、ハード及びフロッピ
ーディスクの特性を利用して貯蔵したデータ(情報)が
ウイルスプログラムにより破壊されないよう根本的に対
処するハード及びフロッピーディスク保護回路と、上記
回路を利用したハード及びフロッピーディスク保護方法
を提供することにその目的がある。
SUMMARY OF THE INVENTION The present invention devised to solve the above problems prevents data (information) stored by utilizing the characteristics of a hard disk and a floppy disk from being destroyed by a virus program. It is an object of the present invention to provide a hard and floppy disk protection circuit that fundamentally deals with the problem, and a hard and floppy disk protection method using the above circuit.

【0007】[0007]

【課題を解決するための手段】本発明は上記目的を達成
するために、コンピューターシステムのウイルスプログ
ラムからハード及びフロッピーディスクを保護する回路
において、アドレスバスに連結されており、選択信号を
出力するアドレスデコーダ手段と、上記アドレスデコー
ダ手段及びデータバスに連結されていて保護プログラム
を貯蔵する手段と、上記アドレスデコーダ手段及びデー
タバスに連結されていて上記保護プログラムにより利用
されるバッファ−メモリ手段と、上記アドレスデコーダ
手段とデータバスに連結されていて上記保護プログラム
が動作されないままハード及びフロッピーディスクコン
トローラが直接使用されるのを監視する動作感知手段と
からなり、貯蔵された情報がウイルスプログラムにより
破壊されないよう根本的に対処することを特徴とし、上
記回路を利用したハード及びフロッピーディスク保護方
法において、動作感知回路がディスエイブルされた後要
求される機能中ディスクに直接影響を与える初期化機能
及び書込み機能時にのみ選択する第1段階と、保護プロ
グラムを使用すべきかを判断する第2段階と、ディスク
の状態及び要求された書き領域を判別する第3段階と、
第3段階の状態によってプログラムを継続すべきが否か
を判断して処理する第4段階とを含み、ディスクに貯蔵
された情報がウイルスプログラムにより破壊されないよ
う根本的に対処することを特徴とする。
In order to achieve the above object, the present invention provides an address which is connected to an address bus and outputs a selection signal in a circuit for protecting a hard disk and a floppy disk from a virus program of a computer system. Decoder means, means for storing a protection program connected to the address decoder means and the data bus, buffer-memory means connected to the address decoder means and the data bus and used by the protection program, The address decoder means and the operation sensing means connected to the data bus to monitor the direct use of the hard disk and the floppy disk controller without the protection program being operated, so that the stored information is not destroyed by the virus program. In the method for protecting hard and floppy disks using the above circuit, the method for protecting the hard disk and the floppy disk using the above-mentioned circuit is performed at the time of the initialization function and the write function that directly affect the functioning disk after the operation sensing circuit is disabled. A first step of selecting only, a second step of determining whether a protection program should be used, a third step of determining the state of the disk and a required writing area,
And a fourth step of processing by judging whether or not the program should be continued according to the state of the third step, and fundamentally coping with that the information stored in the disk is not destroyed by the virus program. .

【0008】[0008]

【実施例】以下、添付図面を参照して本発明を詳細に説
明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the accompanying drawings.

【0009】図1は本発明を適用したコンピューターシ
ステムの構成を概略的に示すブロック図で、図中、10
0は中央処理装置(CPU)、200はシステムROM
バイオス(BIOS:ベーシック インプット アウト
プット システム)、300はシステムメモリ、400
は本発明によるハード及びフロッピーディスク保護回路
を夫々に示し、上記本発明の保護回路400は、図示の
如く、システムと連結されてブーティング時に拡張RO
M BIOS実行時と同様の形態で初期化部分が実行さ
れて、ディスク保護時に必要な情報を設定して保護プロ
グラムのフローを制御する処理プログラムがディスク処
理プログラムより先に遂行されるように設置する。
FIG. 1 is a block diagram schematically showing the configuration of a computer system to which the present invention is applied.
0 is a central processing unit (CPU), 200 is a system ROM
Bios (BIOS: Basic Input Output System), 300 is system memory, 400
Shows a hard disk and floppy disk protection circuit according to the present invention, respectively, and the protection circuit 400 of the present invention is connected to the system as shown in FIG.
The initialization part is executed in the same manner as when the M BIOS is executed, and the processing program that sets necessary information at the time of disk protection and controls the flow of the protection program is installed so as to be executed before the disk processing program. .

【0010】図2はハード及びフロッピーディスクの構
造を示し、図中、aはデータ領域、bは情報領域を示
す。上記情報領域bは更にディレクトリー(Directory)
フィードCと、ファイル割当て(Allocation) テーブル
d、及びディスク情報領域eに区分される。ディスク情
報領域eは該当ディスクの物理的情報を保管する領域で
あり、ファイル割当てテーブル領域dはデータ領域aに
ファイル等がどのような構造で貯蔵されているのかを示
し、ファイル等を判別したり、ファイル等が連結された
状態及び不良なデータ領域等に対する特別なコードを使
用する。
FIG. 2 shows the structures of a hard disk and a floppy disk, where a is a data area and b is an information area. The information area b is further a directory (Directory)
It is divided into a feed C, a file allocation table d, and a disc information area e. The disk information area e is an area for storing the physical information of the corresponding disk, and the file allocation table area d shows the structure in which files and the like are stored in the data area a to discriminate the files and the like. , Special codes are used for linked files and bad data areas.

【0011】ディレクトリフィードcはファイル名、フ
ァイルが作られた日付、ファイルの大きさ、ファイル割
当テーブルで該ファイルに関連された情報、ファイル属
性等で構成されている。
The directory feed c is composed of a file name, a date when the file was created, a size of the file, information related to the file in the file allocation table, a file attribute and the like.

【0012】そして、上記3領域c,d,eは夫々の特
徴により適切なデータであるのか不適切なデータである
のかを区分することができる。
The above three areas c, d, and e can be classified as appropriate data or inappropriate data according to their respective characteristics.

【0013】しかし、データ領域aは妥当なデータであ
るのか否かを全く区分することができない。けれども、
上記の全ての領域を書き禁止及び初期化禁止をさせ、疑
わしいプログラムを使用することによりウイルスの微候
があるかを検査することができる。
However, whether or not the data area a is valid data cannot be divided at all. However,
It is possible to inspect whether there is a symptom of a virus by prohibiting writing and initialization in all the above areas and using a suspicious program.

【0014】図3は本発明によるハード及びフロッピー
ディスクをウイルスから保護する回路の概略的な構成を
示すブロック図であって、410は拡張バス、420は
アドレスバスデコーダ部、430は保護プログラムが入
っているROM BIOS部、440は保護プログラム
が使用するバッファーメモリー部、450は動作感知回
路部を夫々示す。
FIG. 3 is a block diagram showing a schematic structure of a circuit for protecting a hard disk and a floppy disk from a virus according to the present invention. 410 is an expansion bus, 420 is an address bus decoder section, and 430 is a protection program. The ROM BIOS section 440, a buffer memory section 440 used by the protection program, and 450 an operation sensing circuit section.

【0015】本発明の保護回路は、図1に示す通り、コ
ンピューターシステムに連結されて動作するものであっ
て、アドレスバスに連結されており、後端の各部を選ぶ
アドレスデコーダ部420と、上記アドレスデコーダ部
420の出力端及びデータバスに連結されていて保護プ
ログラムが入っているROM BIOS部430と、上
記アドレスデコーダ部420の出力端及びデータバスに
連結されていて上記保護プログラムの動作時に必要なバ
ッファー用メモリ部440と、上記アドレスデコーダ部
420の出力端及びデータバスに連結されていて上記保
護プログラムやディスクコントロールプログラムが動作
しないままハード及びフロッピーディスクコントローラ
(図示せず)が直接用いられることに対処した動作感知
回路部450とから構成される。
As shown in FIG. 1, the protection circuit of the present invention is connected to a computer system to operate, is connected to an address bus, and has an address decoder unit 420 for selecting each unit at the rear end, and the above-mentioned unit. A ROM BIOS section 430 connected to the output terminal of the address decoder section 420 and the data bus and containing a protection program, and a ROM BIOS section 430 connected to the output terminal of the address decoder section 420 and the data bus and required when the protection program operates. A hard and floppy disk controller (not shown) is directly connected to the buffer memory section 440, the output terminal of the address decoder section 420, and the data bus so that the protection program and the disk control program do not operate. From the motion sensing circuit unit 450 that dealt with Composed.

【0016】上記動作感知回路部450は図4に示す通
り、アドレスデコーダ部420及びデーダバスに連結さ
れて動作完了信号を感知すべきかを選択するフリップフ
ロップ451と、上記フリップフロップ451出力端及
び拡張バス410に連結されて選択的に動作完了信号
(インタラプト アクナレッジ)を入力し、NMI(ノ
ンマスカブル インタラプト)信号又は多種のインタラ
プト信号、若しくは類似の機能を利用する信号を出力す
るANDゲート452で構成され、ディスクコントロー
ルプログラムや保護プログラムが動作するときには監視
機能を停止し、休止状態で上記コントローラが直接動作
するときにはNMI、又は多種のインタラプト信号、若
しくは類似の機能を利用する信号が呼び出されるよう保
護プログラムが有しているNMI、又は多種のインタラ
プト信号、若しくは類似の機能を利用する信号処理部分
で使用者に警告を発したり、システムを停止させるよう
にする。図5は上記のような本発明を適用したコンピュ
ーターシステムのハード及びフロッピーディスク動作図
であって、10は応用プログラムが遂行されるブロッ
ク、20は本発明による保護プログラムが遂行されるブ
ロック、30はハード及びフロッピーディスクコントロ
ールプログラムが遂行されるブロック、40はハード及
びフロッピーディスクコントローラが動作するブロッ
ク、50はハード及びフロッピーディスクが駆動するブ
ロック、60は本発明のハードウェアが動作監視機能を
遂行するブロックを夫々示し、図面における点線部分は
本発明で追加された部分を示す。
As shown in FIG. 4, the operation detecting circuit unit 450 is connected to the address decoder unit 420 and the data bus to select whether to detect the operation completion signal, a flip-flop 451 and an output terminal of the flip-flop 451 and an expansion bus. An AND gate 452 is connected to 410 to selectively input an operation completion signal (interrupt acknowledge) and output an NMI (non-maskable interrupt) signal or various interrupt signals, or a signal using a similar function, When the disk control program or the protection program operates, the monitoring function is stopped, and when the controller directly operates in the hibernation state, the protection program is provided so that NMI, various interrupt signals, or signals using similar functions are called. do it That NMI, or various interrupt signals or or alert the user by a signal processing portion to use the similar functions, and so as to stop the system. 5 is an operation diagram of a hard disk and a floppy disk of a computer system to which the present invention is applied as described above. 10 is a block in which an application program is executed, 20 is a block in which a protection program according to the present invention is executed, and 30 is a block. A block for executing a hard disk and floppy disk control program, a block for operating a hard disk and a floppy disk controller, a block for driving a hard disk and a floppy disk, and a block for executing hardware operation monitoring function of the present invention. And the dotted line portion in the drawing shows the portion added in the present invention.

【0017】応用プログラムやウイルスプログラムは、
本発明の保護機能プログラムを通じてハード及びフロッ
ピーディスクコントロールプログラムを使用するように
なり、コントロール動作時に動作完了信号で発生する信
号をウイルス感知プログラムが感知し、保護プログラム
を通じなくハードやフロッピーディスクを直接使用する
場合も感知し出す。
Application programs and virus programs are
The hard disk and floppy disk control programs are used through the protection function program of the present invention, and the virus detection program detects the signal generated as the operation completion signal during the control operation and directly uses the hard disk or the floppy disk without the protection program. It also detects when.

【0018】本発明の保護プログラムはハード及びフロ
ッピーディスクコントロールプログラム中にこれらディ
スクに影響を与えるディスク初期化機能、書込み機能の
みを検査して正しい形態の動作であるのか又は適切なデ
ータが書かれているのかを検査して、そうでない場合は
使用者に警告を送ったりシステムを停止することによ
り、コンピューターウイルスに感染されたりシステムが
破壊されるのを防止するが、次の図6を通じて更に詳細
に説明する。
The protection program of the present invention checks the disk initialization function and the writing function which affect these disks during the hard disk and floppy disk control programs to check whether the operation is in the correct form or proper data is written. In order to prevent the computer from being infected with computer virus or the system being damaged by inspecting whether or not it is present, and by notifying the user or shutting down the system, see FIG. 6 in more detail. explain.

【0019】図6は本発明による保護プログラムとハー
ド及びフロッピーディスク制御プログラムのフロー図で
ある。
FIG. 6 is a flow chart of a protection program and a hard disk and floppy disk control program according to the present invention.

【0020】本発明の保護プログラムは、先ず動作感知
回路がディスエイブルされた後(21)、ディスクに影
響を与える初期化機能又は書込み機能時にのみ選択検査
して(22)、保護プログラムを使用すべきかを判断し
(23)、保護プログラム使用時に該ディスク全体が書
込み禁止であるのかを確かめて(24)、書込み禁止で
なければ要求される機能がどの領域の書込みであるのか
を判断し(25)、その領域が書込み禁止であればこれ
以上継続すべきかを確かめる(27)。上記の書き領域
判断(25)で書き領域がファイルリスト及びファイル
応用テーブル領域であれば、書込もうとするデータが適
正なデータであるかを確かめて(26)、適正なデータ
であればハード及びフロッピーディスク制御プログラム
を遂行し、そうでなければ継続すべきか否かを判断する
段階へ行く。そして、上記の書き領域判断25で書き領
域がデータ領域であれば直ちにハード及びフロッピーデ
ィスク制御プログラムへ越えて行き、ディスク情報領域
である場合は、継続すべきか否かの判断段階27へ進行
する。
According to the protection program of the present invention, after the motion sensing circuit is first disabled (21), a selective inspection is performed only at the initialization function or the write function affecting the disk (22), and the protection program should be used. If the protection program is used, it is checked (23) whether the entire disk is write-protected (24), and if it is not write-protected, it is judged which area the requested function is writing (25). ), If the area is write-protected, it is confirmed whether or not it should be continued (27). If the writing area is the file list and the file application table area in the writing area judgment (25), it is confirmed whether the data to be written is proper data (26). And executing the floppy disk control program, else go to the step of determining whether to continue. If the write area is the data area in the write area determination 25, the program immediately goes over to the hard disk and floppy disk control programs, and if the write area is the disk information area, the process proceeds to a determination step 27 as to whether or not to continue.

【0021】継続すべきか否かの判断段階27では、進
行が可能な場合、ハード及びフロッピーディスク制御プ
ログラムへ進行してサービスルーティング遂行(31)
後、動作感知回路をイネーブルさせるようにし、進行が
不可能であると判断されればシステムを停止28させる
ことにより、全ての遂行を完了する。
In the step 27 of deciding whether or not to continue, if the progress is possible, proceed to the hardware and floppy disk control program to perform the service routing (31).
Thereafter, the motion sensing circuit is enabled, and if it is judged that the progress is impossible, the system is stopped 28, thereby completing all the operations.

【0022】図7は上記のような保護プログラムが動作
しない状況でハードウェアが動作するのを感知して、継
続進行すべきかを判断して(72)、進行させたり(7
3)システムを停止する機能を遂行するNMI又は多種
のインターラプト信号や類似の機能を利用したプログラ
ムのフロー図を示す。
FIG. 7 shows that the hardware operates in the situation where the protection program as described above does not operate, and it is judged whether the operation should continue (72), and the operation proceeds (7).
3) A flow chart of a program using an NMI or various interrupt signals or similar functions for performing the function of stopping the system is shown.

【0023】[0023]

【発明の効果】上記の通り構成されて作動する本発明
は、次のような効果を有する。
The present invention constructed and operated as described above has the following effects.

【0024】(1)本発明の回路を既存のシステムに追
加して簡便にディスクを保護することができ、更にウイ
ルス感染有無を確かめることができる。
(1) The circuit of the present invention can be added to an existing system to easily protect a disk, and the presence or absence of virus infection can be confirmed.

【0025】(2)ハードウェア(ハード及びフロッピ
ーディスク)初期化時から保護プログラムが動作するた
め、安全性を向上させる。
(2) Since the protection program operates from the time of initializing the hardware (hardware and floppy disk), the safety is improved.

【0026】(3)ウイルスが変形されたり、新たなウ
イルスが作られても、新たな保護プログラムが必要でな
い。
(3) Even if the virus is modified or a new virus is created, a new protection program is not necessary.

【0027】(4)フロッピーやハードディスクブーデ
ィングに関係なく動作する。
(4) It operates regardless of floppy or hard disk booting.

【0028】(5)本発明の回路をコンピューターシス
テムに付加することにより、使用時に誤謬によるシステ
ム破壊を防止することができる。
(5) By adding the circuit of the present invention to a computer system, it is possible to prevent the system from being destroyed due to an error during use.

【0029】(6)運用体制(OS)に関係なく動作す
る。
(6) It operates regardless of the operating system (OS).

【0030】(7)継続的にウイルス侵入を監視して情
報保管の信頼性を向上させる。
(7) The virus intrusion is continuously monitored to improve the reliability of information storage.

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

【図1】本発明を適用したコンピューターシステムの構
成を概略的に示すブロック図である。
FIG. 1 is a block diagram schematically showing the configuration of a computer system to which the present invention is applied.

【図2】ハード及びフロッピーディスクの構造図であ
る。
FIG. 2 is a structural diagram of a hard disk and a floppy disk.

【図3】本発明によるハード及びフロッピーディスクの
保護回路の概略的な構成を示すブロック図である。
FIG. 3 is a block diagram showing a schematic configuration of a protection circuit for a hard disk and a floppy disk according to the present invention.

【図4】図3の動作監視回路部の詳細回路図である。4 is a detailed circuit diagram of an operation monitoring circuit unit in FIG.

【図5】本発明を適合したコンピューターシステムのハ
ード及びフロッピーディスク動作図である。
FIG. 5 is a hard disk drive and floppy disk operation diagram of a computer system to which the present invention is applied.

【図6】本発明による保護プログラムとハード及びフロ
ッピーディスク制御プログラムのフロー図である。
FIG. 6 is a flow diagram of a protection program and a hardware and floppy disk control program according to the present invention.

【図7】本発明によるNMIプログラムのフロー図であ
る。
FIG. 7 is a flow diagram of an NMI program according to the present invention.

【符号の説明】 10 応用プログラム 20 保護プログラム 30 ハード及びフロッピーディスク保護プログラム 40 ハード及びフロッピーディスクコントローラ 50 ハード及びフロッピーディスク駆動 60 ハード及びフロッピーディスク動作感知器 100 CPU 200 システムROM BIOS 300 システムメモリ 400 ハード/フロッピーディスク保護回路 410 拡張バス 420 アドレスデコーダー部 430 保護プログラムを内蔵したROM BIOS部 440 保護プログラムが用いるバッファーメモリ部 450 動作感知回路部 451 フリップフロップ 452 ANDゲート a データ領域 b 情報領域 c ディレクトリ領域 d ファイル割当てテーブル領域 e ディスク情報領域[Explanation of reference numerals] 10 application program 20 protection program 30 hard and floppy disk protection program 40 hard and floppy disk controller 50 hard and floppy disk drive 60 hard and floppy disk motion sensor 100 CPU 200 system ROM BIOS 300 system memory 400 hardware / Floppy disk protection circuit 410 Expansion bus 420 Address decoder section 430 ROM BIOS section with protection program 440 Buffer memory section used by protection program 450 Motion detection circuit section 451 Flip-flop 452 AND gate a Data area b Information area c Directory area d file Allocation table area e Disk information area

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 コンピューターシステムでウイルスプロ
グラムからハード及びフロッピーディスクを保護する回
路において;アドレスバスに連結されていて選択信号を
出力するアドレスデコーダ手段(420)と、 上記アドレスデコーダ手段(420)及びデーダバスに
連結されていて保護プログラムを貯蔵する手段(43
0)と、 上記アドレスデコーダ手段(420)及びデーダバスに
連結されていて上記保護プログラムにより利用されるバ
ッファ手段(440)とを含んで構成され、貯蔵された
情報がウイルスプログラムにより破壊されないよう根本
的に対処することを特徴とするハード及びフロッピーデ
ィスク保護回路。
1. A circuit for protecting a hard disk and a floppy disk from a virus program in a computer system; address decoder means (420) connected to an address bus and outputting a selection signal; the address decoder means (420) and a data bus. Means for storing protection programs connected to
0) and buffer means (440) connected to the address decoder means (420) and the data bus and used by the protection program, which is fundamental to prevent the stored information from being destroyed by a virus program. A hard disk and floppy disk protection circuit characterized by coping with.
【請求項2】 上記アドレスデコーダ手段(420)及
びデータバスに連結されていて、上記保護プログラムが
動作されないまま、ハード及びフロッピーディスクコン
トローラが直接使用されることを監視する動作感知手段
(450)を更に含み、貯蔵された情報がウイルスプロ
グラムにより破壊されないよう根本的に対処することを
特徴とする請求項1記載のハード及びフロッピーディス
ク保護回路。
2. A motion sensing means (450) connected to the address decoder means (420) and the data bus, for monitoring direct use of the hard disk and floppy disk controller without the protection program being operated. The hard disk and floppy disk protection circuit according to claim 1, further comprising: a fundamental measure to prevent stored information from being destroyed by a virus program.
【請求項3】 上記動作感知手段(450)はアドレス
デコーダ手段(420)及びデータバスに連結されたフ
リップフロップ(451)と、上記フリップフロップ
(451)出力端及び拡張バスに連結されたANDゲー
ト(452)で構成されて、保護プログラム微動作状態
下でハード及びフロッピーディスクコントローラが動作
するとき、使用者に警告を発したりシステムを停止する
ことを特徴とする請求項2記載のハード及びフロッピー
ディスク保護回路。
3. The operation sensing means (450) comprises a flip-flop (451) connected to an address decoder means (420) and a data bus, and an AND gate connected to an output terminal of the flip-flop (451) and an expansion bus. 3. The hard disk and floppy disk according to claim 2, wherein the hard disk and floppy disk are configured as (452), and when the hard disk and floppy disk controllers operate under the protection program fine operation state, a warning is given to the user and the system is stopped. Protection circuit.
【請求項4】 アドレスバスに連結されていて選択信号
を出力するアドレスデコーダ手段(420)と、上記ア
ドレスデコーダ手段及びデータバスに連結されていて保
護プログラムを貯蔵している手段(430)と、上記ア
ドレスデコーダ手段及びデータバスに連結されていて上
記保護プログラムにより利用されるバッファ手段(44
0)と、及び上記アドレスデコーダ手段及びデータバス
に連結されていてハード及びフロッピーディスクコント
ローラの動作を監視する動作感知手段(450)とを含
んで構成されるハード及びフロッピーディスク保護回路
を内蔵したコンピューターシステムのハード及びフロッ
ピーディスク保護方法において;動作感知回路がディス
エイブルされた後(21)、要求される機能中ディスク
に直接影響を与える初期化機能及び書込み機能時にのみ
選択する(22)第1段階と、 保護プログラムを使用すべきかを判断する(23)第2
段階と、 ディスクの状態(24)及び要求された書き領域を判別
する(25)第3段階と、 上記第3段階の状態によってプログラムを継続すべきか
を判断して(27)処理する第4段階とを含み、ディス
クに貯蔵された情報がウイルスプログラムにより破壊さ
れないよう根本的に対処することを特徴とするハード及
びフロッピーディスク保護方法。
4. An address decoder means (420) connected to the address bus for outputting a selection signal, and means (430) connected to the address decoder means and the data bus for storing a protection program. Buffer means (44) connected to the address decoder means and the data bus and used by the protection program.
0) and an operation sensing means (450) connected to the address decoder means and the data bus to monitor the operation of the hard and floppy disk controller, and a computer having a built-in hard and floppy disk protection circuit. In the system hard and floppy disk protection method; after the motion sensing circuit is disabled (21), select only during initialization and write functions that directly affect the functioning disk required (22), first step And determine if a protection program should be used (23) second
Stage, disc state (24) and discriminating required write area (25), third stage, and step 27, determining whether the program should continue depending on the state of the third stage (27) And a method for protecting a hard disk and a floppy disk, which is characterized by fundamentally preventing the information stored in the disk from being destroyed by a virus program.
【請求項5】 上記第3段階はディスク全体が書込み禁
止であるのかを判別する第1過程(24)と、 上記第1過程(24)でディスク全体の書込み禁止でな
い場合、どの領域の書込みを要求するのかを判別する第
2過程(25)と、 上記第2過程の書込み要求がファイルリスト及びファイ
ル応用テーブル領域であれば、適正なデータであるのか
を判断して(26)処理し、データ領域であれば直ちに
ハード及びフロッピー制御プログラムを遂行し、書込み
要求された領域がディスク情報領域であれば、継続すべ
きか否かの判断段階へ進行する第3過程により遂行され
ることを特徴とする請求項4記載のハード及びフロッピ
ーディスク保護方法。
5. The third step comprises a first step (24) of determining whether the entire disk is write-protected, and which area is written if the entire disk is not write-protected in the first step (24). A second step (25) of determining whether to request, and if the write request of the second step is a file list and file application table area, it is determined whether it is proper data (26) and the data is processed. If the area is an area, the hard and floppy control programs are immediately executed, and if the area requested to be written is the disk information area, the program is executed by a third step of advancing to a step of determining whether or not to continue. The method for protecting a hard disk and a floppy disk according to claim 4.
【請求項6】 上記第4段階は継続すべきか否かを判断
して(27)、継続可能であればハード及びフロッピー
制御プログラムを遂行し(31,32)、そうでないと
判断されれば、システムを停止させ(28)、該当ディ
スクを保護してデータが保全されるようにすることを特
徴とする請求項4記載のハード及びフロッピーディスク
保護方法。
6. The fourth step is to judge whether or not to continue (27), and if it can be continued, execute a hardware and floppy control program (31, 32), and if not, 5. The hard disk and floppy disk protection method according to claim 4, wherein the system is stopped (28) and the corresponding disk is protected so that data is preserved.
【請求項7】 上記第1段階遂行後、第2、第3段階が
進行されないまま、ハード及びフロッピーディスクコン
トローラが動作されるとき、これを感知してシステムの
継続/停止をすべきか否かを判断して処理する第5段階
を更に含むことを特徴とする請求項4記載のハード及び
フロッピーディスク保護方法。
7. When the hard and floppy disk controllers are operated without performing the second and third steps after the first step is performed, it is detected whether the system should be continued or stopped. The hard disk and floppy disk protection method according to claim 4, further comprising a fifth step of judging and processing.
JP3209602A 1990-08-22 1991-08-21 Circuit and method for protecting hard disk and floppy disk from computer virus Pending JPH06149681A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR12928/1990 1990-08-22
KR1019900012928A KR920010973B1 (en) 1990-08-22 1990-08-22 Circuitry and protection methods to protect hard and floppy disks from computer viruses

Publications (1)

Publication Number Publication Date
JPH06149681A true JPH06149681A (en) 1994-05-31

Family

ID=19302599

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3209602A Pending JPH06149681A (en) 1990-08-22 1991-08-21 Circuit and method for protecting hard disk and floppy disk from computer virus

Country Status (2)

Country Link
JP (1) JPH06149681A (en)
KR (1) KR920010973B1 (en)

Also Published As

Publication number Publication date
KR920010973B1 (en) 1992-12-26
KR920004984A (en) 1992-03-28

Similar Documents

Publication Publication Date Title
US5511184A (en) Method and apparatus for protecting a computer system from computer viruses
TW452733B (en) Method for preventing BIOS from viruses infection
JPWO2005024630A1 (en) Method and program for preventing illegal code
JP2000513471A (en) System for controlling access to registers mapped into an I/O address space of a computer system - Patents.com
US7430683B2 (en) Method and apparatus for enabling run-time recovery of a failed platform
US20170262341A1 (en) Flash memory-hosted local and remote out-of-service platform manageability
JPH06149681A (en) Circuit and method for protecting hard disk and floppy disk from computer virus
JP2000099372A (en) Computer system
JP3317361B2 (en) Battery backup control method for memory
CN1121012C (en) How to protect BIOS from being damaged by viruses
JPH05257815A (en) Central processing unit
JP2544536B2 (en) Method for determining the presence or absence of data in memory
JP2621799B2 (en) Computer virus infection monitoring and prevention method
JPH06324910A (en) Access detector for computer system
JPH05265864A (en) Memory management circuit and processor unit with memory management circuit
JP2002073375A (en) Software operation monitoring method in a system having a microcomputer
JPS60233743A (en) Fault detecting circuit of computer system
JP2786215B2 (en) Restart processing control method
JPS5920052A (en) Interruption control circuit of microcomputer system
JPH02166510A (en) Disk controller
CA2045225A1 (en) Method and apparatus for protecting a computer system from computer viruses
JPS59148200A (en) Detector of unfair writing
JPH01229335A (en) Computer system
JP2002082820A (en) Computer system for preventing processor runaway
JPH01169647A (en) Information processor