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
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...