{"id":"97661d9d-2beb-4630-b423-68985291a8af","title":"Potential RCE Exploitation Attempt In NodeJS","description":"Detects process execution related errors in NodeJS. If the exceptions are caused due to user input then they may suggest an RCE vulnerability.","author":"Moti Harmats","status":"test","level":"high","date":"2023-02-11","modified":"","tags":["attack.initial-access","attack.t1190"],"technique_ids":["T1190"],"logsource":{"category":"application","product":"nodejs","definition":"Requirements: application error logs must be collected (with LOG_LEVEL=ERROR and above)"},"falsepositives":["Puppeteer invocation exceptions often contain child_process related errors, that doesn't necessarily mean that the app is vulnerable."],"references":["https://www.wix.engineering/post/threat-and-vulnerability-hunting-with-application-server-error-logs"],"source_path":"rules/application/nodejs/nodejs_rce_exploitation_attempt.yml","source_sha256":"09d125f6f6faf300235fca870e326ff882a4ff924150e90460abbbdf3c091281","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/application/nodejs/nodejs_rce_exploitation_attempt.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Potential RCE Exploitation Attempt In NodeJS\nid: 97661d9d-2beb-4630-b423-68985291a8af\nstatus: test\ndescription: Detects process execution related errors in NodeJS. If the exceptions are caused due to user input then they may suggest an RCE vulnerability.\nreferences:\n    - https://www.wix.engineering/post/threat-and-vulnerability-hunting-with-application-server-error-logs\nauthor: Moti Harmats\ndate: 2023-02-11\ntags:\n    - attack.initial-access\n    - attack.t1190\nlogsource:\n    category: application\n    product: nodejs\n    definition: 'Requirements: application error logs must be collected (with LOG_LEVEL=ERROR and above)'\ndetection:\n    keywords:\n        - 'node:child_process'\n    condition: keywords\nfalsepositives:\n    - Puppeteer invocation exceptions often contain child_process related errors, that doesn't necessarily mean that the app is vulnerable.\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1190","id":"T1190","name":"Exploit Public-Facing Application","page":"techniques/enterprise/T1190/"}],"data_path":"data/detection-rules/97661d9d-2beb-4630-b423-68985291a8af.json","kind":"sigma"}
