Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

2.6 KiB

API Reference: Mapping MITRE ATT&CK Techniques

mitreattack-python Library

Method Description
MitreAttackData(stix_filepath=path) Load ATT&CK STIX 2.0 data bundle from file
get_techniques(remove_revoked_deprecated=False) Returns list[AttackPattern] STIX objects
get_groups(remove_revoked_deprecated=False) Returns list[IntrusionSet] STIX objects
get_techniques_used_by_group(group_stix_id) Returns list[dict] with t["object"] as AttackPattern
get_attack_id(stix_id=id) Resolve STIX ID to ATT&CK ID (e.g., T1059)
get_mitigations(remove_revoked_deprecated=False) Returns list[CourseOfAction]
get_software(remove_revoked_deprecated=False) Returns list[Malware or Tool]

ATT&CK Navigator API (Layer Format)

Field Type Description
techniques[].techniqueID string ATT&CK technique ID (e.g., T1059)
techniques[].score number Coverage score (0=gap, 1=detected)
techniques[].color string Hex color for heatmap visualization
domain string ATT&CK domain: enterprise-attack, mobile-attack, ics-attack

MITRE ATT&CK TAXII Server

Endpoint Description
cti-taxii.mitre.org/stix/collections/ List available STIX collections
cti-taxii.mitre.org/stix/collections/{id}/objects/ Download STIX objects

Sigma Rules (Detection Engineering)

Field Description
tags ATT&CK mapping (e.g., attack.t1059.001)
logsource.product Target log source (windows, linux, aws)
detection Search logic with conditions

Key Libraries

  • mitreattack-python (pip install mitreattack-python): Official MITRE ATT&CK Python library
  • stix2: Parse and create STIX 2.1 objects
  • taxii2-client: Download ATT&CK data from TAXII server
  • pySigma: Parse and convert Sigma detection rules

Configuration

Variable Description
ATTACK_STIX_PATH Path to local enterprise-attack.json STIX bundle
NAVIGATOR_URL ATT&CK Navigator instance URL

Data Sources

Source URL Description
ATT&CK STIX github.com/mitre/cti Official STIX bundles
ATT&CK Navigator github.com/mitre-attack/attack-navigator Layer visualization tool
Sigma Rules github.com/SigmaHQ/sigma Community detection rules

References