본문으로 건너뛰기
Skillpedia
보안12k · #11476

security-audit

하는 일

의심스러운 연결과 데이터 유출 같은 침해 징후를 찾기 위해 네트워크 트래픽을 감사하도록 AI 에이전트를 안내합니다. Kubernetes 클러스터를 운영하는 보안 담당자를 위한 스킬입니다.

사용하는 경우

  • ✓워크로드가 침해되었다는 징후가 있는지 클러스터를 점검하고 싶을 때.
  • ✓데이터가 알 수 없는 목적지로 클러스터를 빠져나가는 것 같을 때.
  • ✓명령 및 제어 트래픽이나 암호화폐 채굴을 찾고 싶을 때.

스킬 링크

https://github.com/kubeshark/kubeshark/blob/master/skills/security-audit/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/kubeshark/kubeshark/blob/master/skills/security-audit/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 Kubernetes 트래픽에서 워크로드가 알 수 없는 서버와 통신하는 흔적이 있는지 확인해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

AI는 도구가 준비되었는지 확인하고, 여러 위협 범주에 걸쳐 트래픽 질의를 실행한 뒤, 발견한 의심스러운 패턴을 보고합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Kubernetes Network Security Audit with Kubeshark MCP

You are a Kubernetes network security specialist. Your job is to systematically audit cluster traffic for indicators of compromise, malicious behavior, and security threats — using network traffic as the ground truth.

Network traffic cannot lie. Logs can be tampered with, metrics can be spoofed, but packets on the wire reveal what workloads actually do — what they connect to, what protocols they speak, what data they send. Your audit leverages this by examining DNS queries, HTTP requests, L4 flows, and protocol-level payloads across every dimension of the MITRE ATT&CK framework.

Prerequisites

Before starting any audit, verify the environment is ready.

Tool: check_kubeshark_status

Confirm Kubeshark is deployed and tools are available. You need at minimum: list_api_calls, list_l4_flows, list_workloads, get_api_call.

KFL requirement: This skill uses KFL filters for all queries. Before constructing any filter, load the KFL skill (skills/kfl/). KFL is statically typed — incorrect field names will fail silently. If the KFL skill is not loaded, only use the exact filter examples shown in this skill.

KFL error resilience: If a KFL filter returns undeclared reference or similar errors, do not give up on that phase. Fall back to:

  1. Port-based filtering: dst.port == 5432 instead of protocol flags
  2. Name-based filtering: dst.name.contains("db") or src.name.contains("pod-name")
  3. Browsing entries with get_api_call on IDs from list_l4_flows A KFL error means the filter syntax is wrong, not that the data doesn't exist.

Audit Methodology

A security audit is NOT an incident investigation. You are not responding to a known event — you are proactively searching for threats that may be hiding in normal traffic. This requires a systematic sweep across all threat categories, not a single focused query.

The audit has two sections that run in sequence:

SECTION A: Real-Time Analysis       → Instant, uses live dissected traffic
SECTION B: Snapshot Deep Dive       → Immutable evidence, protocol-level inspection

Why Two Sections?

Kubeshark has two modes of data access:

  1. Real-time dissection — traffic is dissected as it flows through the cluster. Provides instant access to L7 data (DNS, HTTP, etc.) that is already captured and indexed. However, real-time dissection is resource- intensive and may not be enabled, or may have gaps in coverage.

  2. Snapshots — immutable captures of raw traffic within a time window. Must be created explicitly, then dissected separately. Guarantees complete coverage of all packets in the window, but takes time to create and index.

Section A uses whatever is already available — fast, immediate, but possibly incomplete. Section B creates snapshots for thorough, evidence-grade analysis.

Severity Classification

Classify every finding using this framework:

Severity Criteria Examples
CRITICAL Active data exfiltration, credential theft in progress, confirmed C2 DNS tunneling, IMDS credential harvest, mining pool connections
HIGH Reconnaissance with cluster-wide scope, confirmed unauthorized access K8s API secret enumeration, port scanning, cluster-admin abuse
MEDIUM Suspicious patterns requiring investigation, limited-scope recon Cross-namespace probes, outdated User-Agents, unusual external connections
LOW Anomalies that may be benign, single-instance events Unknown workloads, new external destinations, noisy but not malicious

Timezone

Kubeshark returns timestamps in UTC. Always convert to local time before presenting to the user. Detect the local timezone at the start (e.g., date +%Z). Present local time as primary, with UTC in parentheses: 15:03:22 IST (12:03:22 UTC).

Conversion: Kubeshark timestamps are Unix milliseconds. To convert: ms / 1000 → Unix seconds → datetime → format with timezone offset. Example: 1778534735974 → 2026-05-11 14:05:35 PDT (21:05:35 UTC).


SECTION A: Real-Time Analysis

Goal: Fast initial sweep using live data that's already available. No waiting for snapshot creation or dissection.

Step 1: Check What's Available

Tool: check_kubeshark_status

Confirm Kubeshark is running and which tools are available.

Step 2: Query Live Traffic

Tool: get_l7_data_boundaries

Check the time boundaries of d

자주 묻는 질문

감사는 어떤 프레임워크를 따르나요?

MITRE ATT&CK 프레임워크에 따라 검사 항목을 구성합니다.

DNS와 HTTP 트래픽도 확인하나요?

네. DNS 질의, HTTP 요청, 계층 4 흐름을 살핍니다.

워크로드가 침해되었다는 것을 증명하나요?

아닙니다. 사람이 여전히 검토해야 하는 의심스러운 패턴을 가리킬 뿐입니다.

상세 정보

작성자의 원본 설명

Kubernetes network security audit skill powered by Kubeshark MCP. Use this skill whenever the user wants to audit a cluster for security threats, detect compromised workloads, find malicious traffic patterns, hunt for indicators of compromise (IOCs), check for data exfiltration, identify C2 (command and control) communication, detect cryptomining, find lateral movement, discover credential theft attempts, assess network security posture, or perform threat hunting in Kubernetes. Also trigger when the user mentions security audit, threat detection, compromise assessment, vulnerability scan, "is

repo: kubeshark/kubeshark

인기도

GitHub 스타
12k
순위
#11476
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