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

update: split falco_rules.yaml according to the rules maturity #149

Merged
merged 12 commits into from
Sep 4, 2023

Conversation

leogr
Copy link
Member

@leogr leogr commented Sep 1, 2023

What type of PR is this?

/kind feature
/kind cleanup
/kind design
/kind documentation

Any specific area of the project related to this PR?

/area rules
/area registry
/area build
/area documentation

Proposed rule maturity level

This PR does not propose new rules or change the maturity level of any existing rule.

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

While splitting rules, I faced some issues that I needed to address in this PR

  • The CI did not work with multiple rules files being changed in the same PR
  • The rules files naming convention was not explicit, moreover, it did not take into account some technical difficulties
    • The convention is now documented
    • I also updated the various rules files mentioned across the documentation and the Rules Maturity Framework proposal

@leogr leogr force-pushed the update/rules-files-split branch 5 times, most recently from 525e6f5 to b76175a Compare September 1, 2023 13:56
@leogr leogr changed the title [TEST - DO NOT MERGE] Update/rules files split wip: update: split falco_rules.yaml according to the rules matority Sep 1, 2023
This stricter naming convention is required to avoid corner cases in CI and the distribution system while providing a simple guideline for contributors.

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
@github-actions
Copy link

github-actions bot commented Sep 1, 2023

Rules files suggestions

falco_rules.yaml

Comparing 671afa632fcdaec6e779b8185bb7492883a310e1 with latest tag falco-rules-1.0.1

Major changes:

  • Rule Write below rpm database has been removed
  • Rule Unexpected K8s NodePort Connection has been removed
  • Rule Launch Suspicious Network Tool on Host has been removed
  • Rule Launch Ingress Remote File Copy Tools in Container has been removed
  • Rule Unexpected inbound connection source has been removed
  • Rule Launch Privileged Container has been removed
  • Rule Interpreted procs inbound network activity has been removed
  • Rule Contact EC2 Instance Metadata Service From Container has been removed
  • Rule Launch Package Management Process in Container has been removed
  • Rule Outbound Connection to C2 Servers has been removed
  • Rule Read ssh information has been removed
  • Rule Unprivileged Delegation of Page Faults Handling to a Userspace Process has been removed
  • Rule Update Package Repository has been removed
  • Rule Create files below dev has been removed
  • Rule Container Drift Detected (chmod) has been removed
  • Rule Polkit Local Privilege Escalation Vulnerability (CVE-2021-4034) has been removed
  • Rule Unexpected outbound connection destination has been removed
  • Rule Non sudo setuid has been removed
  • Rule User mgmt binaries has been removed
  • Rule Contact cloud metadata service from container has been removed
  • Rule Write below binary dir has been removed
  • Rule Launch Excessively Capable Container has been removed
  • Rule Launch Disallowed Container has been removed
  • Rule Delete or rename shell history has been removed
  • Rule Delete Bash History has been removed
  • Rule Container Run as Root User has been removed
  • Rule Write below monitored dir has been removed
  • Rule Launch Suspicious Network Tool in Container has been removed
  • Rule Network Connection outside Local Subnet has been removed
  • Rule Disallowed SSH Connection has been removed
  • Rule Interpreted procs outbound network activity has been removed
  • Rule Create Hidden Files or Directories has been removed
  • Rule Container Drift Detected (open+create) has been removed
  • Rule Read environment variable from /proc files has been removed
  • Rule Schedule Cron Jobs has been removed
  • Rule DB program spawned process has been removed
  • Rule Read Shell Configuration File has been removed
  • Rule Launch Sensitive Mount Container has been removed
  • Rule Outbound or Inbound Traffic not to Authorized Server Process and Port has been removed
  • Rule Modify Container Entrypoint has been removed
  • Rule Change thread namespace has been removed
  • Rule Mount Launched in Privileged Container has been removed
  • Rule Write below etc has been removed
  • Rule Detect crypto miners using the Stratum protocol has been removed
  • Rule Unexpected UDP Traffic has been removed
  • Rule Program run with disallowed http proxy env has been removed
  • Rule Launch Remote File Copy Tools in Container has been removed
  • Rule Java Process Class File Download has been removed
  • Rule Mkdir binary dirs has been removed
  • Rule Write below root has been removed
  • Rule Modify binary dirs has been removed
  • Rule System procs network activity has been removed
  • Rule Set Setuid or Setgid bit has been removed
  • Rule Detect outbound connections to common miner pool ports has been removed
  • Rule The docker client is executed in a container has been removed
  • Rule Sudo Potential Privilege Escalation has been removed
  • Rule Modify Shell Configuration File has been removed
  • Macro automount_using_mtab has been removed
  • Macro avinetworks_supervisor_writing_ssh has been removed
  • Macro user_privileged_containers has been removed
  • Macro nodeport_containers has been removed
  • Macro user_known_create_hidden_file_activities has been removed
  • Macro inbound has been removed
  • Macro httpd_writing_ssl_conf has been removed
  • Macro run_by_ms_oms has been removed
  • Macro ms_scx_writing_conf has been removed
  • Macro httpd_writing_conf_logs has been removed
  • Macro excessively_capable_container has been removed
  • Macro user_known_k8s_client_container has been removed
  • Macro java_running_sdjagent has been removed
  • Macro ms_oms_writing_conf has been removed
  • Macro istio_writing_conf has been removed
  • Macro http_proxy_procs has been removed
  • Macro run_by_yum has been removed
  • Macro plesk_install_writing_apache_conf has been removed
  • Macro write_etc_common has been removed
  • Macro var_lib_docker_filepath has been removed
  • Macro plesk_writing_keys has been removed
  • Macro user_known_mkdir_bin_dir_activities has been removed
  • Macro user_expected_system_procs_network_activity_conditions has been removed
  • Macro bin_dir_rename has been removed
  • Macro brandbot_writing_os_release has been removed
  • Macro nrpe_becoming_nagios has been removed
  • Macro known_gke_mount_in_privileged_containers has been removed
  • Macro somebody_becoming_themselves has been removed
  • Macro chef_client_writing_conf has been removed
  • Macro maven_writing_groovy has been removed
  • Macro user_known_write_monitored_dir_conditions has been removed
  • Macro redis_writing_conf has been removed
  • Macro user_known_cron_jobs has been removed
  • Macro networkmanager_writing_resolv_conf has been removed
  • Macro user_known_change_thread_namespace_activities has been removed
  • Macro kubectl_writing_state has been removed
  • Macro chmod has been removed
  • Macro openshift_writing_conf has been removed
  • Macro aws_eks_core_images has been removed
  • Macro user_known_create_files_below_dev_activities has been removed
  • Macro user_known_run_as_root_container has been removed
  • Macro zap_writing_state has been removed
  • Macro ingress_remote_file_copy_procs has been removed
  • Macro veritas_writing_config has been removed
  • Macro cassandra_writing_state has been removed
  • Macro xmlcatalog_writing_files has been removed
  • Macro ovsdb_writing_openvswitch has been removed
  • Macro user_known_write_below_binary_dir_activities has been removed
  • Macro iscsi_writing_conf has been removed
  • Macro ipsec_writing_conf has been removed
  • Macro python_running_ms_oms has been removed
  • Macro curl_writing_pki_db has been removed
  • Macro modify has been removed
  • Macro openldap_writing_conf has been removed
  • Macro sed_temporary_file has been removed
  • Macro cron_start_writing_pam_env has been removed
  • Macro user_trusted_containers has been removed
  • Macro open_directory has been removed
  • Macro rpm_procs has been removed
  • Macro coreos_write_ssh_dir has been removed
  • Macro user_known_update_package_registry has been removed
  • Macro plesk_running_mktemp has been removed
  • Macro mysql_writing_conf has been removed
  • Macro minerpool_other has been removed
  • Macro system_procs has been removed
  • Macro liveupdate_writing_conf has been removed
  • Macro user_known_write_root_conditions has been removed
  • Macro chage_list has been removed
  • Macro countly_writing_nginx_conf has been removed
  • Macro root_dir has been removed
  • Macro haproxy_writing_conf has been removed
  • Macro rook_writing_conf has been removed
  • Macro user_known_db_spawned_processes has been removed
  • Macro mount_info has been removed
  • Macro htpasswd_writing_passwd has been removed
  • Macro git_writing_nssdb has been removed
  • Macro rancher_writing_root has been removed
  • Macro user_known_metadata_access has been removed
  • Macro minerpool_https has been removed
  • Macro user_known_shell_config_modifiers has been removed
  • Macro pkgmgmt_progs_writing_pki has been removed
  • Macro mcafee_writing_cma_d has been removed
  • Macro allowed_aws_ecr_registry_root_for_eks has been removed
  • Macro user_known_set_setuid_or_setgid_bit_conditions has been removed
  • Macro openshift_image has been removed
  • Macro airflow_writing_state has been removed
  • Macro keepalived_writing_conf has been removed
  • Macro slapadd_writing_conf has been removed
  • Macro cockpit_writing_conf has been removed
  • Macro openvpn_writing_conf has been removed
  • Macro modify_shell_history has been removed
  • Macro bin_dir_mkdir has been removed
  • Macro update_ca_trust_writing_pki has been removed
  • Macro user_known_write_below_etc_activities has been removed
  • Macro remote_file_copy_procs has been removed
  • Macro allowed_openshift_registry_root has been removed
  • Macro allowed_ssh_proxy_env has been removed
  • Macro outbound has been removed
  • Macro supervise_writing_status has been removed
  • Macro nginx_writing_conf has been removed
  • Macro exe_running_docker_save has been removed
  • Macro prometheus_conf_writing_conf has been removed
  • Macro java_network_read has been removed
  • Macro rename has been removed
  • Macro remove has been removed
  • Macro allowed_ssh_hosts has been removed
  • Macro ufw_writing_conf has been removed
  • Macro user_known_user_management_activities has been removed
  • Macro package_mgmt_procs has been removed
  • Macro rpm_writing_root_rpmdb has been removed
  • Macro sensitive_mount has been removed
  • Macro known_aks_mount_in_privileged_containers has been removed
  • Macro ssh_port has been removed
  • Macro cloud_init_writing_ssh has been removed
  • Macro minerpool_http has been removed
  • Macro kubelet_running_loopback has been removed
  • Macro rancher_network_manager has been removed
  • Macro fluentd_writing_conf_files has been removed
  • Macro runc_writing_var_lib_docker has been removed
  • Macro docker_procs has been removed
  • Macro azure_networkwatcher_writing_conf has been removed
  • Macro couchdb_writing_conf has been removed
  • Macro sosreport_writing_files has been removed
  • Macro gugent_writing_guestagent_log has been removed
  • Macro run_by_adclient has been removed
  • Macro user_known_read_ssh_information_activities has been removed
  • Macro add_shell_writing_shells_tmp has been removed
  • Macro consider_network_tools_on_host has been removed
  • Macro mkdir has been removed
  • Macro container_started has been removed
  • Macro calico_writing_conf has been removed
  • Macro user_known_write_below_root_activities has been removed
  • Macro runc_writing_exec_fifo has been removed
  • Macro falco_privileged_containers has been removed
  • Macro ec2_metadata_containers has been removed
  • Macro pki_realm_writing_realms has been removed
  • Macro dse_writing_tmp has been removed
  • Macro modify_repositories has been removed
  • Macro user_sensitive_mount_containers has been removed
  • Macro userhelper_writing_etc_security has been removed
  • Macro access_repositories has been removed
  • Macro allowed_containers has been removed
  • Macro sssd_writing_krb has been removed
  • Macro google_accounts_daemon_writing_ssh has been removed
  • Macro redhat_image has been removed
  • Macro user_known_mount_in_privileged_containers has been removed
  • Macro package_mgmt_ancestor_procs has been removed
  • Macro python_running_denyhosts has been removed
  • Macro galley_writing_state has been removed
  • Macro mkinitramfs_writing_boot has been removed
  • Macro weaveworks_scope has been removed
  • Macro network_local_subnet has been removed
  • Macro python_running_chef has been removed
  • Macro checkpoint_writing_state has been removed
  • Macro multipath_writing_conf has been removed
  • Macro user_known_k8s_client_container_parens has been removed
  • Macro truncate_shell_history has been removed
  • Macro java_running_cassandra has been removed
  • Macro symantec_writing_conf has been removed
  • Macro nginx_writing_certs has been removed
  • Macro calico_writing_state has been removed
  • Macro user_known_write_rpm_database_activities has been removed
  • Macro user_known_package_manager_in_container has been removed
  • Macro interpreted_procs has been removed
  • Macro rancher_agent has been removed
  • Macro selinux_writing_conf has been removed
  • Macro dpkg_scripting has been removed
  • Macro trusted_images_query_miner_domain_dns has been removed
  • Macro veritas_progs has been removed
  • Macro duply_writing_exclude_files has been removed
  • Macro monitored_dir has been removed
  • Macro user_known_modify_bin_dir_activities has been removed
  • Macro login_doing_dns_lookup has been removed
  • Macro user_known_ingress_remote_file_copy_activities has been removed
  • Macro parent_ucf_writing_conf has been removed
  • Macro consul_template_writing_conf has been removed
  • Macro qualys_writing_conf_files has been removed
  • Macro expected_udp_traffic has been removed
  • Macro user_known_write_etc_conditions has been removed
  • Macro run_by_sumologic_securefiles has been removed
  • Macro mysqlsh_writing_state has been removed
  • Macro bin_dir has been removed
  • Macro rancher_writing_conf has been removed
  • Macro always_true has been removed
  • Macro run_by_centrify has been removed
  • Macro chef_writing_conf has been removed
  • Macro rabbitmq_writing_conf has been removed
  • Macro python_running_get_pip has been removed
  • Macro datadog_writing_conf has been removed
  • Macro ucpagent_writing_conf has been removed
  • Macro aws_eks_image_sensitive_mount has been removed
  • Macro known_user_in_container has been removed
  • Macro calico_writing_envvars has been removed
  • Macro sed_writing_temp_file has been removed
  • Macro calico_node has been removed
  • Macro falco_sensitive_mount_containers has been removed
  • Macro network_tool_procs has been removed
  • Macro parent_supervise_running_multilog has been removed
  • Macro lvprogs_writing_conf has been removed
  • Macro update_texmf_writing_conf has been removed
  • Macro centrify_writing_krb has been removed
  • Macro etcd_manager_updating_dns has been removed
  • Macro known_root_conditions has been removed
  • Macro php_handlers_writing_conf has been removed
  • Macro azure_scripts_writing_conf has been removed
  • Macro java_writing_conf has been removed
  • Macro amazon_linux_running_python_yum has been removed
  • Macro user_known_remote_file_copy_activities has been removed
  • Macro user_known_container_drift_activities has been removed
  • Macro inbound_outbound has been removed
  • Macro jboss_in_container_writing_passwd has been removed
  • Macro user_known_network_tool_activities has been removed
  • Macro user_known_non_sudo_setuid_conditions has been removed
  • Macro pkg_mgmt_in_kube_proxy has been removed
  • Macro net_miner_pool has been removed
  • Macro curl_download has been removed
  • List coreutils_binaries has been removed
  • List openscap_rpm_binaries has been removed
  • List dev_creation_binaries has been removed
  • List user_known_k8s_ns_kube_system_images has been removed
  • List known_binaries_to_read_environment_variables_from_proc_files has been removed
  • List known_root_files has been removed
  • List allowed_dev_files has been removed
  • List authorized_server_port has been removed
  • List bash_config_files has been removed
  • List safe_etc_dirs has been removed
  • List network_plugin_binaries has been removed
  • List known_system_procs_network_activity_binaries has been removed
  • List k8s_client_binaries has been removed
  • List https_miner_domains has been removed
  • List allowed_inbound_source_ipaddrs has been removed
  • List l2tp_udp_ports has been removed
  • List bash_config_filenames has been removed
  • List zsh_config_filenames has been removed
  • List repository_directories has been removed
  • List c2_server_fqdn_list has been removed
  • List openvpn_udp_ports has been removed
  • List expected_udp_ports has been removed
  • List http_miner_domains has been removed
  • List lxd_binaries has been removed
  • List known_setuid_binaries has been removed
  • List rfc_1918_addresses has been removed
  • List interpreted_binaries has been removed
  • List known_istio_files has been removed
  • List exclude_hidden_directories has been removed
  • List miner_domains has been removed
  • List csh_config_files has been removed
  • List plesk_binaries has been removed
  • List repository_files has been removed
  • List run_as_root_image_list has been removed
  • List known_root_directories has been removed
  • List allowed_inbound_source_networks has been removed
  • List network_tool_binaries has been removed
  • List k8s_binaries has been removed
  • List allowed_inbound_source_domains has been removed
  • List http_proxy_binaries has been removed
  • List sysdigcloud_binaries has been removed
  • List falco_sensitive_mount_images has been removed
  • List ssh_binaries has been removed
  • List allowed_outbound_destination_ipaddrs has been removed
  • List allowed_outbound_destination_domains has been removed
  • List namespace_scope_network_only_subnet has been removed
  • List ms_oms_binaries has been removed
  • List redhat_io_images_privileged has been removed
  • List test_connect_ports has been removed
  • List user_known_chmod_applications has been removed
  • List remote_file_copy_binaries has been removed
  • List user_known_k8s_images has been removed
  • List ssl_mgmt_binaries has been removed
  • List monitored_directories has been removed
  • List dhcp_binaries has been removed
  • List csh_config_filenames has been removed
  • List shell_config_directories has been removed
  • List veritas_binaries has been removed
  • List statsd_ports has been removed
  • List allowed_image has been removed
  • List authorized_server_binary has been removed
  • List c2_server_ip_list has been removed
  • List allowed_outbound_destination_networks has been removed
  • List shell_config_filenames has been removed
  • List user_known_change_thread_namespace_binaries has been removed
  • List ingress_remote_file_copy_binaries has been removed
  • List shell_mgmt_binaries has been removed
  • List ntp_ports has been removed
  • List user_known_userfaultfd_processes has been removed
  • List shell_config_files has been removed
  • List miner_ports has been removed
  • Rule Directory traversal monitored file read has less tags than before
  • Rule Read sensitive file trusted after startup has less tags than before
  • Rule Read sensitive file untrusted has less tags than before
  • Rule Remove Bulk Data from Disk has less tags than before
  • Rule Create Symlink Over Sensitive Files has less tags than before
  • Rule Create Hardlink Over Sensitive Files has less tags than before
  • Rule Packet socket created in container has less tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has less tags than before
  • Rule Linux Kernel Module Injection Detected has less tags than before
  • Rule Debugfs Launched in Privileged Container has less tags than before
  • Rule Detect release_agent File Container Escapes has less tags than before
  • Rule PTRACE attached to process has less tags than before
  • Rule Execution from /dev/shm has less tags than before

