Shellcode and annotation generation method based on dual learning
A technology of code generation and duality, which is applied in the computer field to achieve the effect of improving work efficiency, performance and accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] see figure 1 As shown, the present invention provides a method for generating shellcode codes and annotations based on dual learning, which specifically includes the following contents:
[0038] (1) Collect shellcode corpora from 2000 to 2020 on shellstorm and Exploit Database, and set the format to . Since the method of the present invention only uses one model to learn dual tasks, it directly exchanges input and output by exchanging input and output. to transform the corpus and distinguish the two tasks by adding prefixes: for shellcode generation tasks, prefix their input data with "ShellCodeGen:"; for shellcode comment generation tasks, prefix their input data with "ShellCodeSum:". Table 1 shows the statistics of the corpus.
[0039] Table 1
[0040]
[0041]
[0042] Annotation length statistics
[0043]
[0044] (2) Considering the characteristics of shellcode generation and annotation generation tasks, they are formalized as dual tasks. Use shallow T...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


