[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KB6EQ67MJAJ8Q1V9SDTW8J":3,"skill-same:01M6KB6EQ67MJAJ8Q1V9SDTW8J":78},{"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":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M6KB6EQ67MJAJ8Q1V9SDTW8J","threat-detection",null,"Use when hunting for threats in an environment, analyzing IOCs, or detecting behavioral anomalies in telemetry. Covers hypothesis-driven threat hunting, IOC sweep generation, z-score anomaly detection, and MITRE ATT&CK-mapped signal prioritization.","afaizalam2003\u002FMaster-claude-skill","afaizalam2003","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F222019359?v=4","01M6K8F2XNT0HKBPF00JQ78SV3","Faiz Alam","01M6K8F31EBXAPER0EG8R9HTR5",3,"MIT","https:\u002F\u002Fgithub.com\u002Fafaizalam2003\u002FMaster-claude-skill\u002Fblob\u002Fmain\u002Fengineering-team\u002Fthreat-detection\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"detection","threat detection","threat","environment","for","ck","hunting","detecting","anomaly detection","generation","behavioral","use","threat hunting","sweep","prioritization","ATT&CK","hypothesis","analyzing","ioc","telemetry","2026-11-10 10:12:30",false,"---\nname: \"threat-detection\"\ndescription: \"Use when hunting for threats in an environment, analyzing IOCs, or detecting behavioral anomalies in telemetry. Covers hypothesis-driven threat hunting, IOC sweep generation, z-score anomaly detection, and MITRE ATT&CK-mapped signal prioritization.\"\n---\n\n# Threat Detection\n\nThreat detection skill for proactive discovery of attacker activity through hypothesis-driven hunting, IOC analysis, and behavioral anomaly detection. This is NOT incident response (see incident-response) or red team operations (see red-team) — this is about finding threats that have evaded automated controls.\n\n---\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Threat Signal Analyzer](#threat-signal-analyzer)\n- [Threat Hunting Methodology](#threat-hunting-methodology)\n- [IOC Analysis](#ioc-analysis)\n- [Anomaly Detection](#anomaly-detection)\n- [MITRE ATT&CK Signal Prioritization](#mitre-attck-signal-prioritization)\n- [Deception and Honeypot Integration](#deception-and-honeypot-integration)\n- [Workflows](#workflows)\n- [Anti-Patterns](#anti-patterns)\n- [Cross-References](#cross-references)\n\n---\n\n## Overview\n\n### What This Skill Does\n\nThis skill provides the methodology and tooling for **proactive threat detection** — finding attacker activity through structured hunting hypotheses, IOC analysis, and statistical anomaly detection before alerts fire.\n\n### Distinction from Other Security Skills\n\n| Skill | Focus | Approach |\n|-------|-------|----------|\n| **threat-detection** (this) | Finding hidden threats | Proactive — hunt before alerts |\n| incident-response | Active incidents | Reactive — contain and investigate declared incidents |\n| red-team | Offensive simulation | Offensive — test defenses from attacker perspective |\n| cloud-security | Cloud misconfigurations | Posture — IAM, S3, network exposure |\n\n### Prerequisites\n\nRead access to SIEM\u002FEDR telemetry, endpoint logs, and network flow data. IOC feeds require freshness within 30 days to avoid false positives. Hunting hypotheses must be scoped to the environment before execution.\n\n---\n\n## Threat Signal Analyzer\n\nThe `threat_signal_analyzer.py` tool supports three modes: `hunt` (hypothesis scoring), `ioc` (sweep generation), and `anomaly` (statistical detection).\n\n```bash\n# Hunt mode: score a hypothesis against MITRE ATT&CK coverage\npython3 scripts\u002Fthreat_signal_analyzer.py --mode hunt \\\n  --hypothesis \"Lateral movement via PtH using compromised service account\" \\\n  --actor-relevance 3 --control-gap 2 --data-availability 2 --json\n\n# IOC mode: generate sweep targets from an IOC feed file\npython3 scripts\u002Fthreat_signal_analyzer.py --mode ioc \\\n  --ioc-file iocs.json --json\n\n# Anomaly mode: detect statistical outliers in telemetry events\npython3 scripts\u002Fthreat_signal_analyzer.py --mode anomaly \\\n  --events-file telemetry.json \\\n  --baseline-mean 100 --baseline-std 25 --json\n\n# List all supported MITRE ATT&CK techniques\npython3 scripts\u002Fthreat_signal_analyzer.py --list-techniques\n```\n\n### IOC file format\n\n```json\n{\n  \"ips\": [\"1.2.3.4\", \"5.6.7.8\"],\n  \"domains\": [\"malicious.example.com\"],\n  \"hashes\": [\"abc123def456...\"]\n}\n```\n\n### Telemetry events file format\n\n```json\n[\n  {\"timestamp\": \"2024-01-15T14:32:00Z\", \"entity\": \"host-01\", \"action\": \"dns_query\", \"volume\": 450},\n  {\"timestamp\": \"2024-01-15T14:33:00Z\", \"entity\": \"host-02\", \"action\": \"dns_query\", \"volume\": 95}\n]\n```\n\n### Exit codes\n\n| Code | Meaning |\n|------|---------|\n| 0 | No high-priority findings |\n| 1 | Medium-priority signals detected |\n| 2 | High-priority confirmed findings |\n\n---\n\n## Threat Hunting Methodology\n\nStructured threat hunting follows a five-step loop: hypothesis → data source identification → query execution → finding triage → feedback to detection engineering.\n\n### Hypothesis Scoring\n\n| Factor | Weight | Description |\n|--------|--------|-------------|\n| Actor relevance | ×3 | How closely does this TTP match known threat actors in your sector? |\n| Control gap | ×2 | How many of your existing controls would miss this behavior? |\n| Data availability | ×1 | Do you have the telemetry data needed to test this hypothesis? |\n\nPriority score = (actor_relevance × 3) + (control_gap × 2) + (data_availability × 1)\n\n### High-Value Hunt Hypotheses by Tactic\n\n| Hypothesis | MITRE ID | Data Sources | Priority Signal |\n|-----------|----------|--------------|-----------------|\n| WMI lateral movement via remote execution | T1047 | WMI logs, EDR process telemetry | WMI process spawned from WINRM, unusual parent-child chain |\n| LOLBin execution for defense evasion | T1218 | Process creation, command-line args | certutil.exe, regsvr32.exe, mshta.exe with network activity |\n| Beaconing C2 via jitter-heavy intervals | T1071.001 | Proxy logs, DNS logs | Regular interval outbound connections ±10% jitter |\n| Pass-the-Hash lateral movement | T1550.002 | Windows security event 4624 type 3 | NTLM auth from unexpected source host to admin share |\n| LSASS memory access | T1003.001 | EDR memory access events | OpenProcess on lsass.exe from non-system process |\n| Kerberoasting | T1558.003 | Windows event 4769 | High volume TGS requests for service accounts |\n| Scheduled task persistence | T1053.005 | Sysmon Event 1\u002F11, Windows 4698 | Scheduled task created in non-standard directory |\n\n---\n\n## IOC Analysis\n\nIOC analysis determines whether indicators are fresh, maps them to required sweep targets, and filters stale data that generates false positives.\n\n### IOC Types and Sweep Priority\n\n| IOC Type | Staleness Threshold | Sweep Target | MITRE Coverage |\n|---------|--------------------|--------------|----|\n| IP addresses | 30 days | Firewall logs, NetFlow, proxy logs | T1071, T1105 |\n| Domains | 30 days | DNS resolver logs, proxy logs | T1568, T1583 |\n| File hashes | 90 days | EDR file creation, AV scan logs | T1105, T1027 |\n| URLs | 14 days | Proxy access logs, browser history | T1566.002 |\n| Mutex names | 180 days | EDR runtime artifacts | T1055 |\n\n### IOC Staleness Handling\n\nIOCs older than their threshold are flagged as `stale` and excluded from sweep target generation. Running sweeps against stale IOCs inflates false positive rates and reduces SOC credibility. Refresh IOC feeds from threat intelligence platforms (MISP, OpenCTI, commercial TI) before every hunt cycle.\n\n---\n\n## Anomaly Detection\n\nStatistical anomaly detection identifies behavior that deviates from established baselines without relying on known-bad signatures.\n\n### Z-Score Thresholds\n\n| Z-Score | Classification | Response |\n|---------|---------------|----------|\n| \u003C 2.0 | Normal | No action required |\n| 2.0–2.9 | Soft anomaly | Log and monitor — increase sampling |\n| ≥ 3.0 | Hard anomaly | Escalate to hunt analyst — investigate entity |\n\n### Baseline Requirements\n\nEffective anomaly detection requires at least 14 days of historical telemetry to establish a valid baseline. Baselines must be recomputed after:\n- Security incidents (post-incident behavior change)\n- Major infrastructure changes (cloud migrations, new SaaS deployments)\n- Seasonal usage pattern changes (end of quarter, holiday periods)\n\n### High-Value Anomaly Targets\n\n| Entity Type | Metric | Anomaly Indicator |\n|-------------|--------|--------------------|\n| DNS resolver | Queries per hour per host | Beaconing, tunneling, DGA |\n| Endpoint | Unique process executions per day | Malware installation, LOLBin abuse |\n| Service account | Auth events per hour | Credential stuffing, lateral movement |\n| Email gateway | Attachment types per hour | Phishing campaign spike |\n| Cloud IAM | API calls per identity per hour | Credential compromise, exfiltration |\n\n---\n\n## MITRE ATT&CK Signal Prioritization\n\nEach hunting hypothesis maps to one or more ATT&CK techniques. Techniques with multiple confirmed signals in your environment are higher priority.\n\n### Tactic Coverage Matrix\n\n| Tactic | Key Techniques | Primary Data Source |\n|--------|---------------|--------------------|-|\n| Initial Access | T1190, T1566, T1078 | Web access logs, email gateway, auth logs |\n| Execution | T1059, T1047, T1218 | Process creation, command-line, script execution |\n| Persistence | T1053, T1543, T1098 | Scheduled tasks, services, account changes |\n| Defense Evasion | T1027, T1562, T1070 | Process hollowing, log clearing, encoding |\n| Credential Access | T1003, T1558, T1110 | LSASS, Kerberos, auth failures |\n| Lateral Movement | T1550, T1021, T1534 | NTLM auth, remote services, internal spearphish |\n| Collection | T1074, T1560, T1114 | Staging directories, archive creation, email access |\n| Exfiltration | T1048, T1041, T1567 | Unusual outbound volume, DNS tunneling, cloud storage |\n| Command & Control | T1071, T1572, T1568 | Beaconing, protocol tunneling, DNS C2 |\n\n---\n\n## Deception and Honeypot Integration\n\nDeception assets generate high-fidelity alerts — any interaction with a honeypot is an unambiguous signal requiring investigation.\n\n### Deception Asset Types and Placement\n\n| Asset Type | Placement | Signal | ATT&CK Technique |\n|-----------|-----------|--------|-----------------|\n| Honeypot credentials in password vault | Vault secrets store | Credential access attempt | T1555 |\n| Honey tokens (fake AWS access keys) | Git repos, S3 objects | Reconnaissance or exfiltration | T1552.004 |\n| Honey files (named: passwords.xlsx) | File shares, endpoints | Collection staging | T1074 |\n| Honey accounts (dormant AD users) | Active Directory | Lateral movement pivot | T1078.002 |\n| Honeypot network services | DMZ, flat network segments | Network scanning, service exploitation | T1046, T1190 |\n\nHoneypot alerts bypass the standard scoring pipeline — any hit is an automatic SEV2 until proven otherwise.\n\n---\n\n## Workflows\n\n### Workflow 1: Quick Hunt (30 Minutes)\n\nFor responding to a new threat intelligence report or CVE alert:\n\n```bash\n# 1. Score hypothesis against environment context\npython3 scripts\u002Fthreat_signal_analyzer.py --mode hunt \\\n  --hypothesis \"Exploitation of CVE-YYYY-NNNNN in Apache\" \\\n  --actor-relevance 2 --control-gap 3 --data-availability 2 --json\n\n# 2. Build IOC sweep list from threat intel\necho '{\"ips\": [\"1.2.3.4\"], \"domains\": [\"malicious.tld\"], \"hashes\": []}' > iocs.json\npython3 scripts\u002Fthreat_signal_analyzer.py --mode ioc --ioc-file iocs.json --json\n\n# 3. Check for anomalies in web server telemetry from last 24h\npython3 scripts\u002Fthreat_signal_analyzer.py --mode anomaly \\\n  --events-file web_events_24h.json --baseline-mean 80 --baseline-std 20 --json\n```\n\n**Decision**: If hunt priority ≥ 7 or any IOC sweep hits, escalate to full hunt.\n\n### Workflow 2: Full Threat Hunt (Multi-Day)\n\n**Day 1 — Hypothesis Generation:**\n1. Review threat intelligence feeds for sector-relevant TTPs\n2. Map last 30 days of security alerts to ATT&CK tactics to identify gaps\n3. Score top 5 hypotheses with threat_signal_analyzer.py hunt mode\n4. Prioritize by score — start with highest\n\n**Day 2 — Data Collection and Query Execution:**\n1. Pull relevant telemetry from SIEM (date range: last 14 days)\n2. Run anomaly detection across entity baselines\n3. Execute IOC sweeps for all feeds fresh within 30 days\n4. Review hunt playbooks in `references\u002Fhunt-playbooks.md`\n\n**Day 3 — Triage and Reporting:**\n1. Triage all anomaly findings — confirm or dismiss\n2. Escalate confirmed activity to incident-response\n3. Document new detection rules from hunt findings\n4. Submit false-positive IOCs back to TI provider\n\n### Workflow 3: Continuous Monitoring (Automated)\n\nConfigure recurring anomaly detection against key entity baselines on a 6-hour cadence:\n\n```bash\n# Run as cron job every 6 hours — auto-escalate on exit code 2\npython3 scripts\u002Fthreat_signal_analyzer.py --mode anomaly \\\n  --events-file \u002Fvar\u002Flog\u002Ftelemetry\u002Fevents_6h.json \\\n  --baseline-mean \"${BASELINE_MEAN}\" \\\n  --baseline-std \"${BASELINE_STD}\" \\\n  --json > \u002Fvar\u002Flog\u002Fthreat-detection\u002F$(date +%Y%m%d_%H%M%S).json\n\n# Alert on exit code 2 (hard anomaly)\nif [ $? -eq 2 ]; then\n  send_alert \"Hard anomaly detected — threat_signal_analyzer\"\nfi\n```\n\n---\n\n## Anti-Patterns\n\n1. **Hunting without a hypothesis** — Running broad queries across all telemetry without a focused question generates noise, not signal. Every hunt must start with a testable hypothesis scoped to one or two ATT&CK techniques.\n2. **Using stale IOCs** — IOCs older than 30 days generate false positives that train analysts to ignore alerts. Always check IOC freshness before sweeping; exclude stale indicators from automated sweeps.\n3. **Skipping baseline establishment** — Anomaly detection without a valid baseline produces alerts on normal high-volume days. Require 14+ days of baseline data before enabling statistical alerting on any entity type.\n4. **Hunting only known techniques** — Hunting exclusively against documented ATT&CK techniques misses novel adversary behavior. Regularly include open-ended anomaly analysis that can surface unknown TTPs.\n5. **Not closing the feedback loop to detection engineering** — Hunt findings that confirm malicious behavior must produce new detection rules. Hunting that doesn't improve detection coverage has no lasting value.\n6. **Treating every anomaly as a confirmed threat** — High z-scores indicate deviation from baseline, not confirmed malice. All anomalies require human triage to confirm or dismiss before escalation.\n7. **Ignoring honeypot alerts** — Any interaction with a deception asset is a high-fidelity signal. Treating honeypot alerts as noise invalidates the entire deception investment.\n\n---\n\n## Cross-References\n\n| Skill | Relationship |\n|-------|-------------|\n| [incident-response](..\u002Fincident-response\u002FSKILL.md) | Confirmed threats from hunting escalate to incident-response for triage and containment |\n| [red-team](..\u002Fred-team\u002FSKILL.md) | Red team exercises generate realistic TTPs that inform hunt hypothesis prioritization |\n| [cloud-security](..\u002Fcloud-security\u002FSKILL.md) | Cloud posture findings (open S3, IAM wildcards) create hunting targets for data exfiltration TTPs |\n| [security-pen-testing](..\u002Fsecurity-pen-testing\u002FSKILL.md) | Pen test findings identify attack surfaces that threat hunting should monitor post-remediation |\n","# Threat Detection\n\nThreat detection skill for proactive discovery of attacker activity through hypothesis-driven hunting, IOC analysis, and behavioral anomaly detection. This is NOT incident response (see incident-response) or red team operations (see red-team) — this is about finding threats that have evaded automated controls.\n\n---\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Threat Signal Analyzer](#threat-signal-analyzer)\n- [Threat Hunting Methodology](#threat-hunting-methodology)\n- [IOC Analysis](#ioc-analysis)\n- [Anomaly Detection](#anomaly-detection)\n- [MITRE ATT&CK Signal Prioritization](#mitre-attck-signal-prioritization)\n- [Deception and Honeypot Integration](#deception-and-honeypot-integration)\n- [Workflows](#workflows)\n- [Anti-Patterns](#anti-patterns)\n- [Cross-References](#cross-references)\n\n---\n\n## Overview\n\n### What This Skill Does\n\nThis skill provides the methodology and tooling for **proactive threat detection** — finding attacker activity through structured hunting hypotheses, IOC analysis, and statistical anomaly detection before alerts fire.\n\n### Distinction from Other Security Skills\n\n| Skill | Focus | Approach |\n|-------|-------|----------|\n| **threat-detection** (this) | Finding hidden threats | Proactive — hunt before alerts |\n| incident-response | Active incidents | Reactive — contain and investigate declared incidents |\n| red-team | Offensive simulation | Offensive — test defenses from attacker perspective |\n| cloud-security | Cloud misconfigurations | Posture — IAM, S3, network exposure |\n\n### Prerequisites\n\nRead access to SIEM\u002FEDR telemetry, endpoint logs, and network flow data. IOC feeds require freshness within 30 days to avoid false positives. Hunting hypotheses must be scoped to the environment before execution.\n\n---\n\n## Threat Signal Analyzer\n\nThe `threat_signal_analyzer.py` tool supports three modes: `hunt` (hypothesis scoring), `ioc` (sweep generation), and `anomaly` (statistical detection).\n\n```bash\n# Hunt mode: score a hypothesis against MITRE ATT&CK coverage\npython3 scripts\u002Fthreat_signal_analyzer.py --mode hunt \\\n  --hypothesis \"Lateral movement via PtH using compromised service account\" \\\n  --actor-relevance 3 --control-gap 2 --data-availability 2 --json\n\n# IOC mode: generate sweep targets from an IOC feed file\npython3 scripts\u002Fthreat_signal_analyzer.py --mode ioc \\\n  --ioc-file iocs.json --json\n\n# Anomaly mode: detect statistical outliers in telemetry events\npython3 scripts\u002Fthreat_signal_analyzer.py --mode anomaly \\\n  --events-file telemetry.json \\\n  --baseline-mean 100 --baseline-std 25 --json\n\n# List all supported MITRE ATT&CK techniques\npython3 scripts\u002Fthreat_signal_analyzer.py --list-techniques\n```\n\n### IOC file format\n\n```json\n{\n  \"ips\": [\"1.2.3.4\", \"5.6.7.8\"],\n  \"domains\": [\"malicious.example.com\"],\n  \"hashes\": [\"abc123def456...\"]\n}\n```\n\n### Telemetry events file format\n\n```json\n[\n  {\"timestamp\": \"2024-01-15T14:32:00Z\", \"entity\": \"host-01\", \"action\": \"dns_query\", \"volume\": 450},\n  {\"timestamp\": \"2024-01-15T14:33:00Z\", \"entity\": \"host-02\", \"action\": \"dns_query\", \"volume\": 95}\n]\n```\n\n### Exit codes\n\n| Code | Meaning |\n|------|---------|\n| 0 | No high-priority findings |\n| 1 | Medium-priority signals detected |\n| 2 | High-priority confirmed findings |\n\n---\n\n## Threat Hunting Methodology\n\nStructured threat hunting follows a five-step loop: hypothesis → data source identification → query execution → finding triage → feedback to detection engineering.\n\n### Hypothesis Scoring\n\n| Factor | Weight | Description |\n|--------|--------|-------------|\n| Actor relevance | ×3 | How closely does this TTP match known threat actors in your sector? |\n| Control gap | ×2 | How many of your existing controls would miss this behavior? |\n| Data availability | ×1 | Do you have the telemetry data needed to test this hypothesis? |\n\nPriority score = (actor_relevance × 3) + (control_gap × 2) + (data_availability × 1)\n\n### High-Value Hunt Hypotheses by Tactic\n\n| Hypothesis | MITRE ID | Data Sources | Priority Signal |\n|-----------|----------|--------------|-----------------|\n| WMI lateral movement via remote execution | T1047 | WMI logs, EDR process telemetry | WMI process spawned from WINRM, unusual parent-child chain |\n| LOLBin execution for defense evasion | T1218 | Process creation, command-line args | certutil.exe, regsvr32.exe, mshta.exe with network activity |\n| Beaconing C2 via jitter-heavy intervals | T1071.001 | Proxy logs, DNS logs | Regular interval outbound connections ±10% jitter |\n| Pass-the-Hash lateral movement | T1550.002 | Windows security event 4624 type 3 | NTLM auth from unexpected source host to admin share |\n| LSASS memory access | T1003.001 | EDR memory access events | OpenProcess on lsass.exe from non-system process |\n| Kerberoasting | T1558.003 | Windows event 4769 | High volume TGS requests for service accounts |\n| Scheduled task persistence | T1053.005 | Sysmon Event 1\u002F11, Windows 4698 | Scheduled task created in non-standard directory |\n\n---\n\n## IOC Analysis\n\nIOC analysis determines whether indicators are fresh, maps them to required sweep targets, and filters stale data that generates false positives.\n\n### IOC Types and Sweep Priority\n\n| IOC Type | Staleness Threshold | Sweep Target | MITRE Coverage |\n|---------|--------------------|--------------|----|\n| IP addresses | 30 days | Firewall logs, NetFlow, proxy logs | T1071, T1105 |\n| Domains | 30 days | DNS resolver logs, proxy logs | T1568, T1583 |\n| File hashes | 90 days | EDR file creation, AV scan logs | T1105, T1027 |\n| URLs | 14 days | Proxy access logs, browser history | T1566.002 |\n| Mutex names | 180 days | EDR runtime artifacts | T1055 |\n\n### IOC Staleness Handling\n\nIOCs older than their threshold are flagged as `stale` and excluded from sweep target generation. Running sweeps against stale IOCs inflates false positive rates and reduces SOC credibility. Refresh IOC feeds from threat intelligence platforms (MISP, OpenCTI, commercial TI) before every hunt cycle.\n\n---\n\n## Anomaly Detection\n\nStatistical anomaly detection identifies behavior that deviates from established baselines without relying on known-bad signatures.\n\n### Z-Score Thresholds\n\n| Z-Score | Classification | Response |\n|---------|---------------|----------|\n| \u003C 2.0 | Normal | No action required |\n| 2.0–2.9 | Soft anomaly | Log and monitor — increase sampling |\n| ≥ 3.0 | Hard anomaly | Escalate to hunt analyst — investigate entity |\n\n### Baseline Requirements\n\nEffective anomaly detection requires at least 14 days of historical telemetry to establish a valid baseline. Baselines must be recomputed after:\n- Security incidents (post-incident behavior change)\n- Major infrastructure changes (cloud migrations, new SaaS deployments)\n- Seasonal usage pattern changes (end of quarter, holiday periods)\n\n### High-Value Anomaly Targets\n\n| Entity Type | Metric | Anomaly Indicator |\n|-------------|--------|--------------------|\n| DNS resolver | Queries per hour per host | Beaconing, tunneling, DGA |\n| Endpoint | Unique process executions per day | Malware installation, LOLBin abuse |\n| Service account | Auth events per hour | Credential stuffing, lateral movement |\n| Email gateway | Attachment types per hour | Phishing campaign spike |\n| Cloud IAM | API calls per identity per hour | Credential compromise, exfiltration |\n\n---\n\n## MITRE ATT&CK Signal Prioritization\n\nEach hunting hypothesis maps to one or more ATT&CK techniques. Techniques with multiple confirmed signals in your environment are higher priority.\n\n### Tactic Coverage Matrix\n\n| Tactic | Key Techniques | Primary Data Source |\n|--------|---------------|--------------------|-|\n| Initial Access | T1190, T1566, T1078 | Web access logs, email gateway, auth logs |\n| Execution | T1059, T1047, T1218 | Process creation, command-line, script execution |\n| Persistence | T1053, T1543, T1098 | Scheduled tasks, services, account changes |\n| Defense Evasion | T1027, T1562, T1070 | Process hollowing, log clearing, encoding |\n| Credential Access | T1003, T1558, T1110 | LSASS, Kerberos, auth failures |\n| Lateral Movement | T1550, T1021, T1534 | NTLM auth, remote services, internal spearphish |\n| Collection | T1074, T1560, T1114 | Staging directories, archive creation, email access |\n| Exfiltration | T1048, T1041, T1567 | Unusual outbound volume, DNS tunneling, cloud storage |\n| Command & Control | T1071, T1572, T1568 | Beaconing, protocol tunneling, DNS C2 |\n\n---\n\n## Deception and Honeypot Integration\n\nDeception assets generate high-fidelity alerts — any interaction with a honeypot is an unambiguous signal requiring investigation.\n\n### Deception Asset Types and Placement\n\n| Asset Type | Placement | Signal | ATT&CK Technique |\n|-----------|-----------|--------|-----------------|\n| Honeypot credentials in password vault | Vault secrets store | Credential access attempt | T1555 |\n| Honey tokens (fake AWS access keys) | Git repos, S3 objects | Reconnaissance or exfiltration | T1552.004 |\n| Honey files (named: passwords.xlsx) | File shares, endpoints | Collection staging | T1074 |\n| Honey accounts (dormant AD users) | Active Directory | Lateral movement pivot | T1078.002 |\n| Honeypot network services | DMZ, flat network segments | Network scanning, service exploitation | T1046, T1190 |\n\nHoneypot alerts bypass the standard scoring pipeline — any hit is an automatic SEV2 until proven otherwise.\n\n---\n\n## Workflows\n\n### Workflow 1: Quick Hunt (30 Minutes)\n\nFor responding to a new threat intelligence report or CVE alert:\n\n```bash\n# 1. Score hypothesis against environment context\npython3 scripts\u002Fthreat_signal_analyzer.py --mode hunt \\\n  --hypothesis \"Exploitation of CVE-YYYY-NNNNN in Apache\" \\\n  --actor-relevance 2 --control-gap 3 --data-availability 2 --json\n\n# 2. Build IOC sweep list from threat intel\necho '{\"ips\": [\"1.2.3.4\"], \"domains\": [\"malicious.tld\"], \"hashes\": []}' > iocs.json\npython3 scripts\u002Fthreat_signal_analyzer.py --mode ioc --ioc-file iocs.json --json\n\n# 3. Check for anomalies in web server telemetry from last 24h\npython3 scripts\u002Fthreat_signal_analyzer.py --mode anomaly \\\n  --events-file web_events_24h.json --baseline-mean 80 --baseline-std 20 --json\n```\n\n**Decision**: If hunt priority ≥ 7 or any IOC sweep hits, escalate to full hunt.\n\n### Workflow 2: Full Threat Hunt (Multi-Day)\n\n**Day 1 — Hypothesis Generation:**\n1. Review threat intelligence feeds for sector-relevant TTPs\n2. Map last 30 days of security alerts to ATT&CK tactics to identify gaps\n3. Score top 5 hypotheses with threat_signal_analyzer.py hunt mode\n4. Prioritize by score — start with highest\n\n**Day 2 — Data Collection and Query Execution:**\n1. Pull relevant telemetry from SIEM (date range: last 14 days)\n2. Run anomaly detection across entity baselines\n3. Execute IOC sweeps for all feeds fresh within 30 days\n4. Review hunt playbooks in `references\u002Fhunt-playbooks.md`\n\n**Day 3 — Triage and Reporting:**\n1. Triage all anomaly findings — confirm or dismiss\n2. Escalate confirmed activity to incident-response\n3. Document new detection rules from hunt findings\n4. Submit false-positive IOCs back to TI provider\n\n### Workflow 3: Continuous Monitoring (Automated)\n\nConfigure recurring anomaly detection against key entity baselines on a 6-hour cadence:\n\n```bash\n# Run as cron job every 6 hours — auto-escalate on exit code 2\npython3 scripts\u002Fthreat_signal_analyzer.py --mode anomaly \\\n  --events-file \u002Fvar\u002Flog\u002Ftelemetry\u002Fevents_6h.json \\\n  --baseline-mean \"${BASELINE_MEAN}\" \\\n  --baseline-std \"${BASELINE_STD}\" \\\n  --json > \u002Fvar\u002Flog\u002Fthreat-detection\u002F$(date +%Y%m%d_%H%M%S).json\n\n# Alert on exit code 2 (hard anomaly)\nif [ $? -eq 2 ]; then\n  send_alert \"Hard anomaly detected — threat_signal_analyzer\"\nfi\n```\n\n---\n\n## Anti-Patterns\n\n1. **Hunting without a hypothesis** — Running broad queries across all telemetry without a focused question generates noise, not signal. Every hunt must start with a testable hypothesis scoped to one or two ATT&CK techniques.\n2. **Using stale IOCs** — IOCs older than 30 days generate false positives that train analysts to ignore alerts. Always check IOC freshness before sweeping; exclude stale indicators from automated sweeps.\n3. **Skipping baseline establishment** — Anomaly detection without a valid baseline produces alerts on normal high-volume days. Require 14+ days of baseline data before enabling statistical alerting on any entity type.\n4. **Hunting only known techniques** — Hunting exclusively against documented ATT&CK techniques misses novel adversary behavior. Regularly include open-ended anomaly analysis that can surface unknown TTPs.\n5. **Not closing the feedback loop to detection engineering** — Hunt findings that confirm malicious behavior must produce new detection rules. Hunting that doesn't improve detection coverage has no lasting value.\n6. **Treating every anomaly as a confirmed threat** — High z-scores indicate deviation from baseline, not confirmed malice. All anomalies require human triage to confirm or dismiss before escalation.\n7. **Ignoring honeypot alerts** — Any interaction with a deception asset is a high-fidelity signal. Treating honeypot alerts as noise invalidates the entire deception investment.\n\n---\n\n## Cross-References\n\n| Skill | Relationship |\n|-------|-------------|\n| [incident-response](..\u002Fincident-response\u002FSKILL.md) | Confirmed threats from hunting escalate to incident-response for triage and containment |\n| [red-team](..\u002Fred-team\u002FSKILL.md) | Red team exercises generate realistic TTPs that inform hunt hypothesis prioritization |\n| [cloud-security](..\u002Fcloud-security\u002FSKILL.md) | Cloud posture findings (open S3, IAM wildcards) create hunting targets for data exfiltration TTPs |\n| [security-pen-testing](..\u002Fsecurity-pen-testing\u002FSKILL.md) | Pen test findings identify attack surfaces that threat hunting should monitor post-remediation |\n",{"name":5,"description":7},"main","0b48cbb0e6d5be6ff68c0f6b28bc0c65ee21c4a1","engineering-team\u002Fthreat-detection",2,"https:\u002F\u002Fgithub.com\u002Fafaizalam2003\u002FMaster-claude-skill","https:\u002F\u002Fgithub.com\u002Fafaizalam2003","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fmdfaizalam2003\u002F","2026-04-01 04:35:43",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add afaizalam2003\u002FMaster-claude-skill --skill threat-detection",{"tool":58,"command":59},"bunx","bunx skills add afaizalam2003\u002FMaster-claude-skill --skill threat-detection",{"tool":61,"command":62},"pnpm","pnpm dlx skills add afaizalam2003\u002FMaster-claude-skill --skill threat-detection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fafaizalam2003\u002FMaster-claude-skill\u002Fblob\u002Fmain\u002Fengineering-team\u002Fthreat-detection\u002FSKILL.md",true,[66,72],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fhunt-playbooks.md","REFERENCE","参考文档",6358,"https:\u002F\u002Fgithub.com\u002Fafaizalam2003\u002FMaster-claude-skill\u002Fblob\u002Fmain\u002Fengineering-team\u002Fthreat-detection\u002Freferences\u002Fhunt-playbooks.md",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"scripts\u002Fthreat_signal_analyzer.py","SCRIPT","脚本",25673,"https:\u002F\u002Fgithub.com\u002Fafaizalam2003\u002FMaster-claude-skill\u002Fblob\u002Fmain\u002Fengineering-team\u002Fthreat-detection\u002Fscripts\u002Fthreat_signal_analyzer.py",[79,104,129,154,178,197],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":39},"01M6KC4E8MYR9DBAZTAXHKYMMH","soc2-compliance","Use when the user asks to prepare for SOC 2 audits, map Trust Service Criteria, build control matrices, collect audit evidence, perform gap analysis, or assess SOC 2 Type I vs Type II readiness.","https:\u002F\u002Fgithub.com\u002Fafaizalam2003\u002FMaster-claude-skill\u002Fblob\u002Fmain\u002Fra-qm-team\u002Fsoc2-compliance\u002FSKILL.md",[],[86,87,88,89,90,91,92,93,30,94,95,96,97,98,99,100,101,102,103,23],"compliance","soc2","soc2 compliance","audit evidence","audit","collect","soc","analysis","evidence","trust","build","map","control","type","gap","readiness","gap analysis","assess",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":39},"01M6KC461R3GKGZ1TAYHVR1MW9","risk-management-specialist","Medical device risk management specialist implementing ISO 14971 throughout product lifecycle. Provides risk analysis, risk evaluation, risk control, and post-production information analysis. Use when user mentions risk management, ISO 14971, risk analysis, FMEA, fault tree analysis, hazard identification, risk control, risk matrix, benefit-risk analysis, residual risk, risk acceptability, or post-market risk.","https:\u002F\u002Fgithub.com\u002Fafaizalam2003\u002FMaster-claude-skill\u002Fblob\u002Fmain\u002Fra-qm-team\u002Frisk-management-specialist\u002FSKILL.md",[],[111,112,113,114,115,116,117,118,93,30,119,120,121,122,123,124,125,126,127,128],"risk","risk management specialist","management","risk management","risk evaluation","product","Evaluation","lifecycle","risk matrix","iso","medical","iso 14971","identification","information","post-production","tree","matrix","implementing",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":39},"01M6KC3HF5ZFSSP2NZF68PEPFB","regulatory-affairs-head","Senior Regulatory Affairs Manager for HealthTech and MedTech companies. Prepares FDA 510(k), De Novo, and PMA submission packages; analyzes regulatory pathways for new medical devices; drafts responses to FDA deficiency letters and Notified Body queries; develops CE marking technical documentation under EU MDR 2017\u002F745; coordinates multi-market approval strategies across FDA, EU, Health Canada, PMDA, and NMPA; and maintains regulatory intelligence on evolving standards. Use when users need to plan or execute FDA submissions, navigate 510(k) or PMA approval processes, achieve CE marking, prepare pre-submission meeting materials, write regulatory strategy documents, respond to agency queries, or manage compliance documentation for medical device market access.","https:\u002F\u002Fgithub.com\u002Fafaizalam2003\u002FMaster-claude-skill\u002Fblob\u002Fmain\u002Fra-qm-team\u002Fregulatory-affairs-head\u002FSKILL.md",[],[136,137,138,139,140,141,142,143,144,30,145,146,147,148,149,150,151,152,153,23],"regulatory affairs head","regulatory","head","documents","devices","health","plan","write","strategy","standards","queries","manage","strategies","de","users","respond","medical devices","manager",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":39},"01M6KC34Z8M1559EY1CXYBJB1A","quality-manager-qms-iso13485","ISO 13485 Quality Management System implementation and maintenance for medical device organizations. Provides QMS design, documentation control, internal auditing, CAPA management, and certification support. Use when working with medical device quality systems, preparing for ISO 13485 audits, managing regulatory compliance documentation, setting up corrective actions, or building audit preparation programs. Useful for quality management, audit preparation, regulatory compliance, medical device documentation, and corrective action workflows.","https:\u002F\u002Fgithub.com\u002Fafaizalam2003\u002FMaster-claude-skill\u002Fblob\u002Fmain\u002Fra-qm-team\u002Fquality-manager-qms-iso13485\u002FSKILL.md",[],[161,162,153,163,164,165,166,167,168,30,169,170,171,172,173,174,175,176,23,177],"quality manager qms iso13485","quality","design","workflows","validation","actions","certification","system","maintenance","document","systems","records","ISO 13485","organizations","corrective action","internal audit","preparation",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":39},"01M6KC2FXHBHXYX2ZZ17Y3GDB4","quality-manager-qmr","Senior Quality Manager Responsible Person (QMR) for HealthTech and MedTech companies. Provides quality system governance, management review leadership, regulatory compliance oversight, and quality performance monitoring per ISO 13485 Clause 5.5.2.","https:\u002F\u002Fgithub.com\u002Fafaizalam2003\u002FMaster-claude-skill\u002Fblob\u002Fmain\u002Fra-qm-team\u002Fquality-manager-qmr\u002FSKILL.md",[],[185,162,153,186,187,188,189,190,86,191,168,192,137,193,194,195,120,173,23,196],"quality manager qmr","review","policy","performance","governance","monitoring","regulatory compliance","oversight","cost","culture","leadership","person",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":203,"publishedAt":39},"01M6KC1VRR5JTDBNZANHPS6VR6","quality-documentation-manager","Document control system management for medical device QMS. Covers document numbering, version control, change management, and 21 CFR Part 11 compliance. Use for document control procedures, change control workflow, document numbering, version management, electronic signature compliance, or regulatory documentation review.","https:\u002F\u002Fgithub.com\u002Fafaizalam2003\u002FMaster-claude-skill\u002Fblob\u002Fmain\u002Fra-qm-team\u002Fquality-documentation-manager\u002FSKILL.md",[],[204,205,162,153,186,206,207,90,168,208,209,210,211,212,121,213,214,215,216,23],"documentation","quality documentation manager","workflow","change","change management","list","master","system management","documentation review","cfr","21 cfr part 11","change control","retention"]