Disassembling Obfuscated Executables with LLM

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Rong, Huanyao, Duan, Yue, Zhang, Hang, Wang, XiaoFeng, Chen, Hongbo, Duan, Shengchen, Wang, Shen
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913427880935424
author Rong, Huanyao
Duan, Yue
Zhang, Hang
Wang, XiaoFeng
Chen, Hongbo
Duan, Shengchen
Wang, Shen
author_facet Rong, Huanyao
Duan, Yue
Zhang, Hang
Wang, XiaoFeng
Chen, Hongbo
Duan, Shengchen
Wang, Shen
contents Disassembly is a challenging task, particularly for obfuscated executables containing junk bytes, which is designed to induce disassembly errors. Existing solutions rely on heuristics or leverage machine learning techniques, but only achieve limited successes. Fundamentally, such obfuscation cannot be defeated without in-depth understanding of the binary executable's semantics, which is made possible by the emergence of large language models (LLMs). In this paper, we present DisasLLM, a novel LLM-driven dissembler to overcome the challenge in analyzing obfuscated executables. DisasLLM consists of two components: an LLM-based classifier that determines whether an instruction in an assembly code snippet is correctly decoded, and a disassembly strategy that leverages this model to disassemble obfuscated executables end-to-end. We evaluated DisasLLM on a set of heavily obfuscated executables, which is shown to significantly outperform other state-of-the-art disassembly solutions.
format Preprint
id arxiv_https___arxiv_org_abs_2407_08924
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Disassembling Obfuscated Executables with LLM
Rong, Huanyao
Duan, Yue
Zhang, Hang
Wang, XiaoFeng
Chen, Hongbo
Duan, Shengchen
Wang, Shen
Cryptography and Security
Disassembly is a challenging task, particularly for obfuscated executables containing junk bytes, which is designed to induce disassembly errors. Existing solutions rely on heuristics or leverage machine learning techniques, but only achieve limited successes. Fundamentally, such obfuscation cannot be defeated without in-depth understanding of the binary executable's semantics, which is made possible by the emergence of large language models (LLMs). In this paper, we present DisasLLM, a novel LLM-driven dissembler to overcome the challenge in analyzing obfuscated executables. DisasLLM consists of two components: an LLM-based classifier that determines whether an instruction in an assembly code snippet is correctly decoded, and a disassembly strategy that leverages this model to disassemble obfuscated executables end-to-end. We evaluated DisasLLM on a set of heavily obfuscated executables, which is shown to significantly outperform other state-of-the-art disassembly solutions.
title Disassembling Obfuscated Executables with LLM
topic Cryptography and Security
url https://arxiv.org/abs/2407.08924