Network technique
Goal: move from network signal to validated finding quickly, with reproducible triage and clear pivot logic.
When this technique applies
- Need to triage suspected network intrusion or anomalous traffic.
- Need to map exposed services before deeper testing.
- Need protocol-level reconstruction from PCAP or sensor logs.
- Need cross-source correlation (scan + metadata logs + packets).
- Need scenario-based tool selection instead of one-tool-for-all.
Boundary with offensive-tools
This skill defines workflow, triage decisions, and pivot strategy.
Tool flags and command syntax belong in offensive-tools/* skills.
Initial triage
Before collecting deeply, classify the network problem and choose the smallest evidence set that can change the conclusion.
- Starting state: is the task about exposure mapping, traffic reconstruction, interception, pivoting, auth abuse, or wireless presence?
- First questions: what is the exact objective, what time window or target boundary matters, and which source will answer that first with the least noise?
- Immediate actions: define scope, assign the case to one primary workflow, and collect only the minimum high-value telemetry for that case before pivoting wider.
- Tool-family direction: use discovery families (
masscan, rustscan, nmap) for exposure, metadata/packet families (zeek, tcpdump, wireshark) for traffic, proxy/MITM families for interception, and pivot/auth tool skills only after the path is justified.
- Escalation rule: do not mix case types prematurely; finish initial case classification before combining scan, packet, and auth evidence.
Agent operating model
The agent should keep this loop:
- Scope objective and boundary.
- Classify case type (exposure, traffic, interception, pivot, auth-abuse).
- Collect minimum high-value evidence first.
- Pivot and correlate across sources.
- Validate with independent evidence.
- Report findings with confidence and containment actions.
Do not increase depth before ensuring timeline/scope normalization and reproducible pivots.
Core network investigation lifecycle
- Scope: define target boundary, timeframe, and objective.
- Triage: classify the problem type (exposure, traffic anomaly, interception, pivot/tunnel).
- Collect: choose minimum high-value telemetry first.
- Pivot: correlate identities (IP/port/session UID/process/user where available).
- Validate: confirm key claims with independent evidence.
- Conclude: document facts, confidence, and containment/next actions.
Triage-first decision model
Case A: “What is exposed right now?”
Use scan-first workflow.
- Fast census for breadth, then deep service validation for precision.
- Separate discovery and validation phases; don’t jump to intrusive probing immediately.
Tool families:
- Discovery breadth:
offensive-tools/network/masscan/, offensive-tools/network/rustscan/
- Validation depth:
offensive-tools/network/nmap/
Case B: “What happened on the wire?”
Use metadata-first + packet drilldown workflow.
- Start from connection/protocol summaries.
- Pivot to packet-level only for sessions that materially change conclusions.
- For encrypted or opaque traffic, combine TLS JA3/JA4/JA4S, DNS behavior, flow timing, endpoint/process context, and certificate/SNI evidence before claiming C2.
- When evidence spans Zeek, firewall, proxy, DNS, endpoint, and packet logs, normalize into one schema before correlation.
Tool families:
- Metadata and protocol logs:
offensive-tools/forensic/zeek/
- Packet capture or replay context:
offensive-tools/forensic/tcpdump/
- Deep packet reconstruction:
offensive-tools/network/wireshark/
For DNS-heavy anomalies, prioritize query entropy, subdomain depth, TXT/NULL record abuse, DoH/DoT indicators, and timing/volume baselines before packet drilldown. Use references/scenario-playbooks.md Playbook F for suspected DNS exfiltration or covert channels.
Use references/encrypted-traffic-and-c2-profiling.md for TLS/JA3/JA4, beacon jitter, DNS C2, and confidence gates. Use references/log-aggregation.md when joining multi-source evidence.
Case C: “Need controlled interception/modification for app-network behavior”
Use proxy/MITM workflow.
- Establish legal/scope approval first.
- Use interception to validate request/response behavior and trust boundaries.
Tool families:
- HTTP(S) interception and replay:
offensive-tools/network/mitmproxy/
- L2/LAN interception scenarios:
offensive-tools/network/bettercap/
Case D: “Need lateral/pivot path into segmented network”
Use tunnel/pivot workflow.
- Validate route assumptions before wide scanning through tunnel.
- Keep pivot traffic scoped to objective-defined targets.
- After tunnel is established, route arbitrary tools through it with proxychains — avoids rebuilding the pivot for each tool.
Tool families:
- HTTP tunnel + SOCKS pivoting:
offensive-tools/network/chisel/
- Tool routing through SOCKS proxy: proxychains or equivalent OS routing tool (no dedicated repo skill yet)
Case E: “Suspected credential relay/poisoning or auth abuse”
Use auth-abuse workflow.
- Prioritize evidence of request origin, relay path, and affected protocol surfaces.
- Correlate timing with SMB/LDAP/Kerberos-related logs and host events.
- Cover the full modern vector set, not only LLMNR/NBT-NS: mDNS spoofing, WPAD (LLMNR + DHCP option 252), IPv6/DHCPv6 takeover (rogue RA + link-local DNS, mitm6-style), and coerced auth (PetitPotam / PrinterBug / DFSCoerce). See
references/scenario-playbooks.md Playbook E.
Tool families:
- Poisoning/relay context:
offensive-tools/network/responder/
- Supporting protocol evidence:
offensive-tools/forensic/zeek/, offensive-tools/network/wireshark/
Case F: “Need lightweight socket probe, relay, or file transfer without a full tool”
Use netcat workflow.
- Banner grab, port probe, quick TCP/UDP listener, or pipe-based file transfer.
- Use when a full scanner or proxy tool is too heavy or unavailable.
- Keep sessions documented; netcat leaves no persistent state.
Tool families:
offensive-tools/network/netcat/
Case H: “Windows/Active Directory network enumeration after credential capture”
Use credential-validation and lateral enumeration workflow.
- Validate captured credentials across all reachable Windows hosts before attempting exploitation.
- Enumerate shares, sessions, logged-on users, and local admin rights to identify high-value pivot targets.
- Correlate SMB signing status — unsigned hosts are relay targets; signed hosts require valid credentials.
- Use spray carefully: lockout policies are common in AD environments.
Tool families:
offensive-tools/windows/crackmapexec/ — SMB/WinRM/LDAP credential validation, share enumeration, command execution, hash spraying
Case G: “Wireless/RF traffic capture or network presence on 802.11/BLE”
Use wireless investigation workflow.
- Passive monitoring first: capture beacon frames to inventory SSIDs and clients before active association.
- Identify relevant APs: channel, BSSID, encryption type (WPA2/WPA3/OPN).
- Capture four-way handshake or PMKID for offline analysis (pair with
offensive-tools/cracking/).
- BLE enumeration uses a separate adapter and tool family.
Tool families:
offensive-tools/wireless/kismet/ — passive 802.11/BLE survey and logging
offensive-tools/wireless/aircrack-ng/ — capture, deauth, handshake collection
offensive-tools/wireless/wifite/ — automated multi-target WPA handshake collection
Quality gates
- Scope, authorization, and time window are explicit.
- At least one finding is corroborated by two independent data sources.
- Any claim of exploitation is separated from exposure-only evidence.
- Output includes exact pivot chain used to reach each conclusion.
Anti-patterns
- Running deep packet analysis on everything before metadata triage.
- Treating fast scanner output as final truth without validation.
- Mixing data from unmatched time windows and calling it a single narrative.
- Reporting “likely compromised” without a clear evidence chain.
Required deliverables from the agent
- Scope model and investigation objective.
- Case classification and rationale.
- Evidence chain with pivot sequence.
- Key findings with confidence labels.
- Follow-up actions linked to evidence.
Resources
- references/triage-and-flow.md — Load for first-pass case classification and minimum evidence collection flow.
- references/tool-selection-cases.md — Load when choosing the right tool family for exposure, traffic, interception, pivot, auth-abuse, or wireless cases.
- references/network-evidence-correlation.md — Load when joining scan, log, packet, endpoint, and identity evidence into one pivot chain.
- references/scenario-playbooks.md — Load for common investigation playbooks such as DNS exfiltration, beaconing, tunneling, and relay paths.
- references/encrypted-traffic-and-c2-profiling.md — Load for metadata-only C2 profiling, JA3/JA4 analysis, jitter, and confidence gates.
- references/log-aggregation.md — Load when evidence spans Zeek, firewall, proxy, DNS, endpoint, and packet sources that need one schema.
1---2name: network-technique3description: Auth/IR: network investigation; service exposure, traffic, PCAP/protocol logs, pivots, scan evidence, incident reconstruction.4license: MIT5---67# Network technique89Goal: move from **network signal to validated finding** quickly, with reproducible triage and clear pivot logic.1011## When this technique applies1213- Need to triage suspected network intrusion or anomalous traffic.14- Need to map exposed services before deeper testing.15- Need protocol-level reconstruction from PCAP or sensor logs.16- Need cross-source correlation (scan + metadata logs + packets).17- Need scenario-based tool selection instead of one-tool-for-all.1819## Boundary with offensive-tools2021This skill defines **workflow, triage decisions, and pivot strategy**.22Tool flags and command syntax belong in `offensive-tools/*` skills.2324## Initial triage2526Before collecting deeply, classify the network problem and choose the smallest evidence set that can change the conclusion.2728- **Starting state**: is the task about exposure mapping, traffic reconstruction, interception, pivoting, auth abuse, or wireless presence?29- **First questions**: what is the exact objective, what time window or target boundary matters, and which source will answer that first with the least noise?30- **Immediate actions**: define scope, assign the case to one primary workflow, and collect only the minimum high-value telemetry for that case before pivoting wider.31- **Tool-family direction**: use discovery families (`masscan`, `rustscan`, `nmap`) for exposure, metadata/packet families (`zeek`, `tcpdump`, `wireshark`) for traffic, proxy/MITM families for interception, and pivot/auth tool skills only after the path is justified.32- **Escalation rule**: do not mix case types prematurely; finish initial case classification before combining scan, packet, and auth evidence.3334## Agent operating model3536The agent should keep this loop:37381. Scope objective and boundary.392. Classify case type (exposure, traffic, interception, pivot, auth-abuse).403. Collect minimum high-value evidence first.414. Pivot and correlate across sources.425. Validate with independent evidence.436. Report findings with confidence and containment actions.4445Do not increase depth before ensuring timeline/scope normalization and reproducible pivots.4647## Core network investigation lifecycle48491. **Scope**: define target boundary, timeframe, and objective.502. **Triage**: classify the problem type (exposure, traffic anomaly, interception, pivot/tunnel).513. **Collect**: choose minimum high-value telemetry first.524. **Pivot**: correlate identities (IP/port/session UID/process/user where available).535. **Validate**: confirm key claims with independent evidence.546. **Conclude**: document facts, confidence, and containment/next actions.5556## Triage-first decision model5758### Case A: “What is exposed right now?”5960Use scan-first workflow.6162- Fast census for breadth, then deep service validation for precision.63- Separate discovery and validation phases; don’t jump to intrusive probing immediately.6465Tool families:66- Discovery breadth: `offensive-tools/network/masscan/`, `offensive-tools/network/rustscan/`67- Validation depth: `offensive-tools/network/nmap/`6869### Case B: “What happened on the wire?”7071Use metadata-first + packet drilldown workflow.7273- Start from connection/protocol summaries.74- Pivot to packet-level only for sessions that materially change conclusions.75- For encrypted or opaque traffic, combine TLS JA3/JA4/JA4S, DNS behavior, flow timing, endpoint/process context, and certificate/SNI evidence before claiming C2.76- When evidence spans Zeek, firewall, proxy, DNS, endpoint, and packet logs, normalize into one schema before correlation.7778Tool families:79- Metadata and protocol logs: `offensive-tools/forensic/zeek/`80- Packet capture or replay context: `offensive-tools/forensic/tcpdump/`81- Deep packet reconstruction: `offensive-tools/network/wireshark/`8283For DNS-heavy anomalies, prioritize query entropy, subdomain depth, TXT/NULL record abuse, DoH/DoT indicators, and timing/volume baselines before packet drilldown. Use `references/scenario-playbooks.md` Playbook F for suspected DNS exfiltration or covert channels.8485Use `references/encrypted-traffic-and-c2-profiling.md` for TLS/JA3/JA4, beacon jitter, DNS C2, and confidence gates. Use `references/log-aggregation.md` when joining multi-source evidence.8687### Case C: “Need controlled interception/modification for app-network behavior”8889Use proxy/MITM workflow.9091- Establish legal/scope approval first.92- Use interception to validate request/response behavior and trust boundaries.9394Tool families:95- HTTP(S) interception and replay: `offensive-tools/network/mitmproxy/`96- L2/LAN interception scenarios: `offensive-tools/network/bettercap/`9798### Case D: “Need lateral/pivot path into segmented network”99100Use tunnel/pivot workflow.101102- Validate route assumptions before wide scanning through tunnel.103- Keep pivot traffic scoped to objective-defined targets.104- After tunnel is established, route arbitrary tools through it with proxychains — avoids rebuilding the pivot for each tool.105106Tool families:107- HTTP tunnel + SOCKS pivoting: `offensive-tools/network/chisel/`108- Tool routing through SOCKS proxy: proxychains or equivalent OS routing tool (no dedicated repo skill yet)109110### Case E: “Suspected credential relay/poisoning or auth abuse”111112Use auth-abuse workflow.113114- Prioritize evidence of request origin, relay path, and affected protocol surfaces.115- Correlate timing with SMB/LDAP/Kerberos-related logs and host events.116- Cover the full modern vector set, not only LLMNR/NBT-NS: mDNS spoofing, WPAD (LLMNR + DHCP option 252), IPv6/DHCPv6 takeover (rogue RA + link-local DNS, mitm6-style), and coerced auth (PetitPotam / PrinterBug / DFSCoerce). See `references/scenario-playbooks.md` Playbook E.117118Tool families:119- Poisoning/relay context: `offensive-tools/network/responder/`120- Supporting protocol evidence: `offensive-tools/forensic/zeek/`, `offensive-tools/network/wireshark/`121122### Case F: “Need lightweight socket probe, relay, or file transfer without a full tool”123124Use netcat workflow.125126- Banner grab, port probe, quick TCP/UDP listener, or pipe-based file transfer.127- Use when a full scanner or proxy tool is too heavy or unavailable.128- Keep sessions documented; netcat leaves no persistent state.129130Tool families:131- `offensive-tools/network/netcat/`132133### Case H: “Windows/Active Directory network enumeration after credential capture”134135Use credential-validation and lateral enumeration workflow.136137- Validate captured credentials across all reachable Windows hosts before attempting exploitation.138- Enumerate shares, sessions, logged-on users, and local admin rights to identify high-value pivot targets.139- Correlate SMB signing status — unsigned hosts are relay targets; signed hosts require valid credentials.140- Use spray carefully: lockout policies are common in AD environments.141142Tool families:143- `offensive-tools/windows/crackmapexec/` — SMB/WinRM/LDAP credential validation, share enumeration, command execution, hash spraying144145### Case G: “Wireless/RF traffic capture or network presence on 802.11/BLE”146147Use wireless investigation workflow.148149- Passive monitoring first: capture beacon frames to inventory SSIDs and clients before active association.150- Identify relevant APs: channel, BSSID, encryption type (WPA2/WPA3/OPN).151- Capture four-way handshake or PMKID for offline analysis (pair with `offensive-tools/cracking/`).152- BLE enumeration uses a separate adapter and tool family.153154Tool families:155- `offensive-tools/wireless/kismet/` — passive 802.11/BLE survey and logging156- `offensive-tools/wireless/aircrack-ng/` — capture, deauth, handshake collection157- `offensive-tools/wireless/wifite/` — automated multi-target WPA handshake collection158159## Quality gates160161- Scope, authorization, and time window are explicit.162- At least one finding is corroborated by two independent data sources.163- Any claim of exploitation is separated from exposure-only evidence.164- Output includes exact pivot chain used to reach each conclusion.165166## Anti-patterns167168- Running deep packet analysis on everything before metadata triage.169- Treating fast scanner output as final truth without validation.170- Mixing data from unmatched time windows and calling it a single narrative.171- Reporting “likely compromised” without a clear evidence chain.172173## Required deliverables from the agent1741751. Scope model and investigation objective.1762. Case classification and rationale.1773. Evidence chain with pivot sequence.1784. Key findings with confidence labels.1795. Follow-up actions linked to evidence.180181## Resources182183- [references/triage-and-flow.md](references/triage-and-flow.md) — Load for first-pass case classification and minimum evidence collection flow.184- [references/tool-selection-cases.md](references/tool-selection-cases.md) — Load when choosing the right tool family for exposure, traffic, interception, pivot, auth-abuse, or wireless cases.185- [references/network-evidence-correlation.md](references/network-evidence-correlation.md) — Load when joining scan, log, packet, endpoint, and identity evidence into one pivot chain.186- [references/scenario-playbooks.md](references/scenario-playbooks.md) — Load for common investigation playbooks such as DNS exfiltration, beaconing, tunneling, and relay paths.187- [references/encrypted-traffic-and-c2-profiling.md](references/encrypted-traffic-and-c2-profiling.md) — Load for metadata-only C2 profiling, JA3/JA4 analysis, jitter, and confidence gates.188- [references/log-aggregation.md](references/log-aggregation.md) — Load when evidence spans Zeek, firewall, proxy, DNS, endpoint, and packet sources that need one schema.