DualSC: Automatic Generation and Summarization of Shellcode via Transformer and Dual Learning
Guang Yang, Xiang Chen, Yanlin Zhou, Chi Yu

TL;DR
This paper introduces DualSC, a novel Transformer-based approach for automatic shellcode generation and summarization, addressing low-resource challenges and out-of-vocabulary issues, validated on real-world data.
Contribution
The study formalizes shellcode generation and summarization as dual tasks, proposes a normalization method and rule-based repair to enhance low-resource performance.
Findings
DualSC outperforms six state-of-the-art baselines.
Component ablation confirms effectiveness of proposed methods.
Human study validates practical usefulness.
Abstract
A shellcode is a small piece of code and it is executed to exploit a software vulnerability, which allows the target computer to execute arbitrary commands from the attacker through a code injection attack. Similar to the purpose of automated vulnerability generation techniques, the automated generation of shellcode can generate attack instructions, which can be used to detect vulnerabilities and implement defensive measures. While the automated summarization of shellcode can help users unfamiliar with shellcode and network information security understand the intent of shellcode attacks. In this study, we propose a novel approach DualSC to solve the automatic shellcode generation and summarization tasks. Specifically, we formalize automatic shellcode generation and summarization as dual tasks, use a shallow Transformer for model construction, and design a normalization method Adjust…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsWeb Application Security Vulnerabilities · Software Engineering Research · Advanced Malware Detection Techniques
