Skip to content

Commit

Permalink
systemd can listen on network ports.
Browse files Browse the repository at this point in the history
Systemd can listen on network ports to launch daemons on demand, so
allow it to perform network activity.
  • Loading branch information
mstemm committed Jun 8, 2017
1 parent 8cbaccc commit 26d2f17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rules/falco_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,10 @@
tags: [container, shell]

# sockfamily ip is to exclude certain processes (like 'groups') that communicate on unix-domain sockets
# systemd can listen on ports to launch things like sshd on demand
- rule: System procs network activity
desc: any network activity performed by system binaries that are not expected to send or receive any network traffic
condition: (fd.sockfamily = ip and system_procs) and (inbound or outbound)
condition: (fd.sockfamily = ip and system_procs) and (inbound or outbound) and not proc.name=systemd
output: "Known system binary sent/received network traffic (user=%user.name command=%proc.cmdline connection=%fd.name)"
priority: NOTICE
tags: [network]
Expand Down

0 comments on commit 26d2f17

Please sign in to comment.