Patch changes:

  • Rule Directory traversal monitored file read changed its output fields
  • Rule Directory traversal monitored file read has more tags than before
  • Rule Read sensitive file trusted after startup changed its output fields
  • Rule Read sensitive file trusted after startup has more tags than before
  • Rule Read sensitive file untrusted changed its output fields
  • Rule Read sensitive file untrusted has more tags than before
  • Rule Run shell untrusted changed its output fields
  • Rule Run shell untrusted has more tags than before
  • Rule Run shell untrusted has a more urgent priority than before
  • Rule System user interactive changed its output fields
  • Rule System user interactive has more tags than before
  • Rule Terminal shell in container has more tags than before
  • Rule Contact K8S API Server From Container changed its output fields
  • Rule Contact K8S API Server From Container has more tags than before
  • Rule Netcat Remote Code Execution in Container changed its output fields
  • Rule Netcat Remote Code Execution in Container has more tags than before
  • Rule Search Private Keys or Passwords changed its output fields
  • Rule Search Private Keys or Passwords has more tags than before
  • Rule Clear Log Activities changed its output fields
  • Rule Clear Log Activities has more tags than before
  • Rule Remove Bulk Data from Disk changed its output fields
  • Rule Remove Bulk Data from Disk has more tags than before
  • Rule Create Symlink Over Sensitive Files changed its output fields
  • Rule Create Symlink Over Sensitive Files has more tags than before
  • Rule Create Hardlink Over Sensitive Files changed its output fields
  • Rule Create Hardlink Over Sensitive Files has more tags than before
  • Rule Packet socket created in container changed its output fields
  • Rule Packet socket created in container has more tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container changed its output fields
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has more tags than before
  • Rule Linux Kernel Module Injection Detected changed its output fields
  • Rule Linux Kernel Module Injection Detected has more tags than before
  • Rule Debugfs Launched in Privileged Container changed its output fields
  • Rule Debugfs Launched in Privileged Container has more tags than before
  • Rule Detect release_agent File Container Escapes changed its output fields
  • Rule Detect release_agent File Container Escapes has more tags than before
  • Rule PTRACE attached to process changed its output fields
  • Rule PTRACE attached to process has more tags than before
  • Rule PTRACE anti-debug attempt changed its output fields
  • Rule PTRACE anti-debug attempt has more tags than before
  • Rule Find AWS Credentials changed its output fields
  • Rule Find AWS Credentials has more tags than before
  • Rule Execution from /dev/shm changed its output fields
  • Rule Execution from /dev/shm has more tags than before
  • Rule Drop and execute new binary in container changed its output fields
  • Rule Drop and execute new binary in container has more tags than before

@github-actions
Copy link

github-actions bot commented Sep 1, 2023

Rules files suggestions

falco_rules.yaml

Comparing e79989c12e3fb7900c135ec8f87cc6ff40c5f3fd with latest tag falco-rules-1.0.1

Major changes:

  • Rule Unprivileged Delegation of Page Faults Handling to a Userspace Process has been removed
  • Rule Launch Ingress Remote File Copy Tools in Container has been removed
  • Rule Launch Privileged Container has been removed
  • Rule Create files below dev has been removed
  • Rule Sudo Potential Privilege Escalation has been removed
  • Rule Read ssh information has been removed
  • Rule Interpreted procs inbound network activity has been removed
  • Rule Detect outbound connections to common miner pool ports has been removed
  • Rule Outbound or Inbound Traffic not to Authorized Server Process and Port has been removed
  • Rule Outbound Connection to C2 Servers has been removed
  • Rule Java Process Class File Download has been removed
  • Rule Launch Disallowed Container has been removed
  • Rule System procs network activity has been removed
  • Rule User mgmt binaries has been removed
  • Rule Delete or rename shell history has been removed
  • Rule Disallowed SSH Connection has been removed
  • Rule Interpreted procs outbound network activity has been removed
  • Rule The docker client is executed in a container has been removed
  • Rule Mount Launched in Privileged Container has been removed
  • Rule Non sudo setuid has been removed
  • Rule Launch Remote File Copy Tools in Container has been removed
  • Rule Polkit Local Privilege Escalation Vulnerability (CVE-2021-4034) has been removed
  • Rule Update Package Repository has been removed
  • Rule Launch Package Management Process in Container has been removed
  • Rule Write below binary dir has been removed
  • Rule DB program spawned process has been removed
  • Rule Set Setuid or Setgid bit has been removed
  • Rule Container Drift Detected (chmod) has been removed
  • Rule Program run with disallowed http proxy env has been removed
  • Rule Contact cloud metadata service from container has been removed
  • Rule Delete Bash History has been removed
  • Rule Container Drift Detected (open+create) has been removed
  • Rule Unexpected inbound connection source has been removed
  • Rule Schedule Cron Jobs has been removed
  • Rule Write below etc has been removed
  • Rule Launch Sensitive Mount Container has been removed
  • Rule Modify Container Entrypoint has been removed
  • Rule Write below root has been removed
  • Rule Write below rpm database has been removed
  • Rule Unexpected K8s NodePort Connection has been removed
  • Rule Detect crypto miners using the Stratum protocol has been removed
  • Rule Change thread namespace has been removed
  • Rule Create Hidden Files or Directories has been removed
  • Rule Read Shell Configuration File has been removed
  • Rule Modify binary dirs has been removed
  • Rule Unexpected UDP Traffic has been removed
  • Rule Contact EC2 Instance Metadata Service From Container has been removed
  • Rule Launch Suspicious Network Tool in Container has been removed
  • Rule Launch Suspicious Network Tool on Host has been removed
  • Rule Network Connection outside Local Subnet has been removed
  • Rule Unexpected outbound connection destination has been removed
  • Rule Mkdir binary dirs has been removed
  • Rule Launch Excessively Capable Container has been removed
  • Rule Container Run as Root User has been removed
  • Rule Read environment variable from /proc files has been removed
  • Rule Modify Shell Configuration File has been removed
  • Rule Write below monitored dir has been removed
  • Macro remove has been removed
  • Macro cloud_init_writing_ssh has been removed
  • Macro amazon_linux_running_python_yum has been removed
  • Macro veritas_writing_config has been removed
  • Macro parent_ucf_writing_conf has been removed
  • Macro chef_client_writing_conf has been removed
  • Macro excessively_capable_container has been removed
  • Macro user_known_container_drift_activities has been removed
  • Macro user_known_ingress_remote_file_copy_activities has been removed
  • Macro bin_dir_rename has been removed
  • Macro pkgmgmt_progs_writing_pki has been removed
  • Macro prometheus_conf_writing_conf has been removed
  • Macro user_known_modify_bin_dir_activities has been removed
  • Macro mount_info has been removed
  • Macro couchdb_writing_conf has been removed
  • Macro plesk_install_writing_apache_conf has been removed
  • Macro user_privileged_containers has been removed
  • Macro known_user_in_container has been removed
  • Macro azure_scripts_writing_conf has been removed
  • Macro mysql_writing_conf has been removed
  • Macro multipath_writing_conf has been removed
  • Macro user_known_write_below_etc_activities has been removed
  • Macro python_running_chef has been removed
  • Macro ms_scx_writing_conf has been removed
  • Macro sosreport_writing_files has been removed
  • Macro ipsec_writing_conf has been removed
  • Macro runc_writing_var_lib_docker has been removed
  • Macro inbound_outbound has been removed
  • Macro chef_writing_conf has been removed
  • Macro duply_writing_exclude_files has been removed
  • Macro user_sensitive_mount_containers has been removed
  • Macro minerpool_other has been removed
  • Macro user_known_write_monitored_dir_conditions has been removed
  • Macro calico_writing_conf has been removed
  • Macro root_dir has been removed
  • Macro user_known_update_package_registry has been removed
  • Macro openvpn_writing_conf has been removed
  • Macro etcd_manager_updating_dns has been removed
  • Macro aws_eks_image_sensitive_mount has been removed
  • Macro update_texmf_writing_conf has been removed
  • Macro ms_oms_writing_conf has been removed
  • Macro dse_writing_tmp has been removed
  • Macro zap_writing_state has been removed
  • Macro openshift_image has been removed
  • Macro aws_eks_core_images has been removed
  • Macro runc_writing_exec_fifo has been removed
  • Macro user_known_cron_jobs has been removed
  • Macro pki_realm_writing_realms has been removed
  • Macro rancher_network_manager has been removed
  • Macro centrify_writing_krb has been removed
  • Macro nodeport_containers has been removed
  • Macro haproxy_writing_conf has been removed
  • Macro write_etc_common has been removed
  • Macro open_directory has been removed
  • Macro mkdir has been removed
  • Macro inbound has been removed
  • Macro user_known_network_tool_activities has been removed
  • Macro rpm_procs has been removed
  • Macro user_known_shell_config_modifiers has been removed
  • Macro slapadd_writing_conf has been removed
  • Macro ucpagent_writing_conf has been removed
  • Macro galley_writing_state has been removed
  • Macro avinetworks_supervisor_writing_ssh has been removed
  • Macro nrpe_becoming_nagios has been removed
  • Macro user_known_metadata_access has been removed
  • Macro minerpool_http has been removed
  • Macro ingress_remote_file_copy_procs has been removed
  • Macro run_by_ms_oms has been removed
  • Macro run_by_adclient has been removed
  • Macro java_writing_conf has been removed
  • Macro var_lib_docker_filepath has been removed
  • Macro http_proxy_procs has been removed
  • Macro remote_file_copy_procs has been removed
  • Macro modify has been removed
  • Macro rancher_agent has been removed
  • Macro user_known_create_files_below_dev_activities has been removed
  • Macro bin_dir_mkdir has been removed
  • Macro plesk_running_mktemp has been removed
  • Macro consider_network_tools_on_host has been removed
  • Macro trusted_images_query_miner_domain_dns has been removed
  • Macro system_procs has been removed
  • Macro keepalived_writing_conf has been removed
  • Macro known_root_conditions has been removed
  • Macro htpasswd_writing_passwd has been removed
  • Macro nginx_writing_conf has been removed
  • Macro calico_writing_envvars has been removed
  • Macro access_repositories has been removed
  • Macro dpkg_scripting has been removed
  • Macro redhat_image has been removed
  • Macro falco_privileged_containers has been removed
  • Macro login_doing_dns_lookup has been removed
  • Macro add_shell_writing_shells_tmp has been removed
  • Macro network_local_subnet has been removed
  • Macro user_known_mount_in_privileged_containers has been removed
  • Macro selinux_writing_conf has been removed
  • Macro user_known_write_etc_conditions has been removed
  • Macro outbound has been removed
  • Macro user_known_remote_file_copy_activities has been removed
  • Macro net_miner_pool has been removed
  • Macro always_true has been removed
  • Macro cockpit_writing_conf has been removed
  • Macro calico_writing_state has been removed
  • Macro user_known_non_sudo_setuid_conditions has been removed
  • Macro ec2_metadata_containers has been removed
  • Macro azure_networkwatcher_writing_conf has been removed
  • Macro exe_running_docker_save has been removed
  • Macro rpm_writing_root_rpmdb has been removed
  • Macro jboss_in_container_writing_passwd has been removed
  • Macro parent_supervise_running_multilog has been removed
  • Macro sed_temporary_file has been removed
  • Macro rancher_writing_root has been removed
  • Macro user_known_k8s_client_container_parens has been removed
  • Macro bin_dir has been removed
  • Macro gugent_writing_guestagent_log has been removed
  • Macro mkinitramfs_writing_boot has been removed
  • Macro httpd_writing_conf_logs has been removed
  • Macro cron_start_writing_pam_env has been removed
  • Macro allowed_aws_ecr_registry_root_for_eks has been removed
  • Macro user_known_run_as_root_container has been removed
  • Macro httpd_writing_ssl_conf has been removed
  • Macro cassandra_writing_state has been removed
  • Macro modify_repositories has been removed
  • Macro mysqlsh_writing_state has been removed
  • Macro falco_sensitive_mount_containers has been removed
  • Macro somebody_becoming_themselves has been removed
  • Macro chmod has been removed
  • Macro countly_writing_nginx_conf has been removed
  • Macro update_ca_trust_writing_pki has been removed
  • Macro modify_shell_history has been removed
  • Macro java_network_read has been removed
  • Macro checkpoint_writing_state has been removed
  • Macro iscsi_writing_conf has been removed
  • Macro chage_list has been removed
  • Macro brandbot_writing_os_release has been removed
  • Macro datadog_writing_conf has been removed
  • Macro automount_using_mtab has been removed
  • Macro coreos_write_ssh_dir has been removed
  • Macro symantec_writing_conf has been removed
  • Macro kubectl_writing_state has been removed
  • Macro user_known_read_ssh_information_activities has been removed
  • Macro kubelet_running_loopback has been removed
  • Macro monitored_dir has been removed
  • Macro user_known_set_setuid_or_setgid_bit_conditions has been removed
  • Macro rename has been removed
  • Macro java_running_cassandra has been removed
  • Macro user_known_write_root_conditions has been removed
  • Macro known_gke_mount_in_privileged_containers has been removed
  • Macro ssh_port has been removed
  • Macro xmlcatalog_writing_files has been removed
  • Macro rancher_writing_conf has been removed
  • Macro network_tool_procs has been removed
  • Macro container_started has been removed
  • Macro lvprogs_writing_conf has been removed
  • Macro openldap_writing_conf has been removed
  • Macro mcafee_writing_cma_d has been removed
  • Macro allowed_containers has been removed
  • Macro nginx_writing_certs has been removed
  • Macro fluentd_writing_conf_files has been removed
  • Macro rabbitmq_writing_conf has been removed
  • Macro php_handlers_writing_conf has been removed
  • Macro liveupdate_writing_conf has been removed
  • Macro user_known_write_below_binary_dir_activities has been removed
  • Macro google_accounts_daemon_writing_ssh has been removed
  • Macro git_writing_nssdb has been removed
  • Macro plesk_writing_keys has been removed
  • Macro curl_writing_pki_db has been removed
  • Macro package_mgmt_procs has been removed
  • Macro run_by_yum has been removed
  • Macro rook_writing_conf has been removed
  • Macro expected_udp_traffic has been removed
  • Macro known_aks_mount_in_privileged_containers has been removed
  • Macro run_by_centrify has been removed
  • Macro consul_template_writing_conf has been removed
  • Macro docker_procs has been removed
  • Macro istio_writing_conf has been removed
  • Macro user_known_mkdir_bin_dir_activities has been removed
  • Macro user_known_create_hidden_file_activities has been removed
  • Macro minerpool_https has been removed
  • Macro interpreted_procs has been removed
  • Macro openshift_writing_conf has been removed
  • Macro python_running_denyhosts has been removed
  • Macro truncate_shell_history has been removed
  • Macro user_known_change_thread_namespace_activities has been removed
  • Macro sensitive_mount has been removed
  • Macro user_known_user_management_activities has been removed
  • Macro userhelper_writing_etc_security has been removed
  • Macro java_running_sdjagent has been removed
  • Macro veritas_progs has been removed
  • Macro networkmanager_writing_resolv_conf has been removed
  • Macro ufw_writing_conf has been removed
  • Macro calico_node has been removed
  • Macro user_known_write_below_root_activities has been removed
  • Macro allowed_openshift_registry_root has been removed
  • Macro python_running_get_pip has been removed
  • Macro user_trusted_containers has been removed
  • Macro pkg_mgmt_in_kube_proxy has been removed
  • Macro allowed_ssh_hosts has been removed
  • Macro sssd_writing_krb has been removed
  • Macro python_running_ms_oms has been removed
  • Macro redis_writing_conf has been removed
  • Macro ovsdb_writing_openvswitch has been removed
  • Macro qualys_writing_conf_files has been removed
  • Macro user_known_db_spawned_processes has been removed
  • Macro user_expected_system_procs_network_activity_conditions has been removed
  • Macro curl_download has been removed
  • Macro supervise_writing_status has been removed
  • Macro airflow_writing_state has been removed
  • Macro package_mgmt_ancestor_procs has been removed
  • Macro run_by_sumologic_securefiles has been removed
  • Macro weaveworks_scope has been removed
  • Macro user_known_package_manager_in_container has been removed
  • Macro user_known_k8s_client_container has been removed
  • Macro maven_writing_groovy has been removed
  • Macro sed_writing_temp_file has been removed
  • Macro user_known_write_rpm_database_activities has been removed
  • Macro allowed_ssh_proxy_env has been removed
  • List repository_directories has been removed
  • List csh_config_files has been removed
  • List sysdigcloud_binaries has been removed
  • List allowed_outbound_destination_domains has been removed
  • List k8s_client_binaries has been removed
  • List known_system_procs_network_activity_binaries has been removed
  • List known_root_directories has been removed
  • List coreutils_binaries has been removed
  • List interpreted_binaries has been removed
  • List expected_udp_ports has been removed
  • List dhcp_binaries has been removed
  • List bash_config_files has been removed
  • List shell_config_directories has been removed
  • List user_known_chmod_applications has been removed
  • List falco_sensitive_mount_images has been removed
  • List shell_mgmt_binaries has been removed
  • List shell_config_filenames has been removed
  • List safe_etc_dirs has been removed
  • List https_miner_domains has been removed
  • List test_connect_ports has been removed
  • List k8s_binaries has been removed
  • List known_istio_files has been removed
  • List allowed_image has been removed
  • List authorized_server_binary has been removed
  • List remote_file_copy_binaries has been removed
  • List ssh_binaries has been removed
  • List openscap_rpm_binaries has been removed
  • List ntp_ports has been removed
  • List c2_server_ip_list has been removed
  • List network_plugin_binaries has been removed
  • List l2tp_udp_ports has been removed
  • List user_known_userfaultfd_processes has been removed
  • List allowed_inbound_source_domains has been removed
  • List bash_config_filenames has been removed
  • List zsh_config_filenames has been removed
  • List csh_config_filenames has been removed
  • List redhat_io_images_privileged has been removed
  • List ssl_mgmt_binaries has been removed
  • List allowed_inbound_source_networks has been removed
  • List statsd_ports has been removed
  • List c2_server_fqdn_list has been removed
  • List run_as_root_image_list has been removed
  • List dev_creation_binaries has been removed
  • List allowed_outbound_destination_networks has been removed
  • List plesk_binaries has been removed
  • List allowed_outbound_destination_ipaddrs has been removed
  • List monitored_directories has been removed
  • List allowed_dev_files has been removed
  • List shell_config_files has been removed
  • List namespace_scope_network_only_subnet has been removed
  • List authorized_server_port has been removed
  • List openvpn_udp_ports has been removed
  • List user_known_k8s_images has been removed
  • List repository_files has been removed
  • List network_tool_binaries has been removed
  • List http_miner_domains has been removed
  • List user_known_change_thread_namespace_binaries has been removed
  • List http_proxy_binaries has been removed
  • List miner_ports has been removed
  • List known_setuid_binaries has been removed
  • List allowed_inbound_source_ipaddrs has been removed
  • List rfc_1918_addresses has been removed
  • List veritas_binaries has been removed
  • List known_root_files has been removed
  • List exclude_hidden_directories has been removed
  • List user_known_k8s_ns_kube_system_images has been removed
  • List known_binaries_to_read_environment_variables_from_proc_files has been removed
  • List lxd_binaries has been removed
  • List ms_oms_binaries has been removed
  • List miner_domains has been removed
  • List ingress_remote_file_copy_binaries has been removed
  • Rule Directory traversal monitored file read has less tags than before
  • Rule Read sensitive file trusted after startup has less tags than before
  • Rule Read sensitive file untrusted has less tags than before
  • Rule Remove Bulk Data from Disk has less tags than before
  • Rule Create Symlink Over Sensitive Files has less tags than before
  • Rule Create Hardlink Over Sensitive Files has less tags than before
  • Rule Packet socket created in container has less tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has less tags than before
  • Rule Linux Kernel Module Injection Detected has less tags than before
  • Rule Debugfs Launched in Privileged Container has less tags than before
  • Rule Detect release_agent File Container Escapes has less tags than before
  • Rule PTRACE attached to process has less tags than before
  • Rule Execution from /dev/shm has less tags than before

Patch changes:

  • Rule Directory traversal monitored file read changed its output fields
  • Rule Directory traversal monitored file read has more tags than before
  • Rule Read sensitive file trusted after startup changed its output fields
  • Rule Read sensitive file trusted after startup has more tags than before
  • Rule Read sensitive file untrusted changed its output fields
  • Rule Read sensitive file untrusted has more tags than before
  • Rule Run shell untrusted changed its output fields
  • Rule Run shell untrusted has more tags than before
  • Rule Run shell untrusted has a more urgent priority than before
  • Rule System user interactive changed its output fields
  • Rule System user interactive has more tags than before
  • Rule Terminal shell in container has more tags than before
  • Rule Contact K8S API Server From Container changed its output fields
  • Rule Contact K8S API Server From Container has more tags than before
  • Rule Netcat Remote Code Execution in Container changed its output fields
  • Rule Netcat Remote Code Execution in Container has more tags than before
  • Rule Search Private Keys or Passwords changed its output fields
  • Rule Search Private Keys or Passwords has more tags than before
  • Rule Clear Log Activities changed its output fields
  • Rule Clear Log Activities has more tags than before
  • Rule Remove Bulk Data from Disk changed its output fields
  • Rule Remove Bulk Data from Disk has more tags than before
  • Rule Create Symlink Over Sensitive Files changed its output fields
  • Rule Create Symlink Over Sensitive Files has more tags than before
  • Rule Create Hardlink Over Sensitive Files changed its output fields
  • Rule Create Hardlink Over Sensitive Files has more tags than before
  • Rule Packet socket created in container changed its output fields
  • Rule Packet socket created in container has more tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container changed its output fields
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has more tags than before
  • Rule Linux Kernel Module Injection Detected changed its output fields
  • Rule Linux Kernel Module Injection Detected has more tags than before
  • Rule Debugfs Launched in Privileged Container changed its output fields
  • Rule Debugfs Launched in Privileged Container has more tags than before
  • Rule Detect release_agent File Container Escapes changed its output fields
  • Rule Detect release_agent File Container Escapes has more tags than before
  • Rule PTRACE attached to process changed its output fields
  • Rule PTRACE attached to process has more tags than before
  • Rule PTRACE anti-debug attempt changed its output fields
  • Rule PTRACE anti-debug attempt has more tags than before
  • Rule Find AWS Credentials changed its output fields
  • Rule Find AWS Credentials has more tags than before
  • Rule Execution from /dev/shm changed its output fields
  • Rule Execution from /dev/shm has more tags than before
  • Rule Drop and execute new binary in container changed its output fields
  • Rule Drop and execute new binary in container has more tags than before

@leogr leogr changed the title wip: update: split falco_rules.yaml according to the rules matority wip: update: split falco_rules.yaml according to the rules maturity Sep 1, 2023
@github-actions
Copy link

github-actions bot commented Sep 1, 2023

Rules files suggestions

falco_rules.yaml

Comparing f8226e3481778321b835a47b30f11ef1132c44fc with latest tag falco-rules-1.0.1

Major changes:

  • Rule Launch Remote File Copy Tools in Container has been removed
  • Rule Container Drift Detected (open+create) has been removed
  • Rule Write below monitored dir has been removed
  • Rule Read ssh information has been removed
  • Rule Launch Sensitive Mount Container has been removed
  • Rule Create files below dev has been removed
  • Rule Unexpected outbound connection destination has been removed
  • Rule Read Shell Configuration File has been removed
  • Rule Interpreted procs inbound network activity has been removed
  • Rule Write below root has been removed
  • Rule System procs network activity has been removed
  • Rule Launch Package Management Process in Container has been removed
  • Rule The docker client is executed in a container has been removed
  • Rule Polkit Local Privilege Escalation Vulnerability (CVE-2021-4034) has been removed
  • Rule Launch Privileged Container has been removed
  • Rule Launch Suspicious Network Tool in Container has been removed
  • Rule Outbound Connection to C2 Servers has been removed
  • Rule Sudo Potential Privilege Escalation has been removed
  • Rule Modify binary dirs has been removed
  • Rule User mgmt binaries has been removed
  • Rule Launch Suspicious Network Tool on Host has been removed
  • Rule Write below etc has been removed
  • Rule DB program spawned process has been removed
  • Rule Write below binary dir has been removed
  • Rule Program run with disallowed http proxy env has been removed
  • Rule Delete Bash History has been removed
  • Rule Network Connection outside Local Subnet has been removed
  • Rule Disallowed SSH Connection has been removed
  • Rule Write below rpm database has been removed
  • Rule Launch Disallowed Container has been removed
  • Rule Unexpected K8s NodePort Connection has been removed
  • Rule Modify Shell Configuration File has been removed
  • Rule Unexpected UDP Traffic has been removed
  • Rule Outbound or Inbound Traffic not to Authorized Server Process and Port has been removed
  • Rule Launch Ingress Remote File Copy Tools in Container has been removed
  • Rule Detect crypto miners using the Stratum protocol has been removed
  • Rule Container Drift Detected (chmod) has been removed
  • Rule Unexpected inbound connection source has been removed
  • Rule Launch Excessively Capable Container has been removed
  • Rule Non sudo setuid has been removed
  • Rule Delete or rename shell history has been removed
  • Rule Mkdir binary dirs has been removed
  • Rule Contact EC2 Instance Metadata Service From Container has been removed
  • Rule Container Run as Root User has been removed
  • Rule Update Package Repository has been removed
  • Rule Set Setuid or Setgid bit has been removed
  • Rule Unprivileged Delegation of Page Faults Handling to a Userspace Process has been removed
  • Rule Java Process Class File Download has been removed
  • Rule Schedule Cron Jobs has been removed
  • Rule Interpreted procs outbound network activity has been removed
  • Rule Contact cloud metadata service from container has been removed
  • Rule Create Hidden Files or Directories has been removed
  • Rule Detect outbound connections to common miner pool ports has been removed
  • Rule Mount Launched in Privileged Container has been removed
  • Rule Read environment variable from /proc files has been removed
  • Rule Change thread namespace has been removed
  • Rule Modify Container Entrypoint has been removed
  • Macro update_ca_trust_writing_pki has been removed
  • Macro minerpool_http has been removed
  • Macro network_local_subnet has been removed
  • Macro java_running_cassandra has been removed
  • Macro openvpn_writing_conf has been removed
  • Macro openshift_image has been removed
  • Macro falco_privileged_containers has been removed
  • Macro curl_download has been removed
  • Macro rabbitmq_writing_conf has been removed
  • Macro mysql_writing_conf has been removed
  • Macro sosreport_writing_files has been removed
  • Macro user_known_non_sudo_setuid_conditions has been removed
  • Macro ec2_metadata_containers has been removed
  • Macro truncate_shell_history has been removed
  • Macro ms_scx_writing_conf has been removed
  • Macro azure_scripts_writing_conf has been removed
  • Macro user_known_remote_file_copy_activities has been removed
  • Macro multipath_writing_conf has been removed
  • Macro inbound has been removed
  • Macro ms_oms_writing_conf has been removed
  • Macro rancher_network_manager has been removed
  • Macro duply_writing_exclude_files has been removed
  • Macro interpreted_procs has been removed
  • Macro openldap_writing_conf has been removed
  • Macro redis_writing_conf has been removed
  • Macro user_known_write_below_root_activities has been removed
  • Macro nodeport_containers has been removed
  • Macro user_known_create_hidden_file_activities has been removed
  • Macro user_known_container_drift_activities has been removed
  • Macro chmod has been removed
  • Macro azure_networkwatcher_writing_conf has been removed
  • Macro rancher_agent has been removed
  • Macro java_network_read has been removed
  • Macro haproxy_writing_conf has been removed
  • Macro user_known_write_below_etc_activities has been removed
  • Macro user_expected_system_procs_network_activity_conditions has been removed
  • Macro coreos_write_ssh_dir has been removed
  • Macro cockpit_writing_conf has been removed
  • Macro user_known_metadata_access has been removed
  • Macro aws_eks_core_images has been removed
  • Macro nrpe_becoming_nagios has been removed
  • Macro supervise_writing_status has been removed
  • Macro exe_running_docker_save has been removed
  • Macro user_known_write_monitored_dir_conditions has been removed
  • Macro http_proxy_procs has been removed
  • Macro dse_writing_tmp has been removed
  • Macro sed_writing_temp_file has been removed
  • Macro user_known_cron_jobs has been removed
  • Macro always_true has been removed
  • Macro userhelper_writing_etc_security has been removed
  • Macro user_sensitive_mount_containers has been removed
  • Macro sssd_writing_krb has been removed
  • Macro qualys_writing_conf_files has been removed
  • Macro user_known_package_manager_in_container has been removed
  • Macro user_known_network_tool_activities has been removed
  • Macro outbound has been removed
  • Macro couchdb_writing_conf has been removed
  • Macro ipsec_writing_conf has been removed
  • Macro openshift_writing_conf has been removed
  • Macro write_etc_common has been removed
  • Macro python_running_denyhosts has been removed
  • Macro runc_writing_exec_fifo has been removed
  • Macro weaveworks_scope has been removed
  • Macro etcd_manager_updating_dns has been removed
  • Macro user_known_user_management_activities has been removed
  • Macro rancher_writing_root has been removed
  • Macro var_lib_docker_filepath has been removed
  • Macro chef_client_writing_conf has been removed
  • Macro maven_writing_groovy has been removed
  • Macro modify_repositories has been removed
  • Macro ovsdb_writing_openvswitch has been removed
  • Macro gugent_writing_guestagent_log has been removed
  • Macro httpd_writing_conf_logs has been removed
  • Macro pkg_mgmt_in_kube_proxy has been removed
  • Macro user_known_run_as_root_container has been removed
  • Macro user_known_ingress_remote_file_copy_activities has been removed
  • Macro zap_writing_state has been removed
  • Macro rook_writing_conf has been removed
  • Macro mysqlsh_writing_state has been removed
  • Macro container_started has been removed
  • Macro cloud_init_writing_ssh has been removed
  • Macro jboss_in_container_writing_passwd has been removed
  • Macro expected_udp_traffic has been removed
  • Macro user_known_write_etc_conditions has been removed
  • Macro httpd_writing_ssl_conf has been removed
  • Macro git_writing_nssdb has been removed
  • Macro add_shell_writing_shells_tmp has been removed
  • Macro htpasswd_writing_passwd has been removed
  • Macro datadog_writing_conf has been removed
  • Macro aws_eks_image_sensitive_mount has been removed
  • Macro user_known_k8s_client_container_parens has been removed
  • Macro open_directory has been removed
  • Macro run_by_centrify has been removed
  • Macro user_known_db_spawned_processes has been removed
  • Macro modify has been removed
  • Macro ssh_port has been removed
  • Macro parent_supervise_running_multilog has been removed
  • Macro plesk_install_writing_apache_conf has been removed
  • Macro login_doing_dns_lookup has been removed
  • Macro user_known_create_files_below_dev_activities has been removed
  • Macro rpm_procs has been removed
  • Macro system_procs has been removed
  • Macro python_running_ms_oms has been removed
  • Macro user_known_mount_in_privileged_containers has been removed
  • Macro calico_writing_state has been removed
  • Macro java_writing_conf has been removed
  • Macro bin_dir_rename has been removed
  • Macro nginx_writing_certs has been removed
  • Macro mcafee_writing_cma_d has been removed
  • Macro calico_writing_envvars has been removed
  • Macro user_known_mkdir_bin_dir_activities has been removed
  • Macro veritas_writing_config has been removed
  • Macro kubectl_writing_state has been removed
  • Macro modify_shell_history has been removed
  • Macro selinux_writing_conf has been removed
  • Macro calico_writing_conf has been removed
  • Macro known_root_conditions has been removed
  • Macro amazon_linux_running_python_yum has been removed
  • Macro user_known_modify_bin_dir_activities has been removed
  • Macro network_tool_procs has been removed
  • Macro consider_network_tools_on_host has been removed
  • Macro run_by_adclient has been removed
  • Macro google_accounts_daemon_writing_ssh has been removed
  • Macro slapadd_writing_conf has been removed
  • Macro chef_writing_conf has been removed
  • Macro root_dir has been removed
  • Macro inbound_outbound has been removed
  • Macro allowed_ssh_hosts has been removed
  • Macro bin_dir_mkdir has been removed
  • Macro plesk_writing_keys has been removed
  • Macro chage_list has been removed
  • Macro airflow_writing_state has been removed
  • Macro sensitive_mount has been removed
  • Macro run_by_sumologic_securefiles has been removed
  • Macro run_by_yum has been removed
  • Macro allowed_containers has been removed
  • Macro user_known_k8s_client_container has been removed
  • Macro ucpagent_writing_conf has been removed
  • Macro user_known_read_ssh_information_activities has been removed
  • Macro user_known_write_root_conditions has been removed
  • Macro automount_using_mtab has been removed
  • Macro centrify_writing_krb has been removed
  • Macro mkinitramfs_writing_boot has been removed
  • Macro curl_writing_pki_db has been removed
  • Macro trusted_images_query_miner_domain_dns has been removed
  • Macro ingress_remote_file_copy_procs has been removed
  • Macro user_known_change_thread_namespace_activities has been removed
  • Macro remote_file_copy_procs has been removed
  • Macro dpkg_scripting has been removed
  • Macro runc_writing_var_lib_docker has been removed
  • Macro sed_temporary_file has been removed
  • Macro networkmanager_writing_resolv_conf has been removed
  • Macro cron_start_writing_pam_env has been removed
  • Macro remove has been removed
  • Macro checkpoint_writing_state has been removed
  • Macro redhat_image has been removed
  • Macro pkgmgmt_progs_writing_pki has been removed
  • Macro nginx_writing_conf has been removed
  • Macro monitored_dir has been removed
  • Macro kubelet_running_loopback has been removed
  • Macro iscsi_writing_conf has been removed
  • Macro docker_procs has been removed
  • Macro user_known_update_package_registry has been removed
  • Macro countly_writing_nginx_conf has been removed
  • Macro brandbot_writing_os_release has been removed
  • Macro veritas_progs has been removed
  • Macro excessively_capable_container has been removed
  • Macro minerpool_https has been removed
  • Macro net_miner_pool has been removed
  • Macro known_aks_mount_in_privileged_containers has been removed
  • Macro mkdir has been removed
  • Macro access_repositories has been removed
  • Macro xmlcatalog_writing_files has been removed
  • Macro calico_node has been removed
  • Macro consul_template_writing_conf has been removed
  • Macro falco_sensitive_mount_containers has been removed
  • Macro user_known_shell_config_modifiers has been removed
  • Macro allowed_openshift_registry_root has been removed
  • Macro user_trusted_containers has been removed
  • Macro user_known_write_rpm_database_activities has been removed
  • Macro package_mgmt_procs has been removed
  • Macro run_by_ms_oms has been removed
  • Macro keepalived_writing_conf has been removed
  • Macro known_user_in_container has been removed
  • Macro istio_writing_conf has been removed
  • Macro prometheus_conf_writing_conf has been removed
  • Macro rpm_writing_root_rpmdb has been removed
  • Macro rancher_writing_conf has been removed
  • Macro mount_info has been removed
  • Macro galley_writing_state has been removed
  • Macro pki_realm_writing_realms has been removed
  • Macro cassandra_writing_state has been removed
  • Macro bin_dir has been removed
  • Macro allowed_aws_ecr_registry_root_for_eks has been removed
  • Macro user_privileged_containers has been removed
  • Macro known_gke_mount_in_privileged_containers has been removed
  • Macro python_running_chef has been removed
  • Macro liveupdate_writing_conf has been removed
  • Macro avinetworks_supervisor_writing_ssh has been removed
  • Macro allowed_ssh_proxy_env has been removed
  • Macro user_known_set_setuid_or_setgid_bit_conditions has been removed
  • Macro lvprogs_writing_conf has been removed
  • Macro python_running_get_pip has been removed
  • Macro rename has been removed
  • Macro minerpool_other has been removed
  • Macro java_running_sdjagent has been removed
  • Macro symantec_writing_conf has been removed
  • Macro ufw_writing_conf has been removed
  • Macro fluentd_writing_conf_files has been removed
  • Macro plesk_running_mktemp has been removed
  • Macro php_handlers_writing_conf has been removed
  • Macro package_mgmt_ancestor_procs has been removed
  • Macro parent_ucf_writing_conf has been removed
  • Macro update_texmf_writing_conf has been removed
  • Macro user_known_write_below_binary_dir_activities has been removed
  • Macro somebody_becoming_themselves has been removed
  • List k8s_binaries has been removed
  • List c2_server_ip_list has been removed
  • List ingress_remote_file_copy_binaries has been removed
  • List ms_oms_binaries has been removed
  • List known_root_directories has been removed
  • List openscap_rpm_binaries has been removed
  • List sysdigcloud_binaries has been removed
  • List k8s_client_binaries has been removed
  • List allowed_dev_files has been removed
  • List dhcp_binaries has been removed
  • List plesk_binaries has been removed
  • List safe_etc_dirs has been removed
  • List redhat_io_images_privileged has been removed
  • List allowed_image has been removed
  • List ssh_binaries has been removed
  • List shell_mgmt_binaries has been removed
  • List network_plugin_binaries has been removed
  • List allowed_inbound_source_ipaddrs has been removed
  • List test_connect_ports has been removed
  • List rfc_1918_addresses has been removed
  • List allowed_outbound_destination_ipaddrs has been removed
  • List zsh_config_filenames has been removed
  • List known_binaries_to_read_environment_variables_from_proc_files has been removed
  • List bash_config_files has been removed
  • List csh_config_filenames has been removed
  • List allowed_outbound_destination_networks has been removed
  • List csh_config_files has been removed
  • List veritas_binaries has been removed
  • List run_as_root_image_list has been removed
  • List bash_config_filenames has been removed
  • List https_miner_domains has been removed
  • List user_known_k8s_images has been removed
  • List network_tool_binaries has been removed
  • List namespace_scope_network_only_subnet has been removed
  • List allowed_inbound_source_domains has been removed
  • List http_proxy_binaries has been removed
  • List known_root_files has been removed
  • List openvpn_udp_ports has been removed
  • List user_known_userfaultfd_processes has been removed
  • List shell_config_files has been removed
  • List monitored_directories has been removed
  • List l2tp_udp_ports has been removed
  • List c2_server_fqdn_list has been removed
  • List known_setuid_binaries has been removed
  • List dev_creation_binaries has been removed
  • List shell_config_directories has been removed
  • List authorized_server_port has been removed
  • List ssl_mgmt_binaries has been removed
  • List allowed_inbound_source_networks has been removed
  • List falco_sensitive_mount_images has been removed
  • List http_miner_domains has been removed
  • List user_known_change_thread_namespace_binaries has been removed
  • List remote_file_copy_binaries has been removed
  • List miner_domains has been removed
  • List statsd_ports has been removed
  • List known_istio_files has been removed
  • List repository_files has been removed
  • List user_known_k8s_ns_kube_system_images has been removed
  • List shell_config_filenames has been removed
  • List lxd_binaries has been removed
  • List user_known_chmod_applications has been removed
  • List authorized_server_binary has been removed
  • List coreutils_binaries has been removed
  • List interpreted_binaries has been removed
  • List expected_udp_ports has been removed
  • List exclude_hidden_directories has been removed
  • List allowed_outbound_destination_domains has been removed
  • List repository_directories has been removed
  • List ntp_ports has been removed
  • List miner_ports has been removed
  • List known_system_procs_network_activity_binaries has been removed
  • Rule Directory traversal monitored file read has less tags than before
  • Rule Read sensitive file trusted after startup has less tags than before
  • Rule Read sensitive file untrusted has less tags than before
  • Rule Remove Bulk Data from Disk has less tags than before
  • Rule Create Symlink Over Sensitive Files has less tags than before
  • Rule Create Hardlink Over Sensitive Files has less tags than before
  • Rule Packet socket created in container has less tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has less tags than before
  • Rule Linux Kernel Module Injection Detected has less tags than before
  • Rule Debugfs Launched in Privileged Container has less tags than before
  • Rule Detect release_agent File Container Escapes has less tags than before
  • Rule PTRACE attached to process has less tags than before
  • Rule Execution from /dev/shm has less tags than before

