-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update unusual outbound traffic alert #644
Update unusual outbound traffic alert #644
Conversation
@@ -386,6 +386,9 @@ definition = 0.5 | |||
# no. of packets in millions | |||
definition = 0.5 | |||
|
|||
[cs_network_outbound_min_MB_traffic] | |||
definition = 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure on this value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As outbound traffic varies for each src_ip maybe we can keep the minimal value 1 MB to avoid the false positives.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is what if someone sending empty packets to attack the firewall somehow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, correct but this is outbound traffic so I guess this is not a case of attacker, right?
actually upperbound value becomes 0 due to very low traffic. Can we use the max value of the traffic instead of avg. traffic only when avg. traffic is 0? this way we can see some valid upperbound instead 0.
@@ -3040,7 +3040,7 @@ search = | tstats `cs_summariesonly_network_traffic` sum(All_Traffic.bytes) as t | |||
| fields - total_m_packets_] \ | |||
| stats sum(total_m_packets) as total_m_packets, sum(total_MB) as total_MB, list(dest_ip_mix) as dest_ip_mix, list(action_mix) as actions by src_ip \ | |||
| eval top5_dest_ip=mvindex(dest_ip_mix,0,4) | fields - dest_ip_mix \ | |||
| where total_m_packets>`cs_network_outbound_min_m_packets` \ | |||
| where total_m_packets>`cs_network_outbound_min_m_packets` OR total_MB> `cs_network_outbound_min_MB_traffic` \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For or condition min MB is 10 GB equivalent
No description provided.