Getting Data In

How to narrow Scope of WinNetMon Input to Domain Users?

cfloquet
Path Finder

Hello, 

Thank you for taking the time to consider my question, I'm currently configuring an custom app to deploy to Windows workstations to monitor both inbound and outbound connections strictly for domain users, to correlate the foreign IPv4s with phishing/C2 addresses we obtain via threat intelligence. 

To avoid the noise made by local or system level accounts, I would like to specify the "user" field within appName/local/inputs.conf using regex, as outlined in Splunk inputs.conf documentation, unfortunately there is no clear example of how regex can be used to do a simple restriction to only domain level accounts, which is a very common use case I'd imagine. 

What I would like to accomplish is a version of the following:

[WinNetMon://inbound-mon]

disabled=0

<...>

user=domain\*

This would effectively only monitor the inbound connections made by users that are preceded with the company domain, and thus eliminate traffic/noise from the endpoint gathering updates etc. 

Please advise on the best way to accomplish this, any working answer will be happily greeted with karma and accepted as the final solution, many thanks in advance!

 

 

Labels (3)
0 Karma
1 Solution

cfloquet
Path Finder

"Fine, I'll do it myself..."

[WinNetMon://<name of monitor input>]

disabled=0

<...>

user=domain\\(.*)

I have tested this and it works as expected, at least for me it did. 

View solution in original post

0 Karma

cfloquet
Path Finder

"Fine, I'll do it myself..."

[WinNetMon://<name of monitor input>]

disabled=0

<...>

user=domain\\(.*)

I have tested this and it works as expected, at least for me it did. 

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...