Patch changes:

  • Rule Directory traversal monitored file read changed its output fields
  • Rule Directory traversal monitored file read has more tags than before
  • Rule Read sensitive file trusted after startup changed its output fields
  • Rule Read sensitive file trusted after startup has more tags than before
  • Rule Read sensitive file untrusted changed its output fields
  • Rule Read sensitive file untrusted has more tags than before
  • Rule Run shell untrusted changed its output fields
  • Rule Run shell untrusted has more tags than before
  • Rule Run shell untrusted has a more urgent priority than before
  • Rule System user interactive changed its output fields
  • Rule System user interactive has more tags than before
  • Rule Terminal shell in container has more tags than before
  • Rule Contact K8S API Server From Container changed its output fields
  • Rule Contact K8S API Server From Container has more tags than before
  • Rule Netcat Remote Code Execution in Container changed its output fields
  • Rule Netcat Remote Code Execution in Container has more tags than before
  • Rule Search Private Keys or Passwords changed its output fields
  • Rule Search Private Keys or Passwords has more tags than before
  • Rule Clear Log Activities changed its output fields
  • Rule Clear Log Activities has more tags than before
  • Rule Remove Bulk Data from Disk changed its output fields
  • Rule Remove Bulk Data from Disk has more tags than before
  • Rule Create Symlink Over Sensitive Files changed its output fields
  • Rule Create Symlink Over Sensitive Files has more tags than before
  • Rule Create Hardlink Over Sensitive Files changed its output fields
  • Rule Create Hardlink Over Sensitive Files has more tags than before
  • Rule Packet socket created in container changed its output fields
  • Rule Packet socket created in container has more tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container changed its output fields
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has more tags than before
  • Rule Linux Kernel Module Injection Detected changed its output fields
  • Rule Linux Kernel Module Injection Detected has more tags than before
  • Rule Debugfs Launched in Privileged Container changed its output fields
  • Rule Debugfs Launched in Privileged Container has more tags than before
  • Rule Detect release_agent File Container Escapes changed its output fields
  • Rule Detect release_agent File Container Escapes has more tags than before
  • Rule PTRACE attached to process changed its output fields
  • Rule PTRACE attached to process has more tags than before
  • Rule PTRACE anti-debug attempt changed its output fields
  • Rule PTRACE anti-debug attempt has more tags than before
  • Rule Find AWS Credentials changed its output fields
  • Rule Find AWS Credentials has more tags than before
  • Rule Execution from /dev/shm changed its output fields
  • Rule Execution from /dev/shm has more tags than before
  • Rule Drop and execute new binary in container changed its output fields
  • Rule Drop and execute new binary in container has more tags than before

@github-actions
Copy link

github-actions bot commented Sep 1, 2023

Rules files suggestions

falco_rules.yaml

Comparing d90939c2a0f143357c83988b765ecf3a1c774282 with latest tag falco-rules-1.0.1

Major changes:

  • Rule Interpreted procs inbound network activity has been removed
  • Rule User mgmt binaries has been removed
  • Rule Create files below dev has been removed
  • Rule Modify Shell Configuration File has been removed
  • Rule Update Package Repository has been removed
  • Rule Launch Privileged Container has been removed
  • Rule Unexpected K8s NodePort Connection has been removed
  • Rule Launch Suspicious Network Tool on Host has been removed
  • Rule Outbound or Inbound Traffic not to Authorized Server Process and Port has been removed
  • Rule Read ssh information has been removed
  • Rule Modify binary dirs has been removed
  • Rule Change thread namespace has been removed
  • Rule Delete Bash History has been removed
  • Rule Modify Container Entrypoint has been removed
  • Rule Write below etc has been removed
  • Rule Launch Disallowed Container has been removed
  • Rule Container Drift Detected (chmod) has been removed
  • Rule Unexpected inbound connection source has been removed
  • Rule Polkit Local Privilege Escalation Vulnerability (CVE-2021-4034) has been removed
  • Rule Sudo Potential Privilege Escalation has been removed
  • Rule Program run with disallowed http proxy env has been removed
  • Rule Container Drift Detected (open+create) has been removed
  • Rule Network Connection outside Local Subnet has been removed
  • Rule Outbound Connection to C2 Servers has been removed
  • Rule Container Run as Root User has been removed
  • Rule Unprivileged Delegation of Page Faults Handling to a Userspace Process has been removed
  • Rule Launch Sensitive Mount Container has been removed
  • Rule Unexpected UDP Traffic has been removed
  • Rule Unexpected outbound connection destination has been removed
  • Rule Write below rpm database has been removed
  • Rule Launch Suspicious Network Tool in Container has been removed
  • Rule Detect outbound connections to common miner pool ports has been removed
  • Rule Launch Ingress Remote File Copy Tools in Container has been removed
  • Rule Mkdir binary dirs has been removed
  • Rule Launch Remote File Copy Tools in Container has been removed
  • Rule Write below root has been removed
  • Rule Set Setuid or Setgid bit has been removed
  • Rule DB program spawned process has been removed
  • Rule Contact EC2 Instance Metadata Service From Container has been removed
  • Rule Schedule Cron Jobs has been removed
  • Rule Write below binary dir has been removed
  • Rule The docker client is executed in a container has been removed
  • Rule Mount Launched in Privileged Container has been removed
  • Rule Non sudo setuid has been removed
  • Rule Delete or rename shell history has been removed
  • Rule Interpreted procs outbound network activity has been removed
  • Rule Detect crypto miners using the Stratum protocol has been removed
  • Rule Read environment variable from /proc files has been removed
  • Rule Disallowed SSH Connection has been removed
  • Rule Launch Package Management Process in Container has been removed
  • Rule Launch Excessively Capable Container has been removed
  • Rule System procs network activity has been removed
  • Rule Contact cloud metadata service from container has been removed
  • Rule Create Hidden Files or Directories has been removed
  • Rule Java Process Class File Download has been removed
  • Rule Read Shell Configuration File has been removed
  • Rule Write below monitored dir has been removed
  • Macro htpasswd_writing_passwd has been removed
  • Macro aws_eks_core_images has been removed
  • Macro allowed_ssh_proxy_env has been removed
  • Macro galley_writing_state has been removed
  • Macro login_doing_dns_lookup has been removed
  • Macro net_miner_pool has been removed
  • Macro known_gke_mount_in_privileged_containers has been removed
  • Macro istio_writing_conf has been removed
  • Macro pkgmgmt_progs_writing_pki has been removed
  • Macro truncate_shell_history has been removed
  • Macro bin_dir_mkdir has been removed
  • Macro java_writing_conf has been removed
  • Macro php_handlers_writing_conf has been removed
  • Macro user_expected_system_procs_network_activity_conditions has been removed
  • Macro minerpool_https has been removed
  • Macro run_by_sumologic_securefiles has been removed
  • Macro calico_writing_state has been removed
  • Macro user_known_user_management_activities has been removed
  • Macro network_tool_procs has been removed
  • Macro parent_ucf_writing_conf has been removed
  • Macro rpm_procs has been removed
  • Macro amazon_linux_running_python_yum has been removed
  • Macro user_sensitive_mount_containers has been removed
  • Macro container_started has been removed
  • Macro sed_writing_temp_file has been removed
  • Macro allowed_openshift_registry_root has been removed
  • Macro system_procs has been removed
  • Macro sssd_writing_krb has been removed
  • Macro user_known_write_rpm_database_activities has been removed
  • Macro chage_list has been removed
  • Macro python_running_denyhosts has been removed
  • Macro veritas_writing_config has been removed
  • Macro zap_writing_state has been removed
  • Macro user_known_modify_bin_dir_activities has been removed
  • Macro python_running_get_pip has been removed
  • Macro git_writing_nssdb has been removed
  • Macro curl_writing_pki_db has been removed
  • Macro ovsdb_writing_openvswitch has been removed
  • Macro veritas_progs has been removed
  • Macro run_by_centrify has been removed
  • Macro xmlcatalog_writing_files has been removed
  • Macro excessively_capable_container has been removed
  • Macro curl_download has been removed
  • Macro duply_writing_exclude_files has been removed
  • Macro exe_running_docker_save has been removed
  • Macro consul_template_writing_conf has been removed
  • Macro user_known_mount_in_privileged_containers has been removed
  • Macro user_known_non_sudo_setuid_conditions has been removed
  • Macro checkpoint_writing_state has been removed
  • Macro weaveworks_scope has been removed
  • Macro python_running_ms_oms has been removed
  • Macro rancher_network_manager has been removed
  • Macro selinux_writing_conf has been removed
  • Macro rancher_agent has been removed
  • Macro openshift_writing_conf has been removed
  • Macro user_known_db_spawned_processes has been removed
  • Macro jboss_in_container_writing_passwd has been removed
  • Macro openldap_writing_conf has been removed
  • Macro airflow_writing_state has been removed
  • Macro nrpe_becoming_nagios has been removed
  • Macro var_lib_docker_filepath has been removed
  • Macro chef_writing_conf has been removed
  • Macro haproxy_writing_conf has been removed
  • Macro fluentd_writing_conf_files has been removed
  • Macro package_mgmt_procs has been removed
  • Macro sed_temporary_file has been removed
  • Macro cloud_init_writing_ssh has been removed
  • Macro supervise_writing_status has been removed
  • Macro cron_start_writing_pam_env has been removed
  • Macro user_known_change_thread_namespace_activities has been removed
  • Macro openvpn_writing_conf has been removed
  • Macro modify_shell_history has been removed
  • Macro ucpagent_writing_conf has been removed
  • Macro cockpit_writing_conf has been removed
  • Macro user_known_write_below_root_activities has been removed
  • Macro always_true has been removed
  • Macro update_ca_trust_writing_pki has been removed
  • Macro mysqlsh_writing_state has been removed
  • Macro ec2_metadata_containers has been removed
  • Macro chef_client_writing_conf has been removed
  • Macro maven_writing_groovy has been removed
  • Macro redis_writing_conf has been removed
  • Macro user_known_mkdir_bin_dir_activities has been removed
  • Macro redhat_image has been removed
  • Macro minerpool_other has been removed
  • Macro java_network_read has been removed
  • Macro bin_dir has been removed
  • Macro azure_networkwatcher_writing_conf has been removed
  • Macro couchdb_writing_conf has been removed
  • Macro user_known_run_as_root_container has been removed
  • Macro cassandra_writing_state has been removed
  • Macro allowed_aws_ecr_registry_root_for_eks has been removed
  • Macro user_known_container_drift_activities has been removed
  • Macro coreos_write_ssh_dir has been removed
  • Macro user_known_shell_config_modifiers has been removed
  • Macro dpkg_scripting has been removed
  • Macro etcd_manager_updating_dns has been removed
  • Macro somebody_becoming_themselves has been removed
  • Macro minerpool_http has been removed
  • Macro inbound has been removed
  • Macro allowed_ssh_hosts has been removed
  • Macro nginx_writing_conf has been removed
  • Macro dse_writing_tmp has been removed
  • Macro rpm_writing_root_rpmdb has been removed
  • Macro user_known_write_root_conditions has been removed
  • Macro remove has been removed
  • Macro package_mgmt_ancestor_procs has been removed
  • Macro countly_writing_nginx_conf has been removed
  • Macro expected_udp_traffic has been removed
  • Macro plesk_install_writing_apache_conf has been removed
  • Macro rancher_writing_root has been removed
  • Macro http_proxy_procs has been removed
  • Macro interpreted_procs has been removed
  • Macro inbound_outbound has been removed
  • Macro ms_oms_writing_conf has been removed
  • Macro httpd_writing_conf_logs has been removed
  • Macro mkdir has been removed
  • Macro bin_dir_rename has been removed
  • Macro root_dir has been removed
  • Macro falco_sensitive_mount_containers has been removed
  • Macro allowed_containers has been removed
  • Macro user_known_k8s_client_container_parens has been removed
  • Macro user_known_cron_jobs has been removed
  • Macro ms_scx_writing_conf has been removed
  • Macro rancher_writing_conf has been removed
  • Macro rabbitmq_writing_conf has been removed
  • Macro user_known_package_manager_in_container has been removed
  • Macro liveupdate_writing_conf has been removed
  • Macro multipath_writing_conf has been removed
  • Macro mount_info has been removed
  • Macro user_known_ingress_remote_file_copy_activities has been removed
  • Macro ufw_writing_conf has been removed
  • Macro plesk_writing_keys has been removed
  • Macro prometheus_conf_writing_conf has been removed
  • Macro mcafee_writing_cma_d has been removed
  • Macro known_user_in_container has been removed
  • Macro python_running_chef has been removed
  • Macro lvprogs_writing_conf has been removed
  • Macro qualys_writing_conf_files has been removed
  • Macro mysql_writing_conf has been removed
  • Macro avinetworks_supervisor_writing_ssh has been removed
  • Macro known_root_conditions has been removed
  • Macro iscsi_writing_conf has been removed
  • Macro user_known_write_below_binary_dir_activities has been removed
  • Macro outbound has been removed
  • Macro user_trusted_containers has been removed
  • Macro java_running_cassandra has been removed
  • Macro runc_writing_exec_fifo has been removed
  • Macro falco_privileged_containers has been removed
  • Macro docker_procs has been removed
  • Macro open_directory has been removed
  • Macro sosreport_writing_files has been removed
  • Macro kubectl_writing_state has been removed
  • Macro networkmanager_writing_resolv_conf has been removed
  • Macro keepalived_writing_conf has been removed
  • Macro user_known_write_etc_conditions has been removed
  • Macro chmod has been removed
  • Macro ipsec_writing_conf has been removed
  • Macro google_accounts_daemon_writing_ssh has been removed
  • Macro modify has been removed
  • Macro centrify_writing_krb has been removed
  • Macro user_known_read_ssh_information_activities has been removed
  • Macro kubelet_running_loopback has been removed
  • Macro mkinitramfs_writing_boot has been removed
  • Macro user_known_write_below_etc_activities has been removed
  • Macro user_known_network_tool_activities has been removed
  • Macro ssh_port has been removed
  • Macro user_known_set_setuid_or_setgid_bit_conditions has been removed
  • Macro remote_file_copy_procs has been removed
  • Macro runc_writing_var_lib_docker has been removed
  • Macro nodeport_containers has been removed
  • Macro nginx_writing_certs has been removed
  • Macro calico_writing_envvars has been removed
  • Macro user_known_metadata_access has been removed
  • Macro consider_network_tools_on_host has been removed
  • Macro user_known_remote_file_copy_activities has been removed
  • Macro user_known_update_package_registry has been removed
  • Macro openshift_image has been removed
  • Macro run_by_ms_oms has been removed
  • Macro symantec_writing_conf has been removed
  • Macro pki_realm_writing_realms has been removed
  • Macro brandbot_writing_os_release has been removed
  • Macro gugent_writing_guestagent_log has been removed
  • Macro network_local_subnet has been removed
  • Macro user_known_write_monitored_dir_conditions has been removed
  • Macro user_known_k8s_client_container has been removed
  • Macro sensitive_mount has been removed
  • Macro ingress_remote_file_copy_procs has been removed
  • Macro userhelper_writing_etc_security has been removed
  • Macro slapadd_writing_conf has been removed
  • Macro plesk_running_mktemp has been removed
  • Macro datadog_writing_conf has been removed
  • Macro user_known_create_hidden_file_activities has been removed
  • Macro rename has been removed
  • Macro parent_supervise_running_multilog has been removed
  • Macro modify_repositories has been removed
  • Macro monitored_dir has been removed
  • Macro known_aks_mount_in_privileged_containers has been removed
  • Macro user_privileged_containers has been removed
  • Macro add_shell_writing_shells_tmp has been removed
  • Macro rook_writing_conf has been removed
  • Macro aws_eks_image_sensitive_mount has been removed
  • Macro run_by_adclient has been removed
  • Macro java_running_sdjagent has been removed
  • Macro update_texmf_writing_conf has been removed
  • Macro access_repositories has been removed
  • Macro write_etc_common has been removed
  • Macro run_by_yum has been removed
  • Macro azure_scripts_writing_conf has been removed
  • Macro automount_using_mtab has been removed
  • Macro pkg_mgmt_in_kube_proxy has been removed
  • Macro httpd_writing_ssl_conf has been removed
  • Macro calico_writing_conf has been removed
  • Macro user_known_create_files_below_dev_activities has been removed
  • Macro calico_node has been removed
  • Macro trusted_images_query_miner_domain_dns has been removed
  • List ssl_mgmt_binaries has been removed
  • List coreutils_binaries has been removed
  • List zsh_config_filenames has been removed
  • List redhat_io_images_privileged has been removed
  • List allowed_image has been removed
  • List interpreted_binaries has been removed
  • List plesk_binaries has been removed
  • List allowed_inbound_source_ipaddrs has been removed
  • List known_root_files has been removed
  • List allowed_dev_files has been removed
  • List k8s_client_binaries has been removed
  • List test_connect_ports has been removed
  • List miner_ports has been removed
  • List https_miner_domains has been removed
  • List authorized_server_port has been removed
  • List known_setuid_binaries has been removed
  • List shell_config_files has been removed
  • List repository_directories has been removed
  • List k8s_binaries has been removed
  • List shell_config_directories has been removed
  • List http_miner_domains has been removed
  • List lxd_binaries has been removed
  • List allowed_outbound_destination_ipaddrs has been removed
  • List allowed_inbound_source_domains has been removed
  • List statsd_ports has been removed
  • List network_plugin_binaries has been removed
  • List known_istio_files has been removed
  • List l2tp_udp_ports has been removed
  • List exclude_hidden_directories has been removed
  • List user_known_userfaultfd_processes has been removed
  • List known_binaries_to_read_environment_variables_from_proc_files has been removed
  • List known_root_directories has been removed
  • List user_known_change_thread_namespace_binaries has been removed
  • List expected_udp_ports has been removed
  • List network_tool_binaries has been removed
  • List ssh_binaries has been removed
  • List safe_etc_dirs has been removed
  • List namespace_scope_network_only_subnet has been removed
  • List ms_oms_binaries has been removed
  • List falco_sensitive_mount_images has been removed
  • List remote_file_copy_binaries has been removed
  • List ingress_remote_file_copy_binaries has been removed
  • List shell_config_filenames has been removed
  • List c2_server_fqdn_list has been removed
  • List shell_mgmt_binaries has been removed
  • List allowed_inbound_source_networks has been removed
  • List bash_config_files has been removed
  • List bash_config_filenames has been removed
  • List veritas_binaries has been removed
  • List openvpn_udp_ports has been removed
  • List user_known_chmod_applications has been removed
  • List allowed_outbound_destination_domains has been removed
  • List csh_config_files has been removed
  • List user_known_k8s_images has been removed
  • List dev_creation_binaries has been removed
  • List c2_server_ip_list has been removed
  • List rfc_1918_addresses has been removed
  • List csh_config_filenames has been removed
  • List user_known_k8s_ns_kube_system_images has been removed
  • List sysdigcloud_binaries has been removed
  • List openscap_rpm_binaries has been removed
  • List authorized_server_binary has been removed
  • List dhcp_binaries has been removed
  • List allowed_outbound_destination_networks has been removed
  • List repository_files has been removed
  • List http_proxy_binaries has been removed
  • List monitored_directories has been removed
  • List known_system_procs_network_activity_binaries has been removed
  • List ntp_ports has been removed
  • List miner_domains has been removed
  • List run_as_root_image_list has been removed
  • Rule Directory traversal monitored file read has less tags than before
  • Rule Read sensitive file trusted after startup has less tags than before
  • Rule Read sensitive file untrusted has less tags than before
  • Rule Remove Bulk Data from Disk has less tags than before
  • Rule Create Symlink Over Sensitive Files has less tags than before
  • Rule Create Hardlink Over Sensitive Files has less tags than before
  • Rule Packet socket created in container has less tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has less tags than before
  • Rule Linux Kernel Module Injection Detected has less tags than before
  • Rule Debugfs Launched in Privileged Container has less tags than before
  • Rule Detect release_agent File Container Escapes has less tags than before
  • Rule PTRACE attached to process has less tags than before
  • Rule Execution from /dev/shm has less tags than before

