Skip to content

Add beaconing detection and repair RNN C2 processing - #2204

Open
AlyaGomaa wants to merge 1 commit into
sebas/feat/bounded_scan_detectorsfrom
sebas/feat/beaconing_detection
Open

AlyaGomaa wants to merge 1 commit into
sebas/feat/bounded_scan_detectorsfrom
sebas/feat/beaconing_detection

Conversation

@AlyaGomaa

@AlyaGomaa AlyaGomaa commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Sub-PR of #2141: part 7 of 12. The parent PR stays open and unchanged; this PR carries one feature of it so it can be reviewed on its own.

What this PR adds

  • beaconing module: bounded numeric beaconing detection from timing, sizes and duration, with info periodicity findings and low suspected-C2 findings.
  • Sparse packet heartbeats inside long-lived TCP connections (packet-timing.zeek, packet_timing flows, packet_flows.py).
  • RNN C2 detector: preprocessing repaired, grouped training.
  • Training and evaluation tools (tools/beaconing), shipped model (model.json).
  • Docs: beaconing.md (configuration, validation, false candidates, missed C2 examples), cc_detection_strategy.md, packet_timing.md.

Where it sits in the split

Notes for review

  • slips_files/common/anomaly_detection.py arrives here because beaconing is its first user in the chain; its tests come with the service anomaly part, which they exercise.

Tests

  • Unit suite on this branch (local, pytest tests/unit -n 3): 4562 passed, 2 skipped, 2 failed. Failing: test_native_restart_preserves_arguments_and_waits_for_worker. They fail the same way on the unsplit parent branch in the same local sandbox. Integration tests were not run locally.

@AlyaGomaa AlyaGomaa self-assigned this Nov 10, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Slips Nov 10, 2026
@AlyaGomaa AlyaGomaa added the #2141 sub-PR Part of the split of PR #2141 label Nov 11, 2026
@AlyaGomaa
AlyaGomaa added this pull request to stack #2210 November 11, 2026 11:53

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

#2141 sub-PR Part of the split of PR #2141

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants