{% extends "base.html" %} {% block title %}{{ a.address }} · NEXXVU{% endblock %} {% block content %}

Address

{{ a.address }}

{% if a.device %}The address of {{ a.device.name }} in the inventory · {% endif %}{{ a.place.label or a.place.country or ('private network' if a.private else 'location unknown') }}{% if a.address == your_address %} · this is your own address{% endif %}

{% if a.blocked %}Blocked{% elif a.allowed %}Allowed{% else %}Not listed{% endif %}{% if a.watch %} Watched{% endif %}

← Back {% if not a.device %}{% endif %} Export logs
{% if notice %}
{{ notice }}
{% endif %} {% if error %}{% endif %} {% if not a.device %}{% with row={'address': a.address, 'place': a.place.label or a.place.country, 'blocked': a.blocked}, dialog_id='dlg-address-actions', dialog_from=from_key %}{% include "_address_actions_dialog.html" %}{% endwith %}{% endif %} {% if a.watch %}

Watched since {{ a.watch.created_at|replace('T', ' ')|replace('Z', ' UTC') }} by {{ a.watch.created_by }}{% if a.watch.note %} — {{ a.watch.note }}{% endif %} · seen {{ a.watch.seen }} times{% if a.watch.last_seen_at %}, last {{ a.watch.last_seen_at|replace('T', ' ')|replace('Z', ' UTC') }}{% endif %}.