Patch changes:

  • Rule Directory traversal monitored file read changed its output fields
  • Rule Directory traversal monitored file read has more tags than before
  • Rule Read sensitive file trusted after startup changed its output fields
  • Rule Read sensitive file trusted after startup has more tags than before
  • Rule Read sensitive file untrusted changed its output fields
  • Rule Read sensitive file untrusted has more tags than before
  • Rule Run shell untrusted changed its output fields
  • Rule Run shell untrusted has more tags than before
  • Rule Run shell untrusted has a more urgent priority than before
  • Rule System user interactive changed its output fields
  • Rule System user interactive has more tags than before
  • Rule Terminal shell in container has more tags than before
  • Rule Contact K8S API Server From Container changed its output fields
  • Rule Contact K8S API Server From Container has more tags than before
  • Rule Netcat Remote Code Execution in Container changed its output fields
  • Rule Netcat Remote Code Execution in Container has more tags than before
  • Rule Search Private Keys or Passwords changed its output fields
  • Rule Search Private Keys or Passwords has more tags than before
  • Rule Clear Log Activities changed its output fields
  • Rule Clear Log Activities has more tags than before
  • Rule Remove Bulk Data from Disk changed its output fields
  • Rule Remove Bulk Data from Disk has more tags than before
  • Rule Create Symlink Over Sensitive Files changed its output fields
  • Rule Create Symlink Over Sensitive Files has more tags than before
  • Rule Create Hardlink Over Sensitive Files changed its output fields
  • Rule Create Hardlink Over Sensitive Files has more tags than before
  • Rule Packet socket created in container changed its output fields
  • Rule Packet socket created in container has more tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container changed its output fields
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has more tags than before
  • Rule Linux Kernel Module Injection Detected changed its output fields
  • Rule Linux Kernel Module Injection Detected has more tags than before
  • Rule Debugfs Launched in Privileged Container changed its output fields
  • Rule Debugfs Launched in Privileged Container has more tags than before
  • Rule Detect release_agent File Container Escapes changed its output fields
  • Rule Detect release_agent File Container Escapes has more tags than before
  • Rule PTRACE attached to process changed its output fields
  • Rule PTRACE attached to process has more tags than before
  • Rule PTRACE anti-debug attempt changed its output fields
  • Rule PTRACE anti-debug attempt has more tags than before
  • Rule Find AWS Credentials changed its output fields
  • Rule Find AWS Credentials has more tags than before
  • Rule Execution from /dev/shm changed its output fields
  • Rule Execution from /dev/shm has more tags than before
  • Rule Drop and execute new binary in container changed its output fields
  • Rule Drop and execute new binary in container has more tags than before

@incertum
Copy link
Contributor

incertum commented Sep 1, 2023

@leogr 🚀 did a first pass and verified we didn't loose any rule or don't have a duplicated rules.
Pushed an update to the py rules overview generator.

Will do a second pass review later.

Agreed with naming convention, looks good!

@incertum
Copy link
Contributor

incertum commented Sep 3, 2023

@leogr just reviewed again and LGTM! Seems we still need some more CI adjustments.

I think this is a great idea for now to duplicate the macros and lists in the respective rules files to ensure that they are self contained. In the future we can think of better ways to reduce duplication.

You also mentioned that the comments within the rules files are inconsistent -- I do agree, it would be a much appreciated follow up cleanup. In that line, perhaps should we have all macros first then all lists vs now some are at the top and some right before the rule uses the macro (mostly when its a very specific macro)? WDYT? Maybe even have the rules and macros listed in alphabetical order or by "topic"?

@leogr
Copy link
Member Author

leogr commented Sep 4, 2023

@leogr just reviewed again and LGTM! Seems we still need some more CI adjustments.
Thank you! 🙏

re: CI adjustments
The CI failing CI checks ( the 3 Rules / check-version... ) should be skipped in this case, since the previous versions of the rules files are non-existing. Let me see if I can fix it shortly, otherwise, we will do a follow-up PR.

I think this is a great idea for now to duplicate the macros and lists in the respective rules files to ensure that they are self contained. In the future we can think of better ways to reduce duplication.

Before sharing my final thoughts on that, I want to play a bit with the current approach when multiple rules files are loaded simultaneously. I will let you know.

You also mentioned that the comments within the rules files are inconsistent -- I do agree, it would be a much appreciated follow up cleanup. In that line, perhaps should we have all macros first then all lists vs now some are at the top and some right before the rule uses the macro (mostly when its a very specific macro)? WDYT? Maybe even have the rules and macros listed in alphabetical order or by "topic"?

The issues I found with comments are due to practical reasons. In particular:

  • There should be no empty lines between the comments and the referred item
    • This will avoid ambiguities.
    • I guess I mostly fixed that with this PR.
  • There's no standard item's comment structure
    • I would love to define a simple Rule Doc convention (i.e., something similar to Go Doc Comments, but simpler)
  • There's no clear way to distinguish sections from item's comment

However, all of this is for another PR for sure. I'll open an issue to track it.

@leogr leogr mentioned this pull request Sep 4, 2023
@github-actions
Copy link

github-actions bot commented Sep 4, 2023

Rules files suggestions

falco_rules.yaml

Comparing a0c034569ecd024a69768cc12aeba0785982f814 with latest tag falco-rules-1.0.1

Major changes:

  • Rule User mgmt binaries has been removed
  • Rule Create files below dev has been removed
  • Rule Unexpected K8s NodePort Connection has been removed
  • Rule Detect outbound connections to common miner pool ports has been removed
  • Rule Launch Privileged Container has been removed
  • Rule Launch Remote File Copy Tools in Container has been removed
  • Rule The docker client is executed in a container has been removed
  • Rule Polkit Local Privilege Escalation Vulnerability (CVE-2021-4034) has been removed
  • Rule Read ssh information has been removed
  • Rule Modify binary dirs has been removed
  • Rule Disallowed SSH Connection has been removed
  • Rule Write below root has been removed
  • Rule Outbound or Inbound Traffic not to Authorized Server Process and Port has been removed
  • Rule Container Drift Detected (open+create) has been removed
  • Rule Launch Ingress Remote File Copy Tools in Container has been removed
  • Rule Mkdir binary dirs has been removed
  • Rule Interpreted procs inbound network activity has been removed
  • Rule Unexpected UDP Traffic has been removed
  • Rule Detect crypto miners using the Stratum protocol has been removed
  • Rule Unexpected outbound connection destination has been removed
  • Rule Write below binary dir has been removed
  • Rule Container Run as Root User has been removed
  • Rule Schedule Cron Jobs has been removed
  • Rule Launch Suspicious Network Tool on Host has been removed
  • Rule Network Connection outside Local Subnet has been removed
  • Rule Java Process Class File Download has been removed
  • Rule Read Shell Configuration File has been removed
  • Rule Write below rpm database has been removed
  • Rule Launch Excessively Capable Container has been removed
  • Rule Launch Disallowed Container has been removed
  • Rule Container Drift Detected (chmod) has been removed
  • Rule Set Setuid or Setgid bit has been removed
  • Rule Write below monitored dir has been removed
  • Rule Program run with disallowed http proxy env has been removed
  • Rule Unexpected inbound connection source has been removed
  • Rule Update Package Repository has been removed
  • Rule Non sudo setuid has been removed
  • Rule Delete Bash History has been removed
  • Rule Create Hidden Files or Directories has been removed
  • Rule Outbound Connection to C2 Servers has been removed
  • Rule Unprivileged Delegation of Page Faults Handling to a Userspace Process has been removed
  • Rule Modify Shell Configuration File has been removed
  • Rule Write below etc has been removed
  • Rule DB program spawned process has been removed
  • Rule Contact cloud metadata service from container has been removed
  • Rule Sudo Potential Privilege Escalation has been removed
  • Rule Modify Container Entrypoint has been removed
  • Rule Launch Sensitive Mount Container has been removed
  • Rule Contact EC2 Instance Metadata Service From Container has been removed
  • Rule Launch Suspicious Network Tool in Container has been removed
  • Rule Delete or rename shell history has been removed
  • Rule Read environment variable from /proc files has been removed
  • Rule Change thread namespace has been removed
  • Rule System procs network activity has been removed
  • Rule Interpreted procs outbound network activity has been removed
  • Rule Mount Launched in Privileged Container has been removed
  • Rule Launch Package Management Process in Container has been removed
  • Macro ssh_port has been removed
  • Macro slapadd_writing_conf has been removed
  • Macro chef_client_writing_conf has been removed
  • Macro user_trusted_containers has been removed
  • Macro user_sensitive_mount_containers has been removed
  • Macro always_true has been removed
  • Macro lvprogs_writing_conf has been removed
  • Macro python_running_get_pip has been removed
  • Macro openshift_writing_conf has been removed
  • Macro openshift_image has been removed
  • Macro user_known_create_files_below_dev_activities has been removed
  • Macro minerpool_https has been removed
  • Macro java_writing_conf has been removed
  • Macro calico_writing_conf has been removed
  • Macro user_known_write_below_binary_dir_activities has been removed
  • Macro interpreted_procs has been removed
  • Macro iscsi_writing_conf has been removed
  • Macro java_running_sdjagent has been removed
  • Macro consider_network_tools_on_host has been removed
  • Macro remove has been removed
  • Macro azure_scripts_writing_conf has been removed
  • Macro azure_networkwatcher_writing_conf has been removed
  • Macro kubectl_writing_state has been removed
  • Macro user_known_network_tool_activities has been removed
  • Macro zap_writing_state has been removed
  • Macro redhat_image has been removed
  • Macro mount_info has been removed
  • Macro bin_dir has been removed
  • Macro brandbot_writing_os_release has been removed
  • Macro aws_eks_core_images has been removed
  • Macro user_known_cron_jobs has been removed
  • Macro calico_node has been removed
  • Macro user_known_write_root_conditions has been removed
  • Macro user_known_set_setuid_or_setgid_bit_conditions has been removed
  • Macro network_local_subnet has been removed
  • Macro curl_download has been removed
  • Macro outbound has been removed
  • Macro run_by_centrify has been removed
  • Macro dse_writing_tmp has been removed
  • Macro prometheus_conf_writing_conf has been removed
  • Macro nrpe_becoming_nagios has been removed
  • Macro root_dir has been removed
  • Macro run_by_adclient has been removed
  • Macro kubelet_running_loopback has been removed
  • Macro python_running_ms_oms has been removed
  • Macro google_accounts_daemon_writing_ssh has been removed
  • Macro write_etc_common has been removed
  • Macro coreos_write_ssh_dir has been removed
  • Macro chef_writing_conf has been removed
  • Macro open_directory has been removed
  • Macro countly_writing_nginx_conf has been removed
  • Macro user_known_user_management_activities has been removed
  • Macro bin_dir_rename has been removed
  • Macro inbound_outbound has been removed
  • Macro sed_temporary_file has been removed
  • Macro known_user_in_container has been removed
  • Macro package_mgmt_procs has been removed
  • Macro userhelper_writing_etc_security has been removed
  • Macro update_ca_trust_writing_pki has been removed
  • Macro etcd_manager_updating_dns has been removed
  • Macro user_known_write_rpm_database_activities has been removed
  • Macro user_known_shell_config_modifiers has been removed
  • Macro rancher_network_manager has been removed
  • Macro exe_running_docker_save has been removed
  • Macro qualys_writing_conf_files has been removed
  • Macro rancher_writing_root has been removed
  • Macro mysql_writing_conf has been removed
  • Macro allowed_ssh_proxy_env has been removed
  • Macro user_known_non_sudo_setuid_conditions has been removed
  • Macro symantec_writing_conf has been removed
  • Macro cassandra_writing_state has been removed
  • Macro user_known_update_package_registry has been removed
  • Macro cloud_init_writing_ssh has been removed
  • Macro rancher_writing_conf has been removed
  • Macro rpm_procs has been removed
  • Macro rpm_writing_root_rpmdb has been removed
  • Macro docker_procs has been removed
  • Macro rabbitmq_writing_conf has been removed
  • Macro openvpn_writing_conf has been removed
  • Macro user_expected_system_procs_network_activity_conditions has been removed
  • Macro pkg_mgmt_in_kube_proxy has been removed
  • Macro python_running_denyhosts has been removed
  • Macro istio_writing_conf has been removed
  • Macro modify_repositories has been removed
  • Macro checkpoint_writing_state has been removed
  • Macro redis_writing_conf has been removed
  • Macro user_known_write_etc_conditions has been removed
  • Macro sensitive_mount has been removed
  • Macro allowed_containers has been removed
  • Macro trusted_images_query_miner_domain_dns has been removed
  • Macro user_known_container_drift_activities has been removed
  • Macro centrify_writing_krb has been removed
  • Macro datadog_writing_conf has been removed
  • Macro cron_start_writing_pam_env has been removed
  • Macro excessively_capable_container has been removed
  • Macro nginx_writing_conf has been removed
  • Macro galley_writing_state has been removed
  • Macro calico_writing_envvars has been removed
  • Macro dpkg_scripting has been removed
  • Macro user_known_metadata_access has been removed
  • Macro modify_shell_history has been removed
  • Macro plesk_writing_keys has been removed
  • Macro ovsdb_writing_openvswitch has been removed
  • Macro ufw_writing_conf has been removed
  • Macro user_known_modify_bin_dir_activities has been removed
  • Macro rename has been removed
  • Macro amazon_linux_running_python_yum has been removed
  • Macro run_by_yum has been removed
  • Macro parent_ucf_writing_conf has been removed
  • Macro liveupdate_writing_conf has been removed
  • Macro ingress_remote_file_copy_procs has been removed
  • Macro user_known_ingress_remote_file_copy_activities has been removed
  • Macro java_network_read has been removed
  • Macro user_known_mkdir_bin_dir_activities has been removed
  • Macro truncate_shell_history has been removed
  • Macro calico_writing_state has been removed
  • Macro expected_udp_traffic has been removed
  • Macro java_running_cassandra has been removed
  • Macro system_procs has been removed
  • Macro update_texmf_writing_conf has been removed
  • Macro plesk_install_writing_apache_conf has been removed
  • Macro sed_writing_temp_file has been removed
  • Macro known_root_conditions has been removed
  • Macro mkdir has been removed
  • Macro modify has been removed
  • Macro inbound has been removed
  • Macro pkgmgmt_progs_writing_pki has been removed
  • Macro selinux_writing_conf has been removed
  • Macro add_shell_writing_shells_tmp has been removed
  • Macro xmlcatalog_writing_files has been removed
  • Macro php_handlers_writing_conf has been removed
  • Macro user_known_write_below_root_activities has been removed
  • Macro bin_dir_mkdir has been removed
  • Macro somebody_becoming_themselves has been removed
  • Macro parent_supervise_running_multilog has been removed
  • Macro user_privileged_containers has been removed
  • Macro user_known_create_hidden_file_activities has been removed
  • Macro ms_scx_writing_conf has been removed
  • Macro veritas_progs has been removed
  • Macro mkinitramfs_writing_boot has been removed
  • Macro rook_writing_conf has been removed
  • Macro minerpool_http has been removed
  • Macro user_known_run_as_root_container has been removed
  • Macro sssd_writing_krb has been removed
  • Macro falco_privileged_containers has been removed
  • Macro falco_sensitive_mount_containers has been removed
  • Macro login_doing_dns_lookup has been removed
  • Macro user_known_remote_file_copy_activities has been removed
  • Macro minerpool_other has been removed
  • Macro container_started has been removed
  • Macro networkmanager_writing_resolv_conf has been removed
  • Macro monitored_dir has been removed
  • Macro avinetworks_supervisor_writing_ssh has been removed
  • Macro user_known_change_thread_namespace_activities has been removed
  • Macro user_known_k8s_client_container has been removed
  • Macro remote_file_copy_procs has been removed
  • Macro package_mgmt_ancestor_procs has been removed
  • Macro user_known_write_monitored_dir_conditions has been removed
  • Macro jboss_in_container_writing_passwd has been removed
  • Macro httpd_writing_conf_logs has been removed
  • Macro user_known_write_below_etc_activities has been removed
  • Macro httpd_writing_ssl_conf has been removed
  • Macro maven_writing_groovy has been removed
  • Macro user_known_read_ssh_information_activities has been removed
  • Macro python_running_chef has been removed
  • Macro sosreport_writing_files has been removed
  • Macro nginx_writing_certs has been removed
  • Macro airflow_writing_state has been removed
  • Macro multipath_writing_conf has been removed
  • Macro http_proxy_procs has been removed
  • Macro supervise_writing_status has been removed
  • Macro nodeport_containers has been removed
  • Macro chmod has been removed
  • Macro mcafee_writing_cma_d has been removed
  • Macro runc_writing_exec_fifo has been removed
  • Macro net_miner_pool has been removed
  • Macro access_repositories has been removed
  • Macro git_writing_nssdb has been removed
  • Macro chage_list has been removed
  • Macro network_tool_procs has been removed
  • Macro run_by_sumologic_securefiles has been removed
  • Macro ucpagent_writing_conf has been removed
  • Macro runc_writing_var_lib_docker has been removed
  • Macro ec2_metadata_containers has been removed
  • Macro run_by_ms_oms has been removed
  • Macro ipsec_writing_conf has been removed
  • Macro duply_writing_exclude_files has been removed
  • Macro mysqlsh_writing_state has been removed
  • Macro allowed_ssh_hosts has been removed
  • Macro openldap_writing_conf has been removed
  • Macro plesk_running_mktemp has been removed
  • Macro user_known_k8s_client_container_parens has been removed
  • Macro known_aks_mount_in_privileged_containers has been removed
  • Macro automount_using_mtab has been removed
  • Macro var_lib_docker_filepath has been removed
  • Macro pki_realm_writing_realms has been removed
  • Macro ms_oms_writing_conf has been removed
  • Macro fluentd_writing_conf_files has been removed
  • Macro haproxy_writing_conf has been removed
  • Macro weaveworks_scope has been removed
  • Macro user_known_package_manager_in_container has been removed
  • Macro consul_template_writing_conf has been removed
  • Macro veritas_writing_config has been removed
  • Macro curl_writing_pki_db has been removed
  • Macro cockpit_writing_conf has been removed
  • Macro keepalived_writing_conf has been removed
  • Macro known_gke_mount_in_privileged_containers has been removed
  • Macro allowed_openshift_registry_root has been removed
  • Macro aws_eks_image_sensitive_mount has been removed
  • Macro user_known_mount_in_privileged_containers has been removed
  • Macro htpasswd_writing_passwd has been removed
  • Macro couchdb_writing_conf has been removed
  • Macro allowed_aws_ecr_registry_root_for_eks has been removed
  • Macro rancher_agent has been removed
  • Macro gugent_writing_guestagent_log has been removed
  • Macro user_known_db_spawned_processes has been removed
  • List allowed_outbound_destination_domains has been removed
  • List run_as_root_image_list has been removed
  • List k8s_binaries has been removed
  • List interpreted_binaries has been removed
  • List shell_config_files has been removed
  • List allowed_inbound_source_ipaddrs has been removed
  • List user_known_change_thread_namespace_binaries has been removed
  • List l2tp_udp_ports has been removed
  • List redhat_io_images_privileged has been removed
  • List k8s_client_binaries has been removed
  • List ssl_mgmt_binaries has been removed
  • List known_istio_files has been removed
  • List exclude_hidden_directories has been removed
  • List miner_domains has been removed
  • List c2_server_ip_list has been removed
  • List csh_config_files has been removed
  • List repository_directories has been removed
  • List monitored_directories has been removed
  • List falco_sensitive_mount_images has been removed
  • List allowed_dev_files has been removed
  • List ingress_remote_file_copy_binaries has been removed
  • List known_setuid_binaries has been removed
  • List bash_config_filenames has been removed
  • List test_connect_ports has been removed
  • List miner_ports has been removed
  • List bash_config_files has been removed
  • List authorized_server_binary has been removed
  • List authorized_server_port has been removed
  • List known_binaries_to_read_environment_variables_from_proc_files has been removed
  • List shell_mgmt_binaries has been removed
  • List dev_creation_binaries has been removed
  • List allowed_outbound_destination_ipaddrs has been removed
  • List ntp_ports has been removed
  • List allowed_inbound_source_networks has been removed
  • List csh_config_filenames has been removed
  • List lxd_binaries has been removed
  • List shell_config_directories has been removed
  • List ms_oms_binaries has been removed
  • List statsd_ports has been removed
  • List safe_etc_dirs has been removed
  • List user_known_k8s_ns_kube_system_images has been removed
  • List coreutils_binaries has been removed
  • List openscap_rpm_binaries has been removed
  • List rfc_1918_addresses has been removed
  • List network_plugin_binaries has been removed
  • List veritas_binaries has been removed
  • List https_miner_domains has been removed
  • List user_known_k8s_images has been removed
  • List ssh_binaries has been removed
  • List zsh_config_filenames has been removed
  • List repository_files has been removed
  • List network_tool_binaries has been removed
  • List sysdigcloud_binaries has been removed
  • List allowed_inbound_source_domains has been removed
  • List expected_udp_ports has been removed
  • List c2_server_fqdn_list has been removed
  • List openvpn_udp_ports has been removed
  • List known_root_files has been removed
  • List namespace_scope_network_only_subnet has been removed
  • List dhcp_binaries has been removed
  • List allowed_outbound_destination_networks has been removed
  • List known_root_directories has been removed
  • List http_proxy_binaries has been removed
  • List http_miner_domains has been removed
  • List plesk_binaries has been removed
  • List user_known_chmod_applications has been removed
  • List shell_config_filenames has been removed
  • List known_system_procs_network_activity_binaries has been removed
  • List remote_file_copy_binaries has been removed
  • List allowed_image has been removed
  • List user_known_userfaultfd_processes has been removed
  • Rule Directory traversal monitored file read has less tags than before
  • Rule Read sensitive file trusted after startup has less tags than before
  • Rule Read sensitive file untrusted has less tags than before
  • Rule Remove Bulk Data from Disk has less tags than before
  • Rule Create Symlink Over Sensitive Files has less tags than before
  • Rule Create Hardlink Over Sensitive Files has less tags than before
  • Rule Packet socket created in container has less tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has less tags than before
  • Rule Linux Kernel Module Injection Detected has less tags than before
  • Rule Debugfs Launched in Privileged Container has less tags than before
  • Rule Detect release_agent File Container Escapes has less tags than before
  • Rule PTRACE attached to process has less tags than before
  • Rule Execution from /dev/shm has less tags than before

