mlsanityData to 7 Oct 2026

Tiny Enough to Break In: Agentic Remote Access Trojans Powered by Small Language Models

arXiv 2608.03009 ↗First posted 4 Aug 2026cs.CRcited by 1

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

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.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 18 of its 33 references that are in the map. First posted on arXiv 4 Aug 2026.

Builds on

18 of 33 references.

Closest ancestors · 4

Same direction, newest first

  1. 2026Architecting Secure AI Agents: Perspectives on System-Level Defenses Against Indirect Prompt Injection Attacks31 Mar
  2. 2024Hackphyr: A Local Fine-Tuned LLM Agent for Network Security Environments17 Sep
  3. 2024LLM Agents can Autonomously Exploit One-day Vulnerabilities11 Apr
  4. 2024LLM Agents can Autonomously Hack Websites6 Feb

Other references · 14

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  2. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
  3. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  4. 2024Understanding the planning of LLM agents: A surveycited by 414
  5. 2025Small Language Models are the Future of Agentic AIcited by 254
  6. 2024Cybench: A Framework for Evaluating Cybersecurity Capabilities and Risks of Language Modelscited by 156
  7. 2023PentestGPT: An LLM-empowered Automatic Penetration Testing Toolcited by 94
  8. 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 94
  9. 2023Getting pwn'd by AI: Penetration Testing with Large Language Modelscited by 82
  10. 2024SlimLM: An Efficient Small Language Model for On-Device Document Assistancecited by 9
  11. 2021Learning Explainable Representations of Malware Behaviorcited by 2
  12. 2026A Survey of LLM-Driven Penetration Testing: Taxonomy, Co-Evolution, and Open Challengescited by 2
2 more
  1. 2017Exploit Kits: The production line of the Cybercrime Economycited by 1
  2. 2025Ransomware 3.0: Self-Composing and LLM-Orchestratedcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Agentic AI Security: Threats, Defenses, Evaluation, and Open Challenges
  2. 2026PocketAgents: A Manifest-Driven Library of Autonomous Defense Agents
  3. 2026Toward Securing AI Agents Like Operating Systems
  4. 2025The Evolution of Agentic AI in Cybersecurity: From Single LLM Reasoners to Multi-Agent Systems and Autonomous Pipelines
  5. 2025Systems Security Foundations for Agentic Computing
  6. 2026Trustworthy Agentic AI: A Comprehensive Cybersecurity and Systems Survey on Threat Landscapes, Defense Architectures, and Open Challenges
  7. 2026SoK: The Attack Surface of Agentic AI - Tools and Autonomy
  8. 2026A Survey of Agentic AI and Cybersecurity: Challenges, Opportunities and Use-case Prototypes