← Winnitude! Search  ·  Reader Mode (1738 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 58 LINKS

GitHub - dessertlab/Shellcode_IA32: Shellcode_IA32 is a dataset consisting of challenging but common assembly instructions, collected from real shellcodes, with their natural language descriptions. The dataset can be used for neural machine translation tasks to automatically generate software exploits from natural language.

Repository navigation

Shellcode_IA32
Public

About

Shellcode_IA32 is a dataset consisting of challenging but common assembly instructions, collected from real shellcodes, with their natural language descriptions. The dataset can be used for neural machine translation tasks to automatically generate software exploits from natural language.

Topics

dataset exploit-development ia32 ia32-assembly linux nasm nasm-assembly nasm-language nmt shellcode shellcode-development

Resources

Readme GPL-3.0 license Activity Custom properties

Stars

43 stars

Watchers

2 watching

Forks

4 forks Report repository
Branches

Tags
Go to Branches page Go to Tags page

Latest commit

 

History


20 Commits
View commit history for this file.

Folders and files

Name Name Last commit message Last commit date
Extendend_Shellcode_IA32.tsv Extendend_Shellcode_IA32.tsv    
LICENSE LICENSE    
README.md README.md    
Shellcode_IA32.tsv Shellcode_IA32.tsv    

Repository files navigation

Shellcode_IA32

Shellcode_IA32 is a dataset containing more than 20 years of shellcodes from a variety of sources and is the largest collection of shellcodes in assembly available to date. We are currently extending the dataset. Up to now, we released three versions of the dataset.

Version 1: Shellcode_IA32

Shellcode_IA32 was presented for the first time in the paper Shellcode_IA32: A Dataset for Automatic Shellcode Generation , accepted to the 1st Workshop on Natural Language Processing for Programming (NLP4Prog 2021). This version consists of 3,200 examples of instructions in assembly language for IA-32 (the 32-bit version of the x86 Intel Architecture) from publicly available security exploits. We collected assembly programs used to generate shellcode from exploit-db and from shell-storm . We enriched the dataset by adding examples of assembly programs for the IA-32 architecture from popular tutorials and books. This allowed us to understand how different authors and assembly experts comment and, thus, how to deal with the ambiguity of natural language in this specific context. Our dataset consists of 10% of instructions collected from books and guidelines, and the rest from real shellcodes.

Our focus is on Linux, the most common OS for security-critical network services. Accordingly, we added assembly instructions written with Netwide Assembler (NASM) for Linux.

Each line of Shellcode_IA32 dataset represents a snippet - intent pair. The snippet is a line or a combination of multiple lines of assembly code, built by following the NASM syntax. The intent is a comment in the English language.

We conducted an extensive experimental evaluation using the Shellcode_IA32 dataset in the journal paper Can we generate shellcodes via natural language? An empirical study , published in the Automated Software Engineering (AUSE) journal. The paper also contains further statistics on the dataset.

Version 2: Decoder Dataset

Shellcode_IA32 dataset has been extended to build the Decoder Dataset (an assembly dataset used for decoding the encoded shellcodes) presented in the paper EVIL: Exploiting Software via Natural Language . The extended dataset and the code to reproduce the experiments of the paper can be found on this GitHub repository . This second version of the dataset includes 3,715 assembly code snippets with their description in the English language.

Version 3: Extended_Shellcode_IA32

We further enriched the dataset ( Extended_Shellcode_IA32 ) with additional samples of shellcodes collected from publicly available security exploits, reaching 5,900 unique pairs of assembly code snippets/English intents.

Our dataset also includes 1,374 intents (~23% of the dataset) that generate multiple lines of assembly code, separated by the newline character \n. These multi-line snippets contain many different assembly instructions (e.g., whole functions).

About

Shellcode_IA32 is a dataset consisting of challenging but common assembly instructions, collected from real shellcodes, with their natural language descriptions. The dataset can be used for neural machine translation tasks to automatically generate software exploits from natural language.

Topics

dataset exploit-development ia32 ia32-assembly linux nasm nasm-assembly nasm-language nmt shellcode shellcode-development

Resources

Readme GPL-3.0 license Activity Custom properties

Stars

43 stars

Watchers

2 watching

Forks

4 forks Report repository

Releases

Packages

Contributors