Patch changes:

  • Rule Directory traversal monitored file read changed its output fields
  • Rule Directory traversal monitored file read has more tags than before
  • Rule Read sensitive file trusted after startup changed its output fields
  • Rule Read sensitive file trusted after startup has more tags than before
  • Rule Read sensitive file untrusted changed its output fields
  • Rule Read sensitive file untrusted has more tags than before
  • Rule Run shell untrusted changed its output fields
  • Rule Run shell untrusted has more tags than before
  • Rule Run shell untrusted has a more urgent priority than before
  • Rule System user interactive changed its output fields
  • Rule System user interactive has more tags than before
  • Rule Terminal shell in container has more tags than before
  • Rule Contact K8S API Server From Container changed its output fields
  • Rule Contact K8S API Server From Container has more tags than before
  • Rule Netcat Remote Code Execution in Container changed its output fields
  • Rule Netcat Remote Code Execution in Container has more tags than before
  • Rule Search Private Keys or Passwords changed its output fields
  • Rule Search Private Keys or Passwords has more tags than before
  • Rule Clear Log Activities changed its output fields
  • Rule Clear Log Activities has more tags than before
  • Rule Remove Bulk Data from Disk changed its output fields
  • Rule Remove Bulk Data from Disk has more tags than before
  • Rule Create Symlink Over Sensitive Files changed its output fields
  • Rule Create Symlink Over Sensitive Files has more tags than before
  • Rule Create Hardlink Over Sensitive Files changed its output fields
  • Rule Create Hardlink Over Sensitive Files has more tags than before
  • Rule Packet socket created in container changed its output fields
  • Rule Packet socket created in container has more tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container changed its output fields
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has more tags than before
  • Rule Linux Kernel Module Injection Detected changed its output fields
  • Rule Linux Kernel Module Injection Detected has more tags than before
  • Rule Debugfs Launched in Privileged Container changed its output fields
  • Rule Debugfs Launched in Privileged Container has more tags than before
  • Rule Detect release_agent File Container Escapes changed its output fields
  • Rule Detect release_agent File Container Escapes has more tags than before
  • Rule PTRACE attached to process changed its output fields
  • Rule PTRACE attached to process has more tags than before
  • Rule PTRACE anti-debug attempt changed its output fields
  • Rule PTRACE anti-debug attempt has more tags than before
  • Rule Find AWS Credentials changed its output fields
  • Rule Find AWS Credentials has more tags than before
  • Rule Execution from /dev/shm changed its output fields
  • Rule Execution from /dev/shm has more tags than before
  • Rule Drop and execute new binary in container changed its output fields
  • Rule Drop and execute new binary in container has more tags than before

@github-actions
Copy link

github-actions bot commented Sep 4, 2023

Rules files suggestions

falco_rules.yaml

Comparing e7507257093549dce877839693955bc689f258ef with latest tag falco-rules-1.0.1

Major changes:

  • Rule Unexpected inbound connection source has been removed
  • Rule Write below monitored dir has been removed
  • Rule Mkdir binary dirs has been removed
  • Rule Read ssh information has been removed
  • Rule Launch Remote File Copy Tools in Container has been removed
  • Rule Mount Launched in Privileged Container has been removed
  • Rule Read Shell Configuration File has been removed
  • Rule DB program spawned process has been removed
  • Rule Delete or rename shell history has been removed
  • Rule Network Connection outside Local Subnet has been removed
  • Rule Container Drift Detected (chmod) has been removed
  • Rule Java Process Class File Download has been removed
  • Rule Container Drift Detected (open+create) has been removed
  • Rule Write below binary dir has been removed
  • Rule Modify binary dirs has been removed
  • Rule Launch Privileged Container has been removed
  • Rule Non sudo setuid has been removed
  • Rule Create files below dev has been removed
  • Rule Unexpected UDP Traffic has been removed
  • Rule Unexpected K8s NodePort Connection has been removed
  • Rule Detect outbound connections to common miner pool ports has been removed
  • Rule Read environment variable from /proc files has been removed
  • Rule Unprivileged Delegation of Page Faults Handling to a Userspace Process has been removed
  • Rule Launch Ingress Remote File Copy Tools in Container has been removed
  • Rule Write below root has been removed
  • Rule Launch Sensitive Mount Container has been removed
  • Rule Launch Package Management Process in Container has been removed
  • Rule Container Run as Root User has been removed
  • Rule Contact EC2 Instance Metadata Service From Container has been removed
  • Rule Launch Suspicious Network Tool on Host has been removed
  • Rule Set Setuid or Setgid bit has been removed
  • Rule Create Hidden Files or Directories has been removed
  • Rule Write below etc has been removed
  • Rule Interpreted procs outbound network activity has been removed
  • Rule The docker client is executed in a container has been removed
  • Rule Polkit Local Privilege Escalation Vulnerability (CVE-2021-4034) has been removed
  • Rule Disallowed SSH Connection has been removed
  • Rule Contact cloud metadata service from container has been removed
  • Rule Detect crypto miners using the Stratum protocol has been removed
  • Rule Unexpected outbound connection destination has been removed
  • Rule Launch Suspicious Network Tool in Container has been removed
  • Rule Outbound or Inbound Traffic not to Authorized Server Process and Port has been removed
  • Rule Outbound Connection to C2 Servers has been removed
  • Rule Sudo Potential Privilege Escalation has been removed
  • Rule Modify Shell Configuration File has been removed
  • Rule Schedule Cron Jobs has been removed
  • Rule System procs network activity has been removed
  • Rule User mgmt binaries has been removed
  • Rule Update Package Repository has been removed
  • Rule Write below rpm database has been removed
  • Rule Change thread namespace has been removed
  • Rule Interpreted procs inbound network activity has been removed
  • Rule Launch Excessively Capable Container has been removed
  • Rule Program run with disallowed http proxy env has been removed
  • Rule Delete Bash History has been removed
  • Rule Modify Container Entrypoint has been removed
  • Rule Launch Disallowed Container has been removed
  • Macro parent_ucf_writing_conf has been removed
  • Macro allowed_containers has been removed
  • Macro curl_writing_pki_db has been removed
  • Macro amazon_linux_running_python_yum has been removed
  • Macro user_trusted_containers has been removed
  • Macro always_true has been removed
  • Macro maven_writing_groovy has been removed
  • Macro user_known_write_below_root_activities has been removed
  • Macro ms_oms_writing_conf has been removed
  • Macro remote_file_copy_procs has been removed
  • Macro google_accounts_daemon_writing_ssh has been removed
  • Macro openshift_writing_conf has been removed
  • Macro xmlcatalog_writing_files has been removed
  • Macro aws_eks_core_images has been removed
  • Macro aws_eks_image_sensitive_mount has been removed
  • Macro falco_privileged_containers has been removed
  • Macro nodeport_containers has been removed
  • Macro truncate_shell_history has been removed
  • Macro update_ca_trust_writing_pki has been removed
  • Macro httpd_writing_conf_logs has been removed
  • Macro runc_writing_var_lib_docker has been removed
  • Macro excessively_capable_container has been removed
  • Macro inbound has been removed
  • Macro ssh_port has been removed
  • Macro veritas_progs has been removed
  • Macro php_handlers_writing_conf has been removed
  • Macro user_known_create_files_below_dev_activities has been removed
  • Macro inbound_outbound has been removed
  • Macro nginx_writing_conf has been removed
  • Macro python_running_get_pip has been removed
  • Macro exe_running_docker_save has been removed
  • Macro plesk_running_mktemp has been removed
  • Macro mcafee_writing_cma_d has been removed
  • Macro user_known_change_thread_namespace_activities has been removed
  • Macro ufw_writing_conf has been removed
  • Macro user_sensitive_mount_containers has been removed
  • Macro rancher_network_manager has been removed
  • Macro monitored_dir has been removed
  • Macro sed_writing_temp_file has been removed
  • Macro user_known_modify_bin_dir_activities has been removed
  • Macro cron_start_writing_pam_env has been removed
  • Macro runc_writing_exec_fifo has been removed
  • Macro minerpool_https has been removed
  • Macro kubelet_running_loopback has been removed
  • Macro parent_supervise_running_multilog has been removed
  • Macro pkg_mgmt_in_kube_proxy has been removed
  • Macro java_running_sdjagent has been removed
  • Macro openshift_image has been removed
  • Macro nrpe_becoming_nagios has been removed
  • Macro network_tool_procs has been removed
  • Macro package_mgmt_ancestor_procs has been removed
  • Macro userhelper_writing_etc_security has been removed
  • Macro chef_writing_conf has been removed
  • Macro user_known_write_root_conditions has been removed
  • Macro ec2_metadata_containers has been removed
  • Macro container_started has been removed
  • Macro slapadd_writing_conf has been removed
  • Macro cockpit_writing_conf has been removed
  • Macro user_known_user_management_activities has been removed
  • Macro trusted_images_query_miner_domain_dns has been removed
  • Macro user_known_mount_in_privileged_containers has been removed
  • Macro checkpoint_writing_state has been removed
  • Macro modify_shell_history has been removed
  • Macro countly_writing_nginx_conf has been removed
  • Macro user_known_write_below_binary_dir_activities has been removed
  • Macro automount_using_mtab has been removed
  • Macro user_known_non_sudo_setuid_conditions has been removed
  • Macro calico_writing_conf has been removed
  • Macro http_proxy_procs has been removed
  • Macro rename has been removed
  • Macro sosreport_writing_files has been removed
  • Macro openvpn_writing_conf has been removed
  • Macro bin_dir has been removed
  • Macro run_by_centrify has been removed
  • Macro azure_networkwatcher_writing_conf has been removed
  • Macro cassandra_writing_state has been removed
  • Macro keepalived_writing_conf has been removed
  • Macro veritas_writing_config has been removed
  • Macro user_known_update_package_registry has been removed
  • Macro rancher_writing_conf has been removed
  • Macro jboss_in_container_writing_passwd has been removed
  • Macro expected_udp_traffic has been removed
  • Macro nginx_writing_certs has been removed
  • Macro qualys_writing_conf_files has been removed
  • Macro java_writing_conf has been removed
  • Macro known_aks_mount_in_privileged_containers has been removed
  • Macro httpd_writing_ssl_conf has been removed
  • Macro user_known_write_rpm_database_activities has been removed
  • Macro user_known_remote_file_copy_activities has been removed
  • Macro modify_repositories has been removed
  • Macro user_known_read_ssh_information_activities has been removed
  • Macro plesk_install_writing_apache_conf has been removed
  • Macro run_by_yum has been removed
  • Macro user_known_k8s_client_container_parens has been removed
  • Macro networkmanager_writing_resolv_conf has been removed
  • Macro prometheus_conf_writing_conf has been removed
  • Macro calico_node has been removed
  • Macro remove has been removed
  • Macro iscsi_writing_conf has been removed
  • Macro liveupdate_writing_conf has been removed
  • Macro weaveworks_scope has been removed
  • Macro user_known_run_as_root_container has been removed
  • Macro python_running_chef has been removed
  • Macro centrify_writing_krb has been removed
  • Macro somebody_becoming_themselves has been removed
  • Macro chage_list has been removed
  • Macro istio_writing_conf has been removed
  • Macro zap_writing_state has been removed
  • Macro known_root_conditions has been removed
  • Macro mkdir has been removed
  • Macro update_texmf_writing_conf has been removed
  • Macro avinetworks_supervisor_writing_ssh has been removed
  • Macro known_user_in_container has been removed
  • Macro bin_dir_mkdir has been removed
  • Macro openldap_writing_conf has been removed
  • Macro dse_writing_tmp has been removed
  • Macro user_privileged_containers has been removed
  • Macro couchdb_writing_conf has been removed
  • Macro write_etc_common has been removed
  • Macro user_known_metadata_access has been removed
  • Macro net_miner_pool has been removed
  • Macro mount_info has been removed
  • Macro package_mgmt_procs has been removed
  • Macro access_repositories has been removed
  • Macro ingress_remote_file_copy_procs has been removed
  • Macro root_dir has been removed
  • Macro pkgmgmt_progs_writing_pki has been removed
  • Macro haproxy_writing_conf has been removed
  • Macro ms_scx_writing_conf has been removed
  • Macro user_known_db_spawned_processes has been removed
  • Macro minerpool_http has been removed
  • Macro network_local_subnet has been removed
  • Macro htpasswd_writing_passwd has been removed
  • Macro consul_template_writing_conf has been removed
  • Macro sed_temporary_file has been removed
  • Macro calico_writing_state has been removed
  • Macro lvprogs_writing_conf has been removed
  • Macro symantec_writing_conf has been removed
  • Macro modify has been removed
  • Macro ipsec_writing_conf has been removed
  • Macro airflow_writing_state has been removed
  • Macro user_expected_system_procs_network_activity_conditions has been removed
  • Macro user_known_create_hidden_file_activities has been removed
  • Macro plesk_writing_keys has been removed
  • Macro multipath_writing_conf has been removed
  • Macro chmod has been removed
  • Macro ovsdb_writing_openvswitch has been removed
  • Macro chef_client_writing_conf has been removed
  • Macro gugent_writing_guestagent_log has been removed
  • Macro coreos_write_ssh_dir has been removed
  • Macro azure_scripts_writing_conf has been removed
  • Macro datadog_writing_conf has been removed
  • Macro user_known_k8s_client_container has been removed
  • Macro curl_download has been removed
  • Macro outbound has been removed
  • Macro user_known_set_setuid_or_setgid_bit_conditions has been removed
  • Macro docker_procs has been removed
  • Macro python_running_ms_oms has been removed
  • Macro user_known_mkdir_bin_dir_activities has been removed
  • Macro ucpagent_writing_conf has been removed
  • Macro rook_writing_conf has been removed
  • Macro dpkg_scripting has been removed
  • Macro user_known_ingress_remote_file_copy_activities has been removed
  • Macro allowed_ssh_hosts has been removed
  • Macro rancher_agent has been removed
  • Macro cloud_init_writing_ssh has been removed
  • Macro supervise_writing_status has been removed
  • Macro brandbot_writing_os_release has been removed
  • Macro rancher_writing_root has been removed
  • Macro python_running_denyhosts has been removed
  • Macro user_known_write_monitored_dir_conditions has been removed
  • Macro add_shell_writing_shells_tmp has been removed
  • Macro login_doing_dns_lookup has been removed
  • Macro consider_network_tools_on_host has been removed
  • Macro run_by_adclient has been removed
  • Macro galley_writing_state has been removed
  • Macro sensitive_mount has been removed
  • Macro allowed_ssh_proxy_env has been removed
  • Macro rpm_procs has been removed
  • Macro selinux_writing_conf has been removed
  • Macro kubectl_writing_state has been removed
  • Macro etcd_manager_updating_dns has been removed
  • Macro user_known_write_etc_conditions has been removed
  • Macro rpm_writing_root_rpmdb has been removed
  • Macro fluentd_writing_conf_files has been removed
  • Macro git_writing_nssdb has been removed
  • Macro duply_writing_exclude_files has been removed
  • Macro mysql_writing_conf has been removed
  • Macro user_known_shell_config_modifiers has been removed
  • Macro mkinitramfs_writing_boot has been removed
  • Macro open_directory has been removed
  • Macro mysqlsh_writing_state has been removed
  • Macro rabbitmq_writing_conf has been removed
  • Macro user_known_package_manager_in_container has been removed
  • Macro user_known_cron_jobs has been removed
  • Macro pki_realm_writing_realms has been removed
  • Macro allowed_openshift_registry_root has been removed
  • Macro system_procs has been removed
  • Macro run_by_sumologic_securefiles has been removed
  • Macro sssd_writing_krb has been removed
  • Macro java_running_cassandra has been removed
  • Macro redhat_image has been removed
  • Macro var_lib_docker_filepath has been removed
  • Macro bin_dir_rename has been removed
  • Macro interpreted_procs has been removed
  • Macro redis_writing_conf has been removed
  • Macro allowed_aws_ecr_registry_root_for_eks has been removed
  • Macro user_known_container_drift_activities has been removed
  • Macro calico_writing_envvars has been removed
  • Macro user_known_write_below_etc_activities has been removed
  • Macro minerpool_other has been removed
  • Macro known_gke_mount_in_privileged_containers has been removed
  • Macro run_by_ms_oms has been removed
  • Macro falco_sensitive_mount_containers has been removed
  • Macro user_known_network_tool_activities has been removed
  • Macro java_network_read has been removed
  • List allowed_outbound_destination_networks has been removed
  • List openvpn_udp_ports has been removed
  • List k8s_binaries has been removed
  • List allowed_inbound_source_domains has been removed
  • List known_system_procs_network_activity_binaries has been removed
  • List network_plugin_binaries has been removed
  • List user_known_k8s_ns_kube_system_images has been removed
  • List c2_server_ip_list has been removed
  • List dhcp_binaries has been removed
  • List namespace_scope_network_only_subnet has been removed
  • List csh_config_files has been removed
  • List l2tp_udp_ports has been removed
  • List redhat_io_images_privileged has been removed
  • List ntp_ports has been removed
  • List known_istio_files has been removed
  • List known_binaries_to_read_environment_variables_from_proc_files has been removed
  • List lxd_binaries has been removed
  • List shell_config_filenames has been removed
  • List shell_config_files has been removed
  • List bash_config_filenames has been removed
  • List sysdigcloud_binaries has been removed
  • List bash_config_files has been removed
  • List statsd_ports has been removed
  • List authorized_server_binary has been removed
  • List known_root_files has been removed
  • List user_known_k8s_images has been removed
  • List allowed_image has been removed
  • List c2_server_fqdn_list has been removed
  • List allowed_outbound_destination_ipaddrs has been removed
  • List user_known_change_thread_namespace_binaries has been removed
  • List shell_mgmt_binaries has been removed
  • List coreutils_binaries has been removed
  • List interpreted_binaries has been removed
  • List openscap_rpm_binaries has been removed
  • List known_root_directories has been removed
  • List remote_file_copy_binaries has been removed
  • List allowed_dev_files has been removed
  • List ssh_binaries has been removed
  • List authorized_server_port has been removed
  • List veritas_binaries has been removed
  • List http_proxy_binaries has been removed
  • List zsh_config_filenames has been removed
  • List falco_sensitive_mount_images has been removed
  • List expected_udp_ports has been removed
  • List https_miner_domains has been removed
  • List k8s_client_binaries has been removed
  • List allowed_inbound_source_networks has been removed
  • List repository_files has been removed
  • List repository_directories has been removed
  • List monitored_directories has been removed
  • List allowed_outbound_destination_domains has been removed
  • List allowed_inbound_source_ipaddrs has been removed
  • List exclude_hidden_directories has been removed
  • List plesk_binaries has been removed
  • List run_as_root_image_list has been removed
  • List ingress_remote_file_copy_binaries has been removed
  • List user_known_chmod_applications has been removed
  • List miner_domains has been removed
  • List dev_creation_binaries has been removed
  • List rfc_1918_addresses has been removed
  • List ms_oms_binaries has been removed
  • List test_connect_ports has been removed
  • List ssl_mgmt_binaries has been removed
  • List miner_ports has been removed
  • List user_known_userfaultfd_processes has been removed
  • List known_setuid_binaries has been removed
  • List safe_etc_dirs has been removed
  • List network_tool_binaries has been removed
  • List http_miner_domains has been removed
  • List shell_config_directories has been removed
  • List csh_config_filenames has been removed
  • Rule Directory traversal monitored file read has less tags than before
  • Rule Read sensitive file trusted after startup has less tags than before
  • Rule Read sensitive file untrusted has less tags than before
  • Rule Remove Bulk Data from Disk has less tags than before
  • Rule Create Symlink Over Sensitive Files has less tags than before
  • Rule Create Hardlink Over Sensitive Files has less tags than before
  • Rule Packet socket created in container has less tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has less tags than before
  • Rule Linux Kernel Module Injection Detected has less tags than before
  • Rule Debugfs Launched in Privileged Container has less tags than before
  • Rule Detect release_agent File Container Escapes has less tags than before
  • Rule PTRACE attached to process has less tags than before
  • Rule Execution from /dev/shm has less tags than before

