CN1102262C - Method for protection of hard disc based on computer main board fixation memory device - Google Patents

Method for protection of hard disc based on computer main board fixation memory device Download PDF

Info

Publication number
CN1102262C
CN1102262C CN99100704A CN99100704A CN1102262C CN 1102262 C CN1102262 C CN 1102262C CN 99100704 A CN99100704 A CN 99100704A CN 99100704 A CN99100704 A CN 99100704A CN 1102262 C CN1102262 C CN 1102262C
Authority
CN
China
Prior art keywords
hard disk
present
software
bios
int13h
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.)
Expired - Fee Related
Application number
CN99100704A
Other languages
Chinese (zh)
Other versions
CN1225475A (en
Inventor
金立
万长青
刘介元
韩冬
张建辉
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN99100704A priority Critical patent/CN1102262C/en
Publication of CN1225475A publication Critical patent/CN1225475A/en
Application granted granted Critical
Publication of CN1102262C publication Critical patent/CN1102262C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

The present invention relates to a method for protecting a hard disk based on a computer main board hardened memory. System software for protecting the hard disk and a computer main board BIOS are combined and are stored in a main board FLASHROM and resides in a BIOSROM, an administrator mode and a user mode are divided in a program, and a backup region which can not be seen by users and application software is arranged on the hard disk. Through the fact that an INT13H entrance pointing address in an interrupt vector table is modified, the present invention points to a resident program of the software of the present invention in a corresponding interrupt request and does not directly point to an INT13H function routine of a standard BIOS.

Description

Solidify the hard disk protecting method of storer based on computer motherboard
The present invention relates to a kind of hard disk protecting method that solidifies storer based on computer motherboard.
Today, the computer operating system that people use always becomes increasingly complex, and is more and more huger, tens megabyte at least, hundreds of at most megabyte.It is also more and more higher to operating personnel's technical requirement, and misoperation, or infected by computer virus a little just might cause system crash.Sometimes the destruction of critical system file or lose can make system recovery very the difficulty.Especially in the computer teaching environment, the destruction of operating system and system core parameter (as the parameter among the CMOS), the thing that the infected by computer virus right and wrong are usually seen are faced tens up to a hundred computing machines, and managerial personnel are often unable to do what one wishes.And for the general computer operator of enterprises and institutions, it also is extremely general thing that maloperation and virus cause system normally not move.Present solution is disk format normally, with the antivirus software virus killing, reinstalls system, often causes loss of data and do like this, and wastes time and energy, and non-technical personnel can't be finished, and brings great inconvenience to the user.To this; some companies have designed hard disk protecting card; be generally the isa bus interface; what have need receive the signal wire of hard disk on the protection card; the preceding adapter by the entry address of revising INT13H of system bootstrap controlled the read-write operation of hard disk; all operations to hard disk all need to handle through protection card like this, to reach the purpose of protection hard disk.Also have some companies to design hard disk protection software; it is by revising the normal boot of operating system position in the hard disk boot sector; change the boot of hard disk protection software into; the software of guiding hard disk protection earlier when system start-up; resident conventional memory; revise the inlet sensing address that INT13H and INT1/2/6/8/12/13/14 etc. interrupt; jump to the resident entry address of hard disk protection software appointment; simultaneously; by simple operation hard disk partition table, FAT, root directory; the Virtual Realization hard disk read-write operations, and do not do the purpose that data backup reaches the protection hard disk.
Above-mentioned two kinds of schemes, the needs that have add the ISA card, not only the cost height, the height to 500 that has, 600 yuan, and the part address space of the C8000 that will take the Shadow district during system start-up in the D7FFF section, can not adapt to all mainboards, often cause conflict and cause and can not guide; The needs that have are revised normal booting operating system district, FAT table, root directory reaches the protection purpose.The defence program of pure software mode will be stored in the designated sector of hard disk, is destroyed easily; In a single day its FAT table is easy to occur entanglement in logic, can't repair and have problem, total system will collapse also.Because having revised hard disk boot section, hard disk partition table, FAT, root directory has caused serious compatible hidden danger.In addition, similar protection card and software in the existing market all need resident conventional memory, be easy to be used as virus sweep by common antivirus software, and at this moment user's operation just can not obtain any protection.More than these defectives all the normal operation of operating system and application program has been constituted very big threat, its security is very doubtful.In addition, they mostly do not support the FAT32 file layout.
The object of the present invention is to provide a kind of new hard disk protection solution, overcome the defective that exists in the above-mentioned prior art based on computer motherboard curing storer.
Method provided by the invention realizes protection to hard disk by following steps: (1) together writes Hardisk protecting system software of the present invention among the mainboard curing storer Flashrom with computer motherboard BIOS, and itself and computer BIOS are combined together naturally; (2) behind the BIOS initialization system, guide the E0000H-F0000H address field in the automatic resident BIOS ROM Shadow of the Hardisk protecting system software of the present invention district; (3) inlet of revising INT13H in the interrupt vector table points to the address, makes it point to Hardisk protecting system software resident program of the present invention when the respective interrupt request, rather than directly points to the INT13H function routine of standard BIOS; (4) operation Hardisk protecting system software of the present invention is offered in hard disk user and the sightless backup area of application software; (5) divide administrator mode and user model, in administrator mode, can carry out the backup of fdisk, carry out read-write operation to hard disk; And under user model, the disk physical address parameter in the resident program monitoring INT13H function routine makes it to visit backup area.
Advantage or good effect that the present invention is compared with prior art had are:
Safe: at first, the hard-disk system kernel software is adjusted parameter according to different mainboards, together writes mainboard with computer motherboard BIOS and solidifies among the storer Flashrom, combines together naturally with computer BIOS, and enjoys same priority with BIOS.Before booting operating system, this program of vector preferably resides in E0000H to the F0000H section in the special-purpose Shadow of mainboard BIOS district with watchdog routine, and any antivirus software and application program all can not be visited.Therefore, do not need to revise normal hard disk boot section, hard disk partition table, FAT, root directory, thereby have very high reliability and security.Secondly, this software has been done the identical backup of a cover respectively and has also been protected at data in hard disk partition table, FAT1/2, the data field and the parameter among the CMOS.The 3rd, divide administrator mode and user model.In administrator mode, the user can carry out the backup of fdisk, to the hard disk write data.And under user model, application program all will be protected the monitoring of program to the read-write of hard disk, and any hard disk read-write operations that the user carries out can not write backup area.
With low cost: the present invention adopts the pure software mode, together produces with mainboard, does not need extra integrated circuit board and other storage mediums, and cost is all lower than any similar products in the existing market.
Use simple: the user does not need to understand advanced computer technology, only need be according to the prompting menu, select operating mode (administrator mode or user model), change password, selection subregion carry out back up or restore, perhaps press shortcut and just can make system partitioning return to the state of last backup when system start-up.
Function is strong: its characteristics are
1, supports FAT16, FAT32 zoned format;
2, full Chinese interface is succinct practical;
Restart before the hard disk guiding of back, enter menu of the present invention (adding the level password protection), following option is arranged by hot key:
This program of operation shows master menu.
1. back up specified partition and CMOS parameter
2. recover specified partition and CMOS parameter
3. modification administrator's password
4. entrance management person's pattern
5. unloading protecting system
3. establish level password, realize supervisor level management---renewal and the recovery of the image recovery of system region, the content update of MIRROR SITE, CMOS by password;
4. have in the time of to read and write data backup area, warning is provided;
5. this hard-disk system protection software can unload safely.
Anti-virus: software of the present invention is protected CMOS, motherboard flash Rom data; virus to the destruction hardware that comprises present virus CIH all can effectively be taken precautions against; as long as the user guarantees file, the data when backup and does not contain virus; even infected by computer virus just can also be removed virus by recovery system as long as the user presses the recovery shortcut when starting computing machine later on.
Below specific embodiments of the present invention are given to describe in detail
At first, by hard disk planning instrument,, when the planning hard disk, tell a backup area that has only software of the present invention to discern specially as FDISK Utility.When the 64Byte hard disk partition table in any other FDISK instrument modification hard disk master boot record, the resident program of software of the present invention all can report to the police and forbid to revise.
It will be realized: 1. the backup area to user's appointment adds special marking in hard disk partition table, makes it right
The user is invisible.
2. dividing one section address space identical with the user definition subregion from disk backups
The district.
Others are the same with existing FDISK instrument.Secondly, revise INT13H: point to address (Entry Point) by the inlet of revising INT13H in the interrupt vector table (Interrupt Vector Table), make it when the respective interrupt request, be directed to the resident program of software of the present invention, rather than directly point to the INT13H function routine Fuctions of standard BIOS.Once more, resident program: software resident program of the present invention is that the boot of software of the present invention will guide the address field E0000H-F0000H of this program residence at the special-purpose primary memory of ROMBIOS when giving software of the present invention with control behind the BIOS initialization system.Common in the market application program, antivirus software and the virus data in all can not this address field of access.Thereby more any other hard disk protecting method is safer and more reliable.
Comprised the I/O monitoring of external storage, input-output device in the resident program, menu interface, fdisk and CMOS backup; fdisk and CMOS recover, administrator's password, the unloading of protection software; administrator mode, user model is to the protection of backup subregion and CMOS etc.Below be software boot flow figure of the present invention:
Figure C9910070400061
The Backup Data method of operating is as follows in the present invention: (# is a comment section)
The process of restore data is as follows in the present invention:
Figure C9910070400091
In the present invention, administrator mode is the notion with respect to user model.Under user model, the user can only carry out read-write operation to visible partition, can not visit backup area.Disk physical address parameter among resident program monitoring INT13HFuction02H, 03H, 05H, 08H, 0CH, the 12H etc. makes it to visit backup area.And under administrator mode, cancel above-mentioned restriction, and simultaneously or backup to backup area when the guidance system next time to user's hard disk write operation.
Protection software unloading among the present invention: the distinctive mark of cancellation backup subregion during unloading; recover the normal entry address of INT13H; recovery operation system main partition record, main bootstrap program, CMOS parameter return to backed up data in the alternate sector in the corresponding subregion of hard disk.With among the CMOS corresponding to the switch parameter zero setting of this program, preservation is withdrawed from, after the guiding, all recover normal once more.

Claims (1)

1. one kind solidifies the hard disk protecting method of storer based on computer motherboard, it is characterized in that may further comprise the steps:
(1) Hardisk protecting system software of the present invention and computer motherboard BIOS are together write among the mainboard curing storer Flashrom;
(2) behind the BIOS initialization system, guide the E0000H-F0000H address field in the automatic resident BIOS ROM Shadow of the Hardisk protecting system software of the present invention district;
(3) inlet of revising INT13H in the interrupt vector table points to the address, makes it point to Hardisk protecting system software resident program of the present invention when the respective interrupt request, rather than directly points to the INT13H function routine of standard BIOS;
(4) operation Hardisk protecting system software of the present invention is offered in hard disk user and the sightless backup area of application software;
(5) divide administrator mode and user model, in administrator mode, can carry out the backup of fdisk, carry out read-write operation to hard disk; And under user model, the disk physical address parameter in the resident program monitoring INT13H function routine makes it to visit backup area.
CN99100704A 1999-02-10 1999-02-10 Method for protection of hard disc based on computer main board fixation memory device Expired - Fee Related CN1102262C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN99100704A CN1102262C (en) 1999-02-10 1999-02-10 Method for protection of hard disc based on computer main board fixation memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN99100704A CN1102262C (en) 1999-02-10 1999-02-10 Method for protection of hard disc based on computer main board fixation memory device

Publications (2)

Publication Number Publication Date
CN1225475A CN1225475A (en) 1999-08-11
CN1102262C true CN1102262C (en) 2003-02-26

Family

ID=5270157

Family Applications (1)

Application Number Title Priority Date Filing Date
CN99100704A Expired - Fee Related CN1102262C (en) 1999-02-10 1999-02-10 Method for protection of hard disc based on computer main board fixation memory device

Country Status (1)

Country Link
CN (1) CN1102262C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100392593C (en) * 2006-05-12 2008-06-04 张健 Method for protecting hard disk last partition

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1308846C (en) * 2002-12-16 2007-04-04 联想(北京)有限公司 Method and apparatus for realizing protection of computer operation system in hard disk
CN102736983B (en) * 2011-04-14 2016-05-25 上海华虹集成电路有限责任公司 Control the method for smart card FLASH space size

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1124377A (en) * 1995-12-21 1996-06-12 沈阳工业高等专科学校工矿备件公司 Hard disk information protective technology and equipment for micro computer
CN1173669A (en) * 1997-07-31 1998-02-18 周恽 Method and appts. of transparent protection for computer rigid disk storage contents
TW337011B (en) * 1997-08-06 1998-07-21 Jyh-Yeong Lay Protective recovery card for hard disk system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1124377A (en) * 1995-12-21 1996-06-12 沈阳工业高等专科学校工矿备件公司 Hard disk information protective technology and equipment for micro computer
CN1173669A (en) * 1997-07-31 1998-02-18 周恽 Method and appts. of transparent protection for computer rigid disk storage contents
TW337011B (en) * 1997-08-06 1998-07-21 Jyh-Yeong Lay Protective recovery card for hard disk system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100392593C (en) * 2006-05-12 2008-06-04 张健 Method for protecting hard disk last partition

Also Published As

Publication number Publication date
CN1225475A (en) 1999-08-11

Similar Documents

Publication Publication Date Title
EP1434135B1 (en) Method for backing up and recovering data in the hard disk of a computer
US6915420B2 (en) Method for creating and protecting a back-up operating system within existing storage that is not hidden during operation
US6594780B1 (en) Operating system and data protection
US9400886B1 (en) System and method for using snapshots for rootkit detection
US7519806B2 (en) Virtual partition for recording and restoring computer data files
CN100389408C (en) Fixed disk data enciphering back-up and restoring method
JP3737741B2 (en) Method and apparatus for creating backup copy
EP0516682B1 (en) Method and apparatus for controlling access to and corruption of information in computer systems
US5432939A (en) Trusted personal computer system with management control over initial program loading
US7313718B2 (en) System and method for the prevention of corruption of networked storage devices during backup data recovery
US5291600A (en) Recovery of in-core disk data
WO2000020971A1 (en) Recovery of file systems after modification failure
US7222135B2 (en) Method, system, and program for managing data migration
CN107450964B (en) Method for discovering whether vulnerability exists in virtual machine introspection system
CN1091843A (en) The trusted personal computer system that has identification code
CN103810422A (en) Safety virtualization isolation method based on mirror image intelligent management
GB2412481A (en) Expandable network attached storage system with archive facilities
CN100573480C (en) A kind of hard disk data protection method and system
CN102930201A (en) Method and device for processing rogue program of master boot record
CN101853338A (en) Safe computer system for system disk fixation
KR100376435B1 (en) Apparatus and method for protecting data on computer hard-disk and computer readable recording medium having computer readable programs stored therein for causing computer to perform the method
CN1102262C (en) Method for protection of hard disc based on computer main board fixation memory device
WO1993013477A1 (en) Computer protection device
KR102145358B1 (en) Method and computer-readable medium emboding program for protecting data integrity of disk in alternate operating system environment
CN100424652C (en) Had disk self-recovery protecting method based on embedded operation system

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20030226

Termination date: 20100210