Join our Newsletter — 33% off our NHI Course
Home› Guides› Detection Rule Naming and Tagging Standard Template: IDs,…
Template SOC & Detection Engineering

Detection Rule Naming and Tagging Standard Template: IDs, ATT&CK Tags, Severity and Owners

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 13 min read
On this page

A detection library without a naming and tagging standard becomes unsearchable within a year: nobody can find the rule for a technique, tell which rules are orphaned, or report ATT&CK coverage without a spreadsheet exercise. This template is a ready-to-adapt standard that fixes how detection rules are identified, named, tagged, rated, owned and retired. It aligns with the Sigma rule specification (version 2.1.0) so the same metadata works in Sigma files, SIEM rule names and coverage reports, and it accounts for the MITRE ATT&CK v20 tactic changes. Each numbered section can be copied into your own standard, with fill-in values marked [like this]. It is written for detection engineering leads and SOC managers who maintain rules across one or more SIEM, EDR or data lake platforms. For the record that documents each rule's purpose and response, use the companion Detection Rule Documentation Template.

How to use this template

  • Adopt, then adapt: keep sections 3 to 7 close to the text below, because they drive tooling. Change the prefixes, platform codes and review periods to suit [Organisation].
  • Enforce in the pipeline: a standard that is only written down drifts. Validate the ID, name, file name and required tags in continuous integration so a non-compliant rule cannot merge. See the Detection as Code Guide.
  • Apply to new rules first: migrate existing rules in batches by platform, recording old identifiers with the Sigma related type renamed so history is not lost.
  • Vendor content counts: rules shipped by a SIEM or EDR vendor still need an owner, tags and a lifecycle state in your register, even if you cannot rename them in the product.
  • Keep it short: the standard should fit on a few pages. Put rationale in this guidance, not in the standard.

1. Purpose

1.1 This standard defines how [Organisation] identifies, names, tags, rates, owns and retires detection rules, so that every rule can be found, attributed to an owner, mapped to adversary behaviour and measured.

1.2 It supports the detection objectives in [Security Operations Policy reference] and the continuous monitoring requirements of [framework, for example NIST CSF 2.0 DE.CM and DE.AE].

1.3 Rules that do not meet this standard shall not be promoted to production status.

2. Scope

2.1 This standard applies to every detection that can create an alert, case, notable event or enrichment in [list platforms: SIEM, EDR, cloud security posture tools, data lake, email security, identity threat detection].

2.2 It covers rules written in Sigma and in native query languages, correlation rules, threshold rules, anomaly and model-based detections, building-block rules that feed other rules, and vendor-supplied rules enabled by [Organisation].

2.3 It does not cover threat hunting queries that are run manually and never scheduled, unless they are saved for reuse, in which case they are tagged with detection.threat-hunting.

2.4 Owners: the Detection Engineering Lead owns this standard; it is reviewed every [12] months.

3. Rule ID format

3.1 Every rule shall carry two identifiers:

IdentifierFormatExamplePurpose
Immutable IDRandom UUID version 4, as the Sigma id field929a690e-bef0-4204-a928-ef5e620d6fccMachine reference that never changes, used for correlation, deduplication and history
Short ID[PREFIX]-[PLATFORM]-[NNNN]DET-WIN-0142Human reference used in tickets, alert titles and conversation

3.2 Short IDs are issued sequentially per platform code from the rule register and are never reused, even after a rule is retired.

3.3 Platform codes (adapt as needed):

CodePlatform or log domainCodePlatform or log domain
WINWindows endpoints and serversAWSAmazon Web Services control plane
LNXLinuxAZRMicrosoft Azure and Entra ID
MACmacOSGCPGoogle Cloud
NETNetwork and proxySAASSaaS applications
IDPIdentity providers and directoryK8SKubernetes and containers
EMLEmailAPPCustom application logs

3.4 When a rule is materially rewritten (new detection logic, not tuning), it receives a new immutable ID and links the old one with the Sigma related field using type obsolete. When a rule is split or copied for another log source, use derived or similar; when rules are combined, use merged.

3.5 Rule versions follow [semantic versioning: major for logic changes, minor for tuning, patch for metadata], recorded in the rule register. The Sigma modified date is updated when the title, detection section, level, log source or status to deprecated changes, as the Sigma specification lists.

4. Naming convention

4.1 Title: the title states the single behaviour the rule detects, in plain English, in the pattern [Behaviour] [Object or target] [Qualifier]. The Sigma specification limits titles to 256 characters; [Organisation] limits them to [80] so they display fully in alert queues.

AvoidUse insteadWhy
Suspicious PowerShellPowerShell Encoded Command Launched by Office ApplicationStates the behaviour and the context that makes it suspicious
MimikatzLSASS Process Memory Read by Unsigned BinaryNames behaviour rather than a tool, so it survives tool changes
AWS Rule 7CloudTrail Logging Stopped on Production TrailReadable without opening the rule
Bad loginService Account Interactive Sign-in from New CountryIdentifies the identity type and the anomaly

