Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
category: process_creation
product: linux
detection:
selection_img:
Image|endswith:
- '/ash'
- '/bash'
- '/busybox'
- '/csh'
- '/dash'
- '/fish'
- '/ksh'
- '/sh'
- '/tcsh'
- '/zsh'
ParentCommandLine|contains: 'celery'
selection_parent:
- ParentImage|endswith:
- '/python'
- '/python3'
- ParentImage|contains: '/python3.'
condition: all of selection_*
falsepositives:
- Legacy or custom administrative tasks deliberately hardcoded with shell=True or os.system execution inside Celery task functions.
- Media processing, deployment, or reporting pipelines that intentionally shell out to external tools (e.g. ffmpeg, git) from within a task.