LAN host resource monitoring design and implementation
- Author
- ZhangZhiYong
- Advisor
- ZhouMingTian
- School
- University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP393.1 Local area network (LAN), metropolitan - area network (MAN)
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 165
- Citations
- 4
Table of contents
Abstract 4-5
Abstract 5-16
Chapter Introduction 16-24
1.1 topics background 16-17 < br /> 1.2 Development of domestic and technical analysis 17-21
1.2.1 Summary of development status at home and abroad 17
1.2.2 LAN security problem causes 17-18
1.2.3 LAN security threat model 18
1.2.4 existing LAN security products and technical analysis 18-20
1.2 .5 LAN security system construction 20-21
1.3 core technology introduces 21-22
1.4 main job 22-23
1.5 content arrangement 23-24
Chapter WDM driver model 24-60
2.1 WDM driver model 24-30
2.1.1 WDM driver Program Model Overview 24-25
2.1.2 WDM driver hierarchy 25-26
2.1.3 Driver Loading 26-30 < br /> 2.1.3.1 recursive enumeration 26-28
2.1.3.2 Registry's role 28-29
2.1.3.3 driver load order 29-30
2.2 driver object and device object 30-34
2.2.1 driver object 30-31
2.2.1.1 The role of the driver object 30
2.2.1.2 driver object data structure 30-31
2.2.2 device object 31-34
2.2.2.1 Device Object Overview 31-32
2.2.2.2 device object data structure 32-33
2.2.2.3 How to create the device stack 33-34
2.3 I / O request packet 34-40
2.3.1 IRP concept 34-35
2.3.2 IRP data structure 35-37
2.3 .2.1 IRP structure 35
2.3.2.2 IRP head 35-36
2.3.2.3 I / O stack location 36-37
2.3. 3 IRP operation 37-40
2.3.3.1 to complete the original IRP 37
2.3.3.2 passed down IRP 37-38
2.3.3.3 build IRP 38-39
2.3.3.4 revocation IRP 39-40
2.4 driver Dispatch routines 40-46
2.4.1 Statement Driver Dispatch Routines 40-41
2.4.1.1 I / O request scheduling mechanism 40
2.4.1.2 enable a specific function code 40-41
2.4.1.3 Determining supported function code 41
2.4.2 write drivers Dispatch routines 41-45
2.4.2.1 Execution Environment 42-43
2.4.2.2 Dispatch routine functions 43-44
2.4.2.3 exit Dispatch routines 44-45
2.4.3 deal with reading and writing Request 45-46
2.4.3.1 buffered I / O 45
2.4.3.2 Direct I / O 45-46
2.4. 3.3 Other I / O 46
2.5 layered driver 46-57
2.5.1 Intermediate Driver Summary 46-48
2.5. 1.1 intermediate driver custom 46-47
2.5.1.2 stratification system agencies use timing 47-48
2.5.2 prepare layered driver 48 -50
2.5.2.1 layered driver works 48
2.5.2.2 layered driver initialization and cleanup work 48-49
2.5. 2.3 Other layered driver initialization 49-50
2.5.2.4 layered driver's I / O request processing technology 50
2.5.3 write I / O completion routine 50-53
2.5.3.1 request I / O completion routine callback 50-51
2.5.3.2 Execution Environment 51-52
2.5.3.3 I / O completion routine work performed 52-53
2.5.4 write filter driver 53-57
2.5.4.1 upper filter driver and lower filter driver 54
2.5.4.2 filter driver works 54-56
2.5.4.3 filter driver initialization and cleanup work 56 <br / > 2.5.4.4 the connection transparent 56-57
2.6 WDM driver and application communication 57-60
2.6.1 applications and driver communication 57-59
2.6.1.1 Open Device 58
2.6.1.2 off the device 58
2.6.1.3 DeviceIoControl function call 58-59
2.6.2 driver and application communication 59-60
2.6.2.1 DeviceIoControl asynchronous completion 59
2.6.2.2 WIN32 event notification 59-60
Chapter LAN hosts Resource Monitoring System Design 60-81
3.1 Floppy monitoring module 60-66
3.1.1 Functional Requirements 60
3.1.2 module structure 60-61
3.1.2.1 floppy filter driver structure 60-61
3.1.2.2 permissions settings module structure 61
3.1.3 Data flow 61-63
3.1.4 module interface 63-65
3.1.4.1 External Interface 63-64
3.1.4.2 Internal interface 64-65
3.1.5 critical data structures 65-66
3.1.5.1 FLOPPY_STATE_FLAGS 65
3.1.5.2 FLOPPY_STATE 65-66
3.2 CD-ROM / CD-ROM burner monitoring module 66-71
3.2.1 Functional Requirements 66
3.2. 2 module structure 66-67
3.2.2.1 ROM device filter driver structure 66-67
3.2.2.2 permissions settings module structure 67
3.2 .3 data flow 67-69
3.2.4 module interface 69-70
3.2.4.1 External Interface 69
3.2.4.2 Internal Interface 69-70
3.2.5 critical data structures 70-71
3.2.5.1 CD_STATE_FLAGS 70-71
3.2.5.2 CD_STATE 71
3.3 file system monitoring module 71-81
3.3.1 Functional Requirements 71-72
3.3.2 module structure 72-74
3.3.2.1 file system filter driver structure 72-73
3.3.2.2 key file permission settings module structure 73
3.3.2.3 logging module 73-74
3.3.3 Data flow 74-75
3.3.4 module interface 75-77
3.3.4.1 External Interface 75-76
3.3.4.2 Internal interface 76-77
3.3.5 critical data structures 77-81
3.3.5.1 KFILE_STAT_FLAGS 77 - 78
3.3.5.2 KKEY_FILE_TABLE_ELEMENT 78
3.3.5.3 KLOG_ITEM 78-79
3.3.5.4 KEY_FILE 79
3.3.5.5 KLOG 79-80
3.3.5.6 FILE_HASH_TABLE_ITEM 80
3.3.5.7 RTL_GENERIC_TABLE 80-81
Chapter LAN hosts nbsp Resource Monitoring System ; 81-112
4.1 floppy drive monitoring module to achieve 81-91
4.1.1 floppy filter driver implementation 81-85
4.1.1.1 DriverEntry routine implementation 81
4.1.1.2 AddDevice routines to achieve 81-82
4.1.1.3 IRP_MJ_READ routines to achieve 82
4.1.1.4 IRP_MJ_WRITE routines to achieve 82-83
4.1.1.5 IRP_MJ_PNP routines to achieve 83-84
4.1.1.6 IRP_MJ_DEVICE_CONTROL routines to achieve 84-85
4.1.2 Floppy permission settings interface implementation 85-86
4.1.2.1 argument parsing module 85
4.1.2.2 command transmission module 85-86
4.1.3 driven key function of the realization 86-89
4.1.3.1 for floppy disk device functions 86-87
4.1 3.2 Creating a control device object function 87
4.1.3.3 hash function 87
4.1.3.4 Query device permissions function 87-88
4.1 .3.5 Floppy permissions set function 88-89
4.1.4 test results and performance analysis 89-91
4.2 drive monitoring module to achieve 91-98 < br /> 4.2.1 ROM filter driver implementation 91-93
4.2.1.1 DriverEntry routine implementation 91
4.2.1.2 AddDevice routines to achieve 91-92
4.2.1.3 IRP_MJ_READ routines to achieve 92
4.2.1.4 IRP_MJ_DEVICE_CONTROL routines to achieve 92-93
4.2.2 Drive Permissions Set interface 93-95
4.2.2.1 argument parsing module implementation 93-94
4.2.2.2 command to send the module to achieve 94-95
4.2.3 driven key functions to achieve 95-97
4.2.3.1 ROM device name for the function 95
4.2.3.2 hash function 95-96
4.2.3.3 Query drive permissions function 96
4.2.3.4 ROM permissions set function 96-97
4.2.4 test results and performance analysis 97-98
4.3 file system monitoring module implementation 98-112
4.3.1 file system filter driver implementation 98-103
4.3.1.1 DriverEntry routine realization 98-99
4.3.1.2 volume device attached realization 99-100
4.3.1.3 IRP_MJ_READ routines to achieve 100-101 <br / > 4.3.1.4 IRP_MJ_WRITE routines to achieve 101
4.3.1.5 IRP_MJ_SET_INFORMATION routines to achieve 101-102
4.3.1.6 IRP_MJ_DEVICE_CONTROL routines to achieve 102-103
4.3.2 file permission settings module implementation 103-104
4.3.2.1 argument parsing module implementation 103
4.3.2.2 command to send the module to achieve 103-104
4.3.3 File System Monitoring Module Implementation 104
4.3.4 driven key function of the realization 104-106
4.3.4.1 Set file permissions critical function 104-105
4.3.4.2 to retrieve the log function 105-106
4.3.5 core technology 106-110
4.3.5.1 Get the full path name 106-107
4.3.5.2 HASH table using file system filter driver to improve the efficiency of 107
4.3.5.3 cache file read control problems 107-108
4.3.5.4 temporary file write control problems 108-109
4.3.5.5 for the wildcard '*' support 109-110
4.3 .5.6 the realization of self-protection 110
4.3.6 test results and performance analysis 110-112
Chapter Summary and Outlook 112-113 <br / > Thanks 113-114
References 114-117
master's degree research during 117-118
Related dissertations
- Study and Realization of USB Access Control System Based on WDM Filter Driver
- Design and Implementation of A Network Access Monitoring System for User
- Research and Implementation of a Host-Based Intrusion Prevention System
- Research on Usage Control Model in Dynamic Openly Systems
- Research on Access Control for Data Privacy Protection in Cloud Computing
- The Research on the Application of Attribute-based Encryption in Social Networks Privacy Protection
- Implementation of Windows File System Virtualization Based on Sandbox Technology
- Research on grid security technology of Portal
- Research and Implementation of the Efficient and Dynamic SaaS Access Control
- Research on Access Control Model Based on EGR-RBAC and Spring Security Framework
- The Application of Client Puzzle and Trust Mechanisms in the Mobile Internet
- Research on An Attribute-based Access Control Scheme in Cloud Computing
- Mechanism research and application of fine grained access control based on resource attribute
- Design and Implementation of Cross-platform Website Anti-tamper System Based on File Filter Driver
- Research on Access Control Mechanisms with Attribute Based Encryption
- Research on control model based on attribute RBAC access
- Research on Access Control Technology in Cloud Computing Environment
- Dynamic Access Control Policies Based on Ontology Language
- The Design and Implementation of Acess Contral System for XML Database
- The Design and Implementation of Flight Information Query Systems