Skip to content
نبض AIنبضAI

LLMs can read and write executables byte by byte from a hex dump

ResearchPublished: Source: Hacker News (100+ points)

TL;DR:A study tests whether LLMs can interpret, patch, and generate executable files directly from hexadecimal bytes, without compilers, assemblers, disassemblers, or execution during the task.

LLMs can read and write executables byte by byte from a hex dump

A study tests whether LLMs can interpret, patch, and generate executable files directly from hexadecimal bytes, without compilers, assemblers, disassemblers, or execution during the task. Sol 6.1 identified four programs, patched three small programs to pass hidden tests, generated three ELF64 executables, and analyzed one malware sample. The authors caution that the experiments are preliminary and limited by context size and sample scale; a separate run with DeepSeek V4.1 Flash offers preliminary evidence beyond closed models.

Key points

  • Sol 6.1 identified four binaries from hex dumps alone, including a stripped, statically linked FreeBSD ministat executable with obfuscated strings.
  • The model patched three small programs with same-length byte edits; all passed hidden tests for preserved and new behavior, including long inputs.
  • It generated three working ELF64 programs from written specifications without an assembler or compiler.
  • On one 4,608-byte PE32+ malware sample, Sol 6.1 reported a downloader that executed code in memory and identified an address and URL later observed in a public sandbox analysis.
  • A 67 KB binary required about 163,000 tokens; the authors stress the small sample and single-run limits. A separate preliminary test used DeepSeek V4.1 Flash.

Why it matters

If the findings generalize, analysts may be able to use LLMs to triage some binaries without first converting them into assembly or source. For now, the evidence covers small programs and a single malware sample, while context costs remain a major constraint.

Companies and models mentioned

  • Sol 6.1
  • DeepSeek-V4.1-Flash
  • FreeBSD
  • ministat
  • VMRay
  • Claude
  • Large Byte Model
  • MalConv
  • SLaDe
  • Nova
  • BinMetric
  • Project Ire
  • Ghidra
  • angr

Related tools

More for AI Pulse members

A personalized pulse delivered daily on Telegram and the web by role and industry, plus the full story timeline, archive, search and bilingual view.

Start free

Related stories