{% endif %} {#- R54.5: the local AI's analysis of this address (proposed only), with Analyse. -#} {% import "_ai_analysis.html" as ai with context %}{% if not a.private %}{% set AA = ai_analysis([a.address]).get(a.address) %}{% set AIR = ai_ready() %}

{{ fresh_tag("security:analyse-everywhere") }}{{ fresh_tag("security:ai-disagree") }}AI analysis{% if AA and not AA.pending and AA.state != 'failed' %}: {{ AA.risk_label }} {{ AA.type_label }}{% if not AA.agreed %} models disagree{% endif %}{% endif %}

{% if AA and not AA.pending and AA.state != 'failed' and verdict and verdict.risk == 'high' and (AA.undecided or AA.risk in ('none', 'low')) %}

The AI and NEXXVU's attack patterns disagree: the patterns say high risk, {{ verdict.attack_type }}, the AI {{ 'could not decide' if AA.undecided else 'says ' ~ AA.type_label|lower ~ ', risk ' ~ AA.risk_label|lower }}. Check this one yourself; the verdict below is what NEXXVU acts on.

{% endif %} {% if AA and AA.pending %}

{{ 'Queued' if AA.state == 'queued' else 'Analysing…' }}

{% elif AA and AA.state == 'failed' %}

{{ AA.detail or 'The last analysis did not finish.' }}

{% elif AA %}
{% if AA.attack_technique %}
MITRE ATT&CK
{{ AA.attack_technique }}
{% endif %} {% if AA.capec %}
CAPEC
{{ AA.capec }}
{% endif %}
Why
{{ AA.reason or '—' }}
Confidence
{{ (AA.confidence * 100)|round|int }} % · {{ AA.models|join(' and ') or '—' }} · {{ 'both agreed' if AA.agreed else 'they did not agree: review it yourself' }}
{{ ai.answers(AA) }} {% if AA.detail %}
Note
{{ AA.detail }}
{% endif %}
Analysed
{{ (AA.analysed_at or '')[:16]|replace('T', ' ') }} UTC from {{ AA.lines }} line{{ '' if AA.lines == 1 else 's' }}, asked by {{ AA.requested_by }}
{% else %}

Not analysed yet.

{% endif %}
{{ ai.button(a.address, AIR, 'page:/addresses/' ~ a.address) }}

Proposed only: NEXXVU never blocks, trusts or changes anything because of an analysis.

{% endif %} {#- R59.3: one verdict per attacker with its evidence; the raw attack lines go after the block (or 48 h after the verdict). -#} {% if verdict %}{% set v = verdict %}

{{ fresh_tag("logs:verdicts") }}Verdict: {{ v.risk|capitalize }} risk {{ v.attack_type }}

Seen
{% if not v.lines %}No lines kept from before it was blocked (blocked {{ v.first_seen[:16]|replace('T', ' ') }} UTC){% else %}{{ v.lines }} attack line{{ '' if v.lines == 1 else 's' }} · {{ v.first_seen|replace('T', ' ')|replace('Z', '') }} to {{ v.last_seen|replace('T', ' ')|replace('Z', '') }} UTC{% endif %}
{% if v.lines %}
What it tried
{% for k, n in v.kinds|dictsort(by='value', reverse=true) %}{{ k }} {{ n }}{% if not loop.last %} · {% endif %}{% endfor %}
Aimed at
{% for t, n in v.targets|dictsort(by='value', reverse=true) %}{{ t }} {{ n }}{% if not loop.last %} · {% endif %}{% endfor %}
{% endif %}
Decided by
{{ {'pattern': "NEXXVU's attack patterns", 'operator': 'an administrator', 'llm': 'the local AI, confirmed by an administrator', 'blocked before verdicts': "NEXXVU's attack patterns, from the lines kept when verdicts started"}.get(v.decided_by, v.decided_by) }}, {{ v.decided_at|replace('T', ' ')|replace('Z', '') }} UTC
Blocked
{% if v.blocked_at %}since {{ v.blocked_at[:16]|replace('T', ' ') }} UTC{% else %}not yet - block it with Actions; otherwise its raw lines are released {{ v.release_at|replace('T', ' ')|replace('Z', '') }} UTC{% endif %}
Raw lines released
{{ v.released_lines }}{% if v.released_at %} (up to {{ v.released_at|replace('T', ' ')|replace('Z', '') }} UTC){% endif %} · this verdict and its evidence stay 365 days{% if not v.released_lines and v.decided_by == 'blocked before verdicts' %}
Blocked before verdicts existed: its lines were stored before lines had a class, so they leave with the normal log retention instead (Settings › Data server › Logs).{% endif %}
{% if v.samples %}

Evidence (up to 5 lines)

{% for line in v.samples %}{{ line }}
{% endfor %}
{% endif %}
{% endif %} {% if memory %}{% set m = memory %}

{{ fresh_tag("security:network-memory") }}Network memory: {{ m.network }}{% if m.known %} attacked on {{ m.days_seen }} day{{ '' if m.days_seen == 1 else 's' }}{% endif %}

{% if m.known %}
Seen attacking
{{ m.first_day }} to {{ m.last_day }} · {{ m.days_seen }} day{{ '' if m.days_seen == 1 else 's' }} ({{ m.days_30 }} in the last 30 days) · up to {{ m.addresses }} address{{ '' if m.addresses == 1 else 'es' }} a day
Attacks
{% for k, n in m.attacks.items() %}{{ k }} {{ n }}{% if not loop.last %} · {% endif %}{% else %}-{% endfor %}
Owner
{% if m.asn %}AS{{ m.asn }}{% if m.as_name %} {{ m.as_name }}{% endif %}{% endif %}{% if m.holder %}{% if m.asn %} · {% endif %}{{ m.holder }}{% endif %}{% if m.country %} ({{ m.country }}){% endif %}{% if not (m.asn or m.holder) %}not known yet{% endif %}
Kind
{{ m.kind or 'not decided' }}

From this Portal's daily detection documents, kept one year. Advice only: nothing is blocked from the memory itself.

{% else %}

This network has not attacked this Portal in the last year (from the daily detection documents).

{% endif %} {% if expected %}

{{ fresh_tag("security:expected-traffic") }}Expected sender approved {{ (expected.decided_at or '')[:10] }} by {{ expected.decided_by }}: normally {{ expected.lines_per_day }} lines a day{% if expected.hours %}, {{ expected.hours }} UTC{% endif %}. Known, never trusted{% if expected.deviation %}; last deviation {{ (expected.deviation_at or '')[:16]|replace('T', ' ') }} UTC: {{ expected.deviation }}{% endif %}.

{% endif %}
{% endif %} {% if a.sign_ins or a.portal %}

Sign-ins on devices

{% if a.sign_ins %}
{% for s in a.sign_ins %}{% endfor %}
DeviceFailedSucceededAccountsViaLast (UTC)
{{ s.name or s.asset_id }}{{ s.failed }}{{ s.accepted }}{{ s.users or '' }}{{ s.methods or '' }}{{ (s.last_at or '')|replace('T', ' ')|replace('Z', '') }}
{% endif %} {% if a.portal %}

On this Portal

{% endif %}
{% endif %}

Log messages, last 7 days

{% if a.logs.error %}
{{ a.logs.error }}
{% endif %} {% if a.logs.rows %}
{% for r in a.logs.rows[:25] %}{% endfor %}
Time (UTC)DeviceCategoryMessage
{{ (r.shown_at or r.received_at)|replace('T', ' ')|replace('Z', '') }}{% if r.asset_id %}{{ r.device }}{% else %}{{ r.device }}{% endif %}{{ r.category }}{% if r.app_name %} {% endif %}{{ r.message }}
{% if a.logs.rows|length > 25 %}

The latest 25 of {{ a.logs.rows|length }}{% if a.logs.rows|length >= 200 %}+{% endif %}. All of them in Logs · Export (.csv)

{% endif %} {% else %}

No log message with this address in the last 7 days.

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