{% extends "base.html" %} {% import "macros.html" as m with context %} {% block title %}{{ r.title or 'Untitled rule' }}{% endblock %} {% block description %}{{ (r.description or ('Sigma rule ' ~ (r.title or '')))|shorten(160) }}{% endblock %} {% block ogtype %}article{% endblock %} {% block main %}

rules{% for c in r.collections %} / {{ c[0] }}{% endfor %}

{{ r.title or 'Untitled rule' }}

{{ m.badges(r) }} {% if r.description %}

{{ r.description }}

{% endif %}

Rule

{{ m.yaml_block(r) }}

Licence and source

{{ m.licence_block(r) }} {% if r.sources|length > 1 %}

Also carried by: {{ r.sources[:12]|join(', ') }}{% if r.sources|length > 12 %} and {{ r.sources|length - 12 }} more{% endif %}.

{% endif %}

Details

log source
{{ r.logsource.product or '-' }}{% if r.logsource.category %} / {{ r.logsource.category }}{% endif %}{% if r.logsource.service %} / {{ r.logsource.service }}{% endif %}
{% if r.attack %}
ATT&CK interpretation
{% for tag in r.attack %}
{{ tag.label }}
{% endfor %}
{% endif %} {% if r.tags %}
tags
{{ m.tag_chips(r.tags) }}
{% endif %} {% if r.modified %}
modified
{{ r.modified }}
{% endif %}
rule id
{{ r.rule_id }}
logic hash
{{ r.logic_hash[:16] }}
conversion
{% if r.conversion.tested %}{% for k, v in r.conversion.counts|dictsort %}{{ v }} {{ k }}{% if not loop.last %}, {% endif %}{% endfor %}
per backend
    {% for t, st in r.conversion.targets %}
  • {{ t }}: {{ st }}
  • {% endfor %}
{% else %}not tested in this release{% endif %}
{% if r.variants %}

Family variants

{{ r.family_size - 1 }} other version{{ '' if r.family_size == 2 else 's' }} of this rule (same id, logic or meaning) from other repositories.

{% endif %}

Embed

rule card for an article
<div class="sigharvest-rule" data-rule="{{ r.lid }}"><a href="{{ base }}rule.html?l={{ r.lid }}">Sigma rule {{ r.lid }}</a></div>
<script src="{{ base }}static/embed.js" defer></script>

{% endblock %} {% block scripts %}{% endblock %}