PTA event not created due to truncated incoming syslog
Symptom
PTA event not created even though SIEM status showing 'Green' in the PVWA - PTA monitoring page.
Environment
12.6;13.0;13.2;14.0;14.2 Privileged Access Manager (PAM, self-hosted) PTA
PTA - 12.6
Splunk SIEM
Cause
Syslog from the third-party SIEM sending truncated syslog packets towards PTA. Therefore, all events sent with truncated syslogs will be ignored.
Sample truncated syslogs from Splunk SIEM:
========================================
LOG | [2024-09-18|16:42:14.608|ICT] | DEBUG | {aid=listener} | {sid=} | {rid=} | {tid=siem_blocking_queue-163} | com.cyberark.diamond.plugins.impl.inbound.SplunkWindowsCreator.createAuditBuilder(SplunkWindowsCreator.java:84) - Failed to match to splunk regex. input: <13>1726652770 Test-Server1 09/18/2024 04:46:10 PM
LogName=Security
EventCode=4624
EventType=0
ComputerName=Test-Server1.cyberark.lab
SourceName=Microsoft Windows security auditing.
Type=Information
RecordNumber=48365
Keywords=Audit Success
TaskCategory=Logon
OpCode=Info
Message=An account was successfully logged on.
Subject:
Security ID: NT AUTHORITY\SYSTEM
Account Name: Test-Server1$
Account Domain: CYBERARK
Logon ID: 0x3E7
Logon Information:
Logon Type: 2
Restricted Admin Mode: -
Virtual Account: No
Elevated Token: No
Impersonation Level: Impersonation
New Logon:
Security ID: CYBERARK\DomainUserTest
Account Name: DomainUserTest
Account Domain: CYBERARK
Logon ID: 0x2D4714
Linked Logon ID: 0x2D46FC
Network Account Name: -
Network Account Domain: -
Logon GUID: {00000000-0000-0000-0000-000000000000}
Process Information:
Process ID: 0x3a4
Process Name: C:\Windows\System32\svchost.exe
Network Information:
Workstation Name: Test-Server1
Source Network
========================================
Sample complete syslogs from Splunk SIEM:
========================================
LOG | [2024-11-01|17:00:54.184|SGT] | DEBUG | {aid=listener} | {sid=} | {rid=} | {tid=siem_blocking_queue-58} | com.cyberark.diamond.syslog.SyslogAction.matchSyslogWithAuditCreators(SyslogAction.java:224) - No audit creator plugin was found for syslog: <13>1730451599 DC 11/01/2024 04:59:59 PM
LogName=Security
EventCode=4624
EventType=0
ComputerName=DC.cyberark.lab
SourceName=Microsoft Windows security auditing.
Type=Information
RecordNumber=119994
Keywords=Audit Success
TaskCategory=Logon
OpCode=Info
Message=An account was successfully logged on.
Subject:
Security ID: S-1-5-18
Account Name: DC$
Account Domain: CYBERARK
Logon ID: 0x3E7
Logon Information:
Logon Type: 3
Restricted Admin Mode: -
Virtual Account: No
Elevated Token: Yes
Impersonation Level: Impersonation
New Logon:
Security ID: S-1-5-21-2691380794-712513013-3378831313-1103
Account Name: user01
Account Domain: CYBERARK
Logon ID: 0x18CA69B
Linked Logon ID: 0x0
Network Account Name: -
Network Account Domain: -
Logon GUID: {00000000-0000-0000-0000-000000000000}
Process Information:
Process ID: 0x284
Process Name: C:\Windows\System32\lsass.exe
Network Information:
Workstation Name: DC
Source Network Address: 192.168.1.16
Source Port: 39768
Detailed Authentication Information:
Logon Process: Advapi
Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
Transited Services: -
Package Name (NTLM only): -
Key Length: 0
This event is generated when a logon session is created. It is generated on the computer that was accessed.
The subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.
The logon type field indicates the kind of logon that occurred. The most common types are 2 (interactive) and 3 (network).
The New Logon fields indicate the account for whom the new logon was created, i.e. the account that was logged on.
The network fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.
The impersonation level field indicates the extent to which a process in the logon session can impersonate.
========================================
Resolution
Make the necessary configuration and make sure the third-party SIEM does not send out the truncated syslogs.
Example in this case:
Change the default parameter value of maxEventSize=1024 in the Splunk outputs.conf to maxEventSize=10240.