feat: 1.2.0 attack intelligence, replay, 30-day history and new interface
CI / Docker image (build and smoke test) (push) Skipped
CI / Format and vet (push) Successful in 27s
CI / Dependency audit (push) Successful in 18s
CI / Tests (Linux, race detector) (push) Successful in 58s
Release / Plan (reuse the published image?) (push) Successful in 4s
Release / ci (push) Skipped
Release / Build image (amd64) (push) Skipped
Release / Build image (arm64) (push) Skipped
Release / Publish tags (push) Successful in 13s
Release / Gitea release (push) Successful in 5s

Intelligence: attack families mapped to MITRE ATT&CK, network type from
ASN/rDNS without external APIs, request cadence, sessions with
recon/probe/exploit/access/banned stages, campaigns across IPs, verdict
with reasons, recommended actions, exposure detection (2xx with a body
on sensitive paths), STIX 2.1 export, FCrDNS for search engine bots,
optional Tor exit list.

Data: 30-day retention, twelve ranges plus custom from/to, an on-disk
event log (daily files, hourly gzip members, size cap, corruption and
disk-full tolerant), /events, /period, /metrics with stable per-hour
metrics, an extended /ip/{ip}, and peer /period merged on the hub.

Interface: layout system with fixed card sizes, range picker in the
URL, IP analysis page, Replay page, Geography down to state and city
(Natural Earth admin-1), Live page redesigned with stable metrics and a
reusable attack map. Demo data and documentation screenshots.

Security: bounded and deadline-limited period computations, linear
campaign clustering, singleflight caches, sanitized peer studies, event
query budgets, gzip bomb guard.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Opus 5.5 committed 2026-11-14 21:45:59 -03:00
1 parent 8f1ac462d1
commit b7462c14fa
325 files changed
+19117 -1307

No files matched your search

