Skip to content

Bro IDS + ELK Stack to detect and block data exfiltration

Notifications You must be signed in to change notification settings

spitfire55/MegaDev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network Monitoring and Logging Capstone

Authors: Mitchell DeRidder, Dale Lakes, Matthew Shockley

Advisors: MAJ Benjamin Klimkowski, LTC W. Michael Petullo

This repo will contain our team's code for our undergraduate design capstone, where we used Bro to successfully detect malicious traffic from compromised machines to a remote command and control (C2) server. Specifically, our team focused on detecting Cobalt Strike, a popular penetration tool. Cobalt Strike possesses a sophisticated callback mechanism that uses common protocols to beacon back to a remote C2 server and fetch instructions. From the remote server, attackers can send C2 instructions to processes running on the compromised hosts. This stored-and-forward architecture is designed to avoid detection, blending in with ordinary traffic.

Our techniques were evaluated during the 2017 Cyber Defense Exercise (CDX), where undergraduates compete against the Nation Security Agency (NSA) Red Team. Datasets, documentation and other information about the 2016 CDX and the 2017 CDX can be found at flyn.org.

ELK Installation Guide for CentOS 7: https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-centos-7

ELK STACK

  • Logstash: The server component of Logstash that processes incoming logs

  • Elasticsearch: Stores all of the logs

  • Kibana: Web interface for searching and visualizing logs, which will be proxied through Nginx

  • Filebeat: Installed on client servers that will send their logs to Logstash, Filebeat serves as a log shipping agent that utilizes the lumberjack networking protocol to communicate with Logstash

  • Bro: Network Intrusion Detection System, used for capturing live network traffic and detecting anomalous traffic with custom heuristics, based upon CDX '16 traffic and Cobalt Strike packet captures.

    • See the wiki for for more information about our custom anomalous signatures and heuristics

About

Bro IDS + ELK Stack to detect and block data exfiltration

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published