Chuyển đến nội dung
Skillpedia
Bảo mật35k · #8159

mapping-mitre-attack-techniques

Skill này làm gì

Công cụ này giúp bạn hiểu những kỹ thuật tấn công mạng cụ thể nào mà hệ thống bảo mật của bạn có thể phát hiện. Nó so sánh phòng thủ của bạn với danh mục các chiến thuật tấn công đã biết (MITRE ATT&CK) để cho thấy bạn được bảo vệ ở đâu và còn thiếu sót ở đâu.

Khi nào nên dùng

  • ✓Để tạo bản đồ trực quan cho thấy những mối đe dọa mạng nào hệ thống bảo mật của bạn đã phát hiện.
  • ✓Để sắp xếp và gắn nhãn cảnh báo bảo mật theo loại tấn công mà chúng nhận diện.
  • ✓Để lên kế hoạch cải thiện bảo mật tốt hơn dựa trên cách kẻ tấn công thực sự hoạt động.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/mapping-mitre-attack-techniques/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/mapping-mitre-attack-techniques/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy cho tôi xem những kỹ thuật tấn công mạng nào mà các quy tắc bảo mật hiện tại của tôi có thể phát hiện.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng danh mục chính thức các chiến thuật tấn công (MITRE ATT&CK) và so sánh các quy tắc bảo mật của bạn với nó. Nó xác định những kỹ thuật tấn công nào đã được bao phủ và những kỹ thuật nào chưa, rồi tạo báo cáo hoặc bản đồ trực quan.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Mapping MITRE ATT&CK Techniques

When to Use

Use this skill when:

  • Generating an ATT&CK coverage heatmap to show which techniques your detection stack addresses
  • Tagging existing SIEM use cases or Sigma rules with ATT&CK technique IDs for structured reporting
  • Aligning your security program roadmap to specific adversary groups known to target your sector

Do not use this skill for real-time incident triage — ATT&CK mapping is an analytical activity best performed post-detection or during threat hunting planning.

Prerequisites

Workflow

Step 1: Obtain Current ATT&CK Data

Download the latest ATT&CK STIX bundle for the relevant matrix (Enterprise, Mobile, ICS):

curl -o enterprise-attack.json \
  https://raw.githubusercontent.com/mitre/cti/master/enterprise-attack/enterprise-attack.json

Use the mitreattack-python library to query techniques programmatically:

from mitreattack.stix20 import MitreAttackData

mitre = MitreAttackData("enterprise-attack.json")
techniques = mitre.get_techniques(remove_revoked_deprecated=True)
for t in techniques[:5]:
    print(t["external_references"][0]["external_id"], t["name"])

Step 2: Map Existing Detections to Techniques

For each SIEM rule or Sigma file, assign ATT&CK technique IDs. Sigma rules support native ATT&CK tagging:

tags:
  - attack.execution
  - attack.t1059.001  # PowerShell
  - attack.t1059.003  # Windows Command Shell

Create a coverage matrix: list each technique ID and mark as: Detected (alert fires), Logged (data present but no alert), Blind (no data source).

Step 3: Prioritize Coverage Gaps Using Threat Intelligence

Cross-reference coverage gaps with adversary groups targeting your sector. Use ATT&CK Groups data:

groups = mitre.get_groups()
apt29 = mitre.get_object_by_attack_id("G0016", "groups")
apt29_techniques = mitre.get_techniques_used_by_group(apt29)
for t in apt29_techniques:
    print(t["object"]["external_references"][0]["external_id"])

Prioritize adding detection for techniques used by high-priority threat groups where your coverage is blind.

Step 4: Build Navigator Heatmap

Export coverage scores as ATT&CK Navigator JSON layer:

import json

layer = {
    "name": "SOC Detection Coverage Q1 2025",
    "versions": {"attack": "14", "navigator": "4.9", "layer": "4.5"},
    "domain": "enterprise-attack",
    "techniques": [
        {"techniqueID": "T1059.001", "score": 100, "comment": "Splunk rule: PS_Encoded_Command"},
        {"techniqueID": "T1071.001", "score": 50, "comment": "Logged only, no alert"},
        {"techniqueID": "T1055", "score": 0, "comment": "No coverage — blind spot"}
    ],
    "gradient": {"colors": ["#ff6666", "#ffe766", "#8ec843"], "minValue": 0, "maxValue": 100}
}
with open("coverage_layer.json", "w") as f:
    json.dump(layer, f)

Import layer into ATT&CK Navigator (https://mitre-attack.github.io/attack-navigator/) for visualization.

Step 5: Generate Executive Coverage Report

Summarize coverage by tactic category (Initial Access, Execution, Persistence, etc.) with counts and percentages. Provide a risk-ranked list of top 10 blind-spot techniques based on adversary group usage frequency. Recommend data source additions (e.g., "Enable PowerShell Script Block Logging to address 12 Execution sub-technique gaps").

Key Concepts

Term Definition
ATT&CK Technique Specific adversary method identified by T-number (e.g., T1059 = Command and Scripting Interpreter)
Sub-technique More granular variant of a technique (e.g., T1059.001 = PowerShell, T1059.003 = Windows Command Shell)
Tactic Adversary goal category in ATT&CK: Initial Access, Execution, Persistence, Privilege Escalation, Defense Evasion, Credential Access, Discovery, Lateral Movement, Collection, C&C, Exfiltration, Impact
Data Source ATT&CK v10+ component identifying telemetry required to detect a technique (e.g., Process Creation, Network Traffic)

…

Câu hỏi thường gặp

MITRE ATT&CK là gì?

Đây là danh mục các chiến thuật và kỹ thuật tấn công mạng được công nhận trên toàn cầu, dựa trên những quan sát thực tế. Nó giúp hiểu cách kẻ tấn công hoạt động.

“Detection coverage” nghĩa là gì?

Đây là thước đo mức độ công cụ bảo mật của bạn có thể nhận diện và cảnh báo các hoạt động độc hại cụ thể, so với một tập hợp chiến thuật tấn công đã biết.

Tôi có thể dùng công cụ này để xem tấn công theo thời gian thực không?

Không. Công cụ này dùng để phân tích và lập kế hoạch. Nó giúp hiểu mức độ bao phủ bảo mật sau một sự cố hoặc trong quá trình lập kế hoạch, không dùng để xử lý tấn công khi đang diễn ra.

Chi tiết

Mô tả gốc của tác giả

Maps observed adversary behaviors, security alerts, and detection rules to MITRE ATT&CK techniques and sub-techniques to quantify detection coverage and guide control prioritization. Use when building an ATT&CK-based coverage heatmap, tagging SIEM alerts with technique IDs, aligning security controls to adversary playbooks, or reporting threat exposure to executives. Activates for requests involvi

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8159
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự