[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ADY16NM3E43W7BT40ESG00":3,"skill-same:01M6ADY16NM3E43W7BT40ESG00":129},{"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":23,"publishedAt":43,"linkOnly":44,"markdownContent":45,"markdownBody":46,"frontMatter":47,"refName":70,"commitSha":71,"skillDirectory":72,"forksCount":73,"repositoryHtmlUrl":74,"repositoryHomepageUrl":75,"ownerHtmlUrl":76,"ownerBlogUrl":77,"ownerDescription":78,"updatedAt":79,"install":80,"resources":93},"01M6ADY16NM3E43W7BT40ESG00","building-detection-rule-with-splunk-spl",null,"Build effective detection rules using Splunk Search Processing Language (SPL) correlation searches to identify security threats in SOC environments.","mukul975\u002FAnthropic-Cybersecurity-Skills","mukul975","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F42860185?v=4","01M6ADEQR8T5M4EEG6C67BQCWF","Mahipal","01M6ADJPMYWG1E5GM1FWBE3128",36146,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-detection-rule-with-splunk-spl\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42],"building detection rule with splunk spl","SPL","splunk","soc","enterprise-security","correlation-search","detection-engineering","T1059.001","Enterprise","threat-detection","security","engineering","file","metadata","content","search","validation","siem","cybersecurity","2026-11-10 10:12:30",false,"---\nname: building-detection-rule-with-splunk-spl\ndescription: Build effective detection rules using Splunk Search Processing Language\n  (SPL) correlation searches to identify security threats in SOC environments.\ndomain: cybersecurity\nsubdomain: soc-operations\ntags:\n- splunk\n- spl\n- detection-engineering\n- correlation-search\n- siem\n- soc\n- threat-detection\n- enterprise-security\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nd3fend_techniques:\n- Executable Denylisting\n- Execution Isolation\n- File Metadata Consistency Validation\n- Content Format Conversion\n- File Content Analysis\nnist_csf:\n- DE.CM-01\n- DE.AE-02\n- RS.MA-01\n- DE.AE-06\nmitre_attack:\n- T1059.001\n- T1003.001\n- T1021.002\n- T1110.003\n- T1053.005\n- T1048\n---\n\n# Building Detection Rules with Splunk SPL\n\n## Overview\n\nSplunk Search Processing Language (SPL) is the primary query language used in Splunk Enterprise Security for building correlation searches that detect suspicious events and patterns. A well-crafted detection rule aggregates, correlates, and enriches security events to generate actionable notable events for SOC analysts. Enterprise SIEMs on average cover only 21% of MITRE ATT&CK techniques, making skilled SPL rule writing essential for closing detection gaps.\n\n\n## When to Use\n\n- When deploying or configuring building detection rule with splunk spl capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Splunk Enterprise Security (ES) deployed and configured\n- Access to Splunk Search & Reporting app with appropriate roles\n- Understanding of Common Information Model (CIM) data models\n- Familiarity with MITRE ATT&CK framework techniques\n- Knowledge of the organization's log sources and data flows\n\n## Core SPL Detection Rule Patterns\n\n### 1. Threshold-Based Detection\n\nDetects events exceeding a defined count within a time window.\n\n```spl\nindex=wineventlog sourcetype=WinEventLog:Security EventCode=4625\n| stats count as failed_logins dc(TargetUserName) as unique_users by src_ip\n| where failed_logins > 10 AND unique_users > 3\n| eval severity=\"high\"\n| eval description=\"Brute force attack detected from \".src_ip.\" with \".failed_logins.\" failed logins across \".unique_users.\" accounts\"\n```\n\n### 2. Sequence-Based Detection (Failed Login Followed by Success)\n\nCorrelates a sequence of events indicating a successful brute force attack.\n\n```spl\nindex=wineventlog sourcetype=WinEventLog:Security (EventCode=4625 OR EventCode=4624)\n| eval login_status=case(EventCode=4625, \"failure\", EventCode=4624, \"success\")\n| stats count(eval(login_status=\"failure\")) as failures count(eval(login_status=\"success\")) as successes latest(_time) as last_event by src_ip, TargetUserName\n| where failures > 5 AND successes > 0\n| eval description=\"Account \".TargetUserName.\" compromised via brute force from \".src_ip\n| eval urgency=\"critical\"\n```\n\n### 3. Anomaly Detection with Baseline Comparison\n\nCompares current activity against a baseline period to detect spikes.\n\n```spl\nindex=proxy sourcetype=squid\n| bin _time span=1h\n| stats count as current_count by src_ip, _time\n| join src_ip type=left [\n    search index=proxy sourcetype=squid earliest=-7d@d latest=-1d@d\n    | stats avg(count) as avg_count stdev(count) as stdev_count by src_ip\n]\n| eval threshold=avg_count + (3 * stdev_count)\n| where current_count > threshold\n| eval deviation=round((current_count - avg_count) \u002F stdev_count, 2)\n| eval description=\"Anomalous web traffic from \".src_ip.\" - \".deviation.\" standard deviations above baseline\"\n```\n\n### 4. Lateral Movement Detection\n\nIdentifies potential lateral movement using Windows logon events.\n\n```spl\nindex=wineventlog sourcetype=WinEventLog:Security EventCode=4624 Logon_Type=3\n| where NOT match(TargetUserName, \".*\\$$\")\n| stats dc(dest) as unique_hosts values(dest) as hosts by src_ip, TargetUserName\n| where unique_hosts > 5\n| eval severity=case(unique_hosts > 20, \"critical\", unique_hosts > 10, \"high\", true(), \"medium\")\n| eval description=TargetUserName.\" accessed \".unique_hosts.\" unique hosts from \".src_ip.\" via network logon\"\n```\n\n### 5. Data Exfiltration Detection\n\nMonitors for large outbound data transfers.\n\n```spl\nindex=firewall sourcetype=pan:traffic action=allowed direction=outbound\n| stats sum(bytes_out) as total_bytes_out dc(dest_ip) as unique_destinations by src_ip, user\n| eval total_mb=round(total_bytes_out\u002F1048576, 2)\n| where total_mb > 500 OR unique_destinations > 50\n| lookup asset_lookup ip as src_ip OUTPUT asset_category, asset_owner\n| eval severity=case(total_mb > 2000, \"critical\", total_mb > 1000, \"high\", true(), \"medium\")\n| eval description=user.\" transferred \".total_mb.\"MB to \".unique_destinations.\" unique destinations\"\n```\n\n### 6. PowerShell Suspicious Execution Detection\n\nDetects encoded or obfuscated PowerShell commands.\n\n```spl\nindex=wineventlog sourcetype=WinEventLog:Security EventCode=4104\n| where match(ScriptBlockText, \"(?i)(encodedcommand|invoke-expression|iex|downloadstring|frombase64string|net\\.webclient|invoke-webrequest|bitstransfer|invoke-mimikatz|invoke-shellcode)\")\n| eval decoded_length=len(ScriptBlockText)\n| stats count values(ScriptBlockText) as commands by Computer, UserName\n| where count > 0\n| eval severity=\"high\"\n| eval mitre_technique=\"T1059.001\"\n| eval description=\"Suspicious PowerShell execution on \".Computer.\" by \".UserName\n```\n\n## Building Correlation Searches in Splunk ES\n\n### Step-by-Step Process\n\n1. **Define the Use Case**: Map to MITRE ATT&CK technique and define what behavior to detect\n2. **Identify Data Sources**: Determine which indexes and sourcetypes contain relevant events\n3. **Write the Base Search**: Build SPL that extracts relevant events\n4. **Add Aggregation**: Use `stats`, `eventstats`, or `streamstats` to summarize\n5. **Apply Thresholds**: Set conditions with `where` clause that distinguish normal from anomalous\n6. **Enrich Context**: Add lookups for asset information, identity data, and threat intelligence\n7. **Configure Notable Event**: Set severity, urgency, and description fields\n8. **Schedule and Test**: Run against historical data and validate detection accuracy\n\n### Correlation Search Configuration Template\n\n```spl\n| tstats summariesonly=true count from datamodel=Authentication\n    where Authentication.action=failure\n    by Authentication.src, Authentication.user, _time span=5m\n| rename \"Authentication.*\" as *\n| stats count as total_failures dc(user) as unique_users values(user) as targeted_users by src\n| where total_failures > 20 AND unique_users > 5\n| lookup dnslookup clientip as src OUTPUT clienthost as src_dns\n| lookup asset_lookup ip as src OUTPUT priority as asset_priority, category as asset_category\n| eval urgency=case(asset_priority==\"critical\", \"critical\", asset_priority==\"high\", \"high\", true(), \"medium\")\n| eval rule_name=\"Brute Force Against Multiple Accounts\"\n| eval rule_description=\"Multiple authentication failures from \".src.\" targeting \".unique_users.\" unique accounts\"\n| eval mitre_attack=\"T1110.001 - Password Guessing\"\n```\n\n### Enrichment Best Practices\n\n```spl\n| lookup identity_lookup identity as user OUTPUT department, manager, risk_score as user_risk\n| lookup asset_lookup ip as src_ip OUTPUT asset_name, asset_category, asset_priority, asset_owner\n| lookup threatintel_lookup ip as src_ip OUTPUT threat_type, threat_confidence, threat_source\n| eval context=case(\n    isnotnull(threat_type), \"Known threat: \".threat_type,\n    user_risk > 80, \"High-risk user: risk score \".user_risk,\n    asset_priority==\"critical\", \"Critical asset: \".asset_name,\n    true(), \"Standard context\"\n)\n```\n\n## Performance Optimization\n\n### Use Data Models with tstats\n\n```spl\n| tstats summariesonly=true count from datamodel=Network_Traffic\n    where All_Traffic.action=allowed\n    by All_Traffic.src_ip, All_Traffic.dest_ip, All_Traffic.dest_port, _time span=1h\n| rename \"All_Traffic.*\" as *\n```\n\n### Limit Time Ranges and Use Indexed Fields\n\n```spl\nindex=wineventlog source=\"WinEventLog:Security\" EventCode=4688\n    earliest=-15m latest=now()\n| where NOT match(New_Process_Name, \"(?i)(svchost|csrss|lsass|services)\")\n```\n\n### Use Summary Indexing for Historical Baselines\n\n```spl\n| tstats count from datamodel=Authentication where Authentication.action=failure by Authentication.src, _time span=1h\n| collect index=summary source=\"auth_failure_baseline\" marker=\"report_name=auth_failure_hourly\"\n```\n\n## Testing and Validation\n\n### Test Against Known Attack Patterns\n\n```spl\n| makeresults count=1\n| eval src_ip=\"10.0.0.50\", failed_logins=25, unique_users=8, severity=\"high\"\n| eval description=\"Test brute force detection\"\n| append [\n    search index=wineventlog sourcetype=WinEventLog:Security EventCode=4625\n    earliest=-24h latest=now()\n    | stats count as failed_logins dc(TargetUserName) as unique_users by src_ip\n    | where failed_logins > 10 AND unique_users > 3\n    | eval severity=\"high\"\n]\n```\n\n### Calculate Detection Metrics\n\n```spl\nindex=notable\n| search rule_name=\"Brute Force*\"\n| stats count as total_alerts count(eval(status_label=\"Closed - True Positive\")) as true_positives count(eval(status_label=\"Closed - False Positive\")) as false_positives by rule_name\n| eval precision=round(true_positives \u002F (true_positives + false_positives) * 100, 2)\n| eval fpr=round(false_positives \u002F total_alerts * 100, 2)\n```\n\n## MITRE ATT&CK Mapping\n\n| Technique ID | Technique Name | SPL Detection Approach |\n|---|---|---|\n| T1110.001 | Password Guessing | Threshold on EventCode 4625 by src_ip |\n| T1059.001 | PowerShell | Pattern match on EventCode 4104 ScriptBlockText |\n| T1021.002 | SMB\u002FWindows Admin Shares | Logon Type 3 with dc(dest) threshold |\n| T1048 | Exfiltration Over C2 | bytes_out aggregation over time window |\n| T1053.005 | Scheduled Task | EventCode 4698 with suspicious command patterns |\n| T1003.001 | LSASS Memory | Process access to lsass.exe via Sysmon EventCode 10 |\n\n## References\n\n- [Splunk ES Correlation Searches Best Practices](https:\u002F\u002Fdetect.fyi\u002Fsplunk-es-correlation-searches-rules-best-cool-practices-06ef94884170)\n- [Writing Practical Splunk Detection Rules](https:\u002F\u002Fmedium.com\u002F@vitbukac\u002Fpractical-splunk-detection-rules-how-to-part-1-crawl-a24bc39a4b9d)\n- [Configure Correlation Searches - Splunk Documentation](https:\u002F\u002Fhelp.splunk.com\u002Fen\u002Fsplunk-enterprise-security-8\u002Fsplunk-app-for-pci-compliance\u002Finstallation-and-configuration-manual\u002F6.1\u002Fconfigure-correlation-searches\u002Fconfigure-correlation-searches)\n- [SOC Prime - Correlation Events in Splunk](https:\u002F\u002Fsocprime.com\u002Fblog\u002Fcreating-correlation-events-in-splunk-using-alerts\u002F)\n","# Building Detection Rules with Splunk SPL\n\n## Overview\n\nSplunk Search Processing Language (SPL) is the primary query language used in Splunk Enterprise Security for building correlation searches that detect suspicious events and patterns. A well-crafted detection rule aggregates, correlates, and enriches security events to generate actionable notable events for SOC analysts. Enterprise SIEMs on average cover only 21% of MITRE ATT&CK techniques, making skilled SPL rule writing essential for closing detection gaps.\n\n\n## When to Use\n\n- When deploying or configuring building detection rule with splunk spl capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Splunk Enterprise Security (ES) deployed and configured\n- Access to Splunk Search & Reporting app with appropriate roles\n- Understanding of Common Information Model (CIM) data models\n- Familiarity with MITRE ATT&CK framework techniques\n- Knowledge of the organization's log sources and data flows\n\n## Core SPL Detection Rule Patterns\n\n### 1. Threshold-Based Detection\n\nDetects events exceeding a defined count within a time window.\n\n```spl\nindex=wineventlog sourcetype=WinEventLog:Security EventCode=4625\n| stats count as failed_logins dc(TargetUserName) as unique_users by src_ip\n| where failed_logins > 10 AND unique_users > 3\n| eval severity=\"high\"\n| eval description=\"Brute force attack detected from \".src_ip.\" with \".failed_logins.\" failed logins across \".unique_users.\" accounts\"\n```\n\n### 2. Sequence-Based Detection (Failed Login Followed by Success)\n\nCorrelates a sequence of events indicating a successful brute force attack.\n\n```spl\nindex=wineventlog sourcetype=WinEventLog:Security (EventCode=4625 OR EventCode=4624)\n| eval login_status=case(EventCode=4625, \"failure\", EventCode=4624, \"success\")\n| stats count(eval(login_status=\"failure\")) as failures count(eval(login_status=\"success\")) as successes latest(_time) as last_event by src_ip, TargetUserName\n| where failures > 5 AND successes > 0\n| eval description=\"Account \".TargetUserName.\" compromised via brute force from \".src_ip\n| eval urgency=\"critical\"\n```\n\n### 3. Anomaly Detection with Baseline Comparison\n\nCompares current activity against a baseline period to detect spikes.\n\n```spl\nindex=proxy sourcetype=squid\n| bin _time span=1h\n| stats count as current_count by src_ip, _time\n| join src_ip type=left [\n    search index=proxy sourcetype=squid earliest=-7d@d latest=-1d@d\n    | stats avg(count) as avg_count stdev(count) as stdev_count by src_ip\n]\n| eval threshold=avg_count + (3 * stdev_count)\n| where current_count > threshold\n| eval deviation=round((current_count - avg_count) \u002F stdev_count, 2)\n| eval description=\"Anomalous web traffic from \".src_ip.\" - \".deviation.\" standard deviations above baseline\"\n```\n\n### 4. Lateral Movement Detection\n\nIdentifies potential lateral movement using Windows logon events.\n\n```spl\nindex=wineventlog sourcetype=WinEventLog:Security EventCode=4624 Logon_Type=3\n| where NOT match(TargetUserName, \".*\\$$\")\n| stats dc(dest) as unique_hosts values(dest) as hosts by src_ip, TargetUserName\n| where unique_hosts > 5\n| eval severity=case(unique_hosts > 20, \"critical\", unique_hosts > 10, \"high\", true(), \"medium\")\n| eval description=TargetUserName.\" accessed \".unique_hosts.\" unique hosts from \".src_ip.\" via network logon\"\n```\n\n### 5. Data Exfiltration Detection\n\nMonitors for large outbound data transfers.\n\n```spl\nindex=firewall sourcetype=pan:traffic action=allowed direction=outbound\n| stats sum(bytes_out) as total_bytes_out dc(dest_ip) as unique_destinations by src_ip, user\n| eval total_mb=round(total_bytes_out\u002F1048576, 2)\n| where total_mb > 500 OR unique_destinations > 50\n| lookup asset_lookup ip as src_ip OUTPUT asset_category, asset_owner\n| eval severity=case(total_mb > 2000, \"critical\", total_mb > 1000, \"high\", true(), \"medium\")\n| eval description=user.\" transferred \".total_mb.\"MB to \".unique_destinations.\" unique destinations\"\n```\n\n### 6. PowerShell Suspicious Execution Detection\n\nDetects encoded or obfuscated PowerShell commands.\n\n```spl\nindex=wineventlog sourcetype=WinEventLog:Security EventCode=4104\n| where match(ScriptBlockText, \"(?i)(encodedcommand|invoke-expression|iex|downloadstring|frombase64string|net\\.webclient|invoke-webrequest|bitstransfer|invoke-mimikatz|invoke-shellcode)\")\n| eval decoded_length=len(ScriptBlockText)\n| stats count values(ScriptBlockText) as commands by Computer, UserName\n| where count > 0\n| eval severity=\"high\"\n| eval mitre_technique=\"T1059.001\"\n| eval description=\"Suspicious PowerShell execution on \".Computer.\" by \".UserName\n```\n\n## Building Correlation Searches in Splunk ES\n\n### Step-by-Step Process\n\n1. **Define the Use Case**: Map to MITRE ATT&CK technique and define what behavior to detect\n2. **Identify Data Sources**: Determine which indexes and sourcetypes contain relevant events\n3. **Write the Base Search**: Build SPL that extracts relevant events\n4. **Add Aggregation**: Use `stats`, `eventstats`, or `streamstats` to summarize\n5. **Apply Thresholds**: Set conditions with `where` clause that distinguish normal from anomalous\n6. **Enrich Context**: Add lookups for asset information, identity data, and threat intelligence\n7. **Configure Notable Event**: Set severity, urgency, and description fields\n8. **Schedule and Test**: Run against historical data and validate detection accuracy\n\n### Correlation Search Configuration Template\n\n```spl\n| tstats summariesonly=true count from datamodel=Authentication\n    where Authentication.action=failure\n    by Authentication.src, Authentication.user, _time span=5m\n| rename \"Authentication.*\" as *\n| stats count as total_failures dc(user) as unique_users values(user) as targeted_users by src\n| where total_failures > 20 AND unique_users > 5\n| lookup dnslookup clientip as src OUTPUT clienthost as src_dns\n| lookup asset_lookup ip as src OUTPUT priority as asset_priority, category as asset_category\n| eval urgency=case(asset_priority==\"critical\", \"critical\", asset_priority==\"high\", \"high\", true(), \"medium\")\n| eval rule_name=\"Brute Force Against Multiple Accounts\"\n| eval rule_description=\"Multiple authentication failures from \".src.\" targeting \".unique_users.\" unique accounts\"\n| eval mitre_attack=\"T1110.001 - Password Guessing\"\n```\n\n### Enrichment Best Practices\n\n```spl\n| lookup identity_lookup identity as user OUTPUT department, manager, risk_score as user_risk\n| lookup asset_lookup ip as src_ip OUTPUT asset_name, asset_category, asset_priority, asset_owner\n| lookup threatintel_lookup ip as src_ip OUTPUT threat_type, threat_confidence, threat_source\n| eval context=case(\n    isnotnull(threat_type), \"Known threat: \".threat_type,\n    user_risk > 80, \"High-risk user: risk score \".user_risk,\n    asset_priority==\"critical\", \"Critical asset: \".asset_name,\n    true(), \"Standard context\"\n)\n```\n\n## Performance Optimization\n\n### Use Data Models with tstats\n\n```spl\n| tstats summariesonly=true count from datamodel=Network_Traffic\n    where All_Traffic.action=allowed\n    by All_Traffic.src_ip, All_Traffic.dest_ip, All_Traffic.dest_port, _time span=1h\n| rename \"All_Traffic.*\" as *\n```\n\n### Limit Time Ranges and Use Indexed Fields\n\n```spl\nindex=wineventlog source=\"WinEventLog:Security\" EventCode=4688\n    earliest=-15m latest=now()\n| where NOT match(New_Process_Name, \"(?i)(svchost|csrss|lsass|services)\")\n```\n\n### Use Summary Indexing for Historical Baselines\n\n```spl\n| tstats count from datamodel=Authentication where Authentication.action=failure by Authentication.src, _time span=1h\n| collect index=summary source=\"auth_failure_baseline\" marker=\"report_name=auth_failure_hourly\"\n```\n\n## Testing and Validation\n\n### Test Against Known Attack Patterns\n\n```spl\n| makeresults count=1\n| eval src_ip=\"10.0.0.50\", failed_logins=25, unique_users=8, severity=\"high\"\n| eval description=\"Test brute force detection\"\n| append [\n    search index=wineventlog sourcetype=WinEventLog:Security EventCode=4625\n    earliest=-24h latest=now()\n    | stats count as failed_logins dc(TargetUserName) as unique_users by src_ip\n    | where failed_logins > 10 AND unique_users > 3\n    | eval severity=\"high\"\n]\n```\n\n### Calculate Detection Metrics\n\n```spl\nindex=notable\n| search rule_name=\"Brute Force*\"\n| stats count as total_alerts count(eval(status_label=\"Closed - True Positive\")) as true_positives count(eval(status_label=\"Closed - False Positive\")) as false_positives by rule_name\n| eval precision=round(true_positives \u002F (true_positives + false_positives) * 100, 2)\n| eval fpr=round(false_positives \u002F total_alerts * 100, 2)\n```\n\n## MITRE ATT&CK Mapping\n\n| Technique ID | Technique Name | SPL Detection Approach |\n|---|---|---|\n| T1110.001 | Password Guessing | Threshold on EventCode 4625 by src_ip |\n| T1059.001 | PowerShell | Pattern match on EventCode 4104 ScriptBlockText |\n| T1021.002 | SMB\u002FWindows Admin Shares | Logon Type 3 with dc(dest) threshold |\n| T1048 | Exfiltration Over C2 | bytes_out aggregation over time window |\n| T1053.005 | Scheduled Task | EventCode 4698 with suspicious command patterns |\n| T1003.001 | LSASS Memory | Process access to lsass.exe via Sysmon EventCode 10 |\n\n## References\n\n- [Splunk ES Correlation Searches Best Practices](https:\u002F\u002Fdetect.fyi\u002Fsplunk-es-correlation-searches-rules-best-cool-practices-06ef94884170)\n- [Writing Practical Splunk Detection Rules](https:\u002F\u002Fmedium.com\u002F@vitbukac\u002Fpractical-splunk-detection-rules-how-to-part-1-crawl-a24bc39a4b9d)\n- [Configure Correlation Searches - Splunk Documentation](https:\u002F\u002Fhelp.splunk.com\u002Fen\u002Fsplunk-enterprise-security-8\u002Fsplunk-app-for-pci-compliance\u002Finstallation-and-configuration-manual\u002F6.1\u002Fconfigure-correlation-searches\u002Fconfigure-correlation-searches)\n- [SOC Prime - Correlation Events in Splunk](https:\u002F\u002Fsocprime.com\u002Fblog\u002Fcreating-correlation-events-in-splunk-using-alerts\u002F)\n",{"name":5,"tags":48,"author":50,"domain":42,"license":15,"version":51,"nist_csf":52,"subdomain":57,"description":7,"mitre_attack":58,"d3fend_techniques":64},[26,49,30,29,41,27,33,28],"spl","mahipal","1.0",[53,54,55,56],"DE.CM-01","DE.AE-02","RS.MA-01","DE.AE-06","soc-operations",[31,59,60,61,62,63],"T1003.001","T1021.002","T1110.003","T1053.005","T1048",[65,66,67,68,69],"Executable Denylisting","Execution Isolation","File Metadata Consistency Validation","Content Format Conversion","File Content Analysis","main","54a798831d2266a3ca61ce68a7acb80b81160d57","skills\u002Fbuilding-detection-rule-with-splunk-spl",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":8,"skillName":5,"commands":81,"prompt":91,"zipAvailable":92},[82,85,88],{"tool":83,"command":84},"npx","npx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill building-detection-rule-with-splunk-spl",{"tool":86,"command":87},"bunx","bunx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill building-detection-rule-with-splunk-spl",{"tool":89,"command":90},"pnpm","pnpm dlx skills add mukul975\u002FAnthropic-Cybersecurity-Skills --skill building-detection-rule-with-splunk-spl","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-detection-rule-with-splunk-spl\u002FSKILL.md",true,[94,100,105,111,115,119,125],{"path":95,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"assets\u002Ftemplate.md","ASSET","资产文件",1982,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-detection-rule-with-splunk-spl\u002Fassets\u002Ftemplate.md",{"path":101,"resourceType":101,"resourceTypeDesc":102,"sizeBytes":103,"sourceHtmlUrl":104},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-detection-rule-with-splunk-spl\u002FLICENSE",{"path":106,"resourceType":107,"resourceTypeDesc":108,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Fapi-reference.md","REFERENCE","参考文档",1554,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-detection-rule-with-splunk-spl\u002Freferences\u002Fapi-reference.md",{"path":112,"resourceType":107,"resourceTypeDesc":108,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Fstandards.md",2366,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-detection-rule-with-splunk-spl\u002Freferences\u002Fstandards.md",{"path":116,"resourceType":107,"resourceTypeDesc":108,"sizeBytes":117,"sourceHtmlUrl":118},"references\u002Fworkflows.md",2069,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-detection-rule-with-splunk-spl\u002Freferences\u002Fworkflows.md",{"path":120,"resourceType":121,"resourceTypeDesc":122,"sizeBytes":123,"sourceHtmlUrl":124},"scripts\u002Fagent.py","SCRIPT","脚本",6128,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-detection-rule-with-splunk-spl\u002Fscripts\u002Fagent.py",{"path":126,"resourceType":121,"resourceTypeDesc":122,"sizeBytes":127,"sourceHtmlUrl":128},"scripts\u002Fprocess.py",14541,"https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fbuilding-detection-rule-with-splunk-spl\u002Fscripts\u002Fprocess.py",[130,158,182,207,233,260],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":139,"publishedAt":43},"01M6AGDM3HJXTKXX15ZZ0ZVCJ3","verifying-build-provenance-with-slsa-sigstore","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.","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fverifying-build-provenance-with-slsa-sigstore\u002FSKILL.md",[136],{"categoryNo":137,"categoryName":138,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[140,141,142,143,34,42,144,145,146,147,148,149,150,151,152,153,154,155,156,157],"sigstore","provenance","slsa","verifying build provenance with slsa sigstore","incident response","identity","pr","code","artifacts","ci","supply-chain","pipeline","supply-chain-security","t1195","attestation","code-signing","cosign","keyless",{"skillNo":159,"name":160,"nameZh":6,"description":161,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":165,"publishedAt":43},"01M6AGDGBPWYVZ2F11GFKJ4HZ9","validating-tpm-measured-boot-attestation","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.","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-tpm-measured-boot-attestation\u002FSKILL.md",[164],{"categoryNo":137,"categoryName":138,"taxonomyType":21,"taxonomyTypeDesc":22},[166,154,167,168,34,169,42,146,170,171,172,173,174,175,176,177,178,179,180,181],"boot","TPM","validating tpm measured boot attestation","policy","verification","ZeRO","firmware","Tools","measured-boot","PCR","integrity","secrets","remote-attestation","tpm2-tools","integrity-verification","trusted-computing",{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":186,"categories":187,"keywords":190,"publishedAt":43},"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.","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Fvalidating-backup-integrity-for-recovery\u002FSKILL.md",[188,189],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":137,"categoryName":138,"taxonomyType":21,"taxonomyTypeDesc":22},[176,191,192,193,194,42,195,40,170,196,197,198,199,200,201,202,203,204,205,206],"backup","recovery","validating backup integrity for recovery","testing","infrastructure","compliance","hash-verification","incident-response","ransomware","cryptocurrency","detection","t1078","t1490","immutable","disaster-recovery","restore-testing",{"skillNo":208,"name":209,"nameZh":6,"description":210,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":211,"categories":212,"keywords":214,"publishedAt":43},"01M6AGD9GBG2KZ336AE763J3WH","triaging-windows-with-kape","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.","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-windows-with-kape\u002FSKILL.md",[213],{"categoryNo":137,"categoryName":138,"taxonomyType":21,"taxonomyTypeDesc":22},[215,216,217,42,218,219,220,221,222,223,224,225,226,227,228,229,173,230,231,232],"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":234,"name":235,"nameZh":6,"description":236,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":237,"categories":238,"keywords":240,"publishedAt":43},"01M6AGD5PW5J4EVZM958WD74ZQ","triaging-vulnerabilities-with-ssvc-framework","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.","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-vulnerabilities-with-ssvc-framework\u002FSKILL.md",[239],{"categoryNo":137,"categoryName":138,"taxonomyType":21,"taxonomyTypeDesc":22},[241,242,243,42,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259],"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":261,"name":262,"nameZh":6,"description":263,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":264,"categories":265,"keywords":267,"publishedAt":43},"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.","https:\u002F\u002Fgithub.com\u002Fmukul975\u002FAnthropic-Cybersecurity-Skills\u002Fblob\u002Fmain\u002Fskills\u002Ftriaging-security-incident\u002FSKILL.md",[266],{"categoryNo":137,"categoryName":138,"taxonomyType":21,"taxonomyTypeDesc":22},[34,268,42,41,36,269,27,270,271,272,273,202,274,203,275,276,277,278,279,280],"triaging security incident","ioc","NIST-800-61","NIST","severity","edr","execution","analysis","classification","severity-classification","incident-triage","SANS-PICERL","SOC-operations"]