From 93880a8100021c5320eae1d60ad2a8a20bf9dcff Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Sun, 1 Jun 2025 11:54:08 +0000 Subject: [PATCH] page(threat-hunting): Windows JScript execution --- source/threat-hunting/index.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/source/threat-hunting/index.md b/source/threat-hunting/index.md index abb9159..15880bc 100644 --- a/source/threat-hunting/index.md +++ b/source/threat-hunting/index.md @@ -1695,6 +1695,17 @@ SPL: | table Time, index, host, EventCode, EventDescription, process, user, Name, Email ``` +## Windows JScript execution + +Description: JScript execution with unusual file extension. +References: [1](https://redcanary.com/blog/threat-intelligence/intelligence-insights-may-2025/) +SPL: + +```spl +| tstats summariesonly=true allow_old_summaries=true fillnull_value="(unknown)" count FROM datamodel=Endpoint.Processes WHERE index="windows" Processes.process_name IN ("wscript.exe", "cscript.exe") Processes.process="*/e:jscript*" NOT Processes.process IN ("*.js", "*.bat", "*.cmd") BY index, host, Processes.signature_id, Processes.signature, Processes.parent_process, Processes.process, Processes.user, _time span=1s +| rename Processes.* AS *, signature_id AS EventCode, signature AS EventDescription +``` + ## Windows Script Executed from Scheduled Task References: [1](https://redcanary.com/blog/threat-intelligence/intelligence-insights-may-2024/)