Tiny Enough to Break In: Agentic Remote Access Trojans Powered by Small Language Models
Yuhan You, Suhas Adavelly, Victoria Lovelace, Cameron Berryman, Joel Sadler, Daniel Graham
cs.CR
Submitted: 2026-08-04
Comments: 6 pages, 5 figures, 1 table. Formatted in Springer LNCS style
Project page: https://researcher111.github.io/ML-Security-Public
License: http://creativecommons.org/licenses/by/4.0/
The gist: Agentic artificial intelligence raises a new security concern: cyber threats that reason, act, and adapt locally without continuous human direction.
Terminology
Abstract
Agentic artificial intelligence raises a new security concern: cyber threats that reason, act, and adapt locally without continuous human direction. We examine this threat through an Agentic Remote Access Trojan (agentic RAT): a Remote Access Trojan augmented with a locally deployed Small Language Model (SLM). The SLM interprets host and network observations, selects actions, recovers from failed steps, and reduces reliance on an external operator. We implement the concept in a controlled, network-isolated lab built from Kali Linux, a Metasploitable2 target, LM Studio, and a local 8-billion-parameter Dolphin-family model. We then test whether a model this small can support autonomous cyber decision-making. This is architecturally feasible today. On commodity hardware, with no cloud service and no operator in the loop, the SLM closed the full observe-decide-act cycle: it interpreted ranked reconnaissance evidence supplied by the controller, selected actions, and obtained verified root-shell access on real vulnerable services. However, it is not yet operationally reliable. The same model hallucinated commands, misread output, and recovered from failure inconsistently, completing 10.9% of a deliberately strict checklist. That gap reflects the limits of today's small models, not a ceiling on the concept. As SLMs improve, agentic endpoint systems may become more practical, more autonomous, and harder to detect, straining existing monitoring, containment, and policy-enforcement mechanisms. Real-world incidents in 2025-2026 already show AI-driven intrusions moving from concept toward practice. That makes the local, self-contained variant we study a plausible near-term direction, not a hypothetical one.
Sources
- Botnet Detection by Monitoring Similar Communication Patterns
- Exploit Kits: The production line of the Cybercrime Economy
- ReAct: Synergizing Reasoning and Acting in Language Models
- SlimLM: An Efficient Small Language Model for On-Device Document Assistance
- Learning Explainable Representations of Malware Behavior
- Understanding the planning of LLM agents: A survey
- Less Is More: Engineering Challenges of On-Device Small Language Model Integration in a Mobile Application
- Reflexion: Language Agents with Verbal Reinforcement Learning
- SOK: A Taxonomy of Attack Vectors and Defense Strategies for Agentic Supply Chain Runtime
- Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks
- PentestGPT: An LLM-empowered Automatic Penetration Testing Tool
- AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attacks
- Cybench: A Framework for Evaluating Cybersecurity Capabilities and Risks of Language Models
- Hackphyr: A Local Fine-Tuned LLM Agent for Network Security Environments
- A Survey of LLM-Driven Penetration Testing: Taxonomy, Co-Evolution, and Open Challenges
- Toolformer: Language Models Can Teach Themselves to Use Tools
- Ransomware 3.0: Self-Composing and LLM-Orchestrated
- Small Language Models are the Future of Agentic AI
- LLM Agents can Autonomously Hack Websites
- LLM Agents can Autonomously Exploit One-day Vulnerabilities
Related papers
- SoK: AI-Augmented Binary Reversing
- Relaxed Sender Anonymity for CBDC Interbank Settlement: A Zero-Knowledge Approach on Permissioned EVM
- Calibration-Family Overfit: Why Trusted Sabotage Monitors Don't Transfer Across Lineages
- Estimating the Social Cost of Corporate Data Breaches
- Efficient Fuzzy PSI under One-Sided Assumptions
- Sealing the Audit-Runtime Gap for LLM Skills