Launch Remote File Copy Tools in Container


Description

Detect remote file copy tools (like rsync, scp, sftp, dcp) launched within a container, potentially indicating data exfiltration. Suggest refining this rule to accommodate legitimate use cases.

Query · falco

spawned_process and container and remote_file_copy_procs and not user_known_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 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_remote_file_copy_activities
    A shared condition, not a detection — not indexed on this site.

Analyst notes

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 Remote File Copy Tools in Container · Falco YAML
Esc
Published by falcosecurity/rules ↗, licensed under Apache 2.0 ↗. Reproduced here unmodified.
rule: Launch Remote File Copy Tools in Container
desc: 'Detect remote file copy tools (like rsync, scp, sftp, dcp) launched within
  a container, potentially indicating data exfiltration. Suggest refining this rule
  to accommodate legitimate use cases.

  '
condition: 'spawned_process and container and remote_file_copy_procs and not user_known_remote_file_copy_activities

  '
output: 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_exfiltration
- T1020

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.