[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6AFDD01SXSQMEA77HAABEWZ":3,"skill-same:01M6AFDD01SXSQMEA77HAABEWZ":128},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":87,"commitSha":88,"skillDirectory":89,"forksCount":90,"repositoryHtmlUrl":91,"repositoryHomepageUrl":92,"ownerHtmlUrl":93,"ownerBlogUrl":94,"ownerDescription":95,"updatedAt":96,"install":97,"resources":110},"01M6AFDD01SXSQMEA77HAABEWZ","implementing-siem-use-cases-for-detection","SIEM 检测用例实现","Implements SIEM detection use cases by designing correlation rules, threshold alerts, and behavioral analytics mapped to MITRE ATT&CK techniques across Splunk, Elastic, and Sentinel. Use when SOC teams need to expand detection coverage, formalize use case lifecycle management, or build a detection library aligned to organizational threat profile.","通过设计与 MITRE ATT&CK 技术相映射的关联规则、阈值告警和行为分析，在 Splunk、Elastic 和 Sentinel 中实施 SIEM 检测用例。适用于 SOC 团队需要扩展检测覆盖范围、规范化用例生命周期管理，或构建与组织威胁态势相一致的检测库的场景。","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0",null,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-siem-use-cases-for-detection\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BR4MYFKGCC4WCWVJ50KJ2C","安全工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSJ8FPTACYEEYRWQRNFXKY","安全检测工程","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"implementing siem use cases for detection","siem","detection","detection-engineering","lifecycle","t1566","t1078","ATT&CK","correlation","sentinel","elastic","policy","splunk","soc","mitre-attack","library","authentication","teams","analytics","cybersecurity","2026-11-10 10:12:30",false,"---\nname: implementing-siem-use-cases-for-detection\ndescription: 'Implements SIEM detection use cases by designing correlation rules,\n  threshold alerts, and behavioral analytics mapped to MITRE ATT&CK techniques across\n  Splunk, Elastic, and Sentinel. Use when SOC teams need to expand detection coverage,\n  formalize use case lifecycle management, or build a detection library aligned to\n  organizational threat profile.\n\n  '\ndomain: cybersecurity\nsubdomain: soc-operations\ntags:\n- soc\n- siem\n- use-cases\n- detection-engineering\n- mitre-attack\n- splunk\n- elastic\n- sentinel\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- MEASURE-2.7\n- MAP-5.1\n- MANAGE-2.4\natlas_techniques:\n- AML.T0070\n- AML.T0066\n- AML.T0082\nd3fend_techniques:\n- Token Binding\n- Restore Access\n- Password Authentication\n- Reissue Credential\n- Strong Password Policy\nnist_csf:\n- DE.CM-01\n- DE.AE-02\n- RS.MA-01\n- DE.AE-06\nmitre_attack:\n- T1078\n- T1685.002\n- T1685.005\n- T1566\n- T0816\n---\n# Implementing SIEM Use Cases for Detection\n\n## When to Use\n\nUse this skill when:\n- SOC teams need to build or expand their SIEM detection library from scratch\n- Threat assessments identify ATT&CK technique gaps requiring new detection rules\n- Detection engineers need a structured process for use case design, testing, and deployment\n- Compliance requirements mandate specific detection capabilities (PCI DSS, HIPAA, SOX)\n\n**Do not use** for ad-hoc hunting queries — use cases are formalized, tested, and maintained detection rules, not exploratory searches.\n\n## Prerequisites\n\n- SIEM platform (Splunk ES, Elastic Security, or Microsoft Sentinel) with production data\n- ATT&CK Navigator for coverage gap analysis\n- Log sources normalized to CIM\u002FECS field standards\n- Use case documentation framework (wiki, Git repo, or detection engineering platform)\n- Testing environment with attack simulation tools (Atomic Red Team, MITRE Caldera)\n\n## Workflow\n\n### Step 1: Assess Detection Coverage Gaps\n\nMap current detection rules to ATT&CK and identify gaps:\n\n```python\nimport json\n\n# Load current detection rules mapped to ATT&CK\ncurrent_rules = [\n    {\"name\": \"Brute Force Detection\", \"techniques\": [\"T1110.001\", \"T1110.003\"]},\n    {\"name\": \"Malware Hash Match\", \"techniques\": [\"T1204.002\"]},\n    {\"name\": \"Suspicious PowerShell\", \"techniques\": [\"T1059.001\"]},\n]\n\n# Load ATT&CK Enterprise techniques\nwith open(\"enterprise-attack.json\") as f:\n    attack = json.load(f)\n\nall_techniques = set()\nfor obj in attack[\"objects\"]:\n    if obj[\"type\"] == \"attack-pattern\":\n        ext = obj.get(\"external_references\", [])\n        for ref in ext:\n            if ref.get(\"source_name\") == \"mitre-attack\":\n                all_techniques.add(ref[\"external_id\"])\n\ncovered = set()\nfor rule in current_rules:\n    covered.update(rule[\"techniques\"])\n\ngaps = all_techniques - covered\nprint(f\"Total techniques: {len(all_techniques)}\")\nprint(f\"Covered: {len(covered)} ({len(covered)\u002Flen(all_techniques)*100:.1f}%)\")\nprint(f\"Gaps: {len(gaps)}\")\n\n# Prioritize gaps by threat relevance\npriority_techniques = [\n    \"T1003\", \"T1021\", \"T1053\", \"T1547\", \"T1078\",\n    \"T1055\", \"T1071\", \"T1105\", \"T1036\", \"T1070\"\n]\npriority_gaps = [t for t in priority_techniques if t in gaps]\nprint(f\"Priority gaps: {priority_gaps}\")\n```\n\n### Step 2: Design Use Case Specification\n\nDocument each use case with a standardized template:\n\n```yaml\nuse_case_id: UC-2024-015\nname: Credential Dumping via LSASS Access\ndescription: Detects tools accessing LSASS process memory for credential extraction\nmitre_attack:\n  tactic: Credential Access (TA0006)\n  technique: T1003.001 - LSASS Memory\n  data_sources:\n    - Process: OS API Execution (Sysmon EventCode 10)\n    - Process: Process Access (Windows Security 4663)\nlog_sources:\n  - index: sysmon, sourcetype: XmlWinEventLog:Microsoft-Windows-Sysmon\u002FOperational\n  - index: wineventlog, sourcetype: WinEventLog:Security\nseverity: High\nconfidence: Medium-High\nfalse_positive_sources:\n  - Antivirus products scanning LSASS\n  - CrowdStrike Falcon sensor\n  - Windows Defender ATP\n  - SCCM client\ntuning_notes: >\n  Maintain exclusion list for known security tools that legitimately access LSASS.\n  Review exclusions quarterly for newly deployed security products.\nsla: Alert within 5 minutes of detection\nowner: detection_engineering_team\nstatus: Production\ncreated: 2024-03-15\nlast_tested: 2024-03-15\n```\n\n### Step 3: Implement Detection Logic Across Platforms\n\n**Splunk ES Correlation Search:**\n```spl\n| tstats summariesonly=true count from datamodel=Endpoint.Processes\n  where Processes.process_name=\"lsass.exe\"\n  by Processes.dest, Processes.user, Processes.process_name,\n     Processes.parent_process_name, Processes.parent_process\n| `drop_dm_object_name(Processes)`\n| lookup lsass_access_whitelist parent_process AS parent_process OUTPUT is_whitelisted\n| where isnull(is_whitelisted) OR is_whitelisted!=\"true\"\n| `credential_dumping_lsass_filter`\n```\n\nOr using raw Sysmon data:\n```spl\nindex=sysmon EventCode=10 TargetImage=\"*\\\\lsass.exe\"\nGrantedAccess IN (\"0x1010\", \"0x1038\", \"0x1fffff\", \"0x40\")\nNOT [| inputlookup lsass_whitelist.csv | fields SourceImage]\n| stats count, values(GrantedAccess) AS access_flags by Computer, SourceImage, SourceUser\n| where count > 0\n```\n\n**Elastic Security EQL Rule:**\n```eql\nprocess where event.type == \"access\" and\n  process.name == \"lsass.exe\" and\n  not process.executable : (\n    \"?:\\\\Windows\\\\System32\\\\svchost.exe\",\n    \"?:\\\\Windows\\\\System32\\\\csrss.exe\",\n    \"?:\\\\Program Files\\\\CrowdStrike\\\\*\",\n    \"?:\\\\ProgramData\\\\Microsoft\\\\Windows Defender\\\\*\"\n  )\n```\n\n**Microsoft Sentinel KQL Rule:**\n```kql\nDeviceProcessEvents\n| where Timestamp > ago(1h)\n| where FileName == \"lsass.exe\"\n| where ActionType == \"ProcessAccessed\"\n| where InitiatingProcessFileName !in (\"svchost.exe\", \"csrss.exe\", \"MsMpEng.exe\")\n| project Timestamp, DeviceName, InitiatingProcessFileName,\n          InitiatingProcessCommandLine, AccountName\n```\n\n### Step 4: Test with Attack Simulation\n\nValidate detection rules using Atomic Red Team:\n\n```bash\n# Install Atomic Red Team\nIEX (IWR 'https:\u002F\u002Fraw.githubusercontent.com\u002Fredcanaryco\u002Finvoke-atomicredteam\u002Fmaster\u002Finstall-atomicredteam.ps1' -UseBasicParsing)\nInstall-AtomicRedTeam -getAtomics\n\n# Execute T1003.001 - Credential Dumping\nInvoke-AtomicTest T1003.001 -TestNumbers 1,2,3\n\n# Execute T1053.005 - Scheduled Task\nInvoke-AtomicTest T1053.005 -TestNumbers 1\n\n# Execute T1547.001 - Registry Run Key\nInvoke-AtomicTest T1547.001 -TestNumbers 1,2\n```\n\nVerify detection in SIEM:\n```spl\nindex=sysmon EventCode=10 TargetImage=\"*\\\\lsass.exe\"\nearliest=-1h\n| stats count by Computer, SourceImage, GrantedAccess\n| where count > 0\n```\n\nDocument test results:\n```\nTEST RESULTS — UC-2024-015\nAtomic Test T1003.001-1 (Mimikatz):      DETECTED (alert fired in 47s)\nAtomic Test T1003.001-2 (ProcDump):      DETECTED (alert fired in 32s)\nAtomic Test T1003.001-3 (Task Manager):  FALSE NEGATIVE (excluded by whitelist — expected)\nFalse Positive Rate (7-day backtest):     2 events (CrowdStrike scan — added to whitelist)\n```\n\n### Step 5: Deploy and Monitor Use Case Health\n\nTrack detection rule effectiveness:\n\n```spl\n-- Use case firing frequency\nindex=notable\n| stats count AS fires, dc(src) AS unique_sources,\n        dc(dest) AS unique_dests\n  by rule_name, status_label\n| eval true_positive_rate = round(\n    sum(eval(if(status_label=\"Resolved - True Positive\", 1, 0))) \u002F\n    count * 100, 1)\n| sort - fires\n| table rule_name, fires, unique_sources, unique_dests, true_positive_rate\n\n-- Detection latency monitoring\nindex=notable\n| eval detection_latency = _time - orig_time\n| stats avg(detection_latency) AS avg_latency_sec,\n        perc95(detection_latency) AS p95_latency_sec\n  by rule_name\n| eval avg_latency_min = round(avg_latency_sec \u002F 60, 1)\n| sort - avg_latency_sec\n```\n\n### Step 6: Maintain Use Case Library\n\nEstablish lifecycle management for all detection use cases:\n\n```\nUSE CASE LIFECYCLE\n━━━━━━━━━━━━━━━━━━\n1. PROPOSED    → New detection need identified (threat intel, gap analysis, incident finding)\n2. DEVELOPMENT → Query written, false positive analysis, tuning\n3. TESTING     → Atomic Red Team validation, 7-day backtest\n4. STAGING     → Deployed in alert-only mode (no incident creation) for 14 days\n5. PRODUCTION  → Full production with incident creation and SOAR integration\n6. REVIEW      → Quarterly review of effectiveness, false positive rate, relevance\n7. DEPRECATED  → Technique no longer relevant or replaced by better detection\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Use Case** | Formalized detection rule with documented logic, testing, tuning, and lifecycle management |\n| **Detection Engineering** | Practice of designing, testing, and maintaining SIEM detection rules as a software development discipline |\n| **Correlation Search** | SIEM query that combines events from multiple sources to identify attack patterns |\n| **False Positive Rate** | Percentage of alerts that are benign activity — target \u003C20% for production use cases |\n| **Detection Latency** | Time between event occurrence and alert generation — target \u003C5 minutes for critical detections |\n| **ATT&CK Coverage** | Percentage of relevant ATT&CK techniques with at least one production detection rule |\n\n## Tools & Systems\n\n- **Splunk ES**: Enterprise SIEM with correlation searches, risk-based alerting, and Incident Review\n- **Elastic Security**: SIEM with detection rules, EQL sequences, and ML-based anomaly detection\n- **Microsoft Sentinel**: Cloud SIEM with KQL analytics rules, Fusion ML engine, and Lighthouse multi-tenant\n- **Atomic Red Team**: Open-source attack simulation framework for testing detection rules against ATT&CK techniques\n- **ATT&CK Navigator**: MITRE visualization tool for mapping and tracking detection coverage across techniques\n\n## Common Scenarios\n\n- **Post-Incident Use Case**: After a ransomware incident, build detection for the initial access vector discovered during investigation\n- **Compliance-Driven**: PCI DSS requires detection of admin account misuse — build use cases for 4672\u002F4720\u002F4732 events\n- **Threat-Intel Driven**: New APT group targets your sector — build use cases for their documented TTPs\n- **Red Team Findings**: Purple team exercise identifies blind spots — convert findings into production detection rules\n- **SIEM Migration**: Migrating from QRadar to Splunk — convert and validate all existing use cases on new platform\n\n## Output Format\n\n```\nUSE CASE DEPLOYMENT REPORT\n━━━━━━━━━━━━━━━━━━━━━━━━━\nQuarter:      Q1 2024\nTotal Use Cases: 147 (Production: 128, Staging: 12, Development: 7)\n\nNew Deployments This Quarter:\n  UC-2024-012  Kerberoasting Detection (T1558.003)     — Production\n  UC-2024-013  DLL Side-Loading (T1574.002)            — Production\n  UC-2024-014  Scheduled Task Persistence (T1053.005)  — Production\n  UC-2024-015  LSASS Memory Access (T1003.001)         — Staging\n\nATT&CK Coverage:\n  Overall: 67% of relevant techniques (up from 61%)\n  Initial Access:      78%\n  Execution:           82%\n  Persistence:         71%\n  Credential Access:   65%\n  Lateral Movement:    58% (priority gap area)\n\nHealth Metrics:\n  Avg True Positive Rate:    74% (target: >70%)\n  Avg Detection Latency:     2.3 min (target: \u003C5 min)\n  Use Cases Deprecated:      3 (replaced by improved versions)\n```\n","# Implementing SIEM Use Cases for Detection\n\n## When to Use\n\nUse this skill when:\n- SOC teams need to build or expand their SIEM detection library from scratch\n- Threat assessments identify ATT&CK technique gaps requiring new detection rules\n- Detection engineers need a structured process for use case design, testing, and deployment\n- Compliance requirements mandate specific detection capabilities (PCI DSS, HIPAA, SOX)\n\n**Do not use** for ad-hoc hunting queries — use cases are formalized, tested, and maintained detection rules, not exploratory searches.\n\n## Prerequisites\n\n- SIEM platform (Splunk ES, Elastic Security, or Microsoft Sentinel) with production data\n- ATT&CK Navigator for coverage gap analysis\n- Log sources normalized to CIM\u002FECS field standards\n- Use case documentation framework (wiki, Git repo, or detection engineering platform)\n- Testing environment with attack simulation tools (Atomic Red Team, MITRE Caldera)\n\n## Workflow\n\n### Step 1: Assess Detection Coverage Gaps\n\nMap current detection rules to ATT&CK and identify gaps:\n\n```python\nimport json\n\n# Load current detection rules mapped to ATT&CK\ncurrent_rules = [\n    {\"name\": \"Brute Force Detection\", \"techniques\": [\"T1110.001\", \"T1110.003\"]},\n    {\"name\": \"Malware Hash Match\", \"techniques\": [\"T1204.002\"]},\n    {\"name\": \"Suspicious PowerShell\", \"techniques\": [\"T1059.001\"]},\n]\n\n# Load ATT&CK Enterprise techniques\nwith open(\"enterprise-attack.json\") as f:\n    attack = json.load(f)\n\nall_techniques = set()\nfor obj in attack[\"objects\"]:\n    if obj[\"type\"] == \"attack-pattern\":\n        ext = obj.get(\"external_references\", [])\n        for ref in ext:\n            if ref.get(\"source_name\") == \"mitre-attack\":\n                all_techniques.add(ref[\"external_id\"])\n\ncovered = set()\nfor rule in current_rules:\n    covered.update(rule[\"techniques\"])\n\ngaps = all_techniques - covered\nprint(f\"Total techniques: {len(all_techniques)}\")\nprint(f\"Covered: {len(covered)} ({len(covered)\u002Flen(all_techniques)*100:.1f}%)\")\nprint(f\"Gaps: {len(gaps)}\")\n\n# Prioritize gaps by threat relevance\npriority_techniques = [\n    \"T1003\", \"T1021\", \"T1053\", \"T1547\", \"T1078\",\n    \"T1055\", \"T1071\", \"T1105\", \"T1036\", \"T1070\"\n]\npriority_gaps = [t for t in priority_techniques if t in gaps]\nprint(f\"Priority gaps: {priority_gaps}\")\n```\n\n### Step 2: Design Use Case Specification\n\nDocument each use case with a standardized template:\n\n```yaml\nuse_case_id: UC-2024-015\nname: Credential Dumping via LSASS Access\ndescription: Detects tools accessing LSASS process memory for credential extraction\nmitre_attack:\n  tactic: Credential Access (TA0006)\n  technique: T1003.001 - LSASS Memory\n  data_sources:\n    - Process: OS API Execution (Sysmon EventCode 10)\n    - Process: Process Access (Windows Security 4663)\nlog_sources:\n  - index: sysmon, sourcetype: XmlWinEventLog:Microsoft-Windows-Sysmon\u002FOperational\n  - index: wineventlog, sourcetype: WinEventLog:Security\nseverity: High\nconfidence: Medium-High\nfalse_positive_sources:\n  - Antivirus products scanning LSASS\n  - CrowdStrike Falcon sensor\n  - Windows Defender ATP\n  - SCCM client\ntuning_notes: >\n  Maintain exclusion list for known security tools that legitimately access LSASS.\n  Review exclusions quarterly for newly deployed security products.\nsla: Alert within 5 minutes of detection\nowner: detection_engineering_team\nstatus: Production\ncreated: 2024-03-15\nlast_tested: 2024-03-15\n```\n\n### Step 3: Implement Detection Logic Across Platforms\n\n**Splunk ES Correlation Search:**\n```spl\n| tstats summariesonly=true count from datamodel=Endpoint.Processes\n  where Processes.process_name=\"lsass.exe\"\n  by Processes.dest, Processes.user, Processes.process_name,\n     Processes.parent_process_name, Processes.parent_process\n| `drop_dm_object_name(Processes)`\n| lookup lsass_access_whitelist parent_process AS parent_process OUTPUT is_whitelisted\n| where isnull(is_whitelisted) OR is_whitelisted!=\"true\"\n| `credential_dumping_lsass_filter`\n```\n\nOr using raw Sysmon data:\n```spl\nindex=sysmon EventCode=10 TargetImage=\"*\\\\lsass.exe\"\nGrantedAccess IN (\"0x1010\", \"0x1038\", \"0x1fffff\", \"0x40\")\nNOT [| inputlookup lsass_whitelist.csv | fields SourceImage]\n| stats count, values(GrantedAccess) AS access_flags by Computer, SourceImage, SourceUser\n| where count > 0\n```\n\n**Elastic Security EQL Rule:**\n```eql\nprocess where event.type == \"access\" and\n  process.name == \"lsass.exe\" and\n  not process.executable : (\n    \"?:\\\\Windows\\\\System32\\\\svchost.exe\",\n    \"?:\\\\Windows\\\\System32\\\\csrss.exe\",\n    \"?:\\\\Program Files\\\\CrowdStrike\\\\*\",\n    \"?:\\\\ProgramData\\\\Microsoft\\\\Windows Defender\\\\*\"\n  )\n```\n\n**Microsoft Sentinel KQL Rule:**\n```kql\nDeviceProcessEvents\n| where Timestamp > ago(1h)\n| where FileName == \"lsass.exe\"\n| where ActionType == \"ProcessAccessed\"\n| where InitiatingProcessFileName !in (\"svchost.exe\", \"csrss.exe\", \"MsMpEng.exe\")\n| project Timestamp, DeviceName, InitiatingProcessFileName,\n          InitiatingProcessCommandLine, AccountName\n```\n\n### Step 4: Test with Attack Simulation\n\nValidate detection rules using Atomic Red Team:\n\n```bash\n# Install Atomic Red Team\nIEX (IWR 'https:\u002F\u002Fraw.githubusercontent.com\u002Fredcanaryco\u002Finvoke-atomicredteam\u002Fmaster\u002Finstall-atomicredteam.ps1' -UseBasicParsing)\nInstall-AtomicRedTeam -getAtomics\n\n# Execute T1003.001 - Credential Dumping\nInvoke-AtomicTest T1003.001 -TestNumbers 1,2,3\n\n# Execute T1053.005 - Scheduled Task\nInvoke-AtomicTest T1053.005 -TestNumbers 1\n\n# Execute T1547.001 - Registry Run Key\nInvoke-AtomicTest T1547.001 -TestNumbers 1,2\n```\n\nVerify detection in SIEM:\n```spl\nindex=sysmon EventCode=10 TargetImage=\"*\\\\lsass.exe\"\nearliest=-1h\n| stats count by Computer, SourceImage, GrantedAccess\n| where count > 0\n```\n\nDocument test results:\n```\nTEST RESULTS — UC-2024-015\nAtomic Test T1003.001-1 (Mimikatz):      DETECTED (alert fired in 47s)\nAtomic Test T1003.001-2 (ProcDump):      DETECTED (alert fired in 32s)\nAtomic Test T1003.001-3 (Task Manager):  FALSE NEGATIVE (excluded by whitelist — expected)\nFalse Positive Rate (7-day backtest):     2 events (CrowdStrike scan — added to whitelist)\n```\n\n### Step 5: Deploy and Monitor Use Case Health\n\nTrack detection rule effectiveness:\n\n```spl\n-- Use case firing frequency\nindex=notable\n| stats count AS fires, dc(src) AS unique_sources,\n        dc(dest) AS unique_dests\n  by rule_name, status_label\n| eval true_positive_rate = round(\n    sum(eval(if(status_label=\"Resolved - True Positive\", 1, 0))) \u002F\n    count * 100, 1)\n| sort - fires\n| table rule_name, fires, unique_sources, unique_dests, true_positive_rate\n\n-- Detection latency monitoring\nindex=notable\n| eval detection_latency = _time - orig_time\n| stats avg(detection_latency) AS avg_latency_sec,\n        perc95(detection_latency) AS p95_latency_sec\n  by rule_name\n| eval avg_latency_min = round(avg_latency_sec \u002F 60, 1)\n| sort - avg_latency_sec\n```\n\n### Step 6: Maintain Use Case Library\n\nEstablish lifecycle management for all detection use cases:\n\n```\nUSE CASE LIFECYCLE\n━━━━━━━━━━━━━━━━━━\n1. PROPOSED    → New detection need identified (threat intel, gap analysis, incident finding)\n2. DEVELOPMENT → Query written, false positive analysis, tuning\n3. TESTING     → Atomic Red Team validation, 7-day backtest\n4. STAGING     → Deployed in alert-only mode (no incident creation) for 14 days\n5. PRODUCTION  → Full production with incident creation and SOAR integration\n6. REVIEW      → Quarterly review of effectiveness, false positive rate, relevance\n7. DEPRECATED  → Technique no longer relevant or replaced by better detection\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Use Case** | Formalized detection rule with documented logic, testing, tuning, and lifecycle management |\n| **Detection Engineering** | Practice of designing, testing, and maintaining SIEM detection rules as a software development discipline |\n| **Correlation Search** | SIEM query that combines events from multiple sources to identify attack patterns |\n| **False Positive Rate** | Percentage of alerts that are benign activity — target \u003C20% for production use cases |\n| **Detection Latency** | Time between event occurrence and alert generation — target \u003C5 minutes for critical detections |\n| **ATT&CK Coverage** | Percentage of relevant ATT&CK techniques with at least one production detection rule |\n\n## Tools & Systems\n\n- **Splunk ES**: Enterprise SIEM with correlation searches, risk-based alerting, and Incident Review\n- **Elastic Security**: SIEM with detection rules, EQL sequences, and ML-based anomaly detection\n- **Microsoft Sentinel**: Cloud SIEM with KQL analytics rules, Fusion ML engine, and Lighthouse multi-tenant\n- **Atomic Red Team**: Open-source attack simulation framework for testing detection rules against ATT&CK techniques\n- **ATT&CK Navigator**: MITRE visualization tool for mapping and tracking detection coverage across techniques\n\n## Common Scenarios\n\n- **Post-Incident Use Case**: After a ransomware incident, build detection for the initial access vector discovered during investigation\n- **Compliance-Driven**: PCI DSS requires detection of admin account misuse — build use cases for 4672\u002F4720\u002F4732 events\n- **Threat-Intel Driven**: New APT group targets your sector — build use cases for their documented TTPs\n- **Red Team Findings**: Purple team exercise identifies blind spots — convert findings into production detection rules\n- **SIEM Migration**: Migrating from QRadar to Splunk — convert and validate all existing use cases on new platform\n\n## Output Format\n\n```\nUSE CASE DEPLOYMENT REPORT\n━━━━━━━━━━━━━━━━━━━━━━━━━\nQuarter:      Q1 2024\nTotal Use Cases: 147 (Production: 128, Staging: 12, Development: 7)\n\nNew Deployments This Quarter:\n  UC-2024-012  Kerberoasting Detection (T1558.003)     — Production\n  UC-2024-013  DLL Side-Loading (T1574.002)            — Production\n  UC-2024-014  Scheduled Task Persistence (T1053.005)  — Production\n  UC-2024-015  LSASS Memory Access (T1003.001)         — Staging\n\nATT&CK Coverage:\n  Overall: 67% of relevant techniques (up from 61%)\n  Initial Access:      78%\n  Execution:           82%\n  Persistence:         71%\n  Credential Access:   65%\n  Lateral Movement:    58% (priority gap area)\n\nHealth Metrics:\n  Avg True Positive Rate:    74% (target: >70%)\n  Avg Detection Latency:     2.3 min (target: \u003C5 min)\n  Use Cases Deprecated:      3 (replaced by improved versions)\n```\n",{"name":5,"tags":56,"author":58,"domain":50,"license":16,"version":59,"nist_csf":60,"subdomain":65,"description":66,"nist_ai_rmf":67,"mitre_attack":71,"atlas_techniques":77,"d3fend_techniques":81},[44,32,57,34,45,43,41,40],"use-cases","mahipal","1.0",[61,62,63,64],"DE.CM-01","DE.AE-02","RS.MA-01","DE.AE-06","soc-operations","Implements SIEM detection use cases by designing correlation rules, threshold alerts, and behavioral analytics mapped to MITRE ATT&CK techniques across Splunk, Elastic, and Sentinel. Use when SOC teams need to expand detection coverage, formalize use case lifecycle management, or build a detection library aligned to organizational threat profile.\n",[68,69,70],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[72,73,74,75,76],"T1078","T1685.002","T1685.005","T1566","T0816",[78,79,80],"AML.T0070","AML.T0066","AML.T0082",[82,83,84,85,86],"Token Binding","Restore Access","Password Authentication","Reissue Credential","Strong Password Policy","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fimplementing-siem-use-cases-for-detection",4425,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills","https:\u002F\u002Fmahipal.engineer\u002FAnthropic-Cybersecurity-Skills\u002F","https:\u002F\u002Fgithub.com\u002Fmukul975","Mahipal.engineer","🔐 Cybersecurity | 💻 Dev | 📷 Street Photographer\r\n🎓 MSc | 📚 Research & AI Security","2026-08-31 12:32:44",{"source":9,"skillName":5,"commands":98,"prompt":108,"zipAvailable":109},[99,102,105],{"tool":100,"command":101},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill implementing-siem-use-cases-for-detection",{"tool":103,"command":104},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill implementing-siem-use-cases-for-detection",{"tool":106,"command":107},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill implementing-siem-use-cases-for-detection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-siem-use-cases-for-detection\u002FSKILL.md",true,[111,116,122],{"path":112,"resourceType":112,"resourceTypeDesc":113,"sizeBytes":114,"sourceHtmlUrl":115},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-siem-use-cases-for-detection\u002FLICENSE",{"path":117,"resourceType":118,"resourceTypeDesc":119,"sizeBytes":120,"sourceHtmlUrl":121},"references\u002Fapi-reference.md","REFERENCE","参考文档",2138,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-siem-use-cases-for-detection\u002Freferences\u002Fapi-reference.md",{"path":123,"resourceType":124,"resourceTypeDesc":125,"sizeBytes":126,"sourceHtmlUrl":127},"scripts\u002Fagent.py","SCRIPT","脚本",8876,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fimplementing-siem-use-cases-for-detection\u002Fscripts\u002Fagent.py",[129,161,189,219,250,282],{"skillNo":130,"name":131,"nameZh":132,"description":133,"descriptionZh":134,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":135,"categories":136,"keywords":141,"publishedAt":51},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","SLSA 构建来源验证","Verifies artifact signatures and SLSA provenance using Sigstore's cosign (verify, verify-attestation, verify-blob-attestation) and slsa-verifier (verify-artifact), enforcing keyless OIDC builder identity and source repo against SLSA Build levels. Use in CI\u002FCD before deploying artifacts, when consuming third-party attestations, establishing a SLSA Build L3 pipeline, or confirming provenance during incident response or admission control.","使用 Sigstore 的 cosign（verify、verify-attestation、verify-blob-attestation）和 slsa-verifier（verify-artifact）验证工件签名和 SLSA 来源（provenance），强制校验 keyless OIDC 构建者身份和源仓库是否符合 SLSA Build 级别。适用于 CI\u002FCD 中部署工件前、消费第三方证明时、建立 SLSA Build L3 管道，或在事件响应或准入控制期间确认来源的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[137,138],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":139,"categoryName":140,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C32Q37WAMK06SGMFC02VFP","软件供应链安全",[142,143,144,145,146,50,147,148,149,150,151,152,153,154,155,156,157,158,159,160],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","security","incident response","identity","pr","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":162,"name":163,"nameZh":164,"description":165,"descriptionZh":166,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":167,"categories":168,"keywords":173,"publishedAt":51},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","TPM 测量启动验证","Verifies TPM 2.0 measured-boot integrity and remote attestation with tpm2-tools -- reading PCRs (tpm2_pcrread), replaying the boot event log, generating and checking signed quotes (tpm2_quote\u002Ftpm2_checkquote), and sealing secrets to a PCR policy. Use to confirm a system booted trusted firmware\u002Fkernel for Zero Trust device posture, detect boot-chain tampering via PCR drift, or build a golden-value baseline for fleet attestation.","使用 tpm2-tools 验证 TPM 2.0 测量启动（measured boot）的完整性和远程证明：读取 PCR（tpm2_pcrread）、重放启动事件日志、生成并检查签名报价（tpm2_quote\u002Ftpm2_checkquote），以及将机密封印（seal）到 PCR 策略。适用于确认系统已启动可信固件\u002F内核以实现零信任（Zero Trust）设备状态、通过 PCR 漂移检测启动链篡改，或构建黄金值基线用于机群（fleet）证明。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[169,170],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":171,"categoryName":172,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C89JJEXGGRGHS6XVXDA46K","终端安全加固",[174,157,175,176,146,42,50,149,177,178,179,180,181,182,183,184,185,186,187,188],"boot","TPM","validating tpm measured boot attestation","verification","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":190,"name":191,"nameZh":192,"description":193,"descriptionZh":194,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":195,"categories":196,"keywords":203,"publishedAt":51},"01M6AGDCW0Y4FXZ3362GT1941M","validating-backup-integrity-for-recovery","备份完整性验证","Validates backup integrity through cryptographic hash verification, automated restore testing, corruption detection, and recoverability checks to confirm backups are reliable for disaster recovery and ransomware response. Use before relying on backups for recovery, when building post-backup validation pipelines, auditing backup infrastructure for compliance, or checking immutable\u002Fair-gapped backups for silent corruption or tampering.","通过加密哈希验证、自动化恢复测试、损坏检测和可恢复性检查来验证备份完整性，确认备份对于灾难恢复和勒索软件响应是可靠的。适用于在依赖备份进行恢复之前、构建备份后验证管道、审计备份基础设施以满足合规要求，或检查不可变\u002Fair-gapped（气隙）备份是否存在静默损坏或篡改的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[197,200],{"categoryNo":198,"categoryName":199,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":201,"categoryName":202,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSSTY86MWS6W5GDQWB1ADQ","备份与灾难恢复",[183,204,205,206,207,50,208,209,177,210,211,212,213,214,33,37,215,216,217,218],"backup","recovery","validating backup integrity for recovery","testing","infrastructure","validation","compliance","hash-verification","incident-response","ransomware","cryptocurrency","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":220,"name":221,"nameZh":222,"description":223,"descriptionZh":224,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":225,"categories":226,"keywords":231,"publishedAt":51},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","KAPE Windows 取证收集","Runs KAPE (Kroll Artifact Parser and Extractor) to collect targeted forensic artifacts (registry hives, $MFT, event logs, prefetch, browser data) via Targets and parse them with Modules wrapping Eric Zimmerman's EZ Tools (PECmd, MFTECmd, RECmd). Use during early incident containment\u002Ftriage when full disk imaging is impractical but a defensible, parseable Windows artifact set is needed quickly, including at-scale remote collection.","运行 KAPE（Kroll Artifact Parser and Extractor），通过 Targets 收集目标取证工件（注册表配置单元、$MFT、事件日志、prefetch、浏览器数据），并使用封装 Eric Zimmerman 的 EZ Tools（PECmd、MFTECmd、RECmd）的 Modules 进行解析。适用于事件遏制\u002F分诊早期阶段——此时完整磁盘镜像不切实际，但需要快速获得可采信、可解析的 Windows 工件集，包括大规模远程收集。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[227,228],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":229,"categoryName":230,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C9JZH3GWXPJ6CQG5P7J48Y","数字取证与电子证据分析",[232,233,234,50,235,236,237,238,239,240,241,242,243,244,245,246,180,247,248,249],"windows","kape","triaging windows with kape","registry","browser","logs","windows-forensics","dfir","mft","mftecmd","data","prefetch","eric-zimmerman","digital-forensics","SET","collection","pecmd","artifact-collection",{"skillNo":251,"name":252,"nameZh":253,"description":254,"descriptionZh":255,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":256,"categories":257,"keywords":262,"publishedAt":51},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","SSVC 漏洞优先级分诊","Triages and prioritizes vulnerabilities with CISA's Stakeholder-Specific Vulnerability Categorization (SSVC) decision tree, weighing exploitation status (via the CISA KEV catalog and FIRST EPSS API), technical impact, automatability, and mission prevalence to output Track\u002FTrack*\u002FAttend\u002FAct decisions. Use when prioritizing vulnerability scan results (OpenVAS, Nessus, Qualys) for remediation planning beyond raw CVSS scores.","使用 CISA 的 Stakeholder-Specific Vulnerability Categorization（SSVC，利益相关方特定漏洞分类）决策树对漏洞进行分诊和优先级排序，权衡利用状态（通过 CISA KEV 目录和 FIRST EPSS API）、技术影响、自动化程度和任务普遍性，输出 Track\u002FTrack*\u002FAttend\u002FAct 决策。适用于对漏洞扫描结果（OpenVAS、Nessus、Qualys）进行优先级排序以制定修复计划，而不局限于原始 CVSS 分数的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[258,261],{"categoryNo":259,"categoryName":260,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98CYQ7TEW2D1MRQ00TE","安全公告与漏洞管理",{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},[263,264,265,50,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281],"vulnerabilities","framework","triaging vulnerabilities with ssvc framework","status","planning","CISA","vulnerability-management","risk-management","nessus","qualys","openvas","cvss","remediation","risk","vulnerability","api","prioritization","ssvc","decision-tree",{"skillNo":283,"name":284,"nameZh":285,"description":286,"descriptionZh":287,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":288,"categories":289,"keywords":294,"publishedAt":51},"01M6AGD24TTQQM4CXG69E3B9TJ","triaging-security-incident","安全事件初步分诊","Performs initial triage of security incidents using the NIST SP 800-61r3 and SANS PICERL frameworks, classifying incident type, assigning priority by business impact, and routing to the appropriate response team. Use when a SIEM\u002FEDR alert needs human classification, concurrent alerts must be prioritized, or a user report or threat-intel IOC match requires initial incident categorization.","使用 NIST SP 800-61r3 和 SANS PICERL 框架对安全事件进行初步分诊，分类事件类型、按业务影响分配优先级，并路由到相应的响应团队。适用于 SIEM\u002FEDR 告警需要人工分类、并发告警必须确定优先级，或用户报告或威胁情报 IOC 匹配需要初步事件分类的场景。","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[290,291],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":292,"categoryName":293,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTHYSJPJ500X64JJ5CH06D","安全事件响应与威胁狩猎",[146,295,50,32,296,297,44,298,299,300,301,37,302,215,303,304,305,306,307,308],"triaging security incident","file","ioc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]