Launch Ingress Remote File Copy Tools in Container


Description

Detect ingress remote file copy tools (such as curl or wget) launched inside containers. This rule can be considered a valuable auditing tool, but it has the potential to generate notable noise and requires careful profiling before full operationalization.

Query · falco

spawned_process and container and (ingress_remote_file_copy_procs or curl_download) and not user_known_ingress_remote_file_copy_activities

Rule dependencies

Depends on

  • composes · Falco macro container
    A shared condition, not a detection — not indexed on this site.
  • composes · Falco macro curl_download
    A shared condition, not a detection — not indexed on this site.
  • composes · Falco macro ingress_remote_file_copy_procs
    A shared condition, not a detection — not indexed on this site.
  • composes · Falco macro spawned_process
    A shared condition, not a detection — not indexed on this site.
  • composes · Falco macro user_known_ingress_remote_file_copy_activities
    A shared condition, not a detection — not indexed on this site.

Analyst notes

Ingress remote file copy tool launched in container | evt_type=%evt.type user=%user.name user_uid=%user.uid user_loginuid=%user.loginuid process=%proc.name proc_exepath=%proc.exepath parent=%proc.pname command=%proc.cmdline terminal=%proc.tty exe_flags=%evt.arg.flags

Raw source Launch Ingress Remote File Copy Tools in Container · Falco YAML
Esc
Published by falcosecurity/rules ↗, licensed under Apache 2.0 ↗. Reproduced here unmodified.
rule: Launch Ingress Remote File Copy Tools in Container
desc: 'Detect ingress remote file copy tools (such as curl or wget) launched inside
  containers. This rule can be considered a valuable auditing tool, but it has the
  potential to generate notable noise and requires careful profiling before full operationalization.

  '
condition: 'spawned_process and container and (ingress_remote_file_copy_procs or curl_download)
  and not user_known_ingress_remote_file_copy_activities

  '
output: Ingress remote file copy tool launched in container | evt_type=%evt.type user=%user.name
  user_uid=%user.uid user_loginuid=%user.loginuid process=%proc.name proc_exepath=%proc.exepath
  parent=%proc.pname command=%proc.cmdline terminal=%proc.tty exe_flags=%evt.arg.flags
priority: NOTICE
tags:
- maturity_incubating
- container
- network
- process
- mitre_command_and_control
- TA0011

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.