Agent skill · Audited from source
Building Detection Rules With Sigma
skill · mukul975/Anthropic-Cybersecurity-SkillsApache-2.0 licenceAudited 7 Oct 2026 · source 6c59587be632
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 6c59587be632 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 1 finding, 1 critical or high. What it does: Builds vendor-agnostic detection rules using the Sigma rule format for
Cite
Cite this page
ModelsAtlas. “Building Detection Rules With Sigma (mukul975/Anthropic-Cybersecurity-Skills)”. Retrieved 7 Oct 2026. https://modelsatlas.com/skills/mukul975/building-detection-rules-with-sigma
Trust audit
Audit 0.4.1 · source read 7 Oct 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | FAIL | 1 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (1)
HIGHPrompt injectionprompt.credential_read · SKILL.md:253
name = "LSASS Memory Access - Credential Dumping"
- Why
- asks the agent to read credentials
- Fix
- —
Audit 0.4.1 · source sha 6c59587be632 · 7 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishermukul975 GitHub userOwner of the repository this skill is read from
- Source foldermukul975/Anthropic-Cybersecurity-Skills/skills/building-detection-rules-with-sigmaThe exact folder we audited
- LicenceApache-2.0As the repository states it
- Commit pinned for this verdict6c59587be632A new audit runs when the source changes
- Repository statusNot archivedLast push 37 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Builds vendor-agnostic detection rules using the Sigma rule format for
---
name: building-detection-rules-with-sigma
description: '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.
'
domain: cybersecurity
subdomain: soc-operations
tags:
- soc
- sigma
- detection-rules
- siem
- mitre-attack
- splunk
- elastic
- sentinel
version: '1.0'
author: mahipal
license: Apache-2.0
d3fend_techniques:
- Execution Isolation
- Process Termination
- Hardware-based Process Isolation
- Web Session Access Mediation
- Process Suspension
nist_csf:
- DE.CM-01
- DE.AE-02
- RS.MA-01
- DE.AE-06
mitre_attack:
- T1059.001
- T1003.001
- T1055
- T1053.005
- T1547.001
---
# Building Detection Rules with Sigma
## When to Use
Use this skill when:
- SOC engineers need to create detection rules portable across multiple SIEM platforms
- Threat intelligence reports describe TTPs requiring new detection coverage
- Existing vendor-specific rules need standardization into a shareable format
- The team adopts Sigma as a detection-as-code standard in CI/CD pipelines
**Do not use** for real-time streaming detection (Sigma is for batch/scheduled searches) or when the target SIEM has native detection features that Sigma cannot express (e.g., Splunk RBA risk scoring).
## Prerequisites
- Python 3.8+ with `pySigma` and appropriate backend (`pySigma-backend-splunk`, `pySigma-backend-elasticsearch`, `pySigma-backend-microsoft365defender`)
- Sigma rule repository cloned: `git clone https://github.com/SigmaHQ/sigma.git`
- MITRE ATT&CK framework knowledge for technique mapping
- Understanding of target SIEM log source field mappings
## Workflow
### Step 1: Define Detection Logic from Threat Intelligence
Start with a threat report or ATT&CK technique. Example: detecting Mimikatz credential dumping (T1003.001 — LSASS Memory):
```yaml
title: Mimikatz Credential Dumping via LSASS Access
id: 0d894093-71bc-43c3-8d63-bf520e73a7c5
status: stable
level: high
description: Detects process accessing lsass.exe memory, indicative of credential dumping tools like Mimikatz
references:
- https://attack.mitre.org/techniques/T1003/001/
- https://github.com/gentilkiwi/mimikatz
author: mahipal
date: 2024/03/15
modified: 2024/03/15
tags:
- attack.credential_access
- attack.t1003.001
logsource:
category: process_access
product: windows
detection:
selection:
TargetImage|endswith: '\lsass.exe'
GrantedAccess|contains:
- '0x1010'
- '0x1038'
- '0x1fffff'
- '0x40'
filter_main_svchost:
SourceImage|endswith: '\svchost.exe'
filter_main_csrss:
SourceImage|endswith: '\csrss.exe'
filter_main_wininit:
SourceImage|endswith: '\wininit.exe'
condition: selection and not 1 of filter_main_*
falsepositives:
- Legitimate security tools accessing LSASS
- Windows Defender scanning
- CrowdStrike Falcon sensor
```
### Step 2: Validate Sigma Rule Syntax
Use `sigma check` to validate the rule:
```bash
# Install pySigma and validators
pip install pySigma pySigma-validators-sigmaHQ
# Validate rule
sigma check rule.yml
```
Alternatively, validate with Python:
```python
from sigma.rule import SigmaRule
from sigma.validators.core import SigmaValidator
rule = SigmaRule.from_yaml(open("rule.yml").read())
validator = SigmaValidator()
issues = validator.validate_rule(rule)
for issue in issues:
print(f"{issue.severity}: {issue.message}")
```
### Step 3: Convert to Target SIEM Query
**Convert to Splunk SPL:**
```python
from sigma.rule import SigmaRule
from sigma.backends.splunk import SplunkBackend
from sigma.pipelines.splunk import splunk_windows_pipeline
pipeline = splunk_windows_pipeline()
backend = SplunkBackend(pipeline)
rule = SigmaRule.from_yaml(open("rule.yml").read())
splunk_query = backend.convert_rule(rule)
print(splunk_query[0])
```
Output:
```spl
TargetImage="*\\lsass.exe" (GrantedAccess="*0x1010*" OR GrantedAccess="*0x1038*"
OR GrantedAccess="*0x1fffff*" OR GrantedAccess="*0x40*")
NOT (SourceImage="*\\svchost.exe") NOT (SourceImage="*\\csrss.exe")
NOT (SourceImage="*\\wininit.exe")
```
**Convert to Elastic Query (Lucene):**
```python
from sigma.backends.elasticsearch import LuceneBackend
from sigma.pipelines.elasticsearch import ecs_windows_pipeline
pipeline = ecs_windows_pipeline()
backend = LuceneBackend(pipeline)
elastic_query = backend.convert_rule(rule)
print(elastic_query[0])
```
**Convert to Microsoft Sentinel KQL:**
```python
from sigma.backends.microsoft365defender import Microsoft365DefenderBackend
backend = Microsoft365DefenderBackend()
kql_query = backend.convert_rule(rule)
print(kql_query[0])
```
### Step 4: Map to MITRE ATT&CK and Add Coverage Metadata
Tag every rule with ATT&CK technique IDs in the `tags` field:
```yaml
tags:
- attack.credential_access # Tactic
- attack.t1003.001 # Sub-technique
- attack.t1003 # Parent technique
```
Track detection coverage using the ATT&CK Navigator:
```python
import json
# Generate ATT&CK Navigator layer from Sigma rules
layer = {
"name": "SOC Detection Coverage",
"versions": {"attack": "14", "navigator": "4.9", "layer": "4.5"},
"domain": "enterprise-attack",
"techniques": []
}
# Parse Sigma rules directory for technique tags
import os
from sigma.rule import SigmaRule
for root, dirs, files in os.walk("sigma/rules/windows/"):
for f in files:
if f.endswith(".yml"):
rule = SigmaRule.from_yaml(open(os.path.join(root, f)).read())
for tag in rule.tags:
if str(tag).startswith("attack.t"):
technique_id = str(tag).replace("attack.", "").upper()
layExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 6c59587
pip install pySigma pySigma-validators-sigmaHQ
git clone https://github.com/mukul975/Anthropic-Cybersecurity-Skills git -C Anthropic-Cybersecurity-Skills checkout 6c59587be632
Commands as the repository documents them: shown, never run by us. Our verdict covers commit 6c59587be632 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
6c59587be632
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/mukul975/building-detection-rules-with-sigma/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
mukul975/Anthropic-Cybersecurity-Skills
Analyze the NTFS Master File Table ($MFT) with MFTECmd, analyzeMFT,
mukul975/Anthropic-Cybersecurity-Skills
Detect and analyze covert communication channels used by malware, including
mukul975/Anthropic-Cybersecurity-Skills
Parse NetFlow v9 and IPFIX records to detect volumetric anomalies, port
mukul975/Anthropic-Cybersecurity-Skills
Use Scapy to craft, send, sniff, and dissect TCP/UDP/ICMP/DNS packets, analyze pcap files, implement SYN scans, and detect anomalous traffic such as fragmented or malformed packets. Use when performing authorized…
mukul975/Anthropic-Cybersecurity-Skills
Analyzes network traffic captures and flow data to identify adversary activity during security incidents, including
mukul975/Anthropic-Cybersecurity-Skills
Analyzes network traffic generated by malware during sandbox execution
Add this badge to your README
[](https://modelsatlas.com/skills/mukul975/building-detection-rules-with-sigma/)
<a href="https://modelsatlas.com/skills/mukul975/building-detection-rules-with-sigma/"><img src="https://modelsatlas.com/skills/mukul975/building-detection-rules-with-sigma/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Building Detection Rules With Sigma
What does the Building Detection Rules With Sigma skill do?
Is Building Detection Rules With Sigma safe to install?
What can Building Detection Rules With Sigma access on my machine?
How current is this page?
Sources
- github.com/mukul975/Anthropic-Cybersecurity-Skills/tree/main/ski — the audited source at commit 6c59587be632 and every finding aboveObserved · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Building Detection Rules With Sigma skill do?
- Is Building Detection Rules With Sigma safe to install?
- What can Building Detection Rules With Sigma access on my machine?