Fixing attack description template

pull/12/head
Thorsten Sick 3 years ago
parent d241332bd2
commit f9e9b59f56

@ -12,6 +12,7 @@ Systems
{% for s in systems %} {% for s in systems %}
{{ s.role }}:{{ s.name }} {{ s.role }}:{{ s.name }}
~~~~~~~~~~~~ ~~~~~~~~~~~~
IP: {{ s.ip }} IP: {{ s.ip }}
OS: {{ s.os }} OS: {{ s.os }}
@ -36,6 +37,7 @@ Vulnerabilities:
Attack steps Attack steps
------------ ------------
{% for e in events %} {% for e in events %}
{% if e.event is eq("start") %} {% if e.event is eq("start") %}
{% if e.type is eq("attack_step") %} {% if e.type is eq("attack_step") %}
@ -47,14 +49,16 @@ Attack steps
{% if e.type is eq("dropping_file") %} {% if e.type is eq("dropping_file") %}
Dropping file to target Dropping file to target
_______________________ ~~~~~~~~~~~~~~~~~~~~~~~
At {{ e.timestamp }} At {{ e.timestamp }}
The file {{ e.file_name }} is dropped to the target {{ e.target }}. The file {{ e.file_name }} is dropped to the target {{ e.target }}.
{% endif %} {% endif %}
{% if e.type is eq("execute_payload") %} {% if e.type is eq("execute_payload") %}
Executing payload on target Executing payload on target
___________________________ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
At {{ e.timestamp }} At {{ e.timestamp }}
The command {{ e.command }} is used to start a file on the target {{ e.target }}. The command {{ e.command }} is used to start a file on the target {{ e.target }}.
{% endif %} {% endif %}
@ -64,7 +68,8 @@ The command {{ e.command }} is used to start a file on the target {{ e.target }}
{% if e.sub_type is eq("metasploit") %} {% if e.sub_type is eq("metasploit") %}
Metasploit attack {{ e.name }} Metasploit attack {{ e.name }}
______________________________ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Tactics: {{ e.tactics }} + Tactics: {{ e.tactics }}
+ Tactics ID: {{ e.tactics_id }} + Tactics ID: {{ e.tactics_id }}
+ Hunting Tag: {{ e.hunting_tag}} + Hunting Tag: {{ e.hunting_tag}}
@ -95,7 +100,8 @@ Attack result::
{% if e.sub_type is eq("kali") %} {% if e.sub_type is eq("kali") %}
Kali attack {{ e.name }} Kali attack {{ e.name }}
________________________ ~~~~~~~~~~~~~~~~~~~~~~~~
+ Tactics: {{ e.tactics }} + Tactics: {{ e.tactics }}
+ Tactics ID: {{ e.tactics_id }} + Tactics ID: {{ e.tactics_id }}
+ Hunting Tag: {{ e.hunting_tag}} + Hunting Tag: {{ e.hunting_tag}}
@ -126,7 +132,8 @@ Attack result::
{% if e.sub_type is eq("caldera") %} {% if e.sub_type is eq("caldera") %}
Caldera attack {{ e.name }} Caldera attack {{ e.name }}
___________________________ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Tactics: {{ e.tactics }} + Tactics: {{ e.tactics }}
+ Tactics ID: {{ e.tactics_id }} + Tactics ID: {{ e.tactics_id }}
+ Hunting Tag: {{ e.hunting_tag}} + Hunting Tag: {{ e.hunting_tag}}
@ -157,11 +164,14 @@ Attack result::
Tools Tools
----- -----
{% for e in events %} {% for e in events %}
{% if e.event is eq("start") %} {% if e.event is eq("start") %}
{% if e.type is eq("build") %} {% if e.type is eq("build") %}
Building tool {{ e.filename }} Building tool {{ e.filename }}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The file {{ e.filename }} is built The file {{ e.filename }} is built
{% if e.for_step %} {% if e.for_step %}
It will be used in Step {{ e.for_step }} It will be used in Step {{ e.for_step }}

Loading…
Cancel
Save