Patch changes:

  • Rule Directory traversal monitored file read changed its output fields
  • Rule Directory traversal monitored file read has more tags than before
  • Rule Read sensitive file trusted after startup changed its output fields
  • Rule Read sensitive file trusted after startup has more tags than before
  • Rule Read sensitive file untrusted changed its output fields
  • Rule Read sensitive file untrusted has more tags than before
  • Rule Run shell untrusted changed its output fields
  • Rule Run shell untrusted has more tags than before
  • Rule Run shell untrusted has a more urgent priority than before
  • Rule System user interactive changed its output fields
  • Rule System user interactive has more tags than before
  • Rule Terminal shell in container has more tags than before
  • Rule Contact K8S API Server From Container changed its output fields
  • Rule Contact K8S API Server From Container has more tags than before
  • Rule Netcat Remote Code Execution in Container changed its output fields
  • Rule Netcat Remote Code Execution in Container has more tags than before
  • Rule Search Private Keys or Passwords changed its output fields
  • Rule Search Private Keys or Passwords has more tags than before
  • Rule Clear Log Activities changed its output fields
  • Rule Clear Log Activities has more tags than before
  • Rule Remove Bulk Data from Disk changed its output fields
  • Rule Remove Bulk Data from Disk has more tags than before
  • Rule Create Symlink Over Sensitive Files changed its output fields
  • Rule Create Symlink Over Sensitive Files has more tags than before
  • Rule Create Hardlink Over Sensitive Files changed its output fields
  • Rule Create Hardlink Over Sensitive Files has more tags than before
  • Rule Packet socket created in container changed its output fields
  • Rule Packet socket created in container has more tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container changed its output fields
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has more tags than before
  • Rule Linux Kernel Module Injection Detected changed its output fields
  • Rule Linux Kernel Module Injection Detected has more tags than before
  • Rule Debugfs Launched in Privileged Container changed its output fields
  • Rule Debugfs Launched in Privileged Container has more tags than before
  • Rule Detect release_agent File Container Escapes changed its output fields
  • Rule Detect release_agent File Container Escapes has more tags than before
  • Rule PTRACE attached to process changed its output fields
  • Rule PTRACE attached to process has more tags than before
  • Rule PTRACE anti-debug attempt changed its output fields
  • Rule PTRACE anti-debug attempt has more tags than before
  • Rule Find AWS Credentials changed its output fields
  • Rule Find AWS Credentials has more tags than before
  • Rule Execution from /dev/shm changed its output fields
  • Rule Execution from /dev/shm has more tags than before
  • Rule Drop and execute new binary in container changed its output fields
  • Rule Drop and execute new binary in container has more tags than before

leogr and others added 10 commits September 4, 2023 10:37
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
…: copy)

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
…: rename back)

Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
Signed-off-by: Melissa Kilby <melissa.kilby.oss@gmail.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
@github-actions
Copy link

github-actions bot commented Sep 4, 2023

Rules files suggestions

falco_rules.yaml

Comparing 6651dbd69046499600ab8b86366526a466a6cabd with latest tag falco-rules-1.0.1

Major changes:

  • Rule Launch Ingress Remote File Copy Tools in Container has been removed
  • Rule Unexpected inbound connection source has been removed
  • Rule Interpreted procs outbound network activity has been removed
  • Rule Delete or rename shell history has been removed
  • Rule Detect crypto miners using the Stratum protocol has been removed
  • Rule Polkit Local Privilege Escalation Vulnerability (CVE-2021-4034) has been removed
  • Rule Interpreted procs inbound network activity has been removed
  • Rule Mount Launched in Privileged Container has been removed
  • Rule DB program spawned process has been removed
  • Rule Write below monitored dir has been removed
  • Rule Schedule Cron Jobs has been removed
  • Rule Write below binary dir has been removed
  • Rule Mkdir binary dirs has been removed
  • Rule The docker client is executed in a container has been removed
  • Rule Outbound or Inbound Traffic not to Authorized Server Process and Port has been removed
  • Rule Modify Shell Configuration File has been removed
  • Rule Launch Sensitive Mount Container has been removed
  • Rule Non sudo setuid has been removed
  • Rule Launch Remote File Copy Tools in Container has been removed
  • Rule Sudo Potential Privilege Escalation has been removed
  • Rule Java Process Class File Download has been removed
  • Rule Update Package Repository has been removed
  • Rule User mgmt binaries has been removed
  • Rule Delete Bash History has been removed
  • Rule Container Run as Root User has been removed
  • Rule Unexpected outbound connection destination has been removed
  • Rule Launch Privileged Container has been removed
  • Rule Launch Excessively Capable Container has been removed
  • Rule Launch Suspicious Network Tool in Container has been removed
  • Rule Container Drift Detected (chmod) has been removed
  • Rule Write below rpm database has been removed
  • Rule Change thread namespace has been removed
  • Rule Unexpected UDP Traffic has been removed
  • Rule Read ssh information has been removed
  • Rule Launch Disallowed Container has been removed
  • Rule Detect outbound connections to common miner pool ports has been removed
  • Rule Modify Container Entrypoint has been removed
  • Rule Modify binary dirs has been removed
  • Rule Write below root has been removed
  • Rule Create files below dev has been removed
  • Rule Unexpected K8s NodePort Connection has been removed
  • Rule Set Setuid or Setgid bit has been removed
  • Rule Create Hidden Files or Directories has been removed
  • Rule Read Shell Configuration File has been removed
  • Rule Network Connection outside Local Subnet has been removed
  • Rule Contact cloud metadata service from container has been removed
  • Rule Launch Package Management Process in Container has been removed
  • Rule Container Drift Detected (open+create) has been removed
  • Rule Program run with disallowed http proxy env has been removed
  • Rule Read environment variable from /proc files has been removed
  • Rule Write below etc has been removed
  • Rule System procs network activity has been removed
  • Rule Contact EC2 Instance Metadata Service From Container has been removed
  • Rule Launch Suspicious Network Tool on Host has been removed
  • Rule Outbound Connection to C2 Servers has been removed
  • Rule Unprivileged Delegation of Page Faults Handling to a Userspace Process has been removed
  • Rule Disallowed SSH Connection has been removed
  • Macro slapadd_writing_conf has been removed
  • Macro openldap_writing_conf has been removed
  • Macro mkinitramfs_writing_boot has been removed
  • Macro openvpn_writing_conf has been removed
  • Macro mysqlsh_writing_state has been removed
  • Macro parent_supervise_running_multilog has been removed
  • Macro couchdb_writing_conf has been removed
  • Macro runc_writing_exec_fifo has been removed
  • Macro aws_eks_image_sensitive_mount has been removed
  • Macro user_known_metadata_access has been removed
  • Macro docker_procs has been removed
  • Macro nginx_writing_conf has been removed
  • Macro airflow_writing_state has been removed
  • Macro avinetworks_supervisor_writing_ssh has been removed
  • Macro nrpe_becoming_nagios has been removed
  • Macro ovsdb_writing_openvswitch has been removed
  • Macro add_shell_writing_shells_tmp has been removed
  • Macro php_handlers_writing_conf has been removed
  • Macro known_user_in_container has been removed
  • Macro nginx_writing_certs has been removed
  • Macro openshift_writing_conf has been removed
  • Macro user_privileged_containers has been removed
  • Macro excessively_capable_container has been removed
  • Macro sed_temporary_file has been removed
  • Macro access_repositories has been removed
  • Macro truncate_shell_history has been removed
  • Macro allowed_openshift_registry_root has been removed
  • Macro consider_network_tools_on_host has been removed
  • Macro user_known_create_hidden_file_activities has been removed
  • Macro user_known_write_etc_conditions has been removed
  • Macro network_tool_procs has been removed
  • Macro user_known_cron_jobs has been removed
  • Macro known_root_conditions has been removed
  • Macro liveupdate_writing_conf has been removed
  • Macro user_known_modify_bin_dir_activities has been removed
  • Macro somebody_becoming_themselves has been removed
  • Macro user_known_non_sudo_setuid_conditions has been removed
  • Macro pki_realm_writing_realms has been removed
  • Macro ucpagent_writing_conf has been removed
  • Macro sosreport_writing_files has been removed
  • Macro cron_start_writing_pam_env has been removed
  • Macro minerpool_https has been removed
  • Macro allowed_ssh_hosts has been removed
  • Macro istio_writing_conf has been removed
  • Macro sssd_writing_krb has been removed
  • Macro multipath_writing_conf has been removed
  • Macro userhelper_writing_etc_security has been removed
  • Macro htpasswd_writing_passwd has been removed
  • Macro centrify_writing_krb has been removed
  • Macro user_known_update_package_registry has been removed
  • Macro user_known_package_manager_in_container has been removed
  • Macro plesk_writing_keys has been removed
  • Macro falco_sensitive_mount_containers has been removed
  • Macro expected_udp_traffic has been removed
  • Macro trusted_images_query_miner_domain_dns has been removed
  • Macro calico_writing_state has been removed
  • Macro minerpool_http has been removed
  • Macro user_known_k8s_client_container has been removed
  • Macro aws_eks_core_images has been removed
  • Macro outbound has been removed
  • Macro httpd_writing_ssl_conf has been removed
  • Macro maven_writing_groovy has been removed
  • Macro fluentd_writing_conf_files has been removed
  • Macro redhat_image has been removed
  • Macro exe_running_docker_save has been removed
  • Macro remote_file_copy_procs has been removed
  • Macro user_known_mount_in_privileged_containers has been removed
  • Macro user_known_write_rpm_database_activities has been removed
  • Macro allowed_ssh_proxy_env has been removed
  • Macro run_by_adclient has been removed
  • Macro user_known_mkdir_bin_dir_activities has been removed
  • Macro update_texmf_writing_conf has been removed
  • Macro galley_writing_state has been removed
  • Macro java_network_read has been removed
  • Macro run_by_centrify has been removed
  • Macro modify_repositories has been removed
  • Macro qualys_writing_conf_files has been removed
  • Macro networkmanager_writing_resolv_conf has been removed
  • Macro python_running_ms_oms has been removed
  • Macro keepalived_writing_conf has been removed
  • Macro known_gke_mount_in_privileged_containers has been removed
  • Macro etcd_manager_updating_dns has been removed
  • Macro allowed_containers has been removed
  • Macro known_aks_mount_in_privileged_containers has been removed
  • Macro run_by_yum has been removed
  • Macro run_by_ms_oms has been removed
  • Macro supervise_writing_status has been removed
  • Macro brandbot_writing_os_release has been removed
  • Macro calico_writing_conf has been removed
  • Macro ms_scx_writing_conf has been removed
  • Macro write_etc_common has been removed
  • Macro amazon_linux_running_python_yum has been removed
  • Macro login_doing_dns_lookup has been removed
  • Macro system_procs has been removed
  • Macro container_started has been removed
  • Macro user_known_write_below_binary_dir_activities has been removed
  • Macro rabbitmq_writing_conf has been removed
  • Macro falco_privileged_containers has been removed
  • Macro open_directory has been removed
  • Macro user_known_shell_config_modifiers has been removed
  • Macro kubelet_running_loopback has been removed
  • Macro user_known_read_ssh_information_activities has been removed
  • Macro user_known_user_management_activities has been removed
  • Macro mount_info has been removed
  • Macro azure_networkwatcher_writing_conf has been removed
  • Macro python_running_get_pip has been removed
  • Macro rpm_writing_root_rpmdb has been removed
  • Macro datadog_writing_conf has been removed
  • Macro run_by_sumologic_securefiles has been removed
  • Macro duply_writing_exclude_files has been removed
  • Macro rancher_agent has been removed
  • Macro veritas_progs has been removed
  • Macro dse_writing_tmp has been removed
  • Macro runc_writing_var_lib_docker has been removed
  • Macro bin_dir has been removed
  • Macro ms_oms_writing_conf has been removed
  • Macro sensitive_mount has been removed
  • Macro kubectl_writing_state has been removed
  • Macro cloud_init_writing_ssh has been removed
  • Macro user_known_write_monitored_dir_conditions has been removed
  • Macro checkpoint_writing_state has been removed
  • Macro user_known_set_setuid_or_setgid_bit_conditions has been removed
  • Macro update_ca_trust_writing_pki has been removed
  • Macro cassandra_writing_state has been removed
  • Macro dpkg_scripting has been removed
  • Macro automount_using_mtab has been removed
  • Macro modify_shell_history has been removed
  • Macro rpm_procs has been removed
  • Macro package_mgmt_ancestor_procs has been removed
  • Macro countly_writing_nginx_conf has been removed
  • Macro user_known_write_below_etc_activities has been removed
  • Macro var_lib_docker_filepath has been removed
  • Macro lvprogs_writing_conf has been removed
  • Macro haproxy_writing_conf has been removed
  • Macro user_known_create_files_below_dev_activities has been removed
  • Macro user_known_ingress_remote_file_copy_activities has been removed
  • Macro interpreted_procs has been removed
  • Macro zap_writing_state has been removed
  • Macro openshift_image has been removed
  • Macro user_known_write_below_root_activities has been removed
  • Macro chmod has been removed
  • Macro bin_dir_mkdir has been removed
  • Macro parent_ucf_writing_conf has been removed
  • Macro git_writing_nssdb has been removed
  • Macro coreos_write_ssh_dir has been removed
  • Macro ufw_writing_conf has been removed
  • Macro xmlcatalog_writing_files has been removed
  • Macro mysql_writing_conf has been removed
  • Macro rename has been removed
  • Macro iscsi_writing_conf has been removed
  • Macro selinux_writing_conf has been removed
  • Macro ipsec_writing_conf has been removed
  • Macro monitored_dir has been removed
  • Macro user_sensitive_mount_containers has been removed
  • Macro ingress_remote_file_copy_procs has been removed
  • Macro user_known_run_as_root_container has been removed
  • Macro consul_template_writing_conf has been removed
  • Macro user_trusted_containers has been removed
  • Macro chage_list has been removed
  • Macro ec2_metadata_containers has been removed
  • Macro user_known_k8s_client_container_parens has been removed
  • Macro modify has been removed
  • Macro azure_scripts_writing_conf has been removed
  • Macro google_accounts_daemon_writing_ssh has been removed
  • Macro plesk_running_mktemp has been removed
  • Macro remove has been removed
  • Macro chef_client_writing_conf has been removed
  • Macro jboss_in_container_writing_passwd has been removed
  • Macro curl_writing_pki_db has been removed
  • Macro http_proxy_procs has been removed
  • Macro minerpool_other has been removed
  • Macro bin_dir_rename has been removed
  • Macro java_running_cassandra has been removed
  • Macro httpd_writing_conf_logs has been removed
  • Macro network_local_subnet has been removed
  • Macro redis_writing_conf has been removed
  • Macro inbound_outbound has been removed
  • Macro rancher_network_manager has been removed
  • Macro rancher_writing_root has been removed
  • Macro java_writing_conf has been removed
  • Macro user_known_db_spawned_processes has been removed
  • Macro pkg_mgmt_in_kube_proxy has been removed
  • Macro pkgmgmt_progs_writing_pki has been removed
  • Macro rancher_writing_conf has been removed
  • Macro allowed_aws_ecr_registry_root_for_eks has been removed
  • Macro user_known_network_tool_activities has been removed
  • Macro user_known_container_drift_activities has been removed
  • Macro curl_download has been removed
  • Macro package_mgmt_procs has been removed
  • Macro ssh_port has been removed
  • Macro user_known_remote_file_copy_activities has been removed
  • Macro rook_writing_conf has been removed
  • Macro mcafee_writing_cma_d has been removed
  • Macro user_expected_system_procs_network_activity_conditions has been removed
  • Macro mkdir has been removed
  • Macro root_dir has been removed
  • Macro cockpit_writing_conf has been removed
  • Macro chef_writing_conf has been removed
  • Macro calico_writing_envvars has been removed
  • Macro sed_writing_temp_file has been removed
  • Macro plesk_install_writing_apache_conf has been removed
  • Macro user_known_change_thread_namespace_activities has been removed
  • Macro python_running_chef has been removed
  • Macro python_running_denyhosts has been removed
  • Macro veritas_writing_config has been removed
  • Macro prometheus_conf_writing_conf has been removed
  • Macro calico_node has been removed
  • Macro user_known_write_root_conditions has been removed
  • Macro nodeport_containers has been removed
  • Macro net_miner_pool has been removed
  • Macro inbound has been removed
  • Macro java_running_sdjagent has been removed
  • Macro symantec_writing_conf has been removed
  • Macro gugent_writing_guestagent_log has been removed
  • Macro weaveworks_scope has been removed
  • Macro always_true has been removed
  • List network_tool_binaries has been removed
  • List authorized_server_port has been removed
  • List ssl_mgmt_binaries has been removed
  • List bash_config_filenames has been removed
  • List shell_config_directories has been removed
  • List ms_oms_binaries has been removed
  • List dhcp_binaries has been removed
  • List rfc_1918_addresses has been removed
  • List allowed_inbound_source_ipaddrs has been removed
  • List shell_config_filenames has been removed
  • List known_root_directories has been removed
  • List miner_ports has been removed
  • List known_root_files has been removed
  • List l2tp_udp_ports has been removed
  • List test_connect_ports has been removed
  • List miner_domains has been removed
  • List k8s_client_binaries has been removed
  • List openscap_rpm_binaries has been removed
  • List known_istio_files has been removed
  • List sysdigcloud_binaries has been removed
  • List bash_config_files has been removed
  • List monitored_directories has been removed
  • List https_miner_domains has been removed
  • List shell_mgmt_binaries has been removed
  • List allowed_outbound_destination_networks has been removed
  • List csh_config_files has been removed
  • List expected_udp_ports has been removed
  • List exclude_hidden_directories has been removed
  • List repository_directories has been removed
  • List zsh_config_filenames has been removed
  • List allowed_dev_files has been removed
  • List user_known_userfaultfd_processes has been removed
  • List safe_etc_dirs has been removed
  • List falco_sensitive_mount_images has been removed
  • List statsd_ports has been removed
  • List k8s_binaries has been removed
  • List network_plugin_binaries has been removed
  • List redhat_io_images_privileged has been removed
  • List veritas_binaries has been removed
  • List ingress_remote_file_copy_binaries has been removed
  • List allowed_inbound_source_domains has been removed
  • List http_proxy_binaries has been removed
  • List user_known_k8s_images has been removed
  • List known_binaries_to_read_environment_variables_from_proc_files has been removed
  • List lxd_binaries has been removed
  • List allowed_outbound_destination_ipaddrs has been removed
  • List openvpn_udp_ports has been removed
  • List user_known_change_thread_namespace_binaries has been removed
  • List c2_server_ip_list has been removed
  • List shell_config_files has been removed
  • List ntp_ports has been removed
  • List user_known_k8s_ns_kube_system_images has been removed
  • List known_system_procs_network_activity_binaries has been removed
  • List namespace_scope_network_only_subnet has been removed
  • List user_known_chmod_applications has been removed
  • List repository_files has been removed
  • List http_miner_domains has been removed
  • List c2_server_fqdn_list has been removed
  • List coreutils_binaries has been removed
  • List interpreted_binaries has been removed
  • List csh_config_filenames has been removed
  • List allowed_image has been removed
  • List plesk_binaries has been removed
  • List authorized_server_binary has been removed
  • List known_setuid_binaries has been removed
  • List allowed_outbound_destination_domains has been removed
  • List allowed_inbound_source_networks has been removed
  • List run_as_root_image_list has been removed
  • List ssh_binaries has been removed
  • List remote_file_copy_binaries has been removed
  • List dev_creation_binaries has been removed
  • Rule Directory traversal monitored file read has less tags than before
  • Rule Read sensitive file trusted after startup has less tags than before
  • Rule Read sensitive file untrusted has less tags than before
  • Rule Remove Bulk Data from Disk has less tags than before
  • Rule Create Symlink Over Sensitive Files has less tags than before
  • Rule Create Hardlink Over Sensitive Files has less tags than before
  • Rule Packet socket created in container has less tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has less tags than before
  • Rule Linux Kernel Module Injection Detected has less tags than before
  • Rule Debugfs Launched in Privileged Container has less tags than before
  • Rule Detect release_agent File Container Escapes has less tags than before
  • Rule PTRACE attached to process has less tags than before
  • Rule Execution from /dev/shm has less tags than before

