Proprietary protocol analysis and identification method

A proprietary protocol and identification method technology, applied in the direction of electrical components, transmission systems, etc., can solve the problems of not being able to identify encryption protocols, and achieve high accuracy and simple effects

CN104506484AActive Publication Date: 2015-04-08NO 30 INST OF CHINA ELECTRONIC TECH GRP CORP
2 Cites 52 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2015-04-08

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention relates to the technical field of protocol communication, and discloses a proprietary protocol analysis and identification method. The method comprises the following specific steps: I, performing shelling processing on communication client software by adopting a proprietary protocol; disassembling an original program; and dynamically debugging a key function in an assembly code; II, fetching the network flow data of the proprietary protocol, performing message data packet classification according to different stages of protocol interaction, and resolving the field structure of each type of message data packet respectively; III, extracting and inducing protocol characteristics in an interaction process, wherein the protocol characteristics comprise interaction process information and the field structure characteristics of the message data packets; and IV, setting a matching expression of protocol identification by using the protocol characteristics obtained in the step III, and identifying flow acquired in a network. Through the method, the analysis and identification of the proprietary protocol are realized.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of protocol communication, in particular to a private protocol analysis and identification method. Background technique

[0002] Protocol specification is a necessary condition for network communication, and it is also the basis of network security technology and network supervision. Key technologies such as fuzzy testing, vulnerability mining, intrusion detection, protocol reuse, and traffic auditing all rely on the detailed description information of the protocol. Currently, the Internet carries more and more new applications such as P2P, VoiP, IPTV, streaming media, online games, and file sharing, and most of the network protocols they use are undisclosed. People have carried out analysis and identification research on these private protocols. The purpose of the analysis is to recover the message format and interaction process of the protocol specification, and further use the obtained protocol characteri...

Examples

Embodiment Construction

[0027] The specific implementation manners of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0028] The invention discloses a private protocol analysis and identification method, which specifically includes the following steps:

[0029]Step 1: Unpack the client software that uses a private protocol for communication to obtain the unpacked original program; then disassemble the original program to obtain the assembly code of the original program; and then disassemble the original program in the assembly code The key functions are dynamically debugged to obtain the field length and structural characteristics of the message type of the private protocol; the key functions include: 1. The constructor of the message data packet; 2. The function of sending and receiving the message data packet; 3. . Encryption and decryption functions. For the analysis of the encryption protocol, this step is a method to obtain the division a...