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/)