数据集:

SoLID/shellcode_i_a32

语言:

code en

许可:

gpl-3.0

计算机处理:

translation

语言创建人:

expert-generatedfound

批注创建人:

expert-generated

源数据集:

original

预印本库:

arxiv:2104.13100
英文

Shellcode_IA32

Shellcode_IA32是一个数据集,包含了20年来来源于各种渠道的shellcode,它是迄今为止最大的以汇编语言编写的shellcode集合。

该数据集包含了3200个IA-32(32位x86英特尔架构)汇编语言指令示例,来源于公开的安全漏洞。我们收集了 exploit-db 和 shell-storm 生成shellcode的汇编程序。我们还添加了从流行的教程和书籍中提取的IA-32架构的汇编程序示例。这使我们能够理解不同作者和汇编专家在这个特定上下文中如何进行注释,并且如何处理自然语言的歧义。我们的数据集中有10%的指令来自于书籍和指南,其余来自真实的shellcode。

我们的重点是Linux,这是最常见的安全关键网络服务操作系统。因此,我们添加了使用Netwide Assembler(NASM)编写的Linux汇编指令。

Shellcode_IA32数据集的每一行表示一个片段 - 意图对。片段是遵循NASM语法构建的一行或多行汇编代码的组合。意图是一条英文注释。

关于数据集的更多统计信息以及使用神经机器翻译(NMT)模型进行的一系列初步实验,请参阅以下论文: Shellcode_IA32: A Dataset for Automatic Shellcode Generation 。

注:此工作是与 DESSERT Lab 合作完成的。

数据集也托管在 DESSERT Lab Github 上。

请考虑引用我们的工作:

@inproceedings{liguori-etal-2021-shellcode,
    title = "{S}hellcode{\_}{IA}32: A Dataset for Automatic Shellcode Generation",
    author = "Liguori, Pietro  and
      Al-Hossami, Erfan  and
      Cotroneo, Domenico  and
      Natella, Roberto  and
      Cukic, Bojan  and
      Shaikh, Samira",
    booktitle = "Proceedings of the 1st Workshop on Natural Language Processing for Programming (NLP4Prog 2021)",
    month = aug,
    year = "2021",
    address = "Online",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.nlp4prog-1.7",
    doi = "10.18653/v1/2021.nlp4prog-1.7",
    pages = "58--64",
    abstract = "We take the first step to address the task of automatically generating shellcodes, i.e., small pieces of code used as a payload in the exploitation of a software vulnerability, starting from natural language comments. We assemble and release a novel dataset (Shellcode{\_}IA32), consisting of challenging but common assembly instructions with their natural language descriptions. We experiment with standard methods in neural machine translation (NMT) to establish baseline performance levels on this task.",
}