Skip to content

Instantly share code, notes, and snippets.

@mstemm
Last active November 22, 2016 19:35
Show Gist options
  • Save mstemm/2969b75f7fb7552adc9d4c610a6e369a to your computer and use it in GitHub Desktop.
Save mstemm/2969b75f7fb7552adc9d4c610a6e369a to your computer and use it in GitHub Desktop.
- rule: raw_network_socket
desc: an attempt to open a raw network socket by an unexpected program
condition: evt.type=socket and evt.dir=> and evt.arg.domain=AF_PACKET and not proc.name=tcpdump
output: Raw network socket opened by unexpected program (user=%user.name command=%proc.cmdline domain=%evt.arg.domain)
priority: WARNING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment