Traditional and Advanced Techniques for Network Beacon Detection
summary
A pipeline is built that ingests Zeek/netflow records, computes delta times, reduces stored connection rows by 88% and applies k-means and DBSCAN clustering over overlapping time spans (0–5, 3–15, 12–24 minutes, etc.). Integration with Elasticsearch and Jupyter notebooks is implemented and containerization is planned. Tuning uses a 0.85 likelihood threshold which, on test data, detects four planted beacons with no false positives. Focuses on external HTTP/HTTPS/DNS traffic and outputs ranked candidate connections for threat hunting.
AI-written summary · about
chapters (24)
- 0:00Introduction to beacon detection
- 1:03What is a network beacon
- 3:31Challenges in beacon detection
- 5:35Existing detection tools and data
- 6:59Delta times and beacon patterns
- 8:00Simple threshold-based techniques
- 9:03Limitations of black box solutions
- 11:31New clustering approach overview
- 12:34Data reduction and preprocessing
- 13:16Clustering with K-means and DBSCAN
- 14:42Determining optimal clusters
- 15:45Time spans and cluster expansion
- 16:46Setting likelihood thresholds
- 17:29Integration with Elasticsearch
- 17:50Software outputs and next steps
- 18:11Q&A session begins
- 18:34Advice for security vendors
- 19:37Real-world effectiveness feedback
- 20:58Encrypted DNS and beaconing
- 21:42Fourier transforms and comparisons
- 22:44Tuning and adaptability goals
- 24:10Production deployment and false positives
- 25:57Operator feedback and flexibility
- 27:22Scaling to large datasets
