Create offensive/0001
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366{ "id": "offstep-0002", "schema_version": "1.0", "engagement_meta": { "environment_type": "owned", "target_profile": { "category": "internal_network", "tech_stack": [ "802.11n", "WPA2-PSK", "Linux-based Gateway" ] }, "offensive_objective": "initial_access" }, "memory_in": { "assets": [ { "id": "target-ap-01", "role": "wireless_access_point", "ip": null, "ports": [], "services": [ "WPA2-PSK" ], "tags": [ "internet_exposed", "high_value" ] } ], "credentials": [], "tool_state": { "aircrack-ng": { "installed": true, "version": "1.7" }, "custom_wrappers": { "available": [ "wifi_handshake_capture_wrapper" ] } }, "offensive_findings": [], "failed_strategies": [], "constraints": [ "must remain undetected by network monitoring" ] }, "task": { "instruction": "Capture the WPA2 handshake of target-ap-01 and crack the PSK to gain network access.", "target_asset_id": "target-ap-01", "offensive_goal_type": "exploit", "success_criteria": [ "Capture valid EAPOL 4-way handshake", "Recover plaintext PSK via dictionary attack" ] }, "adaptive_reasoning": { "complexity": { "tier": "medium", "signals": [ "WPA2 encryption in place", "Active clients connected to AP" ], "reasoning_budget": "moderate" }, "offensive_cost_profile": { "time_cost": "medium", "stealth_cost": "low", "complexity_cost": "low", "acceptable_cost_level": "medium" } }, "cot": { "tier_1_context_and_mythos_analysis": { "context_summary": "Target AP is running WPA2-PSK. A client is currently associated. The goal is to obtain the PSK to allow further network penetration.", "mythos_vulnerability_patterns": [ { "name": "wpa2_handshake_leak", "description": "WPA2 relies on a 4-way handshake that can be captured off-the-air and cracked offline.", "evidence_matches": [ "WPA2-PSK encryption detected" ], "evidence_conflicts": [] } ], "vulnerability_hypotheses": [ { "hypothesis": "The PSK is likely contained in a common wordlist due to human-selected password patterns.", "pattern_sources": [ "wpa2_handshake_leak" ], "supporting_evidence": [ "Standard WPA2-PSK implementation" ], "conflicting_evidence": [], "confidence": 0.85 } ], "mythos_self_check": { "overreach_flags": [ "Assuming the PSK is in a wordlist may be an overreach if a truly random key was generated." ], "refinement_actions": [ "If dictionary attack fails, attempt rule-based permutations of known company keywords." ] } }, "tier_2_attack_chain_selection": { "candidate_chains": [ { "chain_id": "chain-wifi-01", "description": "Monitor mode -> Handshake capture -> Deauth attack -> Offline crack", "target_vulnerability_hypothesis": "WPA2-PSK handshake can be captured and cracked offline.", "steps": [ { "order": 1, "phase": "recon", "wrapper_name": "wifi_monitor_wrapper", "input_role": "interface", "expected_output_role": "monitor_mode_active", "notes": "Enable monitor mode on wlan0." }, { "order": 2, "phase": "exploit", "wrapper_name": "wifi_handshake_capture_wrapper", "input_role": "bssid", "expected_output_role": "handshake_file", "notes": "Capture EAPOL packets." }, { "order": 3, "phase": "exploit", "wrapper_name": "wifi_deauth_wrapper", "input_role": "client_mac", "expected_output_role": "handshake_trigger", "notes": "Force client to re-authenticate." }, { "order": 4, "phase": "exploit", "wrapper_name": "wifi_crack_wrapper", "input_role": "handshake_file", "expected_output_role": "plaintext_psk", "notes": "Crack the captured handshake." } ], "estimated_effectiveness": 0.9, "estimated_cost": { "time": "medium", "stealth": "medium", "complexity": "low" } } ], "selected_chain_id": "chain-wifi-01", "selection_rationale": "Most reliable method for WPA2-PSK without direct access to the router." }, "tier_3_offensive_wrapper_design": { "wrapper_specs": [ { "name": "wifi_handshake_capture_wrapper", "intent": "Capture WPA2 4-way handshake", "category": "exploit", "inputs": [ { "name": "bssid", "type": "string", "required": true }, { "name": "interface", "type": "string", "required": true } ], "outputs": [ { "name": "cap_file", "type": "file_path" } ], "dependencies": [ "aircrack-ng" ], "offensive_notes": "Requires monitor mode; generates passive traffic capture." } ] }, "tier_4_wrapper_implementation": { "code_snippets": [ { "name": "wifi_handshake_capture_wrapper", "language": "bash", "code": "airodump-ng --bssid $1 -c $2 -w $3 $4" } ], "implementation_rationale": "Directly invokes airodump-ng to write captured packets to a file for offline analysis." }, "tier_5_attack_effectiveness_risk_and_fallback": { "expected_offensive_outcome": "Recovery of the WPA2-PSK key allowing network access.", "assumptions": [ "A client is actively connected to the AP.", "The PSK is present in the provided wordlist." ], "potential_failure_modes": [ "No clients connected to trigger handshake.", "PSK not in wordlist." ], "fallback_strategies": [ { "trigger_condition": "No handshake captured after 10 minutes", "fallback_chain_reference": "chain-wifi-02-active_deauth", "priority": 1 } ], "mythos_reassessment_logic": "If cracking fails, the hypothesis that the PSK is in a common wordlist is disproven; shift to targeted wordlist generation based on target profile." } }, "execution_trace": { "executed_chain_id": "chain-wifi-01", "steps": [ { "order": 1, "wrapper_name": "wifi_monitor_wrapper", "input": { "interface": "wlan0" }, "output": { "status": "monitor_mode_on" }, "status": "success", "observations": [ "Interface wlan0 changed to monitor mode." ] }, { "order": 2, "wrapper_name": "wifi_handshake_capture_wrapper", "input": { "bssid": "00:11:22:33:44:55", "interface": "wlan0mon" }, "output": { "cap_file": "/tmp/handshake-01.cap" }, "status": "success", "observations": [ "Capturing packets on channel 6..." ] }, { "order": 3, "wrapper_name": "wifi_deauth_wrapper", "input": { "bssid": "00:11:22:33:44:55", "client": "AA:BB:CC:DD:EE:FF" }, "output": { "status": "packets_sent" }, "status": "success", "observations": [ "Deauth packets sent to client AA:BB:CC:DD:EE:FF" ] }, { "order": 4, "wrapper_name": "wifi_crack_wrapper", "input": { "cap_file": "/tmp/handshake-01.cap", "wordlist": "/usr/share/wordlists/rockyou.txt" }, "output": { "psk": "Password123" }, "status": "success", "observations": [ "Handshake found in cap file.", "Cracking started..." ] } ], "chain_outcome": "success", "chain_outcome_notes": "PSK recovered successfully." }, "validation": { "code_validation": { "syntax_valid": true, "tool_invocations_valid": true, "wrapper_spec_consistency": true }, "data_validation": { "parsed_output_consistent": true, "no_contradictions_with_memory": true, "mythos_hypotheses_grounded": true }, "chain_validation": { "selection_consistent_with_objective": true, "selection_consistent_with_mythos_analysis": true, "cost_vs_effectiveness_reasonable": true }, "verdict": { "passed": true, "score": 1.0 } }, "memory_out": { "assets": [ { "id": "target-ap-01", "role": "wireless_access_point", "ip": null, "ports": [], "services": [ "WPA2-PSK" ], "tags": [ "internet_exposed", "high_value", "compromised" ] } ], "credentials": [ { "scope": "host", "username": "wifi_psk", "quality": "valid" } ], "tool_state": { "aircrack-ng": { "installed": true, "version": "1.7" }, "custom_wrappers": { "available": [ "wifi_handshake_capture_wrapper", "wifi_deauth_wrapper", "wifi_crack_wrapper" ] } }, "offensive_findings": [ { "asset_id": "target-ap-01", "category": "credential_leak", "detail": "WPA2-PSK recovered: Password123" } ], "failed_strategies": [], "constraints": [ "must remain undetected by network monitoring" ], "mythos_learning": { "confirmed_patterns": [ "wpa2_handshake_leak" ], "disproven_patterns": [], "notes": "Confirmed that common wordlists are effective against this target's PSK." } }}offensive/0001Added+366