title: Linux Node.js Starts a Shell or Download Utility
id: 9d6f68db-a1bc-4c57-972e-5c0d4de52815
status: experimental
description: >-
    Finds a direct shell or downloader child of a Node.js process. Scope to
    known Node-RED Linux hosts and inspect the parent command line to establish
    the application. This behavior is also legitimate and does not prove
    exploitation, a completed download, or malware execution.
author: Deception Check
date: '2026-11-03'
references:
    - https://www.vulncheck.com/blog/exploitation-targeting-node-red
    - https://github.com/microsoft/Sysmon-Linux
    - https://sigmahq.io/sigma-specification/specification/sigma-appendix-taxonomy.html
logsource:
    category: process_creation
    product: linux
    definition: >-
        Requires collected process start events with full executable paths for
        Image and ParentImage, for example parsed Sysmon for Linux Event ID 1.
        Raw auditd EXECVE records alone do not supply this parent image mapping.
detection:
    selection_parent:
        ParentImage|endswith:
            - '/node'
            - '/nodejs'
    selection_child:
        Image|endswith:
            - '/sh'
            - '/bash'
            - '/dash'
            - '/zsh'
            - '/ksh'
            - '/curl'
            - '/wget'
    condition: selection_parent and selection_child
fields:
    - Computer
    - User
    - ParentImage
    - ParentCommandLine
    - Image
    - CommandLine
    - ProcessGuid
    - ParentProcessGuid
falsepositives:
    - Authorized Node-RED exec nodes, installation, maintenance, and deployment tasks
    - Other Node.js applications, package managers, and build systems
level: low
