roe-template
Rules of Engagement document creation — scope definition, prohibited/permitted actions, testing windows, escalation contacts, incident procedures.
- License 许可
- Apache-2.0
- 所属仓库
- Akapi895/raptix
- 最近更新
- 2026-11-06
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- roe-template
- metadata
- { "tags": "roe, scope, engagement, authorization, legal", "subdomain": "planning", "when_to_use": "create RoE, define scope, engagement boundaries, start new engagement", "upstream_ref": "Soundwave Rules of Engagement template — scope / window / escalation / incident procedures" }
- description
- Rules of Engagement document creation — scope definition, prohibited/permitted actions, testing windows, escalation contacts, incident procedures.
- allowed-tools
- Read Write Edit
02 资源文件 2
- 参考文档references/roe-example.json1.9 KB
- 参考文档references/validation-checklist.md1.2 KB
03 SKILL.md 正文
Rules of Engagement (RoE) Generator
The RoE is the legally binding foundation of every red team engagement. All other documents build on it.
When to Use
- Starting a new engagement
- User says "create RoE", "define scope", "set boundaries"
- Before any other planning document can be created
Workflow
Step 1: Interview the User
Drive each dimension through one ask_user_question call (per CRITICAL_RULES #8 — every operator-facing question goes through the tool). Budget: 6 questions max for RoE (soundwave.md CRITICAL_RULES → Question Budget). Combine related fields into a single free-form answer instead of asking one field at a time — the picker returns raw text either way, so the agent parses multiple values out of one answer.
Identity & Scope
- Engagement name + client organization (ONE combined free-form question,
allow_other=truewith a sensible guessed pair as the option) - Engagement type — single-select:
external/internal/hybrid/assumed-breach/physical - Start date / end date / testing window with timezone (free-form,
allow_other=true— suggest defaults like "Mon-Fri 09:00-18:00 client TZ") - In-scope targets AND out-of-scope targets (ONE combined free-form question — "What's in scope, and what's explicitly excluded?",
allow_other=true)
Dangerous methods (mandatory, always asked)
1b. Ask once with ask_user_question: "Confirm the dangerous-method list. These methods are always prohibited and always need operator approval at runtime, even when HITL is off." Options: Confirm the default list (Recommended) (description lists the six labels below) and Add more methods with allow_other=true. This call counts as one of the six RoE questions. If the six are otherwise used up, fold item 3 (dates and window) into item 1's combined answer. Never skip this step.
The six default labels, kept verbatim in prohibited_actions:
Denial of Service (DoS/DDoS) and floodingBrute-force or password sprayingDestructive data changes (wipe, format, mass delete, drop)Encrypting data for impact (ransomware)Persistence beyond the engagementDisabling security controls or audit loggingOperator additions are appended. A default label is never removed, even if the operator answers with nothing else.
Boundaries & Escalation
5. Special permitted actions — phishing, raw-socket scans (multi-select). Do NOT offer password spraying here: it is a dangerous method, always prohibited by Step 1b. Prohibitions are handled by Step 1b, not by this question.
6. Escalation contacts (ONE combined free-form question asking for both slots at once — "Who are your primary contacts? (client lead + red team lead, with name/role/channel for each)", minimum 2) AND authorization reference / contract # folded into the same answer as a trailing field (allow_other=true)
If the operator's opening message already answers a dimension (e.g. they paste a CIDR range and say "external pentest"), extract it directly — do not re-ask it as one of the 6.
Step 2: Generate plan/roe.json
Use the RoE schema from raptix_core.types.engagement. Write to the engagement directory.
See references/roe-example.json for a complete example and ../references/schema-quick-reference.md for all required fields and valid values.
Add the machine_enforcement block to the same file. The runtime enforces scope from this block alone, and the planning handoff is refused without it:
"machine_enforcement": {
"mode": "enforce",
"in_scope": ["10.10.0.0/24", "app.example.com"],
"out_of_scope": ["10.10.0.99"]
}
modemust be"enforce".in_scopelists the same hosts, CIDRs and domain patterns as the in-scope targets from Step 1. It must not be empty, because an empty list allows every target. It must also cover the target the operator declared at launch.out_of_scopelists the exclusions from Step 1. Leave it empty if there are none.
Step 3: Validate
Run through the checklist in references/validation-checklist.md before presenting to user.
Generation Rules
- Always include default prohibited actions — the six dangerous-method labels from Step 1b (verbatim), unauthorized social engineering, unauthorized physical access, real data exfiltration, production data modification
- Scope must be specific — CIDR notation for IPs, wildcard notation for domains
- Testing window must include timezone
- At least 2 escalation contacts required
- Authorization reference must not be empty
machine_enforcementmust be present withmode: "enforce"and a non-emptyin_scope— see Step 2
Output
Write plan/roe.json to the engagement directory, then present a human-readable summary to the user for confirmation.
04 同仓库更多 Skills
wps-pixie-dust
WPS Pixie-Dust offline nonce attack (reaver -K / pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.
wpa3-sae
WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.
wpa2-psk
WPA/WPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer/SMB encryption mode in 2026.
wpa-enterprise-eap
WPA/WPA2/WPA3-Enterprise (802.1X/EAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.
krack-fragattacks
KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation/aggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.
evil-twin-karma
Evil-twin rogue AP with KARMA/Mana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK/open networks. Distinct from wpa-enterprise-eap which targets 802.1X.