Audit policy
Windows audit subcategory set and framework, with a config-change occurrence when it changes.
Topic id: audit_policy.
Changes (2)
This topic reports what the host looks like, so its news is what CHANGED between two reports. Each change below is a named fact you can ask about across the fleet.audit_policy_coverage_reduced At least one audit subcategory stopped recording success or failure events, even if the same change turned others on. An attacker covering their tracks makes this change, and so do a security tool, a cleanup script, or a Group Policy edit that went wider than intended. SparkLogs also collects Security event 4719 from the same machine, which records each audit policy change; when the change was made on the machine itself, it names the account.
- The removed events in the event against the client's audit baseline for the machine's role, servers and domain controllers first.
auditpol /get /category:*shows the policy in force now.gpresult /h <file>shows which Group Policy object, if any, sets the audit policy.- Restore the baseline if the change was not planned.
audit coverage reduced. added_audit_events="none" removed_audit_events="logon_logon_failure logon_logon_success +1 more".
audit_policy_coverage_reduced, Warning, audit_policy: audit_policy_coverage_reduced: NOTABLE: audit coverage reduced. added_audit_events="none" removed_audit_events="logon_logon_failure logon_logon_success +1 more".audit_policy_changed: Every audit policy change, including ones that add auditing.
audit_policy_changed One or more audit subcategories now record success or failure events they did not record before, and none stopped. Group Policy, a security tool, or an administrator running auditpol makes this change; a new audit baseline shows it on every machine it reaches.
- The added events in the event against the client's audit baseline for the machine's role.
auditpol /get /category:*on the machine lists the policy in force, by subcategory name.- The Security log's maximum size (Event Viewer, Security, Properties), if it now wraps too soon.
audit policy changed. added_audit_events="process_creation_success" removed_audit_events="none".
audit_policy_changed, Notice, audit_policy: audit_policy_changed: NOTABLE: audit policy changed. added_audit_events="process_creation_success" removed_audit_events="none".audit_policy_coverage_reduced: Raised when the change stops auditing something Windows audited before.
Fields (11)
Which audit subcategories are recording and which audit framework reports them, with a configuration change when the set changes.
Full inventory every day. Supported changes are reported when the agent observes them.
Audit policy (11)
sparklogs.data.audit_policy. audit_framework windows_advanced_audit (the Windows Advanced Audit Policy) on Windows.sparklogs.data.audit_policy. audit_events success or failure), such as logon_logon_success. A family entry such as logon_success is also listed when any of its subcategories records that outcome. Families: logon, authentication, process_creation, process_termination, detailed_tracking, file_access, object_access, network, account_management, policy_change, privilege_use, system, directory_service. An empty list means the policy was read and records nothing. Absent when the policy could not be read; the previous value then stands.sparklogs.data.audit_policy. audit_subcategories auditpol order, with whether the policy records its successes and failures. native_id is the subcategory GUID. A subcategory SparkLogs recognizes also has its audit_event and family and the English names auditpol prints; any other has the names Windows gives in the machine's display language, marked native_name_source os. A change to this list alone raises no change event; audit_events decides that. Absent when the policy could not be read; the previous value then stands.sparklogs.data.audit_policy. audit_subcategories[].native_id audit_subcategories entry.sparklogs.data.audit_policy. audit_subcategories[].success audit_subcategories entry.sparklogs.data.audit_policy. audit_subcategories[].failure audit_subcategories entry.Example
Inventory (every day)
audit policy; 24 events enabled, logon success audited.
sparklogs.data.audit_policy.audit_events: ["account_management_failure", "account_management_security_group_success", "account_management_success", "account_management_user_failure", "account_management_user_success", "authentication_credential_validation_failure", "authentication_credential_validation_success", "authentication_failure", "authentication_success", "logon_account_lockout_failure", "logon_failure", "logon_logoff_success", "logon_logon_failure", "logon_logon_success", "logon_special_logon_success", "logon_success", "policy_change_audit_policy_success", "policy_change_authentication_policy_success", "policy_change_success", "system_failure", "system_integrity_failure", "system_integrity_success", "system_security_state_change_success", "system_success"]
sparklogs.data.audit_policy.audit_framework: windows_advanced_audit
SparkLogs: CONTEXT, Info, audit_policy: INVENTORY: audit policy; 24 events enabled, logon success audited.
Inventory (every day)
audit policy; 0 events enabled, logon success not audited.
sparklogs.data.audit_policy.audit_events: []
sparklogs.data.audit_policy.audit_framework: windows_advanced_audit
SparkLogs: CONTEXT, Info, audit_policy: INVENTORY: audit policy; 0 events enabled, logon success not audited.
Change set
2 changed, 2 disabled; "-logon_logon_success" "-logon_success".
sparklogs.data.audit_policy.delta_kind: changed
sparklogs.data.audit_policy.audit_events: ["account_management_success", "account_management_user_success", "logon_account_lockout_failure", "logon_failure", "logon_logon_failure", "policy_change_audit_policy_success", "policy_change_success"]
sparklogs.data.audit_policy.audit_framework: windows_advanced_audit
SparkLogs: CONTEXT, Info, audit_policy: DELTA: 2 changed, 2 disabled; "-logon_logon_success" "-logon_success".