+154 -42
View File
@@ -20,12 +20,81 @@ window.URUTAU_I18N = {
'host.label': 'Host',
'host.all': 'All hosts',
'range.label': 'Time range',
'range.1h': '1 h',
'range.24h': '24 h',
'range.7d': '7 d',
'range.long.1h': 'the last hour',
'range.long.24h': 'the last 24 hours',
'range.long.7d': 'the last 7 days',
'range.custom': 'Custom',
'range.in.nh.one': 'in the last hour',
'range.in.nh.other': 'in the last {n} hours',
'range.in.nd.one': 'in the last day',
'range.in.nd.other': 'in the last {n} days',
'range.in.custom': 'between {a} and {b}',
'range.nh.one': 'Last hour',
'range.nh.other': 'Last {n} hours',
'range.nd.one': 'Last day',
'range.nd.other': 'Last {n} days',
'range.g.hours': 'Hours',
'range.g.days': 'Days',
'range.g.weeks': 'Weeks',
'range.from': 'From',
'range.to': 'To',
'range.apply': 'Apply',
'range.picker': 'Choose time range',
'range.keys': 'Shortcuts: t opens, [ and ] change the preset, arrows move a custom window.',
'range.err.missing': 'Fill in both dates.',
'range.err.order': 'The end must be after the start.',
'range.err.span': 'The window cannot exceed 30 days.',
'range.widen': 'Choose another period',
'timeline.bucket': '{n}-minute buckets',
'toast.copied': 'Copied',
'state.retry': 'Try again',
'top.empty.title': 'No data',
'ips.empty.title': 'No IPs found',
'detail.notfound.title': 'IP not found',
'drawer.open': 'Open full analysis →',
'drawer.active': 'active for {v}',
'drawer.m.events': 'Events',
'drawer.m.days': 'Active days',
'drawer.m.hosts': 'Hosts hit',
'drawer.m.bans': 'Bans (history)',
'drawer.timeline': 'Last 7 days',
'drawer.techniques': 'Techniques',
'drawer.reasons': 'Why this verdict',
'dur.s': '{n} s',
'dur.m': '{n} min',
'dur.h': '{n} h',
'dur.d': '{n} d',
'metric.prev': 'before: {v}',
'range.art.nh.one': 'the last hour',
'range.art.nh.other': 'the last {n} hours',
'range.art.nd.one': 'the last day',
'range.art.nd.other': 'the last {n} days',
'range.art.custom': 'from {a} to {b}',
'drawer.banEvents': 'ban events (in the slice)',
'drawer.cut.susp': 'Suspicious from score 10',
'drawer.cut.host': 'Hostile from score 50',
'drawer.cuts': 'Cut-offs: suspicious from 10, hostile from 50.',
'drawer.byRule': 'Hostile by rule: {r}',
'metric.noBase': 'no comparison baseline',
'metric.noBan': 'no bans in the slice',
'drawer.categories': 'Categories',
'intel.reason.exploits_refused': '{n} exploit attempts refused ({families})',
'intel.reason.tool_ua': 'Attack tool user agent: {tool}',
'intel.reason.banned_jail': 'Banned by fail2ban ({jails})',
'intel.reason.multi_category': 'Seen in {n} attack categories',
'intel.reason.exposure': '{n} requests reached exposed resources ({families})',
'intel.reason.ssh_login_after_bruteforce': 'Successful SSH login after brute force',
'intel.reason.admin': 'Matches an administrator login; the IP is kept off the blocklist',
'intel.reason.immune': 'Trusted or ignored origin',
'intel.action.block': 'Block the address',
'intel.action.report': 'Report the address to its network operator',
'intel.action.investigate': 'Investigate the activity',
'intel.action.incident': 'Open an incident',
'metric.attacks_per_hour_24h': 'Attacks per hour (24 h)',
'metric.moving_avg_7d_per_hour': 'Hourly average (7 d)',
'metric.active_attackers_24h': 'Active attackers',
'metric.new_attackers': 'New attackers',
'metric.mttb': 'Mean time to ban',
'metric.ban_coverage': 'Ban coverage',
'metric.blocklist_coverage': 'Blocklist coverage',
'metric.exposure_rate': 'Exposure rate',
'lang.toggle': 'Switch language',
'theme.toggle': 'Switch light/dark theme',
'logout': 'Sign out',
@@ -55,7 +124,7 @@ window.URUTAU_I18N = {
'kpi.sub.malicious': 'HTTP and SSH events',
'kpi.sub.share': '{p} of {n} distinct IPs',
'kpi.sub.bans': 'reported by fail2ban',
'kpi.sub.range': 'in {range}',
'kpi.sub.range': 'period: {range}',
'ov.lead.hostile': '{n} hostile IPs in the selected slice',
'ov.lead.hostile.one': '1 hostile IP in the selected slice',
'ov.lead.calm': 'No hostile IPs in the selected slice',
@@ -129,7 +198,7 @@ window.URUTAU_I18N = {
'top.domains': 'Most targeted domains',
'top.uas': 'Top user agents',
'top.users': 'SSH users tried',
'top.empty': 'No data in the selected slice. Try a longer time range.',
'top.empty': 'Nothing was recorded in the selected slice.',
'blocklist.title': 'Blocklist',
'blocklist.help': 'Export the IPs at or above a score as a plain list, one per line, for a firewall or fail2ban. Only IPs with strong evidence and a public address are listed.',
'blocklist.minScore': 'Minimum score',
@@ -190,17 +259,8 @@ window.URUTAU_I18N = {
'detail.title': 'IP details',
'detail.close': 'Close',
'detail.copyIp': 'Copy IP',
'detail.score': 'Score',
'detail.level': 'Level',
'detail.first': 'First seen',
'detail.last': 'Last seen',
'detail.rdns': 'Reverse DNS',
'detail.hosts': 'Hosts',
'detail.domains': 'Targeted domains',
'detail.uas': 'User agents',
'detail.samples': 'Recent activity',
'detail.jails': 'Active bans',
'detail.counts': 'Events',
'detail.notfound': 'This IP is no longer in memory.',
'detail.loading': 'Loading.',
'error.load': 'Could not load data. Retrying.',
@@ -233,10 +293,6 @@ window.URUTAU_I18N = {
'map.visitors': 'Visitors by country',
'map.visitors.hint': 'Countries shaded by number of requests; the list shows the largest.',
'col.origin': 'Origin',
'detail.country': 'Country',
'detail.city': 'City',
'detail.network': 'Network',
'detail.uaparsed': 'Clients',
'device.desktop': 'desktop',
'device.mobile': 'mobile',
'device.tablet': 'tablet',
@@ -256,12 +312,81 @@ window.URUTAU_I18N = {
'host.label': 'Host',
'host.all': 'Todos os hosts',
'range.label': 'Período',
'range.1h': '1 h',
'range.24h': '24 h',
'range.7d': '7 d',
'range.long.1h': 'a última hora',
'range.long.24h': 'as últimas 24 horas',
'range.long.7d': 'os últimos 7 dias',
'range.custom': 'Personalizado',
'range.in.nh.one': 'na última hora',
'range.in.nh.other': 'nas últimas {n} horas',
'range.in.nd.one': 'no último dia',
'range.in.nd.other': 'nos últimos {n} dias',
'range.in.custom': 'entre {a} e {b}',
'range.nh.one': 'Última hora',
'range.nh.other': 'Últimas {n} horas',
'range.nd.one': 'Último dia',
'range.nd.other': 'Últimos {n} dias',
'range.g.hours': 'Horas',
'range.g.days': 'Dias',
'range.g.weeks': 'Semanas',
'range.from': 'De',
'range.to': 'Até',
'range.apply': 'Aplicar',
'range.picker': 'Escolher período',
'range.keys': 'Atalhos: t abre, [ e ] trocam o período, as setas deslocam uma janela personalizada.',
'range.err.missing': 'Preencha as duas datas.',
'range.err.order': 'O fim deve ser posterior ao início.',
'range.err.span': 'A janela não pode exceder 30 dias.',
'range.widen': 'Escolher outro período',
'timeline.bucket': 'caixas de {n} min',
'toast.copied': 'Copiado',
'state.retry': 'Tentar novamente',
'top.empty.title': 'Sem dados',
'ips.empty.title': 'Nenhum IP encontrado',
'detail.notfound.title': 'IP não encontrado',
'drawer.open': 'Abrir análise completa →',
'drawer.active': 'ativo há {v}',
'drawer.m.events': 'Eventos',
'drawer.m.days': 'Dias ativos',
'drawer.m.hosts': 'Hosts atingidos',
'drawer.m.bans': 'Bans (histórico)',
'drawer.timeline': 'Últimos 7 dias',
'drawer.techniques': 'Técnicas',
'drawer.reasons': 'Motivos do veredito',
'dur.s': '{n} s',
'dur.m': '{n} min',
'dur.h': '{n} h',
'dur.d': '{n} d',
'metric.prev': 'antes: {v}',
'range.art.nh.one': 'a última hora',
'range.art.nh.other': 'as últimas {n} horas',
'range.art.nd.one': 'o último dia',
'range.art.nd.other': 'os últimos {n} dias',
'range.art.custom': 'de {a} a {b}',
'drawer.banEvents': 'eventos de ban (no recorte)',
'drawer.cut.susp': 'Suspeito a partir de 10 pontos',
'drawer.cut.host': 'Hostil a partir de 50 pontos',
'drawer.cuts': 'Cortes: suspeito a partir de 10, hostil a partir de 50.',
'drawer.byRule': 'Hostil por regra: {r}',
'metric.noBase': 'sem base de comparação',
'metric.noBan': 'nenhum ban no recorte',
'drawer.categories': 'Categorias',
'intel.reason.exploits_refused': '{n} tentativas de exploit recusadas ({families})',
'intel.reason.tool_ua': 'User-agent de ferramenta de ataque: {tool}',
'intel.reason.banned_jail': 'Banido pelo fail2ban ({jails})',
'intel.reason.multi_category': 'Visto em {n} categorias de ataque',
'intel.reason.exposure': '{n} requisições atingiram recursos expostos ({families})',
'intel.reason.ssh_login_after_bruteforce': 'Login SSH bem-sucedido após força bruta',
'intel.reason.admin': 'Corresponde a um login de administrador; o IP fica fora da lista de bloqueio',
'intel.reason.immune': 'Origem confiável ou ignorada',
'intel.action.block': 'Bloquear o endereço',
'intel.action.report': 'Notificar o operador da rede do endereço',
'intel.action.investigate': 'Investigar a atividade',
'intel.action.incident': 'Abrir um incidente',
'metric.attacks_per_hour_24h': 'Ataques por hora (24 h)',
'metric.moving_avg_7d_per_hour': 'Média por hora (7 d)',
'metric.active_attackers_24h': 'Atacantes ativos',
'metric.new_attackers': 'Atacantes novos',
'metric.mttb': 'Tempo médio até o ban',
'metric.ban_coverage': 'Cobertura de bans',
'metric.blocklist_coverage': 'Cobertura da lista de bloqueio',
'metric.exposure_rate': 'Taxa de exposição',
'lang.toggle': 'Trocar idioma',
'theme.toggle': 'Alternar tema claro/escuro',
'logout': 'Sair',
@@ -291,7 +416,7 @@ window.URUTAU_I18N = {
'kpi.sub.malicious': 'eventos HTTP e SSH',
'kpi.sub.share': '{p} dos {n} IPs distintos',
'kpi.sub.bans': 'informados pelo fail2ban',
'kpi.sub.range': 'em {range}',
'kpi.sub.range': 'período: {range}',
'ov.lead.hostile': '{n} IPs hostis no recorte selecionado',
'ov.lead.hostile.one': '1 IP hostil no recorte selecionado',
'ov.lead.calm': 'Nenhum IP hostil no recorte selecionado',
@@ -365,7 +490,7 @@ window.URUTAU_I18N = {
'top.domains': 'Domínios mais visados',
'top.uas': 'Principais user-agents',
'top.users': 'Usuários SSH tentados',
'top.empty': 'Sem dados no recorte selecionado. Recomenda-se ampliar o período.',
'top.empty': 'Nada foi registrado no recorte selecionado.',
'blocklist.title': 'Lista de bloqueio',
'blocklist.help': 'Exporta os IPs a partir de uma pontuação como lista simples, um por linha, para firewall ou fail2ban. Somente IPs com evidência forte e endereço público são listados.',
'blocklist.minScore': 'Pontuação mínima',
@@ -426,17 +551,8 @@ window.URUTAU_I18N = {
'detail.title': 'Detalhes do IP',
'detail.close': 'Fechar',
'detail.copyIp': 'Copiar IP',
'detail.score': 'Pontos',
'detail.level': 'Nível',
'detail.first': 'Primeira vez visto',
'detail.last': 'Visto por último',
'detail.rdns': 'DNS reverso',
'detail.hosts': 'Hosts',
'detail.domains': 'Domínios visados',
'detail.uas': 'User-agents',
'detail.samples': 'Atividade recente',
'detail.jails': 'Bans ativos',
'detail.counts': 'Eventos',
'detail.notfound': 'Este IP não está mais na memória.',
'detail.loading': 'Carregando.',
'error.load': 'Não foi possível carregar os dados. Tentando de novo.',
@@ -469,10 +585,6 @@ window.URUTAU_I18N = {
'map.visitors': 'Visitantes por país',
'map.visitors.hint': 'Países sombreados pelo número de requisições; a lista mostra os maiores.',
'col.origin': 'Origem',
'detail.country': 'País',
'detail.city': 'Cidade',
'detail.network': 'Rede',
'detail.uaparsed': 'Clientes',
'device.desktop': 'computador',
'device.mobile': 'celular',
'device.tablet': 'tablet',