|
| 1 | +--- |
| 2 | +title: Agentic offensive-security kill chain |
| 3 | +type: concept |
| 4 | +tags: [concept, agent-security, red-team, llm-pentest, kill-chain, agent-phishing, sandbox] |
| 5 | +keywords: [agentic red team, agent-phishing, worker orchestrator separation, 2606.24496, offensive security agents] |
| 6 | +related: |
| 7 | + - sources/arxiv-2606-24496-red-teaming-the-agentic-red-team.md |
| 8 | + - concepts/llm-pentest-automation.md |
| 9 | + - concepts/agent-runtime-guardrails.md |
| 10 | + - concepts/red-team-operations.md |
| 11 | + - concepts/agent-vm-sandboxing.md |
| 12 | + - concepts/docker-agent-sandbox-allowlist-proxy.md |
| 13 | + - concepts/ai-for-cybersecurity.md |
| 14 | + - entities/tools/airecon.md |
| 15 | + - entities/tools/pentest-ai-agents.md |
| 16 | + - entities/tools/pentest-ai.md |
| 17 | + - entities/tools/iron-proxy.md |
| 18 | + - sources/arxiv-zero-apt-llm-pentest-2606.05567-2026-06-05.md |
| 19 | + - concepts/mcp-security-posture.md |
| 20 | + |
| 21 | +maturity: draft |
| 22 | +created: 2026-06-25 |
| 23 | +updated: 2026-06-25 |
| 24 | +--- |
| 25 | + |
| 26 | +## Relations |
| 27 | + |
| 28 | +- @sources/arxiv-2606-24496-red-teaming-the-agentic-red-team.md — primary audit (2606.24496) |
| 29 | +- @concepts/llm-pentest-automation.md — Tier-2 deployment methodology |
| 30 | +- @concepts/agent-vm-sandboxing.md — substrate isolation complement |
| 31 | + |
| 32 | +## Raw Concept |
| 33 | + |
| 34 | +Ingest 2026-06-25: arXiv:2606.24496 — security model for **agentic offensive-security tools** when the engagement target is adversarial (honeypot / active defender). |
| 35 | + |
| 36 | +## Narrative |
| 37 | + |
| 38 | +### Architecture abstraction |
| 39 | + |
| 40 | +``` |
| 41 | +Orchestrator (secrets, memory, skills, UI, high-privilege APIs) |
| 42 | + ↔ Agent harness / guardrails |
| 43 | +Worker (bash runtime, tool execution) ← treat as UNTRUSTED after any target contact |
| 44 | +Target T (adversary-controlled during pentest) |
| 45 | +``` |
| 46 | + |
| 47 | +### Kill chain stages |
| 48 | + |
| 49 | +| Stage | Objective | |
| 50 | +|-------|-----------| |
| 51 | +| **LLM manipulation** | Agent-phishing: staged artifact on `T` → download + execute gates | |
| 52 | +| **Worker RCE** | Trojanized binary/config (cfgunpack, db-restore, pwcrypt patterns) | |
| 53 | +| **Lateral movement** | Worker → orchestrator (shared API keys, host-network, docker.sock) | |
| 54 | +| **Secrets exfil** | LLM API keys, Cobalt Strike tokens, cross-session findings | |
| 55 | +| **Persistence** | Skill injection via unauthenticated internal APIs (RedAmon-class) | |
| 56 | +| **Guardrail bypass** | CAI/xalgorix guardrails fail under active adversary model | |
| 57 | +| **Sandbox escape** | Privileged Docker, `--network=host`, orchestrator exec from worker message | |
| 58 | + |
| 59 | +### Agent-phishing (prompt-injection-free) |
| 60 | + |
| 61 | +1. Craft payload with hidden malicious functionality (plausible offensive artifact) |
| 62 | +2. Stage on honeypot as **critical artifact** for operation progress |
| 63 | +3. Agent downloads + executes after inspection → RCE |
| 64 | + |
| 65 | +**97.8%** success across 8 agents × 6 frontier LLMs (2606.24496 Table 3). Relies on **download gate** + **execute gate**, not injected prompts. |
| 66 | + |
| 67 | +### Landscape audit (Table 1 summary) |
| 68 | + |
| 69 | +10/12 tools: deterministic worker RCE + secrets exfil + host compromise path. Failures: **STRIX** (no reliable chain), **Artemis** (limited). **METATRON / nebula / xalgorix**: no OS sandbox — host compromise immediate. |
| 70 | + |
| 71 | +### Secure design principles (§9 steal-from) |
| 72 | + |
| 73 | +| Principle | Implementation | |
| 74 | +|-----------|----------------| |
| 75 | +| **Malicious worker model** | Assume worker compromise after target engagement | |
| 76 | +| **No secrets in worker** | API keys on orchestrator; proxy tool calls | |
| 77 | +| **Least-privilege Docker** | No docker.sock, no `--network=host`, no privileged unless scoped | |
| 78 | +| **Worker↔orchestrator isolation** | No shared blanket API keys; per-user authZ on internal APIs | |
| 79 | +| **Orchestrator-enforced guardrails** | Deny lists ineffective if only worker-side | |
| 80 | +| **Egress proxy + human gate** | High-impact actions require orchestrator approval | |
| 81 | + |
| 82 | +Pairs with @concepts/llm-pentest-automation.md Tier-2 scope gates — **scope ≠ sandbox security**. |
| 83 | + |
| 84 | +See `briefs/2026-06-25_agentic-red-team-secure-architecture-handoff.md` and `briefs/2026-06-25_agent-phishing-tier2-eval-checklist.md`. |
| 85 | + |
| 86 | +`[TENTATIVE]` — audit covers default configs of 12 OSS tools; hardened deployments not measured. |
| 87 | + |
| 88 | +## Snippets |
| 89 | + |
| 90 | +| Agent | Notable misconfig (2606.24496) | |
| 91 | +|-------|-------------------------------| |
| 92 | +| AIRecon | `--network=host` → orchestrator API abuse | |
| 93 | +| CAI / PentAGI | docker.sock mount | |
| 94 | +| RedAmon | Shared internal API key, no per-user checks | |
| 95 | +| PentestGPT | `python_session` runs on host orchestrator | |
| 96 | + |
| 97 | +[Source: arxiv-2606.24496] |
0 commit comments