sarabis Security Analysis Report

Report ID: {{ report_id }}

Date: {{ timestamp.strftime('%Y-%m-%d %H:%M:%S') }}

{% if results.system_info %}

System: {{ results.system_info.hostname|default('Unknown') }}

{% endif %}
{% if results %} {% if results.system_info %}

🖥️ System Information

{% for key, value in results.system_info.items() %} {% endfor %}
{{ key }} {{ value|default('N/A') }}
{% endif %}

📊 Analysis Summary

{% if results.vulnerabilities and results.vulnerabilities.summary %}
{{ results.vulnerabilities.summary.critical|default(0) }}
Critical Vulnerabilities
{{ results.vulnerabilities.summary.high|default(0) }}
High Vulnerabilities
{% endif %} {% if results.ports and results.ports.statistics %}
{{ results.ports.statistics.critical|default(0) }}
Critical Ports
{{ results.ports.risk_score|default(0) }}
Port Risk Score
{% endif %} {% if results.services and results.services.summary %}
{{ results.services.summary.critical|default(0) }}
Critical Services
{{ results.services.summary.suspicious|default(0) }}
Suspicious Services
{% endif %} {% if results.processes and results.processes.summary %}
{{ results.processes.summary.suspicious|default(0) }}
Suspicious Processes
{% endif %} {% if results.kernel_modules and results.kernel_modules.summary %}
{{ results.kernel_modules.summary.suspicious|default(0) }}
Suspicious Modules
{{ results.kernel_modules.summary.unsigned|default(0) }}
Unsigned Modules
{% endif %} {% if results.software and results.software.summary %}
{{ results.software.summary.suspicious|default(0) }}
Suspicious Software
{{ results.software.summary.remote_access|default(0) }}
Remote Access Software
{% endif %} {% if results.users and results.users.summary %}
{{ results.users.summary.suspicious|default(0) }}
Suspicious Users
{{ results.users.summary.root|default(0) }}
Root Users
{% endif %} {% if results.hardening and results.hardening.summary %}
{{ results.hardening.summary.passed|default(0) }}
Passed Checks
{{ results.hardening.summary.failed|default(0) }}
Failed Checks
{% endif %}
{% if results.vulnerabilities and results.vulnerabilities.cves %}

🔍 Detected Vulnerabilities

Count: {{ results.vulnerabilities.cves|length }}
{% for cve in results.vulnerabilities.cves[:50] %} {% endfor %}
ID Severity Score Description
{{ cve.id }} {{ cve.severity|default('UNKNOWN') }} {{ cve.score|default(0) }} {{ cve.description|truncate(100) }}
{% if results.vulnerabilities.cves|length > 50 %}

... and {{ results.vulnerabilities.cves|length - 50 }} more

{% endif %}
{% endif %} {% if results.ports and results.ports.open_ports %}

🌐 Open Ports

Risk Score: {{ results.ports.risk_score|default(0) }}
{% for port in results.ports.open_ports[:100] %} {% endfor %}
Port Protocol Service Process Risk Recommendation
{{ port.port }} {{ port.protocol }} {{ port.service }} {{ port.process }} {{ port.risk }} {{ port.recommendation }}
{% if results.ports.open_ports|length > 100 %}

... and {{ results.ports.open_ports|length - 100 }} more ports

{% endif %}
{% endif %} {% if results.ports and results.ports.suspicious_ports %}

🚨 Suspicious Ports

Count: {{ results.ports.suspicious_ports|length }}
{% for port in results.ports.suspicious_ports %} {% endfor %}
Port Protocol Service Process Risk Recommendation
{{ port.port }} {{ port.protocol }} {{ port.service }} {{ port.process }} {{ port.risk }} {{ port.recommendation }}
{% endif %} {% if results.services and results.services.suspicious %}

⚙️ Suspicious Services

Count: {{ results.services.suspicious|length }}
{% for svc in results.services.suspicious %} {% endfor %}
Service Name State Severity Reasons Path
{{ svc.service }} {{ svc.state }} {{ svc.severity }}
    {% for reason in svc.reasons %}
  • • {{ reason }}
  • {% endfor %}
{{ svc.fragment|default('N/A') }}
{% endif %} {% if results.processes and results.processes.suspicious_processes %}

🧩 Suspicious Processes

Count: {{ results.processes.suspicious_processes|length }}
{% for proc in results.processes.suspicious_processes[:50] %} {% endfor %}
PID User CPU% MEM% Command Reason
{{ proc.pid }} {{ proc.user }} 70 %}style="color: #ff453a; font-weight: bold;"{% endif %}> {{ proc.cpu|round(1) }}% 60 %}style="color: #ff453a; font-weight: bold;"{% endif %}> {{ proc.mem|round(1) }}% {{ proc.command }} {{ proc.reason|truncate(80) }}
{% if results.processes.suspicious_processes|length > 50 %}

... and {{ results.processes.suspicious_processes|length - 50 }} more

{% endif %}
{% endif %} {% if results.kernel_modules and results.kernel_modules.suspicious_modules %}

🧠 Suspicious Kernel Modules

Count: {{ results.kernel_modules.suspicious_modules|length }}
{% for mod in results.kernel_modules.suspicious_modules %} {% endfor %}
Module Name Path Signature Reasons
{{ mod.name }} {{ mod.path|default('N/A') }} {{ mod.signature|default('Unknown') }}
    {% for reason in mod.reasons %}
  • • {{ reason }}
  • {% endfor %}
{% endif %} {% if results.software and results.software.suspicious_packages %}

📦 Suspicious Software

Count: {{ results.software.suspicious_packages|length }}
{% for pkg in results.software.suspicious_packages %} {% endfor %}
Package Name Version Category Reasons
{{ pkg.name }} {{ pkg.version }} {{ pkg.category|default('Suspicious') }}
    {% for reason in pkg.reasons %}
  • • {{ reason }}
  • {% endfor %}
{% endif %} {% if results.users and results.users.suspicious_users %}

👤 Suspicious Users

Count: {{ results.users.suspicious_users|length }}
{% for user in results.users.suspicious_users %} {% endfor %}
Username UID Shell Home Sudo Reasons
{{ user.username }} {{ user.uid }} {{ user.shell }} {{ user.home }} {{ '✅' if user.sudo else '❌' }} {{ user.reasons }}
{% endif %} {% if results.hardening and results.hardening.checks %}

🛡️ Hardening Status

✅ Passed: {{ results.hardening.summary.passed|default(0) }} | ❌ Failed: {{ results.hardening.summary.failed|default(0) }} | ⚠️ Warning: {{ results.hardening.summary.warning|default(0) }}
{% for check in results.hardening.checks %} {% endfor %}
Check Result Expected Status Critical
{{ check.name }} {{ check.result|truncate(50) }} {{ check.expected }} {{ check.status }} {{ '✅' if check.critical else '❌' }}
{% endif %}
🏠 Back to Dashboard 📥 Download JSON 🔄 Re-analyze
{% else %}

📭 No data available to display

Please run an analysis first

🚀 Start Analysis
{% endif %}