Skip to content
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

Address rules fps #1028

Merged
merged 7 commits into from
Feb 3, 2020
Merged

Address rules fps #1028

merged 7 commits into from
Feb 3, 2020

Commits on Jan 31, 2020

  1. Add "dsc_host" as a MS OMS program

    Sample Falco alert:
    
    ```
    File below /etc opened for writing (user=<NA> command=dsc_host
    /opt/dsc/output PerformRequiredConfigurationChecks 1 parent=python
    pcmdline=python
    /opt/microsoft/omsconfig/Scripts/PerformRequiredConfigurationChecks.py
    file=/etc/opt/omi/conf/omsconfig/con...
    ```
    
    Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
    mstemm committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    f01ffc3 View commit details
    Browse the repository at this point in the history
  2. Let mcafee write to /etc/cma.d

    Sample Falco alert:
    
    ```
    File below /etc opened for writing (user=root command=macompatsvc
    self_start parent=macompatsvc pcmdline=macompatsvc self_start
    file=/etc/cma.d/lpc.conf program=macompatsvc gparent=macompatsvc
    ggparent=systemd gggparent=<NA> CID1 image=<NA>)
    ```
    
    Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
    mstemm committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    315206d View commit details
    Browse the repository at this point in the history
  3. Let avinetworks supervisor write some ssh cfg

    Sample Falco alert:
    
    ```
    File below /etc opened for writing (user=root command=se_supervisor.p
    /opt/avi/scripts/se_supervisor.py -d parent=systemd pcmdline=systemd
    file=/etc/ssh/ssh_monitor_config_10.24.249.200 program=se_supervisor.p
    gparent=docker-containe ggparent=docker-con...
    ```
    
    Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
    mstemm committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    8ddcaba View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2020

  1. Alow writes to /etc/pki from openshift secrets dir

    Sample falco alert:
    
    ```
    File below /etc opened for writing (user=root command=cp
    /run/secrets/kubernetes.io/serviceaccount/ca.crt
    /etc/pki/ca-trust/source/anchors/openshift-ca.crt parent=bash
    pcmdline=bash -c #!/bin/bash\nset -euo pipefail\n\n# set by the node
    image\nunset KUB...
    ```
    
    The exception is conditioned on containers.
    
    Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
    mstemm committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    683738f View commit details
    Browse the repository at this point in the history
  2. Let runc write to /exec.fifo

    Sample Falco alert:
    
    ```
    File below / or /root opened for writing (user=<NA>
    command=runc:[1:CHILD] init parent=docker-runc-cur file=/exec.fifo
    program=runc:[1:CHILD] CID1 image=<NA>)
    ```
    
    This github issue provides some context:
    opencontainers/runc#1698
    
    Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
    mstemm committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    cc105eb View commit details
    Browse the repository at this point in the history
  3. Let cilium-cni change namespaces

    Sample Falco alert:
    
    ```
    Namespace change (setns) by unexpected program (user=root
    command=cilium-cni parent=cilium-cni host CID2 CID1 image=<NA>)
    ```
    
    Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
    mstemm committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    527d700 View commit details
    Browse the repository at this point in the history
  4. Let puma reactor spawn shells

    Sample Falco alert:
    
    ```
    Shell spawned by untrusted binary (user=git shell=sh parent=puma reactor
    cmdline=sh -c pgrep -fl "unicorn.* worker\[.*?\]" pcmdline=puma reactor
    gparent=puma ggparent=runsv aname[4]=ru...
    ```
    
    https://github.com/puma/puma says it is "A Ruby/Rack web server built
    for concurrency".
    
    Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
    mstemm committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    c7cb49c View commit details
    Browse the repository at this point in the history