{% extends "base.html" %} {% block title %}Security events · NEXXVU{% endblock %} {% block scripts %}{% endblock %} {% block content %}

Settings

Security events {{ fresh_tag("security:country-flags") }}

Every use of this Portal: what signed-in users opened and changed, and what visitors who are not signed in tried - unknown pages, refusals, scans and injection attempts - with address, user, request, result and browser.

All settings
{% include "_settings_navigation.html" %}
{% if notice %}
{{ notice }}
{% endif %} {% if error %}{% endif %} {% if not admin %}

Only Portal administrators see security events.

{% elif not view %}

Security events are not available on this Portal.

{% else %}{% set V = view %} {% if tab == 'overview' %}

Last 24 hours

{% for kind in ('probe', 'not_found', 'denied', 'change', 'page', 'first_use') %}

{{ labels[kind] }}

{{ V.counts.get(kind, 0) }}

{% endfor %}
{% import "_ai_analysis.html" as ai with context %}{% import "_whois.html" as W with context %}{% set AI = ai_analysis(V.top|map(attribute='address')|list) if V.top else {} %}{% set RC = rule_coverage(V.top|map(attribute='address')|list) if V.top else {} %}{% set ADS = ai_defence_status(V.top|map(attribute='address')|list) if V.top else {} %}{% set AIR = ai_ready() %}{% set RN = returning_networks(V.top|map(attribute='address')|list) if V.top else {} %} {% if V.top or V.trusted_hidden %}

Suspicious addresses (last 24 hours) {{ fresh_tag("security:own-addresses") }}{{ fresh_tag("security:row-menu") }}{{ fresh_tag("security:table-fits") }}

Unknown pages, refusals and probes by visitors who were not signed in, and failed sign-ins to the devices that send their log to this Portal. Aimed at says what each address tried: this Portal, a device, or a device's website; Router above is the MikroTik router over that device. Your address: {{ client_address or 'unknown' }}. Block refuses the address on this Portal and puts it on NEXXVU's block list, which every router NEXXVU keeps up to date drops within a minute; a router that is not kept up to date gets it when you write the list (Blocked addresses). {{ fresh_tag("security:targets") }}

