[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GWYP0B3KFV353GP1YPDDSW":3,"skill-same:01M6GWYP0B3KFV353GP1YPDDSW":86},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M6GWYP0B3KFV353GP1YPDDSW","building-detection-rules-with-sigma",null,"Builds vendor-agnostic detection rules using the Sigma rule format for threat detection across SIEM platforms including Splunk, Elastic, and Microsoft Sentinel. Use when creating portable detection logic from threat intelligence, mapping rules to MITRE ATT&CK techniques, or converting community Sigma rules into platform-specific queries using sigmac or pySigma backends.","micsapp\u002Fmicstec-skills","micsapp","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F82411001?v=4","01M6GWCFQ6D3PV8EHNY62NN5VW","01M6GWCFVE1PA5HG0DKC7AMFJ3",4,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fbuilding-detection-rules-with-sigma\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"building detection rules with sigma","with","Rules","detection","sigma","splunk","soc","detection-rules","elastic","sentinel","cybersecurity","mitre-attack","SOC-operations","threat intelligence","community","intelligence","microsoft sentinel","across","mapping","siem","2026-11-10 10:12:30",false,"---\nname: building-detection-rules-with-sigma\ndescription: >\n  Builds vendor-agnostic detection rules using the Sigma rule format for threat detection across\n  SIEM platforms including Splunk, Elastic, and Microsoft Sentinel. Use when creating portable\n  detection logic from threat intelligence, mapping rules to MITRE ATT&CK techniques, or converting\n  community Sigma rules into platform-specific queries using sigmac or pySigma backends.\ndomain: cybersecurity\nsubdomain: soc-operations\ntags: [soc, sigma, detection-rules, siem, mitre-attack, splunk, elastic, sentinel]\nversion: \"1.0\"\nauthor: mahipal\nlicense: Apache-2.0\n---\n# Building Detection Rules with Sigma\n\n## When to Use\n\nUse this skill when:\n- SOC engineers need to create detection rules portable across multiple SIEM platforms\n- Threat intelligence reports describe TTPs requiring new detection coverage\n- Existing vendor-specific rules need standardization into a shareable format\n- The team adopts Sigma as a detection-as-code standard in CI\u002FCD pipelines\n\n**Do not use** for real-time streaming detection (Sigma is for batch\u002Fscheduled searches) or when the target SIEM has native detection features that Sigma cannot express (e.g., Splunk RBA risk scoring).\n\n## Prerequisites\n\n- Python 3.8+ with `pySigma` and appropriate backend (`pySigma-backend-splunk`, `pySigma-backend-elasticsearch`, `pySigma-backend-microsoft365defender`)\n- Sigma rule repository cloned: `git clone https:\u002F\u002Fgithub.com\u002FSigmaHQ\u002Fsigma.git`\n- MITRE ATT&CK framework knowledge for technique mapping\n- Understanding of target SIEM log source field mappings\n\n## Workflow\n\n### Step 1: Define Detection Logic from Threat Intelligence\n\nStart with a threat report or ATT&CK technique. Example: detecting Mimikatz credential dumping (T1003.001 — LSASS Memory):\n\n```yaml\ntitle: Mimikatz Credential Dumping via LSASS Access\nid: 0d894093-71bc-43c3-8d63-bf520e73a7c5\nstatus: stable\nlevel: high\ndescription: Detects process accessing lsass.exe memory, indicative of credential dumping tools like Mimikatz\nreferences:\n    - https:\u002F\u002Fattack.mitre.org\u002Ftechniques\u002FT1003\u002F001\u002F\n    - https:\u002F\u002Fgithub.com\u002Fgentilkiwi\u002Fmimikatz\nauthor: mahipal\ndate: 2024\u002F03\u002F15\nmodified: 2024\u002F03\u002F15\ntags:\n    - attack.credential_access\n    - attack.t1003.001\nlogsource:\n    category: process_access\n    product: windows\ndetection:\n    selection:\n        TargetImage|endswith: '\\lsass.exe'\n        GrantedAccess|contains:\n            - '0x1010'\n            - '0x1038'\n            - '0x1fffff'\n            - '0x40'\n    filter_main_svchost:\n        SourceImage|endswith: '\\svchost.exe'\n    filter_main_csrss:\n        SourceImage|endswith: '\\csrss.exe'\n    filter_main_wininit:\n        SourceImage|endswith: '\\wininit.exe'\n    condition: selection and not 1 of filter_main_*\nfalsepositives:\n    - Legitimate security tools accessing LSASS\n    - Windows Defender scanning\n    - CrowdStrike Falcon sensor\n```\n\n### Step 2: Validate Sigma Rule Syntax\n\nUse `sigma check` to validate the rule:\n\n```bash\n# Install pySigma and validators\npip install pySigma pySigma-validators-sigmaHQ\n\n# Validate rule\nsigma check rule.yml\n```\n\nAlternatively, validate with Python:\n\n```python\nfrom sigma.rule import SigmaRule\nfrom sigma.validators.core import SigmaValidator\n\nrule = SigmaRule.from_yaml(open(\"rule.yml\").read())\nvalidator = SigmaValidator()\nissues = validator.validate_rule(rule)\nfor issue in issues:\n    print(f\"{issue.severity}: {issue.message}\")\n```\n\n### Step 3: Convert to Target SIEM Query\n\n**Convert to Splunk SPL:**\n\n```python\nfrom sigma.rule import SigmaRule\nfrom sigma.backends.splunk import SplunkBackend\nfrom sigma.pipelines.splunk import splunk_windows_pipeline\n\npipeline = splunk_windows_pipeline()\nbackend = SplunkBackend(pipeline)\n\nrule = SigmaRule.from_yaml(open(\"rule.yml\").read())\nsplunk_query = backend.convert_rule(rule)\nprint(splunk_query[0])\n```\n\nOutput:\n```spl\nTargetImage=\"*\\\\lsass.exe\" (GrantedAccess=\"*0x1010*\" OR GrantedAccess=\"*0x1038*\"\nOR GrantedAccess=\"*0x1fffff*\" OR GrantedAccess=\"*0x40*\")\nNOT (SourceImage=\"*\\\\svchost.exe\") NOT (SourceImage=\"*\\\\csrss.exe\")\nNOT (SourceImage=\"*\\\\wininit.exe\")\n```\n\n**Convert to Elastic Query (Lucene):**\n\n```python\nfrom sigma.backends.elasticsearch import LuceneBackend\nfrom sigma.pipelines.elasticsearch import ecs_windows_pipeline\n\npipeline = ecs_windows_pipeline()\nbackend = LuceneBackend(pipeline)\nelastic_query = backend.convert_rule(rule)\nprint(elastic_query[0])\n```\n\n**Convert to Microsoft Sentinel KQL:**\n\n```python\nfrom sigma.backends.microsoft365defender import Microsoft365DefenderBackend\n\nbackend = Microsoft365DefenderBackend()\nkql_query = backend.convert_rule(rule)\nprint(kql_query[0])\n```\n\n### Step 4: Map to MITRE ATT&CK and Add Coverage Metadata\n\nTag every rule with ATT&CK technique IDs in the `tags` field:\n\n```yaml\ntags:\n    - attack.credential_access        # Tactic\n    - attack.t1003.001                # Sub-technique\n    - attack.t1003                    # Parent technique\n```\n\nTrack detection coverage using the ATT&CK Navigator:\n\n```python\nimport json\n\n# Generate ATT&CK Navigator layer from Sigma rules\nlayer = {\n    \"name\": \"SOC Detection Coverage\",\n    \"versions\": {\"attack\": \"14\", \"navigator\": \"4.9\", \"layer\": \"4.5\"},\n    \"domain\": \"enterprise-attack\",\n    \"techniques\": []\n}\n\n# Parse Sigma rules directory for technique tags\nimport os\nfrom sigma.rule import SigmaRule\n\nfor root, dirs, files in os.walk(\"sigma\u002Frules\u002Fwindows\u002F\"):\n    for f in files:\n        if f.endswith(\".yml\"):\n            rule = SigmaRule.from_yaml(open(os.path.join(root, f)).read())\n            for tag in rule.tags:\n                if str(tag).startswith(\"attack.t\"):\n                    technique_id = str(tag).replace(\"attack.\", \"\").upper()\n                    layer[\"techniques\"].append({\n                        \"techniqueID\": technique_id,\n                        \"color\": \"#31a354\",\n                        \"score\": 1\n                    })\n\nwith open(\"coverage_layer.json\", \"w\") as f:\n    json.dump(layer, f, indent=2)\n```\n\n### Step 5: Test Rule Against Sample Data\n\nCreate test data and validate the rule catches the expected events:\n\n```bash\n# Use sigma test framework\nsigma test rule.yml --target splunk --pipeline splunk_windows\n\n# Or manually test in Splunk with sample data\n# Upload Sysmon process_access log with known Mimikatz signature\n```\n\nValidate false positive rate by running against 7 days of production data in a non-alerting saved search.\n\n### Step 6: Deploy to Production SIEM\n\nDeploy the converted query as a scheduled search or correlation rule:\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.src, Processes.user, Processes.process_name, Processes.parent_process_name\n| `drop_dm_object_name(Processes)`\n| where count > 0\n```\n\n**Elastic Security Rule (TOML format):**\n```toml\n[rule]\nname = \"LSASS Memory Access - Credential Dumping\"\ndescription = \"Detects suspicious access to LSASS process memory\"\nrisk_score = 73\nseverity = \"high\"\ntype = \"eql\"\nquery = '''\nprocess where event.action == \"access\" and\n  process.name == \"lsass.exe\" and\n  not process.executable : (\"*\\\\svchost.exe\", \"*\\\\csrss.exe\")\n'''\n\n[rule.threat]\nframework = \"MITRE ATT&CK\"\n[[rule.threat.technique]]\nid = \"T1003\"\nname = \"OS Credential Dumping\"\n```\n\n### Step 7: Version Control and CI\u002FCD Integration\n\nStore rules in Git with automated testing:\n\n```yaml\n# .github\u002Fworkflows\u002Fsigma-ci.yml\nname: Sigma Rule CI\non: [push, pull_request]\njobs:\n  validate:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-python@v5\n        with:\n          python-version: '3.11'\n      - run: pip install pySigma pySigma-validators-sigmaHQ\n      - run: sigma check rules\u002F\n      - run: sigma convert -t splunk -p splunk_windows rules\u002F > \u002Fdev\u002Fnull\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Sigma** | Vendor-agnostic detection rule format (YAML-based) that compiles to SIEM-specific queries via backends |\n| **pySigma** | Python library replacing legacy sigmac for rule conversion, validation, and pipeline processing |\n| **Backend** | pySigma plugin that translates Sigma detection logic into a target platform query language (SPL, KQL, Lucene) |\n| **Pipeline** | Field mapping configuration that translates generic Sigma field names to SIEM-specific field names |\n| **Logsource** | Sigma rule section defining the category (process_creation, network_connection) and product (windows, linux) of the target data |\n| **Detection-as-Code** | Practice of managing detection rules in version control with CI\u002FCD testing and automated deployment |\n\n## Tools & Systems\n\n- **SigmaHQ**: Official Sigma rule repository with 3,000+ community-maintained detection rules on GitHub\n- **pySigma**: Python-based Sigma rule processing framework with modular backends and pipelines\n- **ATT&CK Navigator**: MITRE tool for visualizing detection coverage mapped to ATT&CK techniques\n- **Uncoder.IO**: Web-based Sigma rule converter supporting 30+ SIEM platforms for quick translation\n\n## Common Scenarios\n\n- **New CVE Detection**: Write Sigma rule for exploitation indicators (e.g., Log4Shell JNDI lookup patterns in web logs)\n- **Hunting Rule Promotion**: Convert ad-hoc Splunk hunting query into Sigma rule for ongoing automated detection\n- **Multi-SIEM Migration**: Converting 500+ Splunk correlation searches to Sigma for migration to Elastic Security\n- **Purple Team Output**: Convert red team findings into Sigma rules for immediate defensive coverage\n- **Threat Intel Operationalization**: Transform IOC-based threat reports into behavioral Sigma rules\n\n## Output Format\n\n```\nSIGMA RULE DEPLOYMENT REPORT\n━━━━━━━━━━━━━━━━━━━━━━━━━━━\nRule ID:      0d894093-71bc-43c3-8d63-bf520e73a7c5\nTitle:        Mimikatz Credential Dumping via LSASS Access\nATT&CK:       T1003.001 - LSASS Memory\nSeverity:     High\nStatus:       Deployed to Production\n\nConversions:\n  Splunk SPL:    PASS — Saved search \"sigma_lsass_access\" created\n  Elastic EQL:   PASS — Detection rule ID elastic-0d894093 enabled\n  Sentinel KQL:  PASS — Analytics rule deployed via ARM template\n\nTesting:\n  True Positives:    4\u002F4 test cases matched\n  False Positives:   2 in 7-day backtest (svchost edge case — filter added)\n  Performance:       Avg execution 3.2s on 50M events\u002Fday\n```\n","# Building Detection Rules with Sigma\n\n## When to Use\n\nUse this skill when:\n- SOC engineers need to create detection rules portable across multiple SIEM platforms\n- Threat intelligence reports describe TTPs requiring new detection coverage\n- Existing vendor-specific rules need standardization into a shareable format\n- The team adopts Sigma as a detection-as-code standard in CI\u002FCD pipelines\n\n**Do not use** for real-time streaming detection (Sigma is for batch\u002Fscheduled searches) or when the target SIEM has native detection features that Sigma cannot express (e.g., Splunk RBA risk scoring).\n\n## Prerequisites\n\n- Python 3.8+ with `pySigma` and appropriate backend (`pySigma-backend-splunk`, `pySigma-backend-elasticsearch`, `pySigma-backend-microsoft365defender`)\n- Sigma rule repository cloned: `git clone https:\u002F\u002Fgithub.com\u002FSigmaHQ\u002Fsigma.git`\n- MITRE ATT&CK framework knowledge for technique mapping\n- Understanding of target SIEM log source field mappings\n\n## Workflow\n\n### Step 1: Define Detection Logic from Threat Intelligence\n\nStart with a threat report or ATT&CK technique. Example: detecting Mimikatz credential dumping (T1003.001 — LSASS Memory):\n\n```yaml\ntitle: Mimikatz Credential Dumping via LSASS Access\nid: 0d894093-71bc-43c3-8d63-bf520e73a7c5\nstatus: stable\nlevel: high\ndescription: Detects process accessing lsass.exe memory, indicative of credential dumping tools like Mimikatz\nreferences:\n    - https:\u002F\u002Fattack.mitre.org\u002Ftechniques\u002FT1003\u002F001\u002F\n    - https:\u002F\u002Fgithub.com\u002Fgentilkiwi\u002Fmimikatz\nauthor: mahipal\ndate: 2024\u002F03\u002F15\nmodified: 2024\u002F03\u002F15\ntags:\n    - attack.credential_access\n    - attack.t1003.001\nlogsource:\n    category: process_access\n    product: windows\ndetection:\n    selection:\n        TargetImage|endswith: '\\lsass.exe'\n        GrantedAccess|contains:\n            - '0x1010'\n            - '0x1038'\n            - '0x1fffff'\n            - '0x40'\n    filter_main_svchost:\n        SourceImage|endswith: '\\svchost.exe'\n    filter_main_csrss:\n        SourceImage|endswith: '\\csrss.exe'\n    filter_main_wininit:\n        SourceImage|endswith: '\\wininit.exe'\n    condition: selection and not 1 of filter_main_*\nfalsepositives:\n    - Legitimate security tools accessing LSASS\n    - Windows Defender scanning\n    - CrowdStrike Falcon sensor\n```\n\n### Step 2: Validate Sigma Rule Syntax\n\nUse `sigma check` to validate the rule:\n\n```bash\n# Install pySigma and validators\npip install pySigma pySigma-validators-sigmaHQ\n\n# Validate rule\nsigma check rule.yml\n```\n\nAlternatively, validate with Python:\n\n```python\nfrom sigma.rule import SigmaRule\nfrom sigma.validators.core import SigmaValidator\n\nrule = SigmaRule.from_yaml(open(\"rule.yml\").read())\nvalidator = SigmaValidator()\nissues = validator.validate_rule(rule)\nfor issue in issues:\n    print(f\"{issue.severity}: {issue.message}\")\n```\n\n### Step 3: Convert to Target SIEM Query\n\n**Convert to Splunk SPL:**\n\n```python\nfrom sigma.rule import SigmaRule\nfrom sigma.backends.splunk import SplunkBackend\nfrom sigma.pipelines.splunk import splunk_windows_pipeline\n\npipeline = splunk_windows_pipeline()\nbackend = SplunkBackend(pipeline)\n\nrule = SigmaRule.from_yaml(open(\"rule.yml\").read())\nsplunk_query = backend.convert_rule(rule)\nprint(splunk_query[0])\n```\n\nOutput:\n```spl\nTargetImage=\"*\\\\lsass.exe\" (GrantedAccess=\"*0x1010*\" OR GrantedAccess=\"*0x1038*\"\nOR GrantedAccess=\"*0x1fffff*\" OR GrantedAccess=\"*0x40*\")\nNOT (SourceImage=\"*\\\\svchost.exe\") NOT (SourceImage=\"*\\\\csrss.exe\")\nNOT (SourceImage=\"*\\\\wininit.exe\")\n```\n\n**Convert to Elastic Query (Lucene):**\n\n```python\nfrom sigma.backends.elasticsearch import LuceneBackend\nfrom sigma.pipelines.elasticsearch import ecs_windows_pipeline\n\npipeline = ecs_windows_pipeline()\nbackend = LuceneBackend(pipeline)\nelastic_query = backend.convert_rule(rule)\nprint(elastic_query[0])\n```\n\n**Convert to Microsoft Sentinel KQL:**\n\n```python\nfrom sigma.backends.microsoft365defender import Microsoft365DefenderBackend\n\nbackend = Microsoft365DefenderBackend()\nkql_query = backend.convert_rule(rule)\nprint(kql_query[0])\n```\n\n### Step 4: Map to MITRE ATT&CK and Add Coverage Metadata\n\nTag every rule with ATT&CK technique IDs in the `tags` field:\n\n```yaml\ntags:\n    - attack.credential_access        # Tactic\n    - attack.t1003.001                # Sub-technique\n    - attack.t1003                    # Parent technique\n```\n\nTrack detection coverage using the ATT&CK Navigator:\n\n```python\nimport json\n\n# Generate ATT&CK Navigator layer from Sigma rules\nlayer = {\n    \"name\": \"SOC Detection Coverage\",\n    \"versions\": {\"attack\": \"14\", \"navigator\": \"4.9\", \"layer\": \"4.5\"},\n    \"domain\": \"enterprise-attack\",\n    \"techniques\": []\n}\n\n# Parse Sigma rules directory for technique tags\nimport os\nfrom sigma.rule import SigmaRule\n\nfor root, dirs, files in os.walk(\"sigma\u002Frules\u002Fwindows\u002F\"):\n    for f in files:\n        if f.endswith(\".yml\"):\n            rule = SigmaRule.from_yaml(open(os.path.join(root, f)).read())\n            for tag in rule.tags:\n                if str(tag).startswith(\"attack.t\"):\n                    technique_id = str(tag).replace(\"attack.\", \"\").upper()\n                    layer[\"techniques\"].append({\n                        \"techniqueID\": technique_id,\n                        \"color\": \"#31a354\",\n                        \"score\": 1\n                    })\n\nwith open(\"coverage_layer.json\", \"w\") as f:\n    json.dump(layer, f, indent=2)\n```\n\n### Step 5: Test Rule Against Sample Data\n\nCreate test data and validate the rule catches the expected events:\n\n```bash\n# Use sigma test framework\nsigma test rule.yml --target splunk --pipeline splunk_windows\n\n# Or manually test in Splunk with sample data\n# Upload Sysmon process_access log with known Mimikatz signature\n```\n\nValidate false positive rate by running against 7 days of production data in a non-alerting saved search.\n\n### Step 6: Deploy to Production SIEM\n\nDeploy the converted query as a scheduled search or correlation rule:\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.src, Processes.user, Processes.process_name, Processes.parent_process_name\n| `drop_dm_object_name(Processes)`\n| where count > 0\n```\n\n**Elastic Security Rule (TOML format):**\n```toml\n[rule]\nname = \"LSASS Memory Access - Credential Dumping\"\ndescription = \"Detects suspicious access to LSASS process memory\"\nrisk_score = 73\nseverity = \"high\"\ntype = \"eql\"\nquery = '''\nprocess where event.action == \"access\" and\n  process.name == \"lsass.exe\" and\n  not process.executable : (\"*\\\\svchost.exe\", \"*\\\\csrss.exe\")\n'''\n\n[rule.threat]\nframework = \"MITRE ATT&CK\"\n[[rule.threat.technique]]\nid = \"T1003\"\nname = \"OS Credential Dumping\"\n```\n\n### Step 7: Version Control and CI\u002FCD Integration\n\nStore rules in Git with automated testing:\n\n```yaml\n# .github\u002Fworkflows\u002Fsigma-ci.yml\nname: Sigma Rule CI\non: [push, pull_request]\njobs:\n  validate:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - uses: actions\u002Fsetup-python@v5\n        with:\n          python-version: '3.11'\n      - run: pip install pySigma pySigma-validators-sigmaHQ\n      - run: sigma check rules\u002F\n      - run: sigma convert -t splunk -p splunk_windows rules\u002F > \u002Fdev\u002Fnull\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Sigma** | Vendor-agnostic detection rule format (YAML-based) that compiles to SIEM-specific queries via backends |\n| **pySigma** | Python library replacing legacy sigmac for rule conversion, validation, and pipeline processing |\n| **Backend** | pySigma plugin that translates Sigma detection logic into a target platform query language (SPL, KQL, Lucene) |\n| **Pipeline** | Field mapping configuration that translates generic Sigma field names to SIEM-specific field names |\n| **Logsource** | Sigma rule section defining the category (process_creation, network_connection) and product (windows, linux) of the target data |\n| **Detection-as-Code** | Practice of managing detection rules in version control with CI\u002FCD testing and automated deployment |\n\n## Tools & Systems\n\n- **SigmaHQ**: Official Sigma rule repository with 3,000+ community-maintained detection rules on GitHub\n- **pySigma**: Python-based Sigma rule processing framework with modular backends and pipelines\n- **ATT&CK Navigator**: MITRE tool for visualizing detection coverage mapped to ATT&CK techniques\n- **Uncoder.IO**: Web-based Sigma rule converter supporting 30+ SIEM platforms for quick translation\n\n## Common Scenarios\n\n- **New CVE Detection**: Write Sigma rule for exploitation indicators (e.g., Log4Shell JNDI lookup patterns in web logs)\n- **Hunting Rule Promotion**: Convert ad-hoc Splunk hunting query into Sigma rule for ongoing automated detection\n- **Multi-SIEM Migration**: Converting 500+ Splunk correlation searches to Sigma for migration to Elastic Security\n- **Purple Team Output**: Convert red team findings into Sigma rules for immediate defensive coverage\n- **Threat Intel Operationalization**: Transform IOC-based threat reports into behavioral Sigma rules\n\n## Output Format\n\n```\nSIGMA RULE DEPLOYMENT REPORT\n━━━━━━━━━━━━━━━━━━━━━━━━━━━\nRule ID:      0d894093-71bc-43c3-8d63-bf520e73a7c5\nTitle:        Mimikatz Credential Dumping via LSASS Access\nATT&CK:       T1003.001 - LSASS Memory\nSeverity:     High\nStatus:       Deployed to Production\n\nConversions:\n  Splunk SPL:    PASS — Saved search \"sigma_lsass_access\" created\n  Elastic EQL:   PASS — Detection rule ID elastic-0d894093 enabled\n  Sentinel KQL:  PASS — Analytics rule deployed via ARM template\n\nTesting:\n  True Positives:    4\u002F4 test cases matched\n  False Positives:   2 in 7-day backtest (svchost edge case — filter added)\n  Performance:       Avg execution 3.2s on 50M events\u002Fday\n```\n",{"name":5,"tags":43,"author":44,"domain":28,"license":14,"version":45,"subdomain":46,"description":47},[24,22,25,37,29,23,26,27],"mahipal","1.0","soc-operations","Builds vendor-agnostic detection rules using the Sigma rule format for threat detection across SIEM platforms including Splunk, Elastic, and Microsoft Sentinel. Use when creating portable detection logic from threat intelligence, mapping rules to MITRE ATT&CK techniques, or converting community Sigma rules into platform-specific queries using sigmac or pySigma backends.\n","master","3f5d983eb4ef375b749adcd6b07ec03bd82ae8a8","_universal\u002Fcybersecurity-skills\u002Fskills\u002Fbuilding-detection-rules-with-sigma",0,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills","https:\u002F\u002Fgithub.com\u002Fmicsapp","2026-03-20 11:24:18",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add micsapp\u002Fmicstec-skills --skill building-detection-rules-with-sigma",{"tool":61,"command":62},"bunx","bunx skills add micsapp\u002Fmicstec-skills --skill building-detection-rules-with-sigma",{"tool":64,"command":65},"pnpm","pnpm dlx skills add micsapp\u002Fmicstec-skills --skill building-detection-rules-with-sigma","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fbuilding-detection-rules-with-sigma\u002FSKILL.md",true,[69,74,80],{"path":70,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fbuilding-detection-rules-with-sigma\u002FLICENSE",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fapi-reference.md","REFERENCE","参考文档",2127,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fbuilding-detection-rules-with-sigma\u002Freferences\u002Fapi-reference.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fagent.py","SCRIPT","脚本",6449,"https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002F_universal\u002Fcybersecurity-skills\u002Fskills\u002Fbuilding-detection-rules-with-sigma\u002Fscripts\u002Fagent.py",[87,125,155,176,196,221],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":104,"publishedAt":38},"01M6HBTJ02FXBFG9NYEHHYAP52","azure-apim-architecture","Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.","MIT","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fazure-apim-architecture\u002FSKILL.md",[94,99],{"categoryNo":95,"categoryName":96,"taxonomyType":97,"taxonomyTypeDesc":98},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124],"architecture","azure","azure apim architecture","component","authentication","gateway","topology","Optimization","network","api","team","environment","multi-environment","workspaces","instances","selection","strategies","azure api management","mode","for",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":139,"publishedAt":38},"01M6HBT7J4H082JEEA670B3EQ9","apiops-deployment","Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep\u002FTerraform), CI\u002FCD pipelines (GitHub Actions\u002FAzure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapiops-deployment\u002FSKILL.md",[131,132,135,138],{"categoryNo":95,"categoryName":96,"taxonomyType":97,"taxonomyTypeDesc":98},{"categoryNo":133,"categoryName":134,"taxonomyType":97,"taxonomyTypeDesc":98},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":136,"categoryName":137,"taxonomyType":97,"taxonomyTypeDesc":98},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},[140,141,142,143,106,144,145,146,147,148,149,150,114,115,121,151,152,122,153,154],"deployment","apiops deployment","workflows","azure devops","infrastructure","code","infrastructure as code","actions","ci","github actions","github-actions","as","guides","CI\u002FCD","implementing",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":162,"publishedAt":38},"01M6HBT2HEA23THNE9E00GYQBE","apim-policy-authoring","Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request\u002Fresponse processing logic.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapim-policy-authoring\u002FSKILL.md",[161],{"categoryNo":95,"categoryName":96,"taxonomyType":97,"taxonomyTypeDesc":98},[163,164,165,166,106,109,114,115,167,168,169,170,171,172,173,122,174,175,154,124],"policy","authoring","apim policy authoring","security","access","use","ready","api security","Access Control","error","processing","cors configuration","production-ready",{"skillNo":177,"name":178,"nameZh":6,"description":179,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":180,"categories":181,"keywords":184,"publishedAt":38},"01M6HBSY65SB29J9WE9KYD0K6T","api-security-review","Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fcopilot-agent-skills\u002F.github\u002Fskills\u002Fapi-security-review\u002FSKILL.md",[182,183],{"categoryNo":95,"categoryName":96,"taxonomyType":97,"taxonomyTypeDesc":98},{"categoryNo":100,"categoryName":101,"taxonomyType":102,"taxonomyTypeDesc":103},[185,166,186,114,170,187,106,140,188,189,190,191,115,192,122,193,194,195,123,124],"review","security review","api security review","benchmark","verification","owasp","owasp-api","alignment","azure security","reviews","top",{"skillNo":197,"name":198,"nameZh":6,"description":199,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":200,"categories":201,"keywords":202,"publishedAt":38},"01M6HBSRW4PDFE6K4F8JYPZQ05","jira-cli","Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fjira-cli\u002FSKILL.md",[],[203,204,205,142,206,207,208,209,114,210,211,212,213,214,215,216,217,218,219,220],"cli","jira","jira cli","init","tasks","create","issues","common","work","command","edit","list","view","project","project work","token","line","sprints",{"skillNo":222,"name":223,"nameZh":6,"description":224,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":91,"licenseFileUrl":6,"sourceHtmlUrl":225,"categories":226,"keywords":227,"publishedAt":38},"01M6HBSNS3JHMW603G47TWE31H","calculator","Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.","https:\u002F\u002Fgithub.com\u002Fmicsapp\u002Fmicstec-skills\u002Fblob\u002Fmaster\u002Fcopilot-cli\u002Fawesome-copilot-agents\u002Fskills\u002Fcalculator\u002FSKILL.md",[],[223,228,229,230,231,232,233,168,234,235],"npm","js","calculate","node","math","user","compute","errors"]