github stamparm/maltrail 3.7-rc1

pre-release31 minutes ago

Added

  • Sensor: an outbound hit says what came of it, appended to the trail as ' (fact)': a SYN to a listed address 'connected', 'refused' or 'no answer'; a lookup of a listed name 'NXDOMAIN', 'SERVFAIL', 'sinkholed ', 'connected address:port' or 'resolved , no connection'. The dashboard shows it as a chip on the threat, and outcome:connected lists the hits that reached their target first. Cost: +14 ns/packet on the reference capture.
  • Sensor: a flagged HTTP request carries the server's status code ("... (HTTP 404)"), skipping 1xx interim answers and pairing pipelined requests; the dashboard shows a chip and filters on http:404.
  • Sensor: a beaconing trail names what the client resolved or sent as SNI ('ip:port (name)').
  • Dashboard: an event console (backquote or the console button), the day's raw log as it arrives, like --console, with an adjustable tail and a plain substring filter that runs after the session's scope and masking.
  • Dashboard: 'denoise' hides low-severity, list-only hits on inbound addresses, 'novel' shows only threats no earlier day logged; both are switches, and the count line says how many each hides.
  • Dashboard: shift/ctrl+click combines severities.

Changed

  • Log format: an annotated trail contains a space, so it is written quoted ("1.2.3.4 (no answer)"), as any field with a space always was. A log parser that splits event lines on spaces must honour the quotes; the bundled tools and the server do.
  • Malware goes out: a malware-listed URL, Host, SNI, JA3/JA4 or address seen in a request or ClientHello an outsider sends to our server, or in our UDP answer to a host that asked first, is not reported. Over a month of a home network every such hit was a scanner probing for the indicator, logged as high severity; the listing exists to catch malware inside the network calling out. Heuristics still report it, and a DNS answer pointing at a sinkhole still does.
  • Server: /seen builds one answer at a time and answers a repeat from cache (2.7 s -> 0.11 s on 30 days of 150k lines).
  • Sensor: meta.sqlite appends each flush to a delta table instead of rewriting the pages a row sits on: ~1.4 GB/day -> ~60 MB/day written on a home network, ~110 GB/day at the row cap. Older stores are upgraded in place and stay readable by an older sensor or server.
  • Sensor: the background trail update no longer floods a running sensor's console (~45 lines -> 6); the reload says "[^] running... (N trails, reloaded)".
  • Dashboard: the service port sits on the server's address, a request and a reply have their own glyph, and the decision is a rule table whose tooltip names the rule that decided.
  • Dashboard: reverse DNS in the IP tooltip, readable provider tags, a trail in the drawer shown as what it names.
  • Dashboard: new logo and SVG icons, search across the header like Kibana's filter bar, and a sweep of alignment and label fixes checked in Firefox.

Fixed

  • Sensor: with more than one capture worker, a request and its answer usually land on different workers (packets are spread by source address), so HTTP status, beacon names, UDP reply detection, DNS exhaustion and NXDOMAIN counting matched about 1 in N. That state is now shared by all workers.
  • URL trails ending in '/' never matched: the request side strips a trailing '/', the trail kept it, so 62,653 rows of the published set (x.ru/kek/, 1.2.3.4:8888/supershell/login/) could never fire. The store is rebuilt on first start.
  • Behind a CDN, /fail2ban and /blacklist published the CDN edge's address, which bans every visitor behind it; they now publish the forwarded client, and every HTTP request event names it.
  • A masked custom trail name containing doubled quotes leaked all but its last word to restricted users.
  • DISABLED_TRAILS_INFO_REGEX matching the empty string disabled every trail, and an invalid one broke every trail update; both are refused at startup, as are a bad REMOTE_SEVERITY_REGEX and PROCESS_COUNT.
  • data/ua.txt: 'Agent/1.0' matched Windows Update's 'Agent/1308...' (45 events, 3 hosts). The data gate now checks every pattern against ordinary client User-Agents.
  • Server: /geo placed an annotated (quoted) trail nowhere.
  • install.sh: every re-run (the documented upgrade) died on git's "dubious ownership"; the installed sensor lost its capabilities to a later chown; 'maltrail-sensor -T' checked the tree's maltrail.conf instead of /etc/maltrail.conf; a sensor-only install generated an admin password nobody was shown.
  • check_trails: DNS service record names (_dmarc., _acme-challenge., SRV names) are refused as trails (#19660), and a mistyped prefix (ja3=, cert=) says so (#19658).
  • core/assemble.py: an unwritable --out, --domains-out or --provenance is a one-line error, not a traceback (#19671).

Removed

  • The sblam (410 Gone for every path) and blackbook (deprecated upstream) feeds.

Full Changelog: 3.6...3.7-rc1

Don't miss a new maltrail release

NewReleases is sending notifications on new releases.