Getting Data In
Highlighted

Splunk Forwarder Blacklist

New Member

Looking for help with a blacklist. Im looking to blacklist a certain event Process Name when spawned by an Account Name ending in a $. I have the account name part working but cannot figure out the process name. Has anyone done this? here is my blacklist with 4625s.

blacklist7 = EventCode="4625" Message="^[\D\w\W]Account\s+Name:\s+-[\D\w\W]Account\s+Name:\s.*\$"

0 Karma
Highlighted

Re: Splunk Forwarder Blacklist

SplunkTrust
SplunkTrust

can you provide sample events ?

0 Karma
Highlighted

Re: Splunk Forwarder Blacklist

New Member

Sure so what I want to do is this :blacklist7 = EventCode="4688" Message="^[\D\w\W]*Account\s+Name:\s+-[\D\w\W]Account\s+Name:\s.\$"

But also Have New Process Name = Arp.exe

0 Karma
Highlighted

Re: Splunk Forwarder Blacklist

SplunkTrust
SplunkTrust

Give me entire event with eventcode message account name and process name as it is coming in splunk.

0 Karma
Highlighted

Re: Splunk Forwarder Blacklist

New Member

Oh ok here it is:

A new process has been created. Creator Subject: Security ID: NT AUTHORITY\SYSTEM Account Name: HOSTNAME$ Account Domain: COMOS Logon ID: 0x3E7 Target Subject: Security ID: NULL SID Account Name: - Account Domain: - Logon ID: 0x0 Process Information: New Process ID: 0x3d4 New Process Name: C:\Windows\System32\ARP.EXE Token Elevation Type: TokenElevationTypeDefault (1) Creator Process ID: 0xcb8 Process Command Line: "C:\Windows\system32\arp.exe" -d Token Elevation Type indicates the type of token that was assigned to the new process in accordance with User Account Control policy. Type 1 is a full token with no privileges removed or groups disabled. A full token is only used if User Account Control is disabled or if the user is the built-in Administrator account or a service account. Type 2 is an elevated token with no privileges removed or groups disabled. An elevated token is used when User Account Control is enabled and the user chooses to start the program using Run as administrator. An elevated token is also used when an application is configured to always require administrative privilege or to always require maximum privilege, and the user is a member of the Administrators group. Type 3 is a limited token with administrative privileges removed and administrative groups disabled. The limited token is used when User Account Control is enabled, the application does not require administrative privilege, and the user does not choose to start the program using Run as administrator.

0 Karma
Highlighted

Re: Splunk Forwarder Blacklist

New Member

I thought i replied but I dont see it.

Here is the message.

A new process has been created. Creator Subject: Security ID: NT AUTHORITY\SYSTEM Account Name: HOSTNAME$ Account Domain: COMOS Logon ID: 0x3E7 Target Subject: Security ID: NULL SID Account Name: - Account Domain: - Logon ID: 0x0 Process Information: New Process ID: 0x3d4 New Process Name: C:\Windows\System32\ARP.EXE Token Elevation Type: TokenElevationTypeDefault (1) Creator Process ID: 0xcb8 Process Command Line: "C:\Windows\system32\arp.exe" -d Token Elevation Type indicates the type of token that was assigned to the new process in accordance with User Account Control policy. Type 1 is a full token with no privileges removed or groups disabled. A full token is only used if User Account Control is disabled or if the user is the built-in Administrator account or a service account. Type 2 is an elevated token with no privileges removed or groups disabled. An elevated token is used when User Account Control is enabled and the user chooses to start the program using Run as administrator. An elevated token is also used when an application is configured to always require administrative privilege or to always require maximum privilege, and the user is a member of the Administrators group. Type 3 is a limited token with administrative privileges removed and administrative groups disabled. The limited token is used when User Account Control is enabled, the application does not require administrative privilege, and the user does not choose to start the program using Run as administrator.

0 Karma