Patch changes:

  • Rule Directory traversal monitored file read changed its output fields
  • Rule Directory traversal monitored file read has more tags than before
  • Rule Read sensitive file trusted after startup changed its output fields
  • Rule Read sensitive file trusted after startup has more tags than before
  • Rule Read sensitive file untrusted changed its output fields
  • Rule Read sensitive file untrusted has more tags than before
  • Rule Run shell untrusted changed its output fields
  • Rule Run shell untrusted has more tags than before
  • Rule Run shell untrusted has a more urgent priority than before
  • Rule System user interactive changed its output fields
  • Rule System user interactive has more tags than before
  • Rule Terminal shell in container has more tags than before
  • Rule Contact K8S API Server From Container changed its output fields
  • Rule Contact K8S API Server From Container has more tags than before
  • Rule Netcat Remote Code Execution in Container changed its output fields
  • Rule Netcat Remote Code Execution in Container has more tags than before
  • Rule Search Private Keys or Passwords changed its output fields
  • Rule Search Private Keys or Passwords has more tags than before
  • Rule Clear Log Activities changed its output fields
  • Rule Clear Log Activities has more tags than before
  • Rule Remove Bulk Data from Disk changed its output fields
  • Rule Remove Bulk Data from Disk has more tags than before
  • Rule Create Symlink Over Sensitive Files changed its output fields
  • Rule Create Symlink Over Sensitive Files has more tags than before
  • Rule Create Hardlink Over Sensitive Files changed its output fields
  • Rule Create Hardlink Over Sensitive Files has more tags than before
  • Rule Packet socket created in container changed its output fields
  • Rule Packet socket created in container has more tags than before
  • Rule Redirect STDOUT/STDIN to Network Connection in Container changed its output fields
  • Rule Redirect STDOUT/STDIN to Network Connection in Container has more tags than before
  • Rule Linux Kernel Module Injection Detected changed its output fields
  • Rule Linux Kernel Module Injection Detected has more tags than before
  • Rule Debugfs Launched in Privileged Container changed its output fields
  • Rule Debugfs Launched in Privileged Container has more tags than before
  • Rule Detect release_agent File Container Escapes changed its output fields
  • Rule Detect release_agent File Container Escapes has more tags than before
  • Rule PTRACE attached to process changed its output fields
  • Rule PTRACE attached to process has more tags than before
  • Rule PTRACE anti-debug attempt changed its output fields
  • Rule PTRACE anti-debug attempt has more tags than before
  • Rule Find AWS Credentials changed its output fields
  • Rule Find AWS Credentials has more tags than before
  • Rule Execution from /dev/shm changed its output fields
  • Rule Execution from /dev/shm has more tags than before
  • Rule Drop and execute new binary in container changed its output fields
  • Rule Drop and execute new binary in container has more tags than before

@leogr
Copy link
Member Author

leogr commented Sep 4, 2023

@incertum

I think this is a great idea for now to duplicate the macros and lists in the respective rules files to ensure that they are self contained. In the future we can think of better ways to reduce duplication.

Before sharing my final thoughts on that, I want to play a bit with the current approach when multiple rules files are loaded simultaneously. I will let you know.

Ok, I did some experiments, and my conclusion is that we should keep duplicate entries for now. In this way, duplicated items are just silently overwritten. The only con is that the loading order affects the end results when the duplicate item is not identical (for example, if it has been modified in one file but not in the other).

The alternative would be to use an idiomatic syntax to make one rules file depend on an item defined in another other rule files, for example:

- macro: ansible_running_python
  append: true
  condition: " "

This ☝️ would force the user to load another rules file with the ansible_running_python macro definition.
However, this is ugly and not necessarily the best option. In any case, the duplicated item issue should be separately discussed in another issue/PR (and likely to be postponed to Falco 0.37).

For the record, here's the list of dups:

Duplicated Macros:
Duplicated macro: ansible_running_python
        File: ../rules/falco_rules.yaml, Line: 248
        File: ../rules/falco-sandbox_rules.yaml, Line: 489
Duplicated macro: calico_node
        File: ../rules/falco-incubating_rules.yaml, Line: 383
        File: ../rules/falco-sandbox_rules.yaml, Line: 1022
Duplicated macro: open_write
        File: ../rules/falco_rules.yaml, Line: 37
        File: ../rules/falco-incubating_rules.yaml, Line: 29
        File: ../rules/falco-sandbox_rules.yaml, Line: 37
Duplicated macro: container_started
        File: ../rules/falco-incubating_rules.yaml, Line: 299
        File: ../rules/falco-sandbox_rules.yaml, Line: 467
Duplicated macro: exe_running_docker_save
        File: ../rules/falco-incubating_rules.yaml, Line: 351
        File: ../rules/falco-sandbox_rules.yaml, Line: 660
Duplicated macro: never_true
        File: ../rules/falco_rules.yaml, Line: 58
        File: ../rules/falco-deprecated_rules.yaml, Line: 37
        File: ../rules/falco-incubating_rules.yaml, Line: 46
        File: ../rules/falco-sandbox_rules.yaml, Line: 51
Duplicated macro: open_read
        File: ../rules/falco_rules.yaml, Line: 40
        File: ../rules/falco-incubating_rules.yaml, Line: 32
        File: ../rules/falco-sandbox_rules.yaml, Line: 40
Duplicated macro: modify
        File: ../rules/falco-incubating_rules.yaml, Line: 73
        File: ../rules/falco-sandbox_rules.yaml, Line: 81
Duplicated macro: allowed_aws_ecr_registry_root_for_eks
        File: ../rules/falco-incubating_rules.yaml, Line: 486
        File: ../rules/falco-sandbox_rules.yaml, Line: 1362
Duplicated macro: remove
        File: ../rules/falco-incubating_rules.yaml, Line: 70
        File: ../rules/falco-sandbox_rules.yaml, Line: 78
Duplicated macro: rename
        File: ../rules/falco-incubating_rules.yaml, Line: 67
        File: ../rules/falco-sandbox_rules.yaml, Line: 72
Duplicated macro: container
        File: ../rules/falco_rules.yaml, Line: 224
        File: ../rules/falco-deprecated_rules.yaml, Line: 133
        File: ../rules/falco-incubating_rules.yaml, Line: 296
        File: ../rules/falco-sandbox_rules.yaml, Line: 464
Duplicated macro: inbound_outbound
        File: ../rules/falco-deprecated_rules.yaml, Line: 55
        File: ../rules/falco-incubating_rules.yaml, Line: 218
        File: ../rules/falco-sandbox_rules.yaml, Line: 364
Duplicated macro: user_ssh_directory
        File: ../rules/falco_rules.yaml, Line: 309
        File: ../rules/falco-incubating_rules.yaml, Line: 358
        File: ../rules/falco-sandbox_rules.yaml, Line: 793
Duplicated macro: run_by_qualys
        File: ../rules/falco_rules.yaml, Line: 254
        File: ../rules/falco-incubating_rules.yaml, Line: 311
Duplicated macro: outbound
        File: ../rules/falco-deprecated_rules.yaml, Line: 44
        File: ../rules/falco-incubating_rules.yaml, Line: 207
        File: ../rules/falco-sandbox_rules.yaml, Line: 353
Duplicated macro: spawned_process
        File: ../rules/falco_rules.yaml, Line: 79
        File: ../rules/falco-incubating_rules.yaml, Line: 76
        File: ../rules/falco-sandbox_rules.yaml, Line: 84
Duplicated macro: veritas_driver_script
        File: ../rules/falco_rules.yaml, Line: 306
        File: ../rules/falco-sandbox_rules.yaml, Line: 627
Duplicated macro: etc_dir
        File: ../rules/falco_rules.yaml, Line: 95
        File: ../rules/falco-sandbox_rules.yaml, Line: 120
Duplicated macro: run_by_google_accounts_daemon
        File: ../rules/falco_rules.yaml, Line: 261
        File: ../rules/falco-incubating_rules.yaml, Line: 333
Duplicated macro: package_mgmt_ancestor_procs
        File: ../rules/falco-incubating_rules.yaml, Line: 166
        File: ../rules/falco-sandbox_rules.yaml, Line: 298
Duplicated macro: postgres_running_wal_e
        File: ../rules/falco_rules.yaml, Line: 433
        File: ../rules/falco-incubating_rules.yaml, Line: 386
Duplicated macro: package_mgmt_procs
        File: ../rules/falco-incubating_rules.yaml, Line: 163
        File: ../rules/falco-sandbox_rules.yaml, Line: 295
Duplicated macro: proc_name_exists
        File: ../rules/falco_rules.yaml, Line: 76
        File: ../rules/falco-incubating_rules.yaml, Line: 64
        File: ../rules/falco-sandbox_rules.yaml, Line: 69
Duplicated macro: chmod
        File: ../rules/falco-incubating_rules.yaml, Line: 79
        File: ../rules/falco-sandbox_rules.yaml, Line: 87
Duplicated macro: user_trusted_containers
        File: ../rules/falco-incubating_rules.yaml, Line: 525
        File: ../rules/falco-sandbox_rules.yaml, Line: 1399
Duplicated macro: run_by_chef
        File: ../rules/falco_rules.yaml, Line: 268
        File: ../rules/falco-sandbox_rules.yaml, Line: 501

Duplicated Lists:
Duplicated list: bash_config_files
        File: ../rules/falco-incubating_rules.yaml, Line: 228
        File: ../rules/falco-sandbox_rules.yaml, Line: 416
Duplicated list: user_mgmt_binaries
        File: ../rules/falco_rules.yaml, Line: 175
        File: ../rules/falco-incubating_rules.yaml, Line: 184
Duplicated list: trusted_images
        File: ../rules/falco_rules.yaml, Line: 612
        File: ../rules/falco-incubating_rules.yaml, Line: 511
        File: ../rules/falco-sandbox_rules.yaml, Line: 1385
Duplicated list: shadowutils_binaries
        File: ../rules/falco_rules.yaml, Line: 122
        File: ../rules/falco-incubating_rules.yaml, Line: 124
        File: ../rules/falco-sandbox_rules.yaml, Line: 171
Duplicated list: sysdigcloud_binaries
        File: ../rules/falco-incubating_rules.yaml, Line: 131
        File: ../rules/falco-sandbox_rules.yaml, Line: 203
Duplicated list: rfc_1918_addresses
        File: ../rules/falco-deprecated_rules.yaml, Line: 41
        File: ../rules/falco-incubating_rules.yaml, Line: 204
        File: ../rules/falco-sandbox_rules.yaml, Line: 350
Duplicated list: mail_binaries
        File: ../rules/falco_rules.yaml, Line: 187
        File: ../rules/falco-incubating_rules.yaml, Line: 196
Duplicated list: docker_binaries
        File: ../rules/falco_rules.yaml, Line: 1081
        File: ../rules/falco-incubating_rules.yaml, Line: 1165
        File: ../rules/falco-sandbox_rules.yaml, Line: 1999
Duplicated list: passwd_binaries
        File: ../rules/falco_rules.yaml, Line: 112
        File: ../rules/falco-incubating_rules.yaml, Line: 114
        File: ../rules/falco-sandbox_rules.yaml, Line: 134
Duplicated list: dev_creation_binaries
        File: ../rules/falco-incubating_rules.yaml, Line: 187
        File: ../rules/falco-sandbox_rules.yaml, Line: 313
Duplicated list: shell_config_files
        File: ../rules/falco-incubating_rules.yaml, Line: 244
        File: ../rules/falco-sandbox_rules.yaml, Line: 432
Duplicated list: nomachine_binaries
        File: ../rules/falco_rules.yaml, Line: 184
        File: ../rules/falco-incubating_rules.yaml, Line: 190
        File: ../rules/falco-sandbox_rules.yaml, Line: 316
Duplicated list: db_server_binaries
        File: ../rules/falco_rules.yaml, Line: 132
        File: ../rules/falco-incubating_rules.yaml, Line: 140
Duplicated list: sshkit_script_binaries
        File: ../rules/falco_rules.yaml, Line: 240
        File: ../rules/falco-sandbox_rules.yaml, Line: 474
Duplicated list: sematext_images
        File: ../rules/falco_rules.yaml, Line: 615
        File: ../rules/falco-incubating_rules.yaml, Line: 528
Duplicated list: userexec_binaries
        File: ../rules/falco_rules.yaml, Line: 172
        File: ../rules/falco-incubating_rules.yaml, Line: 174
Duplicated list: bash_config_filenames
        File: ../rules/falco-incubating_rules.yaml, Line: 225
        File: ../rules/falco-sandbox_rules.yaml, Line: 404
Duplicated list: shell_config_directories
        File: ../rules/falco-incubating_rules.yaml, Line: 247
        File: ../rules/falco-sandbox_rules.yaml, Line: 435
Duplicated list: shell_binaries
        File: ../rules/falco_rules.yaml, Line: 98
        File: ../rules/falco-incubating_rules.yaml, Line: 82
        File: ../rules/falco-sandbox_rules.yaml, Line: 127
Duplicated list: mail_config_binaries
        File: ../rules/falco_rules.yaml, Line: 194
        File: ../rules/falco-sandbox_rules.yaml, Line: 319
Duplicated list: login_binaries
        File: ../rules/falco_rules.yaml, Line: 105
        File: ../rules/falco-incubating_rules.yaml, Line: 107
Duplicated list: package_mgmt_binaries
        File: ../rules/falco_rules.yaml, Line: 164
        File: ../rules/falco-incubating_rules.yaml, Line: 160
        File: ../rules/falco-sandbox_rules.yaml, Line: 279
Duplicated list: shell_config_filenames
        File: ../rules/falco-incubating_rules.yaml, Line: 241
        File: ../rules/falco-sandbox_rules.yaml, Line: 429
Duplicated list: falco_privileged_images
        File: ../rules/falco_rules.yaml, Line: 637
        File: ../rules/falco-incubating_rules.yaml, Line: 548
Duplicated list: csh_config_filenames
        File: ../rules/falco-incubating_rules.yaml, Line: 232
        File: ../rules/falco-sandbox_rules.yaml, Line: 420
Duplicated list: rpm_binaries
        File: ../rules/falco_rules.yaml, Line: 149
        File: ../rules/falco-incubating_rules.yaml, Line: 145
        File: ../rules/falco-sandbox_rules.yaml, Line: 216
Duplicated list: python_package_managers
        File: ../rules/falco_rules.yaml, Line: 159
        File: ../rules/falco-incubating_rules.yaml, Line: 155
        File: ../rules/falco-sandbox_rules.yaml, Line: 274
Duplicated list: cron_binaries
        File: ../rules/falco_rules.yaml, Line: 232
        File: ../rules/falco-incubating_rules.yaml, Line: 305
Duplicated list: csh_config_files
        File: ../rules/falco-incubating_rules.yaml, Line: 235
        File: ../rules/falco-sandbox_rules.yaml, Line: 423
Duplicated list: deb_binaries
        File: ../rules/falco_rules.yaml, Line: 154
        File: ../rules/falco-incubating_rules.yaml, Line: 150
        File: ../rules/falco-sandbox_rules.yaml, Line: 253
Duplicated list: falco_containers
        File: ../rules/falco_rules.yaml, Line: 622
        File: ../rules/falco-incubating_rules.yaml, Line: 535
        File: ../rules/falco-sandbox_rules.yaml, Line: 1403
Duplicated list: zsh_config_filenames
        File: ../rules/falco-incubating_rules.yaml, Line: 238
        File: ../rules/falco-sandbox_rules.yaml, Line: 426

@leogr leogr changed the title wip: update: split falco_rules.yaml according to the rules maturity update: split falco_rules.yaml according to the rules maturity Sep 4, 2023
@leogr
Copy link
Member Author

leogr commented Sep 4, 2023

/hold cancel

@leogr
Copy link
Member Author

leogr commented Sep 4, 2023

Hey @falcosecurity/rules-maintainers

This PR is ready. PTAL 🙏

Once merged, I will tag each ruleset with version 2.0.0-rc1 so that we can test with the upcoming Falco 0.36 RC1 🙏

@leogr
Copy link
Member Author

leogr commented Sep 4, 2023

cc @falcosecurity/falco-maintainers

Copy link
Contributor

@incertum incertum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@poiana
Copy link

poiana commented Sep 4, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: incertum, leogr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit f195437 into main Sep 4, 2023
15 checks passed
@poiana poiana deleted the update/rules-files-split branch September 4, 2023 19:22
@incertum
Copy link
Contributor

incertum commented Sep 4, 2023

re #149 (comment)

  • There's no standard item's comment structure
    • I would love to define a simple Rule Doc convention (i.e., something similar to Go Doc Comments, but simpler)
  • There's no clear way to distinguish sections from item's comment

Agreed, instead of yet another doc, could we check how much of the comments could simply be removed (for example the engine version mentions could be removed) vs what information could be added to the desc since we now adopt an approach of the desc being a small paragraph vs what information could be generically shared on the existing Falco website rules sections? If it's at the end just about 4-5 special comments about unique macros or rules, we can leave them in the rules yaml where adopters are most likely to find them.

re the duplicate macros: Could we add a CI check ensuring macros and lists are the same in all files? And while we do that ensure upstream rules have no duplicative rules aka no overriding and also ensure macros and lists only appear once per rules file and as said ensure they match up across rules files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants