Techniques
Sample rules
First Time Seen Running Windows Service
- source: splunk
- technicques:
- T1569
- T1569.002
Description
This search looks for the first and last time a Windows service is seen running in your environment. This table is then cached.
Detection logic
`wineventlog_system` EventCode=7036
| rex field=Message "The (?<service>[-\(\)\s\w]+) service entered the (?<state>\w+) state"
| where state="running"
| lookup previously_seen_running_windows_services service as service OUTPUT firstTimeSeen
| where isnull(firstTimeSeen) OR firstTimeSeen > relative_time(now(), `previously_seen_windows_services_window`)
| table _time dest service
| `first_time_seen_running_windows_service_filter`