{{ fresh_tag("security:trusted") }} {{ ai.bulk_button(AIR) }}
{{ ai.watcher(AI) }}
{{ ai.headers() }}{{ ai.rule_header() }} {% for t in V.top %} {{ ai.cells(AI.get(t.address), t.address, 'top-' ~ loop.index) }}{{ ai.rule_cell(RC.get(t.address), t.address, ADS.get(t.address)) }} {% endfor %}
AddressCountryRequestsAimed atRouter aboveActions
{{ t.address }}{% set rn = RN.get(t.address) %}{% if rn %}
{{ fresh_tag("security:returning-network") if loop.first }}Returning network{% if rn.days %} · {{ rn.days }} day{{ '' if rn.days == 1 else 's' }}{% endif %}{% endif %}
{{ (t.place|country) if t.place else '—' }}{% if t.address and '/' not in t.address %}
{{ W.cell(t.whois, t.address) }}{% endif %}
{{ t.n }}{% if t.probes %}
{{ t.probes }} probe{{ '' if t.probes == 1 else 's' }}{% endif %}
{% for g in t.targets or [] %}{% if g.asset_id %}{{ g.name }}{% else %}{{ g.name }}{% endif %} {{ '
'|safe if not loop.last }}{% else %}—{% endfor %}
{% for r in t.routers or [] %}{{ r.name }} {{ 'kept up to date' if r.kept else 'not kept up to date' }}{{ '
'|safe if not loop.last }}{% else %}{{ '—' if not (t.targets or [])|selectattr('asset_id')|list else 'no MikroTik router above' }}{% endfor %}
{% if t.blocked %}Blocked {% endif %}
Actions ▾
{% if not t.blocked %}
{% endif %}
Events {{ ai.button(t.address, AIR, '') }}
{{ ai.dialog(AI.get(t.address), t.address, 'top-' ~ loop.index) }} {% with row=t, dialog_id='dlg-act-' ~ loop.index %}{% include "_address_actions_dialog.html" %}{% endwith %}
{% if not V.top %}

{{ 'No suspicious addresses in the last 24 hours.' if not V.trusted_hidden else 'Only trusted addresses were suspicious in the last 24 hours.' }}

{% endif %} {% if V.broad_allowlist %}

{{ fresh_tag("security:broad-allowlist") }}Your sign-in allow list contains {% for e in V.broad_allowlist %}{{ e }}{% if not loop.last %}, {% endif %}{% endfor %}: {{ 'every address in the world' if '0.0.0.0/0' in V.broad_allowlist or '::/0' in V.broad_allowlist else 'a very large range' }} may sign in to this Portal{% if '0.0.0.0/0' in V.broad_allowlist %} (Portal Guard, when switched on, lets everyone through too){% endif %}. Such a wide entry no longer hides attackers here. Narrow it in Settings › Security to your own addresses.

{% endif %} {% include "_trusted_addresses.html" %}{% else %}

No suspicious visitors in the last 24 hours.

{% endif %} {% elif tab == 'events' %}

All events

Clear
{% set back = '/settings/security-events?tab=events' %}{% if V.days %}{% with bar_id='bulk-events' %}{% include "_address_bulk_bar.html" %}{% endwith %}{% endif %} {% import "_ai_analysis.html" as ai with context %}{% set AIE = ai_analysis(V.days.values()|sum(start=[])|map(attribute='address')|select|list) %}{% for day, rows in V.days.items() %}

{% if loop.first %}{{ fresh_tag("lists:events-sort") }}{% endif %}{{ day or ('Sorted by ' ~ V.esort ~ ' across all ' ~ V.total ~ ' events') }}

{% for key, label in (('time', 'Time'), ('event', 'Event'), ('address', 'Address'), ('user', 'User'), ('request', 'Request'), ('result', 'Result'), ('browser', 'Browser')) %}{% set on = V.esort == key %}{% set nat = 'desc' if key == 'time' else 'asc' %}{% endfor %} {% for e in rows %}{% endfor %}
{{ label }}{% if on %} {{ '↓' if V.edir == 'desc' else '↑' }}{% endif %}Actions
{% if e.address %}{% endif %}{{ labels.get(e.kind, e.kind) }}{% if e.site %}
{{ e.site }}{% endif %}
{% if e.address %}{{ e.address }}{{ ai.inline(AIE.get(e.address), e.address) }}{% if e.place %} {{ e.place|country }}{% endif %}{% if e.blocked %} Blocked{% endif %}{% else %}—{% endif %} {{ e.username or '—' }}{{ e.method or '' }} {{ e.path or '' }}{% if e.kind == 'probe' and e.status and 200 <= e.status < 300 %}{{ e.status }} answered {{ fresh_tag("security:probe-answered") }}{% else %}{{ e.status or '' }}{% endif %}{{ (e.agent or '')[:60] }}{% with address=e.address %}{% include "_address_row_actions.html" %}{% endwith %}
{% else %}

No events match.

{% endfor %} {% with has_logs_dialog=True %}{% include "_address_shared_dialogs.html" %}{% endwith %} {% if V.pages > 1 %}

{% if V.page > 0 %}Newer{% endif %} {% if V.page + 1 < V.pages %}Older{% endif %}

{% endif %} {% elif tab == 'accounts' %} {% include "_hosted_accounts.html" %} {% elif tab == 'expected' %} {% include "_expected_traffic.html" %} {% elif tab == 'blocked' %} {% include "_blocked_addresses.html" %} {% else %}

Settings

{% set S = V.settings %}
Signed-in users asking for pages they may not open

Export for analysis

The history of a period as one file for the AI Gateway or the AI Engine, to find bot nets and attackers and make the firewall more dynamic. JSON Lines: the first line is a summary - counts, the busiest addresses with country, what is blocked already, the thresholds, and addresses NEXXVU suggests blocking - then one line per event (time, source: this Portal or a website, event, address, country, user, request, result, browser, blocked). Nothing leaves the Portal: you download the file and give it to the analysis yourself.

{% if exchange and publish and publish.available %}{% include "_security_exchange.html" %}{% endif %} {% endif %} {% endif %}

Log messages

Loading…

{% endblock %}