Splunk Enterprise Security

Sysmon query for unauthorized process

frank3nstien
New Member

How can i detect unauthorized sysmon process of Event ID 4 and 255 using splunk query?

0 Karma

larchinal75
Explorer

Good afternoon frank3nstien,

The two events that you are looking at are very rare and only happen under certain circumstances.

Event ID 4: This triggers when the service state has changed. This will fire if you restart the service, shut it down, or any other actions that could be taken upon the service. If you want to find logs regarding this Event ID follow these steps.

While Sysmon is running, go to powershell and type in "services.msc". This will open the list of services currently running on your machine. Find Sysmon and select it. Then click restart. If you want more than one log, repeat the restart action multiple times. Now wait some time then check Splunk for Event ID 4.

Event ID 255: Error: I honestly do not know how to produce this event but again it is a rare event.

I hope this helps! Have a wonderful day!

Resources:
https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx?i=j

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...