Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

threat-modeling

БесплатноБез исполняемых скриптовНе проверен

Systematic threat analysis using STRIDE and MITRE ATT&CK frameworks following Hack23 ISMS Threat Modeling Policy

Hack23от Hack23★ 15 звёзд на GitHub

Об этом скилле

Threat Modeling Skill

Purpose

This skill ensures systematic identification, analysis, and mitigation of security threats using structured methodologies as defined in the Hack23 ISMS Threat Modeling Policy. It applies to all systems, applications, and data flows within the organization.

Rules

Threat Modeling Process

MUST:

  • Perform threat modeling during design phase of all new systems and features
  • Use STRIDE framework (Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, Elevation of Privilege)
  • Map threats to MITRE ATT&CK framework techniques
  • Document threat model in version control alongside architecture docs
  • Review and update threat models when architecture changes
  • Assign risk ratings (Critical, High, Medium, Low) to identified threats
  • Define mitigation strategies for all High and Critical threats
  • Track threat model findings as security requirements

MUST NOT:

  • Skip threat modeling for "simple" or "low-risk" features
  • Perform threat modeling after implementation
  • Ignore threats rated Medium or Low
  • Treat threat modeling as one-time activity
  • Document threats without corresponding mitigations

STRIDE Framework Application

Spoofing Identity (S):

  • MUST implement strong authentication (MFA for privileged access)
  • MUST protect authentication credentials in transit and at rest
  • MUST validate identity at every trust boundary
  • MUST log authentication events

Tampering with Data (T):

  • MUST protect data integrity using cryptographic hashing or digital signatures
  • MUST implement input validation to prevent injection attacks
  • MUST use secure transport protocols (TLS 1.2+)
  • MUST implement audit logging for data modifications

Repudiation (R):

  • MUST implement comprehensive audit logging
  • MUST protect log integrity (append-only, tamper-evident)
  • MUST log user actions with sufficient detail for accountability
  • MUST implement time synchronization (NTP)

Information Disclosure (I):

  • MUST classify all data according to Data Classification Policy
  • MUST encrypt sensitive data at rest and in transit
  • MUST implement proper access controls
  • MUST sanitize error messages and logs

Denial of Service (D):

  • MUST implement rate limiting and throttling
  • MUST design for scalability and resource limits
  • MUST implement DDoS protection for public-facing services
  • MUST monitor resource utilization

Elevation of Privilege (E):

  • MUST implement principle of least privilege
  • MUST separate administrative and user functions
  • MUST validate authorization at each access point
  • MUST implement secure session management

MITRE ATT&CK Mapping

MUST:

  • Map identified threats to relevant ATT&CK techniques
  • Reference ATT&CK tactic and technique IDs in threat documentation
  • Use ATT&CK for threat intelligence and red team exercises
  • Update mappings when ATT&CK framework is updated
  • Consider both ATT&CK for Enterprise and ATT&CK for Cloud

Example Mappings:

  • Credential Dumping → T1003
  • Phishing → T1566
  • SQL Injection → T1190
  • Data Encrypted for Impact → T1486

Data Flow Diagrams (DFD)

MUST:

  • Create DFDs showing all data flows between system components
  • Identify trust boundaries in DFDs
  • Mark sensitive data flows
  • Document external entities, processes, data stores, and data flows
  • Use DFDs as basis for threat identification

Components:

  • External Entity (user, external system)
  • Process (application, service, function)
  • Data Store (database, file system, cache)
  • Data Flow (network traffic, API call, file access)
  • Trust Boundary (authentication point, network boundary)

Attack Trees

MUST:

  • Build attack trees for High and Critical assets
  • Identify multiple attack paths to achieve attacker goals
  • Estimate attack difficulty and likelihood
  • Prioritize mitigations based on attack tree analysis
  • Update attack trees when new threats emerge

Threat Risk Rating

Risk Formula: Risk = Likelihood × Impact

Likelihood Ratings:

  • High (3): Easily exploitable, well-known attack, no skill required
  • Medium (2): Moderate skill required, some barriers to exploitation
  • Low (1): Expert skill required, significant barriers

Impact Ratings:

  • Critical (4): Complete system compromise, data breach, financial loss >$100k
  • High (3): Significant data loss, system unavailability, financial loss $10k-$100k
  • Medium (2): Limited data exposure, degraded service, financial loss $1k-$10k
  • Low (1): Minimal impact, no data loss, financial loss <$1k

Risk Score Matrix:

  • 9-12: Critical (immediate action required)
  • 6-8: High (action required within 30 days)
  • 3-5: Medium (action required within 90 days)
  • 1-2: Low (accept or monitor)

Threat Mitigation

MUST:

  • Define specific mitigations for each identified threat
  • Assign mitigation responsibility
  • Track mitigation implementa
Полный SKILL.md на GitHub

Установить threat-modeling в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл threat-modeling?

Systematic threat analysis using STRIDE and MITRE ATT&CK frameworks following Hack23 ISMS Threat Modeling Policy

Как установить скилл threat-modeling?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл threat-modeling запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить threat-modeling с