摘要
针对硬盘保护卡本身存在的缺点,从硬盘主引导扇区的结构出发,详细分析了硬盘主引导扇区的结构和主引导程序每个环节的工作过程,包括设置寄存器和堆栈、转移代码、异或编码分区表、搜索可启动分区、读取引导扇区以及验证引导扇区;同时,利用硬盘主引导扇区本身的特点,结合异或编码的简易性和高效性给硬盘主引导程序增加了防软盘启动功能,并生成了相应的程序。研究结果表明,异或编码在安全强度和时间消耗方面都有良好的表现。
From the structure of the master boot sector, with respect to the disadvantages of the protection card for the harddisk in itself, each sector's work process of the master boot program for the harddisk is analyzed in detail as well as the structure of the master boot sector, which includes setting registers and stacks, moving code, coding the partition table with XOR, searching boot partition, reading and verifying boot sector. Meanwhile, a new function is added to the master boot program with relative program making use of the characteristics of the master boot sector itself, together with the facility and the efficiency of XOR coding. The result of research shows the advantages of XOR coding in security and timeliness.
出处
《计算机工程与设计》
CSCD
北大核心
2006年第11期2070-2072,共3页
Computer Engineering and Design
关键词
主引导扇区
主引导程序
硬盘保护
异或编码
防软盘启动
master boot sector
master boot program
hard disk protection
XOR coding
preventing start-up from floppy disk