Skip to content

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

Oct 2026 · 0 citations · 56 references
Computer Science

TL;DR

Although the evaluated models remain too computationally demanding for widespread deployment in contemporary malware, rapid progress in compact models may reduce this barrier and help anticipate AI-assisted malware and inform future countermeasures.

Abstract

Small Language Models (SLMs) are increasingly attractive for resource-constrained environments due to their low computational footprint. These characteristics also make them candidates for future autonomous malware, where connectivity, latency, privacy, or operational constraints may preclude cloud-based inference. Yet the ability of ultra-compact models to support malware during post-exploitation remains poorly understood. We systematically evaluate seven open-source SLMs (20M-1.5B parameters) on two post-exploitation code-generation tasks: Directory Enumeration and Backdoor Generation. We compare Python (high-resource) and Lua (low-resource) across prompting strategies, task formulations, iterative reasoning, grammar-constrained decoding, and execution-feedback loops. Results show that offensive code-generation capabilities do not increase linearly with model size. Successful execution depends on the interaction of model capacity, task formulation, and prompting strategy, with task formulation exerting a greater influence than prompt engineering alone. Algorithmic formulation combined with few-shot prompting enables Qwen2.5-Coder 1.5B to reach Pass@5 of 100% in both Python and Lua for Directory Enumeration, 100% in Python for Backdoor Generation, and 99.2% in Lua. Although the evaluated models remain too computationally demanding for widespread deployment in contemporary malware, rapid progress in compact models may reduce this barrier. These findings help anticipate AI-assisted malware and inform future countermeasures.

View source

Similar papers

Open access 2026

Small Language Models Fine-Tuning to Enable Intent-Driven Management of Kubernetes Resources

Cloud-native infrastructure management increasingly demands intent-driven interfaces that translate natural language into executable commands, yet large language models (LLMs) introduce privacy risks, operational costs, and deployment constraints. This paper investigates whether small language models (SLMs) fine-tuned...

Dimitrios Brodimas, Georgios Polymanakos, M. Birbas et al. · 0 citations
Sep 2026

Φ-Bench: Can Large Language Models Engineer the Infrastructure That Powers Them?

The $\Phi$-Bench is a benchmark of 85 tasks grounded in real LLM training and inference codebases, and suggests that stronger models treat optimization as controlled experimentation, validating ideas with cheap local runs and ruling out confounders before drawing conclusions.

Lei-Lei Ding, Shu-Min Wang, Yu-Ting Huang et al. · 3 citations · ⚡2
#artificial intelligence Review Oct 2026

Topology-Conditioned Backdoors: Language Models That Insert Vulnerabilities When They Infer They Are in a Multi-Agent System

A language model may behave safely in a single-agent evaluation yet produce vulnerable code when its context suggests that it is part of a multi-agent system. We study this failure mode by fine-tuning Qwen2.5-7B-Instruct to condition code generation on deployment topology inferred from prompt-level provenance cues. On...

Keegan Wang, Anantika Mannby · 0 citations

Related blog posts

MIT News · Artificial Intelligence Nov 23, 2026

Many languages, one common neural code

Analyzing speakers of 21 languages, an MIT study using multilingual AI finds the human brain may represent meaning in much the same way.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.