The Study of Socket Seizing Technologies under Microsoft Windows

Author
TangYue
Advisor
QuLiZuo , ZhangWenZuo
School
Sichuan University
Major
Software Engineering
Classification
TP316 Operating system
Degree
Master's thesis
Year
2004
Downloads
300
Citations
4

Request the full text

Abstract

With the advent of the information age, the computer widely used in modern society and globalization, network communication plays an increasingly important role in scientific research, education, and the way people work and live. Network input and output data for software engineers to debug your application software development is a very troublesome problem. With the circulation of a large number of information resources on the network, and all kinds of malware and illegal data mixed in their computer hazards are obvious, thus the issue of information security has cropped up, and how the computer monitoring and filtering These harmful data is becoming an urgent problem. Network inputs and outputs of the system any process thus developed a means to monitor and modify the debug has very important significance. To achieve the process of monitoring and debugging running the network input and output data, you must first solve a number of technical problems, the first is in protected mode to access the private space of the process; second is how to intercept sent to the network to any process or the data received from the network: The third is how to intercept the data sent to the monitor debug process to handle and will be processed after the data returns the process to be monitored. Microsoft Windows operating system is installed in the personal computer and the part of the service computer, the software is usually provided by the operating system socket network interface to access the network data in the Windows operating system, there are two sets of network interfaces, one by a primary University Koehler design, called BSD socket interface by blocking synchronization input and output control and non-blocking asynchronous round robin; another set of window sockets Microsoft developed by the network news events drive. The Windows process socket hijacking a fundamental part of the Windows application programming interface (API) mount technology, the technology is the core of the special features of the operating system does not support the application, Sichuan University, a Master of Engineering degree thesis Arata nd. S process socket data hijacking research very difficult, packet filtering technology based Network Device Interface Specification (NDIS) compared to the technology difference is that it can be any process on the application layer network input and output data to be captured. To mount technology began Win3.x era international now develop two mature injection mode, dynamic link library injection method far threads into law; well as two mature intercept mode: the input section of Jeffery modify Law and the old entrance to the exported functions to write the jump instruction method. Almost all getWord translation software and malicious or virus programs use a combination of four methods to achieve their shortcomings are not fully compatible with the existing WindowS family of operating systems. Article to explore an common to the existing of all Win32 platform mount technology for the purpose of studying, start from the core of the system. This paper describes the Windows system virtual memory the related image structure, process and thread synchronization and communication, network socket interface library. Detailed analysis of the technology has matured, and gradually solve the technical problems encountered in the new mount technology research, developed a the socket the breakpoints method is a combination of direct instruction injection method for the new generation of data monitoring technology, eventual realization of any process in the network data monitoring and debugging, together with the demonstration of the C language code in VC platform. Keywords: debugging process socket hook hijacked

Table of contents

An overview 9-11 2 WINDOWS system kernel of the underlying theory 11-23 2.1 memory map structure 11-13 2.2 module mapping like structure 13-23 2.2.1 PE file format 13-14 2.2.2 DOS executable file header 14-15 2.2 .3 PE executable file header 15-18 2.2.4 Export Table (Export Table) 18-19 2.2.5 Import Table (Import Table) 19-21 2.2.6 section table (Section Table) 21-23 3 WINDOWS system core programming of the underlying theory 23-44 3.1 Process Synchronization 23-30 3.1.1 Event 24-26 3.1.2 mutex 26-27 3.1.3 Signal 27-29 3.1.4 critical 29-30 3.2 process communication 30-36 3.2.1 process shared data area communications 30 -35 3.2.2 messaging 35-36 3.2.3 socket communication 36 3.3 socket 36-44 < br /> 3.3.1 Connection-oriented model (Connection Oriented) 38-39 3.3.2 packet mode model (Datagram) 39 3.3.3 Network Interface 39-44 4 process code injection technique 44-48 4.1 far threads into 44-45 4.2 Dynamic Link Library inject 45-47 4.3 Direct code injection 47-48 5 application program interface mount technology 48-51 5.1 Import Table revised law 48 5.2 Jump law 48-49 5.3 breakpoint France 49-51 6 process data socket hijacking achieve 51 - 58 6.1 combines the dynamic link library injected into the process data table modifications France intercepted 51-54 6.2 direct injection combined with code breakpoints France hijacking process data 54-58 <br / > 7 experimental results 58-64 directly with the interrupt code injection method code listing 64-114 SocketAnalyzer.h 64 SocketAnalyzer.cpp 64-65 ProcessListDlg.h 65-66 ProcessListDlg.cpp 66-69 Resource.h 69-70 SocketAnalyzer.rc 70-76 Win32Debug.h 76-78 Win32Debug.cpp 78-103 SocketAnalyzerDlg.h 103-105 SocketAnalyzerDlg.cpp 105-114 References 114-115 during the reading of scientific Profile 115-116 Affirms 116-117 Thanks 117

