Sigma rule: Potentially Suspicious Inline JavaScript Execution via NodeJS Binary

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-e15f171e6073, updated 2025-04-21T00:00:00.000Z.

Rule

Title
Potentially Suspicious Inline JavaScript Execution via NodeJS Binary
Status
experimental
Level
medium
Author
Microsoft (idea), Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2025-04-21
File
rules/windows/process_creation/proc_creation_win_susp_inline_node_js_execution.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects potentially suspicious inline JavaScript execution using Node.js with specific keywords in the command line.

Log source

product
windows
category
process_creation

Detection

selection_img:
    - Image|endswith: '\node.exe'
    - OriginalFileName: 'node.exe'
    - Product: 'Node.js'
selection_cmd:
    CommandLine|contains|all:
        - 'http'
        - 'execSync'
        - 'spawn'
        - 'fs'
        - 'path'
        - 'zlib'
condition: all of selection_*

False positives (as the rule lists them)

  • Legitimate scripts using Node.js with these modules

Tags

  • attack.execution
  • attack.t1059.007

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_inline_node_js_execution.yml

Sources and licences

  • SigmaHQ

    "Potentially Suspicious Inline JavaScript Execution via NodeJS Binary" by Microsoft (idea), Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_susp_inline_node_js_execution.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Potentially Suspicious Inline JavaScript Execution via NodeJS Binary",
entity page, dataset version ref-e15f171e6073, updated 2025-04-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/8537c866-072e-460d-bfff-aaf39cbd73d3 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 8537c866-072e-460d-bfff-aaf39cbd73d3, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.