engage.actions
Execute Phase 7 - Actions on Objectives and Goal Achievement
Execute Phase 5 - Installation and Persistence Establishment
> /plugin marketplace add hypnguyen1209/offensive-claude > /plugin install offensive-claude@offensive-claude-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
/engage.installContext preview
What this command does when you run it.
Execute Phase 5 - Installation and Persistence Establishment
description: Execute Phase 5 - Installation and Persistence Establishment
Executes Phase 5 (Installation/Persistence) of the engagement workflow.
`/engage.install [--method <persistence-method>]`
Options:
Loads:
Before installing persistence:
Choose method based on target environment and OPSEC requirements:
**Linux Methods**:
**Windows Methods**:
**Cross-Platform Methods**:
Documents in `persistence-mechanism.md`:
**Persistence Details**:
**Stealth Considerations**:
After installation:
Populates `cleanup-plan.md` with:
**Cleanup Steps** (ordered):
**Cleanup Verification**:
Validates:
If gate passes, suggests: `/engage.c2`
Starting Phase 5: Installation Current access: User: root (via privesc from Phase 4) Host: admin.acme-corp.com (10.0.1.42) OS: Ubuntu 20.04 LTS Security controls detected: AV: ClamAV (signature-based) EDR: None HIDS: OSSEC Available persistence methods: 1. Cron job — Low detection risk 2. Systemd service — Medium detection risk 3. SSH authorized_keys — Low detection risk 4. Bashrc modification — Low detection risk Recommended: Systemd service (survives reboot, auto-restart) Alternate: Cron job (simpler, lower footprint) Which method? > 1 (Systemd service) Installing persistence... → Creating service unit file... /etc/systemd/system/syslog-ng-helper.service (named to blend with legitimate services) → Configuring service... ExecStart: /usr/lib/syslog-ng/.helper Restart: always RestartSec: 30s → Enabling service... systemctl daemon-reload systemctl enable syslog-ng-helper.service systemctl start syslog-ng-helper.service → Verifying persistence... Service status: active (running) Callback: Received at C2 → Testing reboot survival... (Manual verification recommended) Cleanup Plan Created: 1. systemctl stop syslog-ng-helper.service 2. systemctl disable syslog-ng-helper.service 3. rm /etc/systemd/system/syslog-ng-helper.service 4. rm /usr/lib/syslog-ng/.helper 5. systemctl daemon-reload 6. Verify removal: systemctl list-units | grep helper OPSEC Notes: - File timestamp set to match other files in /usr/lib/syslog-ng/ - Service name mimics legitimate syslog service - Binary has no suspicious strings Running gate validation... ✓ Phase 5 (Installation) gate validation PASSED Ready to proceed to Phase 6 (C2). Run: /engage.c2
Always create a detailed cleanup plan before installing persistence. Every artifact must be removable at engagement conclusion.
A spec-driven offensive security framework for Claude Code — structured engagement workflows based on the Cyber Kill Chain, 31 kill-chain skills (multi-file progressive-disclosure) plus a discipline layer (a SessionStart dispatcher + 6 process/discipline
Repo: hypnguyen1209/offensive-claude
Execute Phase 7 - Actions on Objectives and Goal Achievement
Crash → root cause → reachability → empirical exploitability verdict (native bugs)
Find the canonical fix commit(s) for a CVE across sources, then diff for root cause