mirror of https://gitlab.com/curben/blog
page(threat-hunting): Windows JScript execution
This commit is contained in:
parent
7913075926
commit
93880a8100
|
|
@ -1695,6 +1695,17 @@ SPL:
|
||||||
| table Time, index, host, EventCode, EventDescription, process, user, Name, Email
|
| 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
|
## Windows Script Executed from Scheduled Task
|
||||||
|
|
||||||
References: [1](https://redcanary.com/blog/threat-intelligence/intelligence-insights-may-2024/)
|
References: [1](https://redcanary.com/blog/threat-intelligence/intelligence-insights-may-2024/)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue