Getting Data In

Reduce Event Code 4663 volume

AbelCruz
Path Finder

 

Hello. 

Thank you for reading this

Due to license constrictions, we need to eliminate the Event Code 4663 based on the Message field that includes Accesses: ReadData (or ListDirectory). while retaining the other values from the Accesses field. We are using the Splunk_TA_windows and configuring blacklist in its inputs.conf file. We have tried tried several regex but so far they either blacklist the entire Event Code 4663 or it doesn't

Here is an example of the Message field:

n attempt was made to access an object. Subject: Security ID: ACA\ACA_SQL_Service Account Name: ACA_SQL_Service Account Domain: ACA Logon ID: 0x1347AFBE1 Object: Object Server: Security Object Type: File Object Name: G:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn Handle ID: 0x55c Resource Attributes: Process Information: Process ID: 0x55cc8 Process Name: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Access Request Information: Accesses: ReadData (or ListDirectory) Access Mask: 0x1

AbelCruz_0-1609642681530.png

 

Labels (1)
0 Karma
1 Solution

AbelCruz
Path Finder

Thank you for your reply.

Can this be done at the UF level through a blacklist regex?

 

View solution in original post

0 Karma

to4kawa
Ultra Champion

Not UF, HF or Indexer.

0 Karma

AbelCruz
Path Finder

HF is not an option for us at this moment. 

Doing this at the indexer level still count against the daily license?

0 Karma

to4kawa
Ultra Champion

sample event:

index=_internal | head 1 | fields _raw
| eval _raw="<Event xmlns=\"http://schemas.microsoft.com/win/2004/08/events/event\">
 <System>
 <Provider Name=\"Microsoft-Windows-Security-Auditing\" Guid=\"{54849625-5478-4994-A5BA-3E3B0328C30D}\" /> 
 <EventID>4663</EventID> 
 <Version>1</Version> 
 <Level>0</Level> 
 <Task>12800</Task> 
 <Opcode>0</Opcode> 
 <Keywords>0x8020000000000000</Keywords> 
 <TimeCreated SystemTime=\"2015-09-18T22:13:54.770429700Z\" /> 
 <EventRecordID>273866</EventRecordID> 
 <Correlation /> 
 <Execution ProcessID=\"516\" ThreadID=\"524\" /> 
 <Channel>Security</Channel> 
 <Computer>DC01.contoso.local</Computer> 
 <Security /> 
 </System>
- <EventData>
 <Data Name=\"SubjectUserSid\">S-1-5-21-3457937927-2839227994-823803824-1104</Data> 
 <Data Name=\"SubjectUserName\">dadmin</Data> 
 <Data Name=\"SubjectDomainName\">CONTOSO</Data> 
 <Data Name=\"SubjectLogonId\">0x4367b</Data> 
 <Data Name=\"ObjectServer\">Security</Data> 
 <Data Name=\"ObjectType\">File</Data> 
 <Data Name=\"ObjectName\">C:\\Documents\\HBI Data.txt</Data> 
 <Data Name=\"HandleId\">0x1bc</Data> 
 <Data Name=\"AccessList\">%%4417 %%4418</Data> 
 <Data Name=\"AccessMask\">0x6</Data> 
 <Data Name=\"ProcessId\">0x458</Data> 
 <Data Name=\"ProcessName\">C:\\\\Windows\\\\System32\\\\notepad.exe</Data> 
 <Data Name=\"ResourceAttributes\">S:AI(RA;ID;;;;WD;(\"Impact\_MS\",TI,0x10020,3000))</Data> 
 </EventData>
 </Event>"
 | rex "(?ms)(?:EventID\>4663.*)(?<tmp>notepad\.exe)"

https://community.splunk.com/t5/Splunk-Search/How-to-use-regex-to-send-events-to-NullQueue/m-p/33222...

https://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad

0 Karma

AbelCruz
Path Finder

Thank you for your reply.

Can this be done at the UF level through a blacklist regex?

 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...