Splunk Search

how to write splunk query for watching abuse of a service account?

lakshmikolli201
New Member

Hello,

I want to write a detection for watching abuse of a service being used. How to do i start writing the logic. any help would be appreciated.
thank you.

0 Karma

vikramyadav
Contributor
  1. So the best practices for writing a query is not but at least you should know by which index you have to search for your events. Suppose let's take an example you have your events in index=abc
  2. And then choose your source or sourcetype
  3. Check events and search for field or a key word like in your case is "service"
  4. List item and then try to frame query
  5. Query will look like index=abc source=service_account service! =granted | table service
0 Karma

lakshmikolli201
New Member

Detection for abuse of service account being used

0 Karma

starcher
Influencer

Rich is asking what do you mean by abuse?

Count of failures? Count of success? By source? Over a given time range? From a given source to a number of destinations in a given time window?

You always need to start with defining the criteria of what you mean when using terms like abuse, unusual, unexpected etc when creating detections. That drives what you do in SPL.

0 Karma

lakshmikolli201
New Member

Hi Rich,

Thanks for your response.

abuse means unusual authentications, interactive activity, suspicious processes. I would like to build detections for any of these terms. could you please suggest me how can I proceed further with this?

thank you,
Lakshmi

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Check out the Splunk Security Essentials app (https://splunkbase.splunk.com/app/3435/).

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please explain what "abuse of service account" means to you.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...