mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-04 01:33:21 +08:00
30 lines
947 B
YAML
30 lines
947 B
YAML
id: audit-logs-not-archived
|
|
|
|
info:
|
|
name: Audit Logs Not Archived When Full
|
|
author: princechaddha
|
|
severity: high
|
|
description: Checks if audit logs are not archived when full, leading to potential data loss.
|
|
impact: |
|
|
Failure to archive full logs could result in the loss of crucial audit data, hindering forensic analysis and incident response.
|
|
remediation: |
|
|
Enable log archiving to preserve important security event data.
|
|
tags: windows,audit,code,windows-audit
|
|
|
|
self-contained: true
|
|
|
|
code:
|
|
- pre-condition: |
|
|
IsWindows();
|
|
engine:
|
|
- powershell
|
|
- powershell.exe
|
|
pattern: "*.ps1"
|
|
source: |
|
|
wevtutil get-log security
|
|
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "retention: false"
|
|
# digest: 4a0a00473045022031a2f69be664ee91ab5f1221d2e6cb923a5ebaf2ff7a1c027b42e4bdfa8e4b80022100d96550326b8dc4b1b8c29b91e49d3b0193d9e38243aa3aa477fa16ab31f5bd85:922c64590222798bb761d5b6d8e72950 |