[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ER30RV2TDAHY7RMF3HAFXW":3,"skill-same:01M6ER30RV2TDAHY7RMF3HAFXW":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6ER30RV2TDAHY7RMF3HAFXW","analyzing-apt-group-with-mitre-navigator",null,"Analyze advanced persistent threat (APT) group techniques using MITRE ATT&CK Navigator to create layered heatmaps of adversary TTPs for detection gap analysis and threat-informed defense.","luokai0\u002Fai-agent-skills-by-luo-kai","luokai0","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F266954973?v=4","01M6E16VNT42JB8B3X3254QWJ7","luo kai","01M6E16VTFVP6S5XJF1V1MPV90",14,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fanalyzing-apt-group-with-mitre-navigator\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"apt","navigator","analyzing apt group with mitre navigator","analyzing","gap analysis","cybersecurity","gap","intelligence","analyze","analysis","TTP","defense","ATT&CK","threat-intelligence","detection-gap","ttp-analysis","threat-actor","mitre-attack","heatmap","create","2026-11-10 10:12:30",false,"---\nname: analyzing-apt-group-with-mitre-navigator\ndescription: Analyze advanced persistent threat (APT) group techniques using MITRE ATT&CK Navigator to create layered heatmaps of adversary TTPs for detection gap analysis and threat-informed defense.\ndomain: cybersecurity\nsubdomain: threat-intelligence\ntags: [mitre-attack, navigator, apt, threat-actor, ttp-analysis, heatmap, detection-gap, threat-intelligence]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\n---\n# Analyzing APT Group with MITRE ATT&CK Navigator\n\n## Overview\n\nMITRE ATT&CK Navigator is a web-based tool for annotating and exploring ATT&CK matrices, enabling analysts to visualize threat actor technique coverage, compare multiple APT groups, identify detection gaps, and build threat-informed defense strategies. This skill covers querying ATT&CK data programmatically, mapping APT group TTPs to Navigator layers, creating multi-layer overlays for gap analysis, and generating actionable intelligence reports for detection engineering teams.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing apt group with mitre navigator\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Python 3.9+ with `attackcti`, `mitreattack-python`, `stix2`, `requests` libraries\n- ATT&CK Navigator (https:\u002F\u002Fmitre-attack.github.io\u002Fattack-navigator\u002F) or local deployment\n- Understanding of ATT&CK Enterprise matrix: 14 Tactics, 200+ Techniques, Sub-techniques\n- Access to threat intelligence reports or MISP\u002FOpenCTI for threat actor data\n- Familiarity with STIX 2.1 Intrusion Set and Attack Pattern objects\n\n## Key Concepts\n\n### ATT&CK Navigator Layers\n\nNavigator layers are JSON files that annotate ATT&CK techniques with scores, colors, comments, and metadata. Each layer can represent a single APT group's technique usage, a detection capability map, or a combined overlay. Layer version 4.5 supports enterprise-attack, mobile-attack, and ics-attack domains with filtering by platform (Windows, Linux, macOS, Cloud, Azure AD, Office 365, SaaS).\n\n### APT Group Profiles in ATT&CK\n\nATT&CK catalogs over 140 threat groups with documented technique usage. Each group profile includes aliases, targeted sectors, associated campaigns, software used, and technique mappings with procedure-level detail. Groups are identified by G-codes (e.g., G0016 for APT29, G0007 for APT28, G0032 for Lazarus Group).\n\n### Multi-Layer Analysis\n\nThe Navigator supports loading multiple layers simultaneously, allowing analysts to overlay threat actor TTPs against detection coverage to identify gaps, compare multiple APT groups to find common techniques worth prioritizing, and track technique coverage changes over time.\n\n## Workflow\n\n### Step 1: Query ATT&CK Data for APT Group\n\n```python\nfrom attackcti import attack_client\nimport json\n\nlift = attack_client()\n\n# Get all threat groups\ngroups = lift.get_groups()\nprint(f\"Total ATT&CK groups: {len(groups)}\")\n\n# Find APT29 (Cozy Bear \u002F Midnight Blizzard)\napt29 = next((g for g in groups if g.get('name') == 'APT29'), None)\nif apt29:\n    print(f\"Group: {apt29['name']}\")\n    print(f\"Aliases: {apt29.get('aliases', [])}\")\n    print(f\"Description: {apt29.get('description', '')[:300]}\")\n\n# Get techniques used by APT29 (G0016)\ntechniques = lift.get_techniques_used_by_group(\"G0016\")\nprint(f\"APT29 uses {len(techniques)} techniques\")\n\ntechnique_map = {}\nfor tech in techniques:\n    tech_id = \"\"\n    for ref in tech.get(\"external_references\", []):\n        if ref.get(\"source_name\") == \"mitre-attack\":\n            tech_id = ref.get(\"external_id\", \"\")\n            break\n    if tech_id:\n        tactics = [p.get(\"phase_name\", \"\") for p in tech.get(\"kill_chain_phases\", [])]\n        technique_map[tech_id] = {\n            \"name\": tech.get(\"name\", \"\"),\n            \"tactics\": tactics,\n            \"description\": tech.get(\"description\", \"\")[:500],\n            \"platforms\": tech.get(\"x_mitre_platforms\", []),\n            \"data_sources\": tech.get(\"x_mitre_data_sources\", []),\n        }\n```\n\n### Step 2: Generate Navigator Layer JSON\n\n```python\ndef create_navigator_layer(group_name, technique_map, color=\"#ff6666\"):\n    techniques_list = []\n    for tech_id, info in technique_map.items():\n        for tactic in info[\"tactics\"]:\n            techniques_list.append({\n                \"techniqueID\": tech_id,\n                \"tactic\": tactic,\n                \"color\": color,\n                \"comment\": info[\"name\"],\n                \"enabled\": True,\n                \"score\": 100,\n                \"metadata\": [\n                    {\"name\": \"group\", \"value\": group_name},\n                    {\"name\": \"platforms\", \"value\": \", \".join(info[\"platforms\"])},\n                ],\n            })\n\n    layer = {\n        \"name\": f\"{group_name} TTP Coverage\",\n        \"versions\": {\"attack\": \"16.1\", \"navigator\": \"5.1.0\", \"layer\": \"4.5\"},\n        \"domain\": \"enterprise-attack\",\n        \"description\": f\"Techniques attributed to {group_name}\",\n        \"filters\": {\n            \"platforms\": [\"Linux\", \"macOS\", \"Windows\", \"Cloud\",\n                          \"Azure AD\", \"Office 365\", \"SaaS\", \"Google Workspace\"]\n        },\n        \"sorting\": 0,\n        \"layout\": {\n            \"layout\": \"side\", \"aggregateFunction\": \"average\",\n            \"showID\": True, \"showName\": True,\n            \"showAggregateScores\": False, \"countUnscored\": False,\n        },\n        \"hideDisabled\": False,\n        \"techniques\": techniques_list,\n        \"gradient\": {\"colors\": [\"#ffffff\", color], \"minValue\": 0, \"maxValue\": 100},\n        \"legendItems\": [\n            {\"label\": f\"Used by {group_name}\", \"color\": color},\n            {\"label\": \"Not observed\", \"color\": \"#ffffff\"},\n        ],\n        \"showTacticRowBackground\": True,\n        \"tacticRowBackground\": \"#dddddd\",\n        \"selectTechniquesAcrossTactics\": True,\n        \"selectSubtechniquesWithParent\": False,\n        \"selectVisibleTechniques\": False,\n    }\n    return layer\n\nlayer = create_navigator_layer(\"APT29\", technique_map)\nwith open(\"apt29_layer.json\", \"w\") as f:\n    json.dump(layer, f, indent=2)\nprint(\"[+] Layer saved: apt29_layer.json\")\n```\n\n### Step 3: Compare Multiple APT Groups\n\n```python\ngroups_to_compare = {\"G0016\": \"APT29\", \"G0007\": \"APT28\", \"G0032\": \"Lazarus Group\"}\ngroup_techniques = {}\n\nfor gid, gname in groups_to_compare.items():\n    techs = lift.get_techniques_used_by_group(gid)\n    tech_ids = set()\n    for t in techs:\n        for ref in t.get(\"external_references\", []):\n            if ref.get(\"source_name\") == \"mitre-attack\":\n                tech_ids.add(ref.get(\"external_id\", \"\"))\n    group_techniques[gname] = tech_ids\n\ncommon_to_all = set.intersection(*group_techniques.values())\nprint(f\"Techniques common to all groups: {len(common_to_all)}\")\nfor tid in sorted(common_to_all):\n    print(f\"  {tid}\")\n\nfor gname, techs in group_techniques.items():\n    others = set.union(*[t for n, t in group_techniques.items() if n != gname])\n    unique = techs - others\n    print(f\"\\nUnique to {gname}: {len(unique)} techniques\")\n```\n\n### Step 4: Detection Gap Analysis with Layer Overlay\n\n```python\n# Define your current detection capabilities\ndetected_techniques = {\n    \"T1059\", \"T1059.001\", \"T1071\", \"T1071.001\", \"T1566\", \"T1566.001\",\n    \"T1547\", \"T1547.001\", \"T1053\", \"T1053.005\", \"T1078\", \"T1027\",\n}\n\nactor_techniques = set(technique_map.keys())\ncovered = actor_techniques.intersection(detected_techniques)\ngaps = actor_techniques - detected_techniques\n\nprint(f\"=== Detection Gap Analysis for APT29 ===\")\nprint(f\"Actor techniques: {len(actor_techniques)}\")\nprint(f\"Detected: {len(covered)} ({len(covered)\u002Flen(actor_techniques)*100:.0f}%)\")\nprint(f\"Gaps: {len(gaps)} ({len(gaps)\u002Flen(actor_techniques)*100:.0f}%)\")\n\n# Create gap layer (red = undetected, green = detected)\ngap_techniques = []\nfor tech_id in actor_techniques:\n    info = technique_map.get(tech_id, {})\n    for tactic in info.get(\"tactics\", [\"\"]):\n        color = \"#66ff66\" if tech_id in detected_techniques else \"#ff3333\"\n        gap_techniques.append({\n            \"techniqueID\": tech_id,\n            \"tactic\": tactic,\n            \"color\": color,\n            \"comment\": f\"{'DETECTED' if tech_id in detected_techniques else 'GAP'}: {info.get('name', '')}\",\n            \"enabled\": True,\n            \"score\": 100 if tech_id in detected_techniques else 0,\n        })\n\ngap_layer = {\n    \"name\": \"APT29 Detection Gap Analysis\",\n    \"versions\": {\"attack\": \"16.1\", \"navigator\": \"5.1.0\", \"layer\": \"4.5\"},\n    \"domain\": \"enterprise-attack\",\n    \"description\": \"Green = detected, Red = gap\",\n    \"techniques\": gap_techniques,\n    \"gradient\": {\"colors\": [\"#ff3333\", \"#66ff66\"], \"minValue\": 0, \"maxValue\": 100},\n    \"legendItems\": [\n        {\"label\": \"Detected\", \"color\": \"#66ff66\"},\n        {\"label\": \"Detection Gap\", \"color\": \"#ff3333\"},\n    ],\n}\nwith open(\"apt29_gap_layer.json\", \"w\") as f:\n    json.dump(gap_layer, f, indent=2)\n```\n\n### Step 5: Tactic Breakdown Analysis\n\n```python\nfrom collections import defaultdict\n\ntactic_breakdown = defaultdict(list)\nfor tech_id, info in technique_map.items():\n    for tactic in info[\"tactics\"]:\n        tactic_breakdown[tactic].append({\"id\": tech_id, \"name\": info[\"name\"]})\n\ntactic_order = [\n    \"reconnaissance\", \"resource-development\", \"initial-access\",\n    \"execution\", \"persistence\", \"privilege-escalation\",\n    \"defense-evasion\", \"credential-access\", \"discovery\",\n    \"lateral-movement\", \"collection\", \"command-and-control\",\n    \"exfiltration\", \"impact\",\n]\n\nprint(\"\\n=== APT29 Tactic Breakdown ===\")\nfor tactic in tactic_order:\n    techs = tactic_breakdown.get(tactic, [])\n    if techs:\n        print(f\"\\n{tactic.upper()} ({len(techs)} techniques):\")\n        for t in techs:\n            print(f\"  {t['id']}: {t['name']}\")\n```\n\n## Validation Criteria\n\n- ATT&CK data queried successfully via TAXII server\n- APT group mapped to all documented techniques with procedure examples\n- Navigator layer JSON validates and renders correctly in ATT&CK Navigator\n- Multi-layer overlay shows threat actor vs. detection coverage\n- Detection gap analysis identifies unmonitored techniques with data source recommendations\n- Cross-group comparison reveals shared and unique TTPs\n- Output is actionable for detection engineering prioritization\n\n## References\n\n- [MITRE ATT&CK Navigator](https:\u002F\u002Fmitre-attack.github.io\u002Fattack-navigator\u002F)\n- [ATT&CK Groups](https:\u002F\u002Fattack.mitre.org\u002Fgroups\u002F)\n- [attackcti Python Library](https:\u002F\u002Fgithub.com\u002FOTRF\u002FATTACK-Python-Client)\n- [Navigator Layer Format v4.5](https:\u002F\u002Fgithub.com\u002Fmitre-attack\u002Fattack-navigator\u002Fblob\u002Fmaster\u002Flayers\u002FLAYERFORMATv4_5.md)\n- [CISA Best Practices for MITRE ATT&CK Mapping](https:\u002F\u002Fwww.cisa.gov\u002Fsites\u002Fdefault\u002Ffiles\u002F2023-01\u002FBest%20Practices%20for%20MITRE%20ATTCK%20Mapping.pdf)\n- [Picus: Leverage MITRE ATT&CK for Threat Intelligence](https:\u002F\u002Fwww.picussecurity.com\u002Fhow-to-leverage-the-mitre-attack-framework-for-threat-intelligence)\n","# Analyzing APT Group with MITRE ATT&CK Navigator\n\n## Overview\n\nMITRE ATT&CK Navigator is a web-based tool for annotating and exploring ATT&CK matrices, enabling analysts to visualize threat actor technique coverage, compare multiple APT groups, identify detection gaps, and build threat-informed defense strategies. This skill covers querying ATT&CK data programmatically, mapping APT group TTPs to Navigator layers, creating multi-layer overlays for gap analysis, and generating actionable intelligence reports for detection engineering teams.\n\n\n## When to Use\n\n- When investigating security incidents that require analyzing apt group with mitre navigator\n- When building detection rules or threat hunting queries for this domain\n- When SOC analysts need structured procedures for this analysis type\n- When validating security monitoring coverage for related attack techniques\n\n## Prerequisites\n\n- Python 3.9+ with `attackcti`, `mitreattack-python`, `stix2`, `requests` libraries\n- ATT&CK Navigator (https:\u002F\u002Fmitre-attack.github.io\u002Fattack-navigator\u002F) or local deployment\n- Understanding of ATT&CK Enterprise matrix: 14 Tactics, 200+ Techniques, Sub-techniques\n- Access to threat intelligence reports or MISP\u002FOpenCTI for threat actor data\n- Familiarity with STIX 2.1 Intrusion Set and Attack Pattern objects\n\n## Key Concepts\n\n### ATT&CK Navigator Layers\n\nNavigator layers are JSON files that annotate ATT&CK techniques with scores, colors, comments, and metadata. Each layer can represent a single APT group's technique usage, a detection capability map, or a combined overlay. Layer version 4.5 supports enterprise-attack, mobile-attack, and ics-attack domains with filtering by platform (Windows, Linux, macOS, Cloud, Azure AD, Office 365, SaaS).\n\n### APT Group Profiles in ATT&CK\n\nATT&CK catalogs over 140 threat groups with documented technique usage. Each group profile includes aliases, targeted sectors, associated campaigns, software used, and technique mappings with procedure-level detail. Groups are identified by G-codes (e.g., G0016 for APT29, G0007 for APT28, G0032 for Lazarus Group).\n\n### Multi-Layer Analysis\n\nThe Navigator supports loading multiple layers simultaneously, allowing analysts to overlay threat actor TTPs against detection coverage to identify gaps, compare multiple APT groups to find common techniques worth prioritizing, and track technique coverage changes over time.\n\n## Workflow\n\n### Step 1: Query ATT&CK Data for APT Group\n\n```python\nfrom attackcti import attack_client\nimport json\n\nlift = attack_client()\n\n# Get all threat groups\ngroups = lift.get_groups()\nprint(f\"Total ATT&CK groups: {len(groups)}\")\n\n# Find APT29 (Cozy Bear \u002F Midnight Blizzard)\napt29 = next((g for g in groups if g.get('name') == 'APT29'), None)\nif apt29:\n    print(f\"Group: {apt29['name']}\")\n    print(f\"Aliases: {apt29.get('aliases', [])}\")\n    print(f\"Description: {apt29.get('description', '')[:300]}\")\n\n# Get techniques used by APT29 (G0016)\ntechniques = lift.get_techniques_used_by_group(\"G0016\")\nprint(f\"APT29 uses {len(techniques)} techniques\")\n\ntechnique_map = {}\nfor tech in techniques:\n    tech_id = \"\"\n    for ref in tech.get(\"external_references\", []):\n        if ref.get(\"source_name\") == \"mitre-attack\":\n            tech_id = ref.get(\"external_id\", \"\")\n            break\n    if tech_id:\n        tactics = [p.get(\"phase_name\", \"\") for p in tech.get(\"kill_chain_phases\", [])]\n        technique_map[tech_id] = {\n            \"name\": tech.get(\"name\", \"\"),\n            \"tactics\": tactics,\n            \"description\": tech.get(\"description\", \"\")[:500],\n            \"platforms\": tech.get(\"x_mitre_platforms\", []),\n            \"data_sources\": tech.get(\"x_mitre_data_sources\", []),\n        }\n```\n\n### Step 2: Generate Navigator Layer JSON\n\n```python\ndef create_navigator_layer(group_name, technique_map, color=\"#ff6666\"):\n    techniques_list = []\n    for tech_id, info in technique_map.items():\n        for tactic in info[\"tactics\"]:\n            techniques_list.append({\n                \"techniqueID\": tech_id,\n                \"tactic\": tactic,\n                \"color\": color,\n                \"comment\": info[\"name\"],\n                \"enabled\": True,\n                \"score\": 100,\n                \"metadata\": [\n                    {\"name\": \"group\", \"value\": group_name},\n                    {\"name\": \"platforms\", \"value\": \", \".join(info[\"platforms\"])},\n                ],\n            })\n\n    layer = {\n        \"name\": f\"{group_name} TTP Coverage\",\n        \"versions\": {\"attack\": \"16.1\", \"navigator\": \"5.1.0\", \"layer\": \"4.5\"},\n        \"domain\": \"enterprise-attack\",\n        \"description\": f\"Techniques attributed to {group_name}\",\n        \"filters\": {\n            \"platforms\": [\"Linux\", \"macOS\", \"Windows\", \"Cloud\",\n                          \"Azure AD\", \"Office 365\", \"SaaS\", \"Google Workspace\"]\n        },\n        \"sorting\": 0,\n        \"layout\": {\n            \"layout\": \"side\", \"aggregateFunction\": \"average\",\n            \"showID\": True, \"showName\": True,\n            \"showAggregateScores\": False, \"countUnscored\": False,\n        },\n        \"hideDisabled\": False,\n        \"techniques\": techniques_list,\n        \"gradient\": {\"colors\": [\"#ffffff\", color], \"minValue\": 0, \"maxValue\": 100},\n        \"legendItems\": [\n            {\"label\": f\"Used by {group_name}\", \"color\": color},\n            {\"label\": \"Not observed\", \"color\": \"#ffffff\"},\n        ],\n        \"showTacticRowBackground\": True,\n        \"tacticRowBackground\": \"#dddddd\",\n        \"selectTechniquesAcrossTactics\": True,\n        \"selectSubtechniquesWithParent\": False,\n        \"selectVisibleTechniques\": False,\n    }\n    return layer\n\nlayer = create_navigator_layer(\"APT29\", technique_map)\nwith open(\"apt29_layer.json\", \"w\") as f:\n    json.dump(layer, f, indent=2)\nprint(\"[+] Layer saved: apt29_layer.json\")\n```\n\n### Step 3: Compare Multiple APT Groups\n\n```python\ngroups_to_compare = {\"G0016\": \"APT29\", \"G0007\": \"APT28\", \"G0032\": \"Lazarus Group\"}\ngroup_techniques = {}\n\nfor gid, gname in groups_to_compare.items():\n    techs = lift.get_techniques_used_by_group(gid)\n    tech_ids = set()\n    for t in techs:\n        for ref in t.get(\"external_references\", []):\n            if ref.get(\"source_name\") == \"mitre-attack\":\n                tech_ids.add(ref.get(\"external_id\", \"\"))\n    group_techniques[gname] = tech_ids\n\ncommon_to_all = set.intersection(*group_techniques.values())\nprint(f\"Techniques common to all groups: {len(common_to_all)}\")\nfor tid in sorted(common_to_all):\n    print(f\"  {tid}\")\n\nfor gname, techs in group_techniques.items():\n    others = set.union(*[t for n, t in group_techniques.items() if n != gname])\n    unique = techs - others\n    print(f\"\\nUnique to {gname}: {len(unique)} techniques\")\n```\n\n### Step 4: Detection Gap Analysis with Layer Overlay\n\n```python\n# Define your current detection capabilities\ndetected_techniques = {\n    \"T1059\", \"T1059.001\", \"T1071\", \"T1071.001\", \"T1566\", \"T1566.001\",\n    \"T1547\", \"T1547.001\", \"T1053\", \"T1053.005\", \"T1078\", \"T1027\",\n}\n\nactor_techniques = set(technique_map.keys())\ncovered = actor_techniques.intersection(detected_techniques)\ngaps = actor_techniques - detected_techniques\n\nprint(f\"=== Detection Gap Analysis for APT29 ===\")\nprint(f\"Actor techniques: {len(actor_techniques)}\")\nprint(f\"Detected: {len(covered)} ({len(covered)\u002Flen(actor_techniques)*100:.0f}%)\")\nprint(f\"Gaps: {len(gaps)} ({len(gaps)\u002Flen(actor_techniques)*100:.0f}%)\")\n\n# Create gap layer (red = undetected, green = detected)\ngap_techniques = []\nfor tech_id in actor_techniques:\n    info = technique_map.get(tech_id, {})\n    for tactic in info.get(\"tactics\", [\"\"]):\n        color = \"#66ff66\" if tech_id in detected_techniques else \"#ff3333\"\n        gap_techniques.append({\n            \"techniqueID\": tech_id,\n            \"tactic\": tactic,\n            \"color\": color,\n            \"comment\": f\"{'DETECTED' if tech_id in detected_techniques else 'GAP'}: {info.get('name', '')}\",\n            \"enabled\": True,\n            \"score\": 100 if tech_id in detected_techniques else 0,\n        })\n\ngap_layer = {\n    \"name\": \"APT29 Detection Gap Analysis\",\n    \"versions\": {\"attack\": \"16.1\", \"navigator\": \"5.1.0\", \"layer\": \"4.5\"},\n    \"domain\": \"enterprise-attack\",\n    \"description\": \"Green = detected, Red = gap\",\n    \"techniques\": gap_techniques,\n    \"gradient\": {\"colors\": [\"#ff3333\", \"#66ff66\"], \"minValue\": 0, \"maxValue\": 100},\n    \"legendItems\": [\n        {\"label\": \"Detected\", \"color\": \"#66ff66\"},\n        {\"label\": \"Detection Gap\", \"color\": \"#ff3333\"},\n    ],\n}\nwith open(\"apt29_gap_layer.json\", \"w\") as f:\n    json.dump(gap_layer, f, indent=2)\n```\n\n### Step 5: Tactic Breakdown Analysis\n\n```python\nfrom collections import defaultdict\n\ntactic_breakdown = defaultdict(list)\nfor tech_id, info in technique_map.items():\n    for tactic in info[\"tactics\"]:\n        tactic_breakdown[tactic].append({\"id\": tech_id, \"name\": info[\"name\"]})\n\ntactic_order = [\n    \"reconnaissance\", \"resource-development\", \"initial-access\",\n    \"execution\", \"persistence\", \"privilege-escalation\",\n    \"defense-evasion\", \"credential-access\", \"discovery\",\n    \"lateral-movement\", \"collection\", \"command-and-control\",\n    \"exfiltration\", \"impact\",\n]\n\nprint(\"\\n=== APT29 Tactic Breakdown ===\")\nfor tactic in tactic_order:\n    techs = tactic_breakdown.get(tactic, [])\n    if techs:\n        print(f\"\\n{tactic.upper()} ({len(techs)} techniques):\")\n        for t in techs:\n            print(f\"  {t['id']}: {t['name']}\")\n```\n\n## Validation Criteria\n\n- ATT&CK data queried successfully via TAXII server\n- APT group mapped to all documented techniques with procedure examples\n- Navigator layer JSON validates and renders correctly in ATT&CK Navigator\n- Multi-layer overlay shows threat actor vs. detection coverage\n- Detection gap analysis identifies unmonitored techniques with data source recommendations\n- Cross-group comparison reveals shared and unique TTPs\n- Output is actionable for detection engineering prioritization\n\n## References\n\n- [MITRE ATT&CK Navigator](https:\u002F\u002Fmitre-attack.github.io\u002Fattack-navigator\u002F)\n- [ATT&CK Groups](https:\u002F\u002Fattack.mitre.org\u002Fgroups\u002F)\n- [attackcti Python Library](https:\u002F\u002Fgithub.com\u002FOTRF\u002FATTACK-Python-Client)\n- [Navigator Layer Format v4.5](https:\u002F\u002Fgithub.com\u002Fmitre-attack\u002Fattack-navigator\u002Fblob\u002Fmaster\u002Flayers\u002FLAYERFORMATv4_5.md)\n- [CISA Best Practices for MITRE ATT&CK Mapping](https:\u002F\u002Fwww.cisa.gov\u002Fsites\u002Fdefault\u002Ffiles\u002F2023-01\u002FBest%20Practices%20for%20MITRE%20ATTCK%20Mapping.pdf)\n- [Picus: Leverage MITRE ATT&CK for Threat Intelligence](https:\u002F\u002Fwww.picussecurity.com\u002Fhow-to-leverage-the-mitre-attack-framework-for-threat-intelligence)\n",{"name":5,"tags":44,"author":45,"domain":24,"license":15,"version":46,"subdomain":32,"description":7},[36,20,19,35,34,37,33,32],"mahipal","1.0","main","4d2fb89cdfb75f3f6fd3c6c5ec9ad90ea129eb3c","ai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fanalyzing-apt-group-with-mitre-navigator",2,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai","https:\u002F\u002Fgithub.com\u002Fluokai0","a solo builder.","2026-05-06 04:29:04",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill analyzing-apt-group-with-mitre-navigator",{"tool":61,"command":62},"bunx","bunx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill analyzing-apt-group-with-mitre-navigator",{"tool":64,"command":65},"pnpm","pnpm dlx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill analyzing-apt-group-with-mitre-navigator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fanalyzing-apt-group-with-mitre-navigator\u002FSKILL.md",true,[69,74,80],{"path":70,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fanalyzing-apt-group-with-mitre-navigator\u002FLICENSE",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fapi-reference.md","REFERENCE","参考文档",2573,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fanalyzing-apt-group-with-mitre-navigator\u002Freferences\u002Fapi-reference.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fagent.py","SCRIPT","脚本",9099,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F08-pinkpixel-collection\u002Fanalyzing-apt-group-with-mitre-navigator\u002Fscripts\u002Fagent.py",[87,114,131,161,194,231],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":39},"01M6F2SKTE208174C7S7JJCZC7","write-contracts","Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement minting', 'generate Move module', 'create token contract', 'build DAO', 'implement staking'. Ask storage questions when: 'store', 'track', 'registry', 'mapping', 'list', 'collection'.","MIT","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fwrite-contracts\u002FSKILL.md",[],[95,96,97,98,99,38,100,101,102,103,104,105,106,107,108,109,110,111,112,113],"write","contracts","write contracts","storage","secure","generate","collection","model","decision","ask","smart-contracts","selection","objects","structure","nft","token","aptos","critical","move",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":39},"01M6F2RFXJ6T9MKW0A7N7GM45B","web-search","通用网络搜索技能，支持多引擎搜索（百度、必应、DuckDuckGo），无需API密钥即可获取实时信息","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fweb-search-ex-skill\u002FSKILL.md",[],[121,122,123,124,125,126,127,128,129,130],"web","search","web search","搜索","baidu","bing","duckduckgo","百度","多引擎","internet",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":142,"publishedAt":39},"01M6F2K968G1FZEZFPW2E6B222","solo-build","Execute implementation plan tasks with TDD workflow, auto-commit, and phase gates. Use when user says \"build it\", \"start building\", \"execute plan\", \"implement tasks\", \"ship it\", or references a track ID. Do NOT use for planning (use \u002Fplan) or scaffolding (use \u002Fscaffold).","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fsolo-build\u002FSKILL.md",[137],{"categoryNo":138,"categoryName":139,"taxonomyType":140,"taxonomyTypeDesc":141},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[143,144,145,146,147,148,149,150,122,151,152,153,95,154,155,156,157,158,159,160],"build","solo","solo build","MCP","workflow","commit","tasks","code","Bash","plan","read","auto","references","context7","query","scaffolding","ship it","project",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":173,"publishedAt":39},"01M6F2GKN39SGHSPWYB3662YC8","react-email","Use when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emails to HTML, or sending emails with Resend. Covers welcome emails, password resets, notifications, order confirmations, newsletters, transactional emails, and the embeddable email editor component.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Freact-email-skills\u002FSKILL.md",[167,170],{"categoryNo":168,"categoryName":169,"taxonomyType":140,"taxonomyTypeDesc":141},"01JBSEEDCAT000000000000005","邮件与沟通",{"categoryNo":171,"categoryName":172,"taxonomyType":140,"taxonomyTypeDesc":141},"01JBSEEDCAT000000000000009","前端开发",[174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193],"react","email","react email","github","editor","components","react components","component","welcome","https","notifications","password","node","use","html","resend","visual","emails","rendering","with",{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":212,"publishedAt":39},"01M6F2FBVGVDFSG8SSFJGXA40C","APITester Agent-Driven API Testing","Test API endpoints and document responses. Define tests in plain English, run them, get formatted results. Agent-driven Postman alternative.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fopenclaw-api-tester\u002FSKILL.md",[200,203,206,207],{"categoryNo":201,"categoryName":202,"taxonomyType":140,"taxonomyTypeDesc":141},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":204,"categoryName":205,"taxonomyType":140,"taxonomyTypeDesc":141},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":138,"categoryName":139,"taxonomyType":140,"taxonomyTypeDesc":141},{"categoryNo":208,"categoryName":209,"taxonomyType":210,"taxonomyTypeDesc":211},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230],"testing","api","api testing","driven","APITester Agent Driven API Testing","test","run","postman","results","plain english","tester","endpoints","document","get","define","tests","english","api-tester",{"skillNo":232,"name":233,"nameZh":6,"description":234,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":235,"categories":236,"keywords":237,"publishedAt":39},"01M6F273Y3NGAPVJZ608BC0G9G","hubspot-implementation-plan","Generate a phased implementation plan from a HubSpot audit report. Creates prioritized, sequenced cleanup processes with effort estimates, dependencies, and automation feasibility. Use after running \u002Fhubspot-audit.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fhubspot-implementation-plan\u002FSKILL.md",[],[152,238,239,240,241,242,243,100,244,245,246,247,248,187,249,250,193,251],"implementation","hubspot","hubspot implementation plan","automation","feasibility","cleanup","planning","report","audit","audit report","phased implementation","dependencies","processes","hubspot audit"]