Created
August 7, 2024 14:44
-
-
Save lopes/7c66f716aecc3763bfc349c96b644960 to your computer and use it in GitHub Desktop.
Chronicle searches in YARA-L. #siem #log #yara-l #chronicle #google
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
metadata.event_type = "NETWORK_CONNECTION" | |
$srcip = principal.ip | |
target.ip = "34.231.161.67" | |
match: | |
$srcip over 1h | |
outcome: | |
$event_count = count_distinct(metadata.id) | |
$sum_bytes_sent = sum(network.sent_bytes) | |
$sum_bytes_received = sum(network.received_bytes) | |
$dst_ports = array_distinct(target.port) | |
order: | |
$sum_bytes_sent desc, $event_count | |
limit: | |
5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment