摘要
通过分析虚拟内存保护模式下特权保护原理,研究用户态应用程序特权级转换的一种途径———中断门;提出了在中断门中添加新的软件中断钩子扩展系统功能的方法,并给出用汇编语言编写软件中断钩子的代码;实际应用表明,在应用程序中只要内嵌该软件中断钩子,就可进入系统内核态,实现低特权代码访问高特权级资源。
The privilege protection principle in the virtual memory protected mode is analyzed, and an approach to privilege level transformation of the application in the user mode, the interrupt gate,is researched. It is put forward that new software interrupt hooks can be added in the interrupt gate so as to expand the system's functions. The source code of the software interrupt hook is given with the assembly language. Embedding the presented interrupt hook in applications can make the programs enter the system's kernel mode, thus realizing the low privilege level code's visiting of the high privilege level resources.
出处
《合肥工业大学学报(自然科学版)》
CAS
CSCD
北大核心
2006年第8期996-1000,共5页
Journal of Hefei University of Technology:Natural Science
关键词
保护模式
特权转换
中断门
软件中断钩子
protected mode
privilege transformation
interrupt gate
software interrupt hook