Sigma rule: NodeJS Execution of JavaScript File
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-a58e8f1a6e96, updated 2025-04-21T00:00:00.000Z.
Rule
- Title
- NodeJS Execution of JavaScript File
- Status
- experimental
- Level
- low
- Author
- Swachchhanda Shrawan Poudel (Nextron Systems)
- Date
- 2025-04-21
- File
- rules/windows/process_creation/proc_creation_win_security_susp_node_js_execution.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects execution of JavaScript or JSC files using NodeJs binary node.exe, that could be potentially suspicious.
Node.js is a popular open-source JavaScript runtime that runs code outside browsers and is widely used for both frontend and backend development.
Adversaries have been observed abusing Node.js to disguise malware as legitimate processes, evade security defenses, and maintain persistence within target systems.
Because Node.js is commonly used, this rule may generate false positives in some environments. However, if such activity is unusual in your environment, it is highly suspicious and warrants immediate investigation.
Log source
- product
- windows
- category
- process_creation
Detection
selection_img:
- Image|endswith: '\node.exe'
- OriginalFileName: 'node.exe'
- Product: 'Node.js'
selection_cmd:
CommandLine|contains: '.js'
condition: all of selection_*False positives (as the rule lists them)
- Legitimate use of node.exe to execute JavaScript or JSC files on your environment
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_security_susp_node_js_execution.yml
Sources and licences
SigmaHQ
"NodeJS Execution of JavaScript File" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_security_susp_node_js_execution.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: NodeJS Execution of JavaScript File",
entity page, dataset version ref-a58e8f1a6e96, updated 2025-04-21T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/ba3874b9-0fae-465f-836c-eb5d071a1789 (accessed 2026-11-03).
Underlying source: SigmaHQ rule ba3874b9-0fae-465f-836c-eb5d071a1789, 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.