arXiv cs.AI· Gabriel Hortea, Simon Pietro Romano, Juan Tapiador, Mario Varlese·· 12 小时前AI 评分38
从十亿参数到百万参数语言模型:嵌入式后渗透攻击的操作能力评估
From Billion-Scale to Million-Scale Language Models: Operational Capabilities for Embedded Post-Exploitation
AI 导读
研究系统评估了 7 个开源小语言模型(20M-1.5B 参数)在目录枚举与后门生成两类后渗透代码生成任务上的表现,发现攻击性代码生成能力并不随模型规模线性增长。
正文 · 原文
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.
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.23534 [cs.CR] |
| (or arXiv:2610.23534v1 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2610.23534 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Mario Varlese [view email]
[v1]
Fri, 16 Oct 2026 14:33:17 UTC (1,670 KB)
来源:arXiv cs.AI · arxiv.org