본문으로 건너뛰기
cccskills
무료GitHub에 공개

packet-capture-analysis

Use when analyzing pcap or pcapng files, triaging network captures, labeling IPs with evidence, generating PNG charts, or writing packet analysis reports. Keywords: pcap, pcapng, tshark, Wireshark, scapy, DNS, TLS SNI, RDAP, graph, matplotlib, gnuplot, packet capture.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md6.5 KB
  • LICENSE.txt5.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Packet Capture Analysis

pcap / pcapng を読んで、全体像の把握、IP の意味付け、PNG 可視化、Markdown レポート化まで進めるための skill。

When To Use

  • pcap や pcapng を渡されて、まず何が起きているか把握したいとき
  • 主要通信先、主要会話、プロトコル構成を短時間で掴みたいとき
  • DNS、HTTP Host、TLS SNI、RDAP を使って IP に根拠付きラベルを付けたいとき
  • PNG グラフや Markdown レポートまで一緒に作りたいとき
  • 暗号化通信が多く、本文ではなく行動特性から説明したいとき
  • セキュリティ調査と運用調査のどちらにも使いたいとき

Core Principles

  • まずキャプチャ品質を見る。snaplen、時系列、件数、期間に問題があれば結論の強さを下げる。
  • 最初の 3 手は固定。Protocol Hierarchy → Endpoints → Conversations で全体像を作る。
  • IP は生のまま並べない。HTTP Host -> DNS 応答 -> TLS SNI / gQUIC SNI -> RDAP -> reverse DNS の順で意味付けする。
  • 証拠源は混ぜない。hostname と organization のような別種の根拠は分けて持つ。
  • Expert Information は入口であって結論ではない。前後の会話量、方向、再送、再組立てを見直す。
  • 暗号化通信は本文ではなく行動特性で説明する。相手先、方向、量、時間帯、継続時間で語る。
  • 一次集計は CLI、派生集計は Python。capinfos / tshark で切ってから scapy / matplotlib へ渡す。

Default Workflow

  1. 調査目的を固定する

    • 何を知りたいのかを先に決める。
    • 例: 大容量通信の相手、怪しい外部送信、特定アプリ通信、レポート化。
  2. キャプチャ品質を確認する

    • 期間、件数、平均レート、時系列、snaplen、pcapng の名前解決情報を確認する。
    • 品質に問題があるなら、その後の結論は「傾向把握寄り」に落とす。
  3. 全体像を作る

    • Protocol Hierarchy / Endpoints / Conversations でベースラインを作る。
    • ここでは細部に潜りすぎず、支配的プロトコル、主要通信先、主要会話を押さえる。
  4. 主要通信先を意味付けする

    • 上位 N 件の通信先から順にラベル付けする。
    • 全件一括照会は避け、報告対象候補だけを調べる。
    • 根拠が弱いものは Unknown のまま残す。
  5. 行動特性と異常候補を整理する

    • HTTP が見えるなら path / host / 方向 / 応答量を見る。
    • TLS / QUIC しか見えないなら、相手先、量、時間帯、継続時間で説明する。
    • 異常候補は 確認できたこと / 要再確認 / 未解決 で整理する。
  6. 可視化とレポート化を行う

    • 最低限、時系列 1 枚とランキング 1 枚を出す。
    • グラフには対象期間、集計単位、フィルタ条件、top N 基準を書く。
    • レポートは、要約 → 主要表/グラフ → 所見 → 未解決点 の順にまとめる。

Tool Choice

CLI を優先する場面

  • 初動トリアージ
  • 大きいキャプチャの一次集計
  • Protocol Hierarchy / Endpoints / Conversations
  • DNS / HTTP / TLS 情報の抽出

Python を優先する場面

  • CLI 結果の二次加工
  • 独自ランキングやラベル付け
  • PNG 生成
  • Markdown レポート化

描画の選び方

  • Python 内で完結したいなら matplotlib
  • 軽量 CLI で描きたいなら gnuplot

Minimum Outputs

  • 短い要約
  • 上位通信先表
  • 上位会話表
  • 根拠付き IP ラベル
  • 少なくとも 2 枚の PNG
    • 時間推移系 1 枚
    • ランキング系 1 枚
  • 確認できたこと / 要再確認 / 未解決 の整理

Anti-Patterns

  • Expert Information だけで障害確定する
  • 全 IP を無差別に外部照会する
  • 所有者情報をサービス名と同一視する
  • 暗号化通信を無理に本文ベースで説明しようとする
  • グラフに期間、集計単位、フィルタ条件を書かない
  • 大きいキャプチャを最初から Python で全件読込する

Completion Checks

  • キャプチャ品質確認が済んでいる
  • 主要プロトコル、主要通信先、主要会話を説明できる
  • 上位 IP または上位会話に、根拠付きラベルが付いている
  • 少なくとも 1 枚の時間推移 PNG と 1 枚のランキング PNG がある
  • 異常候補が 確認できたこと / 要再確認 / 未解決 に整理されている
  • レポートに、グラフ条件とラベル付け方針が書かれている
  • 暗号化通信でも行動特性ベースの説明ができている

References

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Design, review, and debug agent workflows, and decide when a request should use a prompt, instruction, skill, agent, or hook before escalating to multi-agent design. Use for .agent.md / .instructions.md / .prompt.md / AGENTS.md work, workflow architecture, orchestration planning, scheduled automation model allocation, or when agent workflows may be overkill. Triggers on 'agent workflow', 'create agent', 'automation models', 'ワークフロー設計', 'orchestrator'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aktsmm/Agent-Skills262026년 10월 18일 업데이트

Design, run, and review fair performance, token, and cost comparisons across GitHub Copilot CLI, Codex CLI, and direct model APIs. Use for AI CLI benchmark, Copilot vs Codex, prompt-cache diagnosis, cache read/write analysis, fresh-process latency measurement, token-cost comparison, or when a benchmark must separate provider caching from local CLI caches.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aktsmm/Agent-Skills262026년 10월 18일 업데이트

Analyze historical VS Code GitHub Copilot Chat sessions by model, reasoning effort, AIU, time, reliability, workflow behavior, and external quality evidence, or safely prune workspace-scoped local chat history by age. Use for session analysis, repeated-task retrospectives, model evaluation, cost/performance analysis, and old session cleanup.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aktsmm/Agent-Skills262026년 10월 18일 업데이트

Create reproducible animated infographic GIFs from structured data or measured results, with audience-language labels, explicit timing semantics, representative-frame QA, and a static fallback. Use when asked for GIF生成, animated infographic, 動的インフォグラフィック, 結果が流れる図, animated benchmark, or a blog/SNS animation whose displayed metrics must remain traceable to source data.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aktsmm/Agent-Skills262026년 10월 18일 업데이트

archify

무료

Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, and stateDiagram input; inspect repository evidence when the diagram must reflect real code. Use when the user asks to visualize system architecture, infrastructure, cloud/security/network topology, technical workflows, API call sequences, request lifecycles, data pipelines, ETL/ELT, data lineage, state machines, or to convert/beautify Mermaid. Also use for Archify, interactive or animated HTML diagrams, インタラクティブ図, 動く構成図. When an editable .drawio file is required, use the draw.io workflow instead and treat Archify HTML only as a supplement.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aktsmm/Agent-Skills262026년 10월 18일 업데이트

Generate ASCII-art text banners for terminals, READMEs, and CLI startup messages. Use when a user asks for an ASCII banner, text art, バナー, アスキーアート, or a decorative header for a script/README.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aktsmm/Agent-Skills262026년 10월 18일 업데이트

aktsmm의 스킬 모두 보기

이 스킬의 문제 신고