Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Protocol reverse engineering system based on reinforcement learning and working method thereof

A technology of reinforcement learning and protocol reverse engineering, which is applied in the field of protocol reverse engineering system based on reinforcement learning, can solve the problems of few types of protocols, unclear protocols, incomplete protocol specifications, etc. Effect

Active Publication Date: 2020-02-28
SHANGHAI NETIS TECH
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] 2) The invention can only find the positions of some fields with semantic features, and cannot obtain the complete protocol message format;
[0019] 1) It is only segmented, and complete information such as the encoding method of each field is not deduced;
[0020] 2) Does not support complex nested structures;
[0026] Existing technologies have defects such as requiring additional prior knowledge, supporting few types of protocols, not being able to recognize protocols with complex structures, and inferring protocol specifications that are incomplete and unclear.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Protocol reverse engineering system based on reinforcement learning and working method thereof
  • Protocol reverse engineering system based on reinforcement learning and working method thereof
  • Protocol reverse engineering system based on reinforcement learning and working method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0115] The implementation example of this method, the steps are as follows:

[0116] Step 1: Collect data sets, each data sample contains multiple messages, and each message contains known fields and unknown upper layer payloads to be analyzed.

[0117] By collecting network data packet files (pcap files) from the Internet, each data packet file is analyzed for a known lower layer protocol, and the analysis result is formed into a data sample.

[0118] Step 2 builds a reinforcement learning decoding model.

[0119] Such as figure 1 The illustrated reinforcement learning decoding model includes a decoding environment module and a decoding agent module.

[0120] The input of the decoding environment module is an action, and the output is a state and a reward. The inputs of the decoding agent module are states and rewards, and the outputs are actions.

[0121] The status includes the following information:

[0122] raw_data The original data sample to be analyzed.

[0123] ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a protocol reverse engineering system based on reinforcement learning and a working method thereof. The protocol reverse engineering system comprises a decoding environment module and a decoding intelligent agent module, wherein the decoding environment module receives the state of the previous moment and the current action output by the decoding intelligent agent module, and inputs a new state to the decoding intelligent agent module. Compared with the prior art, the method has the advantages that the protocol structure tree is used for representing the protocol structure, and the method is high in expression capacity, rich in semantics and capable of supporting a complex structure; and 2) a protocol reverse engineering method based on deep reinforcement learning isinnovatively provided, after a large amount of data is trained, the application range is wide, and reverse engineering can be carried out on data of different types of protocols. And 3) when the trained decoding model executes protocol reversing, any priori knowledge is not needed, manual participation is not needed, and protocol reversing can be executed in a full-automatic manner.

Description

technical field [0001] The invention relates to protocol reverse engineering, in particular to a protocol reverse engineering system and working method based on reinforcement learning. Background technique [0002] A protocol is a series of rules, standards, and conventions established for network data exchange, and is the core of computer networks and data communications. [0003] For an open protocol, such as Hyper Text Transfer Protocol (HTTP, Hyper Text Transfer Protocol), its detailed description information can be obtained from public documents (such as RFCs). [0004] But for private protocols, the protocol description information is usually not made public. [0005] Protocol reverse engineering refers to the process of obtaining application-level description information of unknown protocols. [0006] The traditional method of protocol reverse engineering is manual, which is very labor-intensive and error-prone. A typical example is the SAMBA project. The SAMBA pr...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06G06N3/08G06N3/04
CPCH04L69/03H04L69/06G06N3/08G06N3/045
Inventor 陶飞蔡晓华杨光辉
Owner SHANGHAI NETIS TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products