Related dissertations

  1. The Study of Socket Seizing Technologies under Microsoft Windows
  2. The Credit Process Optimization of A Bank
    WangHe ·Liaoning University ·2012 ·Master's thesis
  3. Yunnan Local Taxation Bureau Collection and Managemeng Process Reengineering
    PuZuoYi ·Yunnan University ·2013 ·Master's thesis
  4. Constructing the system of comprehensive budget management in service enterprises
    ZhouXiaoJuan ·Capital University of Economics ·2014 ·Master's thesis
  5. Study on Optimizing Organization and Decision-making Based on Supply Chain Process of a Telecom Equipment Company
    LiJie ·Shanghai Jiaotong University ·2013 ·Master's thesis
  6. Bank of Beijing Tianjin Branch Customer Service Marketing Strategy
    ZhouYaZuo ·Hebei University of Technology ·2013 ·Master's thesis
  7. Simulation of Employee Turnover Behavior in IT Enterprise Based on Catastrophe Theory
  8. The Research of ERP Project Implementation in a Large Enterprise
    YuanXiaoDa ·Shanghai Jiaotong University ·2013 ·Master's thesis
  9. Research on 4W menu management Sichuan Meishan sales company
    WangDi ·Southwest Petroleum University ·2013 ·Master's thesis
  10. Research on Standard System Integration of Company E
    LiuJian ·Ocean University of China ·2012 ·Master's thesis
  11. Coship Electronics Corporation Integrated Product Development and Management Mode Research
    SongJiangHong ·Central South University ·2012 ·Master's thesis
  12. Research of Export Business Process in A Electric Co.
    CaoGuangHai ·Hebei University of Technology ·2013 ·Master's thesis
  13. A Research on Developing Suburban Agricultural in Fushan District
    WangQiang ·Ocean University of China ·2012 ·Master's thesis
  14. An Optimization Research on Distribution Center of Logistics System in Hengshui Tobacco
  15. Regulation and Development:the Motive Power of Chinese TV Drama’s Industrial Process Research
    YangDanXiu ·Nanjing University ·2011 ·Doctoral dissertation
  16. The Programing and Development of Automatic Control System for Alpha Gypsum Powder Production Line
    ZuoXingFei ·University of Jinan ·2013 ·Master's thesis
  17. CAD/CAM System for Gem Grinding&Carving Robot
    LiXiangNan ·China University of Geosciences ·2013 ·Master's thesis
  18. Simulation and Optimization Research on the Steel Production Based on Arena
    ChenYa ·Chengdu University of Technology ·2013 ·Master's thesis
  19. Design and Development of Collaborative Public Security and Police Information Platform for Liaoning Province
    LiuHe ·Dalian Maritime University ·2013 ·Master's thesis
  20. Design and Implementation of Anritsu Human Resource Management System
    XiaZuo ·Dalian University of Technology ·2013 ·Master's thesis