[A·M2] Session capture to audit log + metrics #16
Labels
No labels
bug
deploy
documentation
duplicate
enhancement
good first issue
help wanted
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
femboy/blackwall#16
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Record every deception session (commands, attempted credentials, payloads) to the audit log and expose Prometheus counters. Part of #2.
Implemented. Every completed deception session is persisted and counted:
serveemits aSessionRecord(destination, peer, proto, emulator, bytes in/out, andoutcome.note— the captured request line / attempted credentials) per session; the blackwalld drain loop writes each as aSessionRowviastore.record_session(bin/blackwalld/src/main.rs:1787).blackwall_deception_sessions_active(live in-flight gauge) andblackwall_audit_total(persisted-session count) are exposed on/metrics(bin/blackwalld/src/metrics.rs).Exercised by the deception lab gates (all green). Closing.