4.2 Alert display name: in each platform the rule's display name shall be [Short ID] [Title], for example DET-WIN-0142 LSASS Process Memory Read by Unsigned Binary, so analysts can search by either.

4.3 File name: Sigma rule files follow the Sigma specification: 10 to 70 characters, lowercase letters and digits only, underscores instead of spaces, and the .yml extension. [Organisation] starts file names with a log source prefix, for example proc_creation_win_lsass_memory_read_unsigned.yml or aws_cloudtrail_logging_stopped.yml.

4.4 Unique name for correlation: where a rule is referenced by a Sigma correlation rule, set the optional Sigma name field to a unique lowercase identifier, for example win_lsass_memory_read_unsigned, which the specification provides to make correlation rules readable.

4.5 Forbidden in names: customer names, personal names, hostnames, internal IP addresses, ticket numbers and words such as "test", "new" or "v2". Put those in the description or register.

5. Required tags (ATT&CK, data source, platform)

5.1 Tags follow the Sigma syntax: lowercase letters, numerals, underscores and hyphens, no spaces, namespaces separated by a dot. A rule shall carry the tags below before it can reach test status.

Tag groupFormatExampleRule
ATT&CK techniqueattack.t#### or attack.t####.###attack.t1003.001Mandatory, at least one; use the most specific sub-technique you can justify
ATT&CK tacticattack.[tactic-short-name]attack.credential-accessMandatory; one per tactic the technique serves in this rule's context
ATT&CK group or softwareattack.g####, attack.s####[only when the rule is specific to that actor or tool]Optional
Rule typedetection.[type]detection.emerging-threatsUse the Sigma values dfir, emerging-threats, threat-hunting where they apply
CVEcve.yyyy-nnnnncve.2021-44228Mandatory for vulnerability exploitation rules
D3FENDd3fend.d3-[abbr]d3fend.d3-amOptional; maps the defensive technique
Robustnessstp.[1-5] or stp.[1-5][a|u|k]stp.3kRecommended; MITRE Summiting the Pyramid score as defined in the Sigma tags appendix
Sharingtlp.[level]tlp.amberMandatory if the rule contains sensitive indicators; values red, amber, amber-strict, green, clear
PlatformSigma logsource product and serviceproduct: windows, category: process_creationMandatory; do not duplicate as free-text tags
Identity type (custom)[org].identity.[type]acme.identity.service-accountMandatory where the rule targets a specific identity type: human, privileged, service-account, workload, agent

5.2 ATT&CK version: record the ATT&CK version used for mapping in the rule register (currently [v20]). ATT&CK v20 renamed tactic TA0005 to Stealth and added TA0112 Defense Impairment, while the Sigma tags appendix version 2.1.0 still lists defense-evasion for TA0005. [Organisation] shall use the tactic short names from the ATT&CK version recorded (attack.stealth, attack.defense-impairment) and translate older tags in the coverage pipeline rather than by hand. For example, a rule that detects T1685.001 Disable or Modify Windows Event Log is tagged attack.t1685.001 and attack.defense-impairment.

5.3 Data source: describe the required telemetry in the Sigma logsource block, and use its definition field for the exact configuration needed (for example "Sysmon Event ID 10 with ProcessAccess filter including lsass.exe"). The Sigma specification notes that converters do not evaluate definition, so it is guidance for people. In ATT&CK v20 the older data source objects (DS IDs) are deprecated, so do not use attack.ds#### tags for new rules; map telemetry to ATT&CK data components in the coverage tool if you need that view.

5.4 Custom namespaces: organisation-specific tags use a single prefix, [acme], so they never collide with Sigma namespaces. Approved custom tags are listed in [register location]; new ones need Detection Engineering Lead approval.

See the MITRE ATT&CK Guide for Defenders for mapping practice.

6. Severity and confidence

6.1 Each rule carries a Sigma level, which sets default alert severity, and a confidence rating in the register. The Sigma specification defines five levels; [Organisation] applies them as follows.

LevelSigma definition (summary)[Organisation] criteriaDefault handling
informationalFor enrichment; no case or alert expected because of high match volumeBuilding-block or context rulesNo alert; feeds correlation and hunting
lowNotable but rarely an incident; relevant in numbers or combinationExpected false positive rate above [20] per cent, or low-impact behaviourAggregated; reviewed [weekly]
mediumRelevant event to be reviewed manually more frequentlyPlausible attacker behaviour with known benign causesQueue; triage within [8] hours
highShould trigger an internal alert and prompt reviewStrong attacker indicator, or medium behaviour on a critical asset or privileged identityAlert; triage within [1] hour
criticalIndicates an incident; used only where probability borders certaintyValidated true positive pattern with near-zero benign causesPage on-call; triage within [15] minutes

