计算机应用 ›› 2005, Vol. 25 ›› Issue (07): 1529-1530.DOI: 10.3724/SP.J.1087.2005.01529

• 信息安全 • 上一篇    下一篇

基于hook的Windows防火墙驱动程序研究与设计

鲜继清1,谭丹2,陈辉2   

  1. 1.重庆邮电学院 自动化学院,重庆 400065; 2.重庆邮电学院 计算机科学与技术学院,重庆 400065
  • 收稿日期:2005-02-07 修回日期:2005-05-08 发布日期:2005-07-01 出版日期:2005-07-01
  • 作者简介:鲜继清(1946-),男,四川西充人,副教授,主要研究方向:通信系统与网络;谭丹(1981-),男,湖南浏阳人,硕士研究生,主要研究方向:计算机网络安全;陈辉(1979-),女,新疆乌鲁木齐人,硕士研究生,主要研究方向:网络管理、IPv6技术.
  • 基金资助:

    国家863计划项目(2003AA412030)

Research and design of Windows firewall driver based on hook

XIAN Ji-qing1,TAN Dan2,CHEN Hui2   

  1. 1. College of Automation, Chongqing University of Posts and Telecommunications; 
    2. College of Computer Science and Technology,  Chongqing University of Posts and Telecommunications
  • Received:2005-02-07 Revised:2005-05-08 Online:2005-07-01 Published:2005-07-01

摘要:

在分析介绍Windows 2000/XP平台的网络驱动程序的基础上,提出了一种使用NDIS hook技术实现防火墙驱动程序的方法。这种方法不同于已有的API hook技术,它无需重新启动操作系统就能生效,并增强了抵御网络攻击的能力。由于它工作在网络层,可以对所有进出计算机的数据包进行过滤,因此可以更方便有效地保护用户信息安全。同时提出并设计了一个基于共享内存和事件对象的驱动程序通信模型。分析证明该模型可有效提高驱动程序与应用程序通信的效率。

关键词: 防火墙, NDIS钩子, 驱动程序, 共享内存, 事件对象

Abstract:

The network driver of Windows 2000/XP was analyzed, and a scheme of implementing firewall driver using NDIS(Network Driver Interface Specification) hook was presented. Different from API hook, the method could take effect without reboot and strengthen the ability of resisting intrusion. The driver worked on network layer and filtered all data packets through the computer, so it could protect users' information effectively and conveniently. A driver communication model based on share memory and event object was also provided. The analysis of this model indicates that it can greatly improve the communication efficiency between driver and application.

Key words: firewall, NDIS hook, driver, share memory, event object

中图分类号: