Rule ID
SV-286178r1291828_rule
Version
V1R1
CCIs
Information system auditing capability is critical for accurate forensic analysis. Reconstruction of harmful events or forensic analysis is not possible if audit records do not contain enough information. To support analysis, some types of events will need information to be logged that exceeds the basic requirements of event type, time stamps, location, source, outcome, and user identity. If additional information is not available, it could negatively impact forensic investigations into user actions or other malicious events. The organization must determine what additional information is required for complete analysis of the audited events. The additional information required is dependent on the type of information (e.g., sensitivity of the data and the environment within which it resides). At a minimum, the organization must employ either full-text recording of privileged commands or the individual identities of users of shared accounts, or both. The organization must maintain audit trails in sufficient detail to reconstruct events to determine the cause and impact of compromise. Examples of detailed information the organization may require in audit records are full-text recording of privileged commands or the individual identities of shared account users.
Review the system documentation to identify what additional information the organization has determined necessary. Check MariaDB existing audit records to verify that all organization-defined information is in the audit records for audit events identified by operation, location, or subject. If nothing is being logged in the audit log, this is a finding.
Check the directory returned by the "plugin_dir" system variable at the filesystem level and verify that the MariaDB Enterprise audit plugin library is present. The plugin library should exist as "server_audit.so" (Linux/Unix) or "server_audit.dll" (Windows). If the plugin library is not present in the configured plugin directory, install or upgrade MariaDB to a version that includes the MariaDB Enterprise audit plugin.