arXiv AI

Large Byte Model: Teaching Language Models About Compiled Code

arXiv:2606. 02834v1 Announce Type: cross Abstract: Malware analysis starts with the raw bytes of an executable program, and tools to "lift" these to higher-level representations, such as assembly, are expensive and subject to error.

Hugging Face Trending Papers
Oct 13

Bytes to Threats: Byte-Sequence Transformer For Malware Detection

The paper introduces MalwareFormer, a transformer-based framework that detects malware directly from raw executable bytes, eliminating the need for handcrafted features or domain expertise. It addresses the challenge of capturing long-range dependencies in binaries, a limitation of traditional static and CNN methods. MalwareFormer achieves high performance, reporting 98.35% accuracy, 98.32% balanced accuracy, 98.32% macro‑F1, and a 1.94% false‑positive rate, surpassing baseline approaches on all threshold‑dependent metrics.

arXiv Machine Learning
Sep 18

ALIBI: Adversarial Legitimacy Injection in Binary Input against LLM Malware Analyzers

The paper introduces ALIBI, a semantic cover story attack that injects a small, non-executed read‑only section into compiled binaries to mislead large language model (LLM) malware analyzers. By embedding a coherent but false security narrative, ALIBI can cause LLMs such as Gemini 2.5 Pro, GPT‑5.5 Pro, and Claude Opus 4.7 to downgrade or flip the verdicts of malicious samples. The attack also transfers to ELF binaries, and even a verification‑guided defense prompt only partially mitigates the effect, leaving a significant portion of malicious samples classified as benign.

By Hyeongjun Choi, Wonyoung Jung, Haehoon Seo, Sungyup Nam
arXiv AI
Oct 19

From Billion-Scale to Million-Scale Language Models: Operational Capabilities for Embedded Post-Exploitation

The paper evaluates seven open‑source small language models (20 M–1.5 B parameters) on two post‑exploitation code‑generation tasks—Directory Enumeration and Backdoor Generation—in both Python and Lua. It finds that offensive code‑generation performance does not scale linearly with model size; instead, task formulation and prompting strategy play a larger role. Using algorithmic formulation and few‑shot prompting, Qwen2.5‑Coder 1.5B achieves near‑perfect success rates on both tasks in Python and high success in Lua.

By Gabriel Hortea, Simon Pietro Romano, Juan Tapiador, Mario Varlese
arXiv Machine Learning
Sep 18

Delphi Scanner: efficient and interpretable static malware detection via API sequence modeling

Delphi Scanner is a static malware detection system for Windows PE files that balances efficiency and interpretability. It employs a convolutional neural network to model Windows API sequences and a rule‑based interpretation layer to map APIs to high‑level malicious capabilities. Tested on over 190,000 PE files, it achieves 95.35% accuracy with a 1.53 MB model, and demonstrates robustness against out‑of‑distribution samples and adversarial manipulations.

By Bijied Brahimi, Vincent Cohadon, Gabriel Glazman, Rayan Al Mohaize, Omran Berjawi, Rida Khatoun
arXiv AI
Oct 28

LLM Code Smells: A Taxonomy and Detection Approach

The paper "LLM Code Smells: A Taxonomy and Detection Approach" presents a refined taxonomy of nine LLM code smells and introduces SpecDetect4LLM, a static analysis tool for detecting them. Extensive empirical evaluation across 692 open‑source projects shows that 73.5% of systems contain LLM code smells, with the tool achieving 91.3% precision and 71.8% recall.

By Zacharie Chenail-Larcher, Brahim Mahmoudi, Naouel Moha, Quentin Sti\'evenart, Florent Avellaneda