6.2 Confidence is rated High (validated with a true positive test and under [5] per cent false positives over [30] days), Medium (validated, false positive rate not yet measured) or Low (not yet validated). A rule with Low confidence shall not carry high or critical.

6.3 Platforms may raise severity at alert time using asset criticality or identity privilege. The rule's own level is the baseline and is not edited per environment; use the Sigma scope field or a separate rule variant linked with similar where the behaviour genuinely differs.

7. Ownership and review

7.1 Every production rule shall have the following fields in the rule register. Sigma allows arbitrary custom fields, so these may also live in the rule file.

FieldContentRequired
authorWho wrote the rule (Sigma field)Yes
owner (custom)Team name, not an individual, accountable for tuning and validationYes
date / modifiedISO 8601 YYYY-MM-DD, as the Sigma specification requiresYes
review_due (custom)Next review dateYes
referencesThreat intelligence, research or incident that motivated the ruleYes for production
falsepositivesKnown benign causesYes
test_case (custom)Link to the true positive test or emulationYes for stable
runbook (custom)Link to the documentation record and response stepsYes for high and critical

7.2 Review cadence: critical and high rules every [6] months; medium and low every [12] months; additionally after any log source change, platform migration, related incident or ATT&CK version update.

7.3 A review confirms the log source still flows, the true positive test still fires, the false positive rate is within the confidence band, and tags and level are still correct.

7.4 When an owning team is disbanded or reorganised, its rules transfer to [Detection Engineering] within [30] days. Rules with no owner for more than [30] days move to test status.

8. Lifecycle states

8.1 [Organisation] uses the Sigma status values so the rule file and register agree.

StatusSigma meaning (summary)Entry criteria at [Organisation]Alerting
experimentalMay be noisy or produce false positivesPeer reviewed; IDs, name and mandatory tags presentSilent or to an engineering queue
testMostly stable; may need slight environment adjustmentsTrue positive test passed; [14] days of tuning dataLow-priority SOC queue
stableMay be used in production systems or dashboardsConfidence Medium or High; owner, runbook and review date setProduction at its level
deprecatedReplaced or covered by another rule, linked with relatedReplacement is stableDisabled after [30] days of overlap
unsupportedCannot be used in its current stateLog source unavailable or format unsupportedDisabled; reviewed at next log source change

8.2 Retired rules are kept in version control with their immutable and short IDs; their IDs are never reissued.

Implementation guidance

  1. Build the register first: export every enabled rule from each platform with its current name, owner if known and status. This is your baseline and usually reveals duplicates and orphans.
  2. Agree prefixes and platform codes: settle section 3 with the platform owners before issuing any short IDs.
  3. Add pipeline checks: validate UUID format, short ID uniqueness, title length, the Sigma file name rules, mandatory tags and a permitted level and status, and fail the merge if any check fails.
  4. Pilot on one platform: migrate one platform's rules, record old identifiers with related type renamed, and confirm alert routing and dashboards still work before moving on. Roll back by restoring the previous display names from the register export.
  5. Generate coverage from tags: build the ATT&CK coverage view from attack.* tags automatically, translating tactic names across ATT&CK versions in one place.
  6. Schedule reviews: create review tickets from review_due automatically.

Measuring adoption

  • Compliance rate: percentage of production rules passing all naming and tagging checks (target 100 per cent).
  • Orphaned rules: production rules with no valid owner (target zero).
  • Overdue reviews: rules past review_due.
  • Validated coverage: ATT&CK techniques covered by at least one stable rule with High confidence, as distinct from techniques merely tagged.
  • Severity accuracy: share of high and critical alerts closed as true positives.

See the Detection Engineering Metrics and KPIs Guide for more measures.

Common mistakes

  • Tagging every plausible technique: inflates coverage reports. Tag what the rule actually detects.
  • Tool names in titles: rules named after one tool miss its replacements and mislead analysts.
  • Individuals as owners: rules become orphaned when people leave. Own by team.
  • Editing levels per tenant: breaks comparability; use variants or alert-time enrichment instead.
  • Mixed ATT&CK versions: old defense-evasion tags beside new stealth tags split coverage unless translated.

Framework mapping and references

FrameworkReferenceHow this standard supports it
NIST CSF 2.0DE.CM-01, DE.AE-02Monitored networks and analysed adverse events, with traceable rules
NIST SP 800-53 Rev. 5SI-4 System Monitoring; AU-6 Audit Record Review, Analysis, and ReportingDocumented, owned monitoring content
MITRE ATT&CK v20Technique and tactic IDsConsistent mapping for coverage reporting

Related NHI Mgmt Group resources: Detection Rule Documentation Template · Detection Engineering Guide · Detection as Code Guide · Identity detection rule pack

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.