Yara

{% set tab_name = 'yara' %} {% if results.yara %}

{{ results.yara | length }} hit(s) across {{ results.yara | map(attribute='file') | unique | list | length }} file(s).

{% for hit in results.yara %}
{% if hit.capename %}{% endif %} {% if hit.description %}{% endif %} {% for key, value in (hit.meta or {}).items() %} {% if key != 'description' %}{% endif %} {% endfor %}
File{{hit.file}}
Rule{{hit.rule}}
CAPE name{{hit.capename}}
Description{{hit.description}}
{{key}}{{value}}
{% if hit.strings %}
Matched strings ({{ hit.strings | length }})
{% for string in hit.strings %}{{string}}
{% endfor %}
{% endif %} {% if hit.addresses %}
Offsets
{% for name, offset in hit.addresses.items() %}{{name}}: {{offset}}
{% endfor %}
{% endif %}
{% endfor %}
{% else %}

Nothing to display.

{% endif %}