feat(evidence): IDS section from Suricata's eve.json #29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "thelion/evidence-ids"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
POST /v1/evidence now adds an "ids" section: what Suricata logged about
the shell over the last 7 days (or since the account was made), read
newest-first across eve.json and its rotations, capped at 10s and 200 MB
(marked truncated when cut).
last seen, distinct peers and ports, top peers and ports; Suricata's own
decoder/stream notes ("SURICATA …") only counted
clients reaching its names through Traefik)
host, path and user agent, websocket upgrades marked; skipped quietly
when Suricata doesn't log http
The report keeps its shape: the section is plain text as before, and the
same data is in a new "ids" field for managebot to classify and lay out.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
POST /v1/evidence now adds an "ids" section: what Suricata logged about the shell over the last 7 days (or since the account was made), read newest-first across eve.json and its rotations, capped at 10s and 200 MB (marked truncated when cut). - every alert either way, folded per (direction, rule): count, first and last seen, distinct peers and ports, top peers and ports; Suricata's own decoder/stream notes ("SURICATA …") only counted - SSH client/server software, TLS SNI with JA3/JA4 (the shell's own, and clients reaching its names through Traefik) - HTTP on Traefik's hop to the shell, by real client (X-Forwarded-For), host, path and user agent, websocket upgrades marked; skipped quietly when Suricata doesn't log http - the newest 500 raw alert lines, with totals The report keeps its shape: the section is plain text as before, and the same data is in a new "ids" field for managebot to classify and lay out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.