The Study of Socket Seizing Technologies under Microsoft Windows
- Author
- LiYun
- Advisor
- ChenLeiZuo , YangYong
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 197
- Citations
- 1
Abstract
With the advent of computer and internet information technology era, internet acts as a more and more important role in science, education, commerce, even our daily life and works. The debugging problems in applications development with network input and output data to software engineers is a big trouble. Moreover, with the circulation of large information resources, a variety of baleful codes and illegal data are mixed in it as well, thus security problems fall upon us. How to keep a tab on and filter out these harmful data gradually becomes a pressing issue. Therefore, it is urgent to search out a means to control and alter the input and output data in the network process dynamically.We should firstly solve several technical problems for monitoring and debugging the input or output data between running process and network. The first one is how can we access the private virtual memory space under the protect mode. The second one is how can we capture the data just before they are sent out or received in. The third one is how can we inform our monitor or debugger process this event, transfer the data to the monitor or debugger, and get the results back.As far as Microsoft Windows operation system is concerned, which mostly has been installed on personal computers and partly server cmputers, softwares access data in internet through Windows Socket Application Program Interface. There are two series interface installed on the OS in advance, the one is called BSD socket designed by Berkeley Software, with the working mode of blocking synchronization, nonblocking asynchronization and polling, the other is named WinSock designed by Microsoft, worked via the way of windows message driven.As the foundation of process socket seizing technologies under Microsoft Windows, API(Application Program Interface) hook technology is the core to achieve
Table of contents
The first chapter 10-12
the underlying theory of the second chapter WINDOWS system kernel 12-24
2.1 memory image structure 12-14 < br / > 2.2 module mapping structure the 14-24 2.2.1 PE file format
the 14-15 2.2.2 DOS executable file header
15-16 < br /> 2.2.3 PE executable file header 16-19
2.2.4 export Table ( export table) 19-20
2.2.5 import Table (Import Table ) the 2.2.6 section table (Section table ) 20-22
the basic theory 22-24
Chapter WINDOWS system core programming 24-46 < br /> 3.1 process synchronization the 24-31 3.1.1
event 26-27
3.1.2 mutually exclusive , 27-29
3.1 . 3 signal the 29-30
3.1.4 critical section 30-31
3.2 interprocess communication 31-37
3.2.1 process shared data area communication 32-36
3.2.2 messaging 36-37
3.2.3 socket communications 37
3.3 socket 37-46
3.3.1 connection-oriented model cONNECTION oRIENTED 40-41
3.3.2 datagram text and the model ( dATAGRAM ) 41 < br /> 3.3.3 network interface the process 41-46
Chapter code injection technique far threads into 46-52
4.1 46-48 <br / > 4.2 dynamic link library injection 48-50
4.3 direct code injection 50-52
Chapter application Programming Interface mount technology 52-55 < br /> 5.1 import table modify law 52
5.2 Jump law 52-53
5.3 the breakpoint Act 53-55
Chapter process socket data hijacking achieve 55-62
6.1 dynamic link library injection combined with the process of import table modifications law intercepted data 55-57
6.2 direct code injection combined with breakpoints law the hijacking process data 57-62
Chapter VII of the experimental results 62-68
Acknowledgements 68-69
Appendix direct code injection interrupt method code list 69-114
Related dissertations
- Research of Remote Sharing Technology for Workstations’ Screen Image of Large Scientific Instruments
- Monitoring system based on the internal network
- The Study of Socket Seizing Technologies under Microsoft Windows
- The Credit Process Optimization of A Bank
- Yunnan Local Taxation Bureau Collection and Managemeng Process Reengineering
- Constructing the system of comprehensive budget management in service enterprises
- Study on Optimizing Organization and Decision-making Based on Supply Chain Process of a Telecom Equipment Company
- Bank of Beijing Tianjin Branch Customer Service Marketing Strategy
- Simulation of Employee Turnover Behavior in IT Enterprise Based on Catastrophe Theory
- The Research of ERP Project Implementation in a Large Enterprise
- Research on 4W menu management Sichuan Meishan sales company
- Research on Standard System Integration of Company E
- Coship Electronics Corporation Integrated Product Development and Management Mode Research
- Research of Export Business Process in A Electric Co.
- A Research on Developing Suburban Agricultural in Fushan District
- An Optimization Research on Distribution Center of Logistics System in Hengshui Tobacco
- Regulation and Development:the Motive Power of Chinese TV Drama’s Industrial Process Research
- Design and Implementation of Multi-channel Data Acquisition System
- CAD/CAM System for Gem Grinding&Carving Robot
- Simulation and Optimization Research on the Steel Production Based on Arena