Research and implementation of personal firewall packet interception technology based
- Author
- LiuYanLing
- Advisor
- HuFei
- School
- Northwestern Polytechnical University
- Major
- Computer Science and Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 461
- Citations
- 1
Abstract
On the market though most products’ functions of firewall are quite strong at present, they are based on below hypotheses, which the inner network is safe and reliable, and all the threats are from the outer network. Then the firewall only needs to be cautious to the outer network, and not to the inner. Thus, it is difficult to realize the secure communication between the host computers in the LAN of enterprise, and also to settle host’s security problem of every dialing Internet user. Most hosts have not placed themselves under the protection of inner security network during users are in network. The personal Internet user mostly uses windows OS, and the system security, especially Win9x, itself is not high. And various kinds of Windows loophole are being announced constantly, attack of the host computer is more and more, too. Then to protect the secure communication of the host computers, it is very necessary to develop effective personal firewall technology.This paper mainly discusses the design and the implementation of the personal firewall based on Windows 2000 Operation System, the programming language chosen as Visual C++ 6.0 integrated development environment and DDK for Windows 2000 Kits. According to my reference, there are many schemes for the personal firewall technology and each has its own advantages and disadvantages. A new double filtering packet based on kernel and user mode scheme is presented and accomplished in this paper with the development of the personal firewall technology. In the kernel mode, we develop the network driver program to implement the raw net packet capturing through the TDI virtual driver interface technology, and also we accomplish the net packet filtering according to the control canal rules, in the user mode, we develop the dll program to implement the services based on Socket capturing and filtering through the Winsock 2 SPI technology, thereby we overcome the shortcoming during capturing packet by kernel mode or user mode only, greatly improve the system security nature.During the development, we adopt the soft design idea of the structure and modularize, therefore improve the transplantation and agility of the system. As a whole the system may compart three modules: TDI drivers in the kernel mode, the dll program in the user mode and the user application program. Filter driver module adopts virtual driver and layered IRP; dll module refers to Winsock 2 SPI, Winsock 2 API technology, and registration table technology; user application module focuses on Visual C++ 6.0 MFC and Winsock API technology. Adopting the share memorytechnology three modules realize the data share of the control canal rule, the encapsulation data and the network neiborhood name and so on, so we can easily finish the packet authentication by the control canal rule, improve the filtering efficiency of the system.Having carried on the function and anti-attack test to this system finally, the test result indicates that the firewall have higher performance, and can protect the adaptable demand for the personal host. And compared with the current of firewall technology, the system has wide utily value and business value.
Table of contents
Summary 3-4
ABSTRACT 4-9
The first chapter 9-17
1.1 Background research of 9-10
1.1.1 firewall concept 9
1.1.2 firewall technology 9-10
1.1.3 Currently firewall technology status 10
meaning
1.2 research topic 10-14
1.2.1 Personal Firewall (Personal Firewall) 11
1.2.2 Research personal firewall significance 11
strategies and mechanisms
1.2.3 Personal Firewall system functional design 11-13
1.2.4 Personal Firewall technology 13-14
Content
1.3 research topic 14-15
content and structure
1.4 article 15-17
The second chapter related technical overview 17-34
2.1 Personal Firewall structural mapping between 17-18
2.2 Win2000 driver structure 18-20
2.3 IRP technology 20-28
2.3.1 I / O Manager and IRP 20-23
2.3.2 IRP data structure 23-26
2.3.2.1 IRP important domain 23-25
2.3.2.2 I / O stack location 25-26
2.3.3 IRPs and specify the drive I / O location 26-28
2.4 virtual drive technology 28-29
2.5 registry technology 29-31
2.5.1 registry data types 29
2.5.2 registry logical structure 29-31
2.6 Winsock 2 SPI technology 31-33
2.6.1 SPI introduced 31-32
2.6.2 Ws2_32.dll introduced 32-33
2.7 of this chapter subsections 33-34
firewall filtering rules Chapter III Design and implementation 34-43
3.1 filter rules designed 34-40
3.1.1 filtering rule model 34-36
3.1.2 filtering rules translation algorithm 36-37
3.1.3 firewall rule compliance checking 37-38
3.1.4 firewall filtering rules compare 38-40
3.2 filtering rules to achieve 40-42
3.2.1 filtering rules structure 40-41
3.2.2 Rules visualization input 41-42
3.3 of this chapter subsections 42-43
Chapter IV system design 43-59
4.1 Firewall module division Figure 43
4.2 module function analysis 43-45
4.2.1 System Interface Module 43-44
function
4.2.2 packet interception module 44-45
4.3 module division 45-48
4.3.1 System Interface sub-module 45-46
4.3.2 Packet interception sub-module 46-48
4.4 control rules file structure design 48-55
4.4.1 control rules need to store the file contents 48
4.4.2 Control Rule file structure 48-55
4.4.2.1 Control Rule file header structure 49-51
4.4.2.2 unauthorized access time recording 51-52
4.4.2.3 authorized to access the remote network IP address record structure 52
4.4.2.4 Application Rules record structure 52-54
4.4.2.5 Site Rules record structure table 54
4.4.2.6 Network Places Rules record structure 54
4.4.2.7 ICMP rule record structure 54-55
4.4.2.8 Control Rule document algorithm 55
4.5 log file design 55-58
4.5.1 log file header structure 55-56
4.5.2 Logging structure 56-57
query algorithm
4.5.3 log file 57-58
4.6 of this chapter subsections 58-59
Chapter firewall design and implementation 59-75
Design and Implementation
5.1 data filter 59-65
5.1.1 driver object with a standard driver routines 59-60
5.1.2 driver device object object against 60-61
5.1.3 System Programming 61-62
analytical certification
5.1.4 ICMP packets 62-64
5.1.5 application to access the filter algorithm flowchart 64-65
5.2 network packet intercepted DLL program design and implementation 65-70
5.2.1 DLL entry function program designed 65-66
5.2.2 SPI service functions to achieve mount package intercepted 66-67
5.2.3 network packet statistics designed 67-68
5.2.4 packet interception module programming 68
5.2.5 program flow control rules 68-70
Design and Implementation
5.3 system user interface 70-74
5.3.1 application entry function design 71
Design and control algorithms
5.3.2 rules file 71
design and algorithm
5.3.3 log file 71
5.3.4 Module Programming 71-72
5.3.5 application and the underlying communication module design 72-73
5.3.6 main window design and implementation 73-74
5.4 of this chapter subsections 74-75
Chapter VI system testing , performance analysis and tuning 75-83
6.1 system test environment 75
6.2 Functional Test 75-79
6.2.1 filtering rule set to test 75-76
6.2.2 packet filtering rules set 76
6.2.3 transport protocol test 76-77
6.2.4 application layer protocol testing 77-78
6.2.5 IP address management 78-79
6.2.6 time management 79
6.3 anti- attack performance testing 79-81
6.3.1 intercepted Trojan processes 79-80
6.3.2 log records attacks 80-81
6.4 Optimization 81-82
6.5 of this chapter subsections 82-83
Summary and Outlook 83-85
Thanks 85-86
References 86-88
published articles during
Appendix graduate 88-89
Northwestern Polytechnical University dissertation Intellectual Property Statement 89
Northwestern Polytechnical University dissertation original statement 89
Related dissertations
- The Design and Implementation of Capture and Tracking Module in GNSS Software Receiver
- The Study on Organizational Form in Public-Private Partnership Based on Contract Theory
- The Alienation of People under the New Media Environment
- A Framework to Create Humanoid Robot Animations through Motion Capture
- Research on Chaotic Frequency Hopping Synchronization Acquisition Method
- Research of GPS correlator
- Research on the Acquisition and Technology of GNSS Receiver
- Research on Modeling and Simulation of the GPS and Its Performance Analysis for Anti-interference
- Study on Key Technologies of RFID Air Interface Protocols
- Design of Programmable Baseband Spread Spectrum Module
- A Research and Implementation for Frequency Hopping Synchronization Scheme on FPGA
- Design of Integrated Baseband Processing Equipment for Satellite
- Reasearch on an Electro-Hydraulic Proportional Control System for Fast Capture
- Optimization and Mechanism Study of Biosorption of Cu (Ⅱ) and Pb (Ⅱ) from Aqueous Solutions by Microbial Flocculants of MBFGA1
- Study on Absorption of Carbon Dioxide Using Organic Amines
- Simulation of SOFC-GT Hybrid System with CO2Capture
- Research and implementation of GPS software receiver
- Study on the Key Techniques of an Acquisition Tracking and Pointing System in Wireless Laser Communication
- Interference suppression technology for satellite navigation system
- CFD Study on Magnetic Fluid in High Gradient Magnetic Field