Advanced Windows Auditing Configuration Guide for Effective Incident Response in SOC Environments
When beginning work in a SOC (Security Operations Center), it quickly becomes clear that default Windows logging provides limited visibility into system activities. Events such as logons, process creation, and policy changes are either not recorded or appear in a heavily truncated form.
The service responsible for managing auditing is LSASS (Local Security Authority Subsystem Service), which runs at startup and resides in memory to handle user sessions, authentication requests, and protection of sensitive data. LSASS writes audit information to the Security event log according to configured policies.
Windows offers two auditing levels: basic auditing with nine categories configured via secpol.msc and advanced auditing with 53 subcategories managed through the auditpol utility. The article focuses on advanced auditing because it allows precise control, for example enabling only Logon and Special Logon without cluttering logs with irrelevant Kerberos or IPsec events on standalone machines.
Key Subcategories and Corresponding Event IDs
The most important subcategories for incident response include:
- Logon – successful logons (Event ID 4624)
- Logoff – session termination (Event IDs 4634, 4647)
- Account Lockout – lockout events (Event ID 4740)
- Special Logon – privilege escalation via runas (Event ID 4648)
- User Account Management – account creation and deletion (Event IDs 4720, 4726)
- Security Group Management – group membership changes (Event IDs 4732, 4728)
- Process Creation – executable launches (Event ID 4688)
- Audit Policy Change – modifications to auditing itself (Event ID 4719)
- Other System Events – log clearing (Event ID 1102)
Each subcategory has a fixed GUID that can be used with auditpol when localized names cause issues.
Enabling Advanced Auditing and Additional Logging
After opening an elevated command prompt on a clean Windows 10 Pro 22H2 virtual machine running under VMware Workstation 17 Pro, the author enables a baseline set of subcategories using multiple auditpol commands. Verification is performed with auditpol /get /category:* to confirm success and failure auditing is active for each item.
PowerShell logging is enabled via registry modification under HKLM\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging, activating Script Block Logging that records decoded script content in the Microsoft-Windows-PowerShell/Operational log (Event IDs 4104 and 4103).
Command-line auditing for process creation events is activated by setting the registry value ProcessCreationIncludeCmdLine_Enabled under HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\Audit, ensuring the Command Line field in Event ID 4688 is populated.
Practical Testing of Configured Auditing
Five hands-on tests illustrate the value of the configuration. A successful interactive logon produces Event ID 4624 showing Logon Type 2, account name, workstation name, and the responsible process. Failed logon attempts generate Event ID 4625 with failure reason codes such as 0xC000006A for incorrect password.
Process creation with arguments is demonstrated by running whoami /all, resulting in a detailed Event ID 4688 that includes Creator Process ID, New Process ID, and the full command line. Account creation and administrative group membership changes produce Events 4720 and 4732, revealing subject and target account details along with group names.
The article emphasizes performing all changes on virtual machines to prevent excessive log growth or interference with installed applications on production hosts.
Related articles
Ideco NGFW Novum Earns Highest Customer Rating in Quadrant Technologies Import Substitution Study
Ideco NGFW Novum achieved the top customer score of 6.9 out of 10 in the Matrix of Import Substitution 2026: NGFW research conducted by Quadrant Technologies, surpassing the market average of 6.3 and outperforming seven competing Russian solutions. The study evaluated vendors based on specialized revenue alongside 18 criteria covering product quality and functionality, with ratings provided directly by specialists who deploy and operate the firewalls in production environments. Ideco excelled in 11 parameters above seven points, including administration convenience at 7.9, technical support and partner network at 7.6, Zero Trust segmentation at 7.3, and both integration capabilities and core NGFW functionality at 7.2. Despite strong product scores, Ideco remains in the Development quadrant rather than Leadership due to lower profile revenue volume, positioning the company as a prime candidate for advancement with increased sales and large-scale deployments. Complementary testing by Infosystems Jet laboratory showed Ideco NGFW Novum passing 189 of 242 checks under Methodology 3.0 and becoming the sole participant to complete an eight-hour stress test. The broader Russian NGFW market is shifting away from emergency import substitution toward demands for real-world stability, updates, documentation, support, and usability, with product cost cited as a rejection factor by 37.5 percent of respondents.
Kubernetes Audit Policy Review: Checklist Targets Common Blind Spots in Rules
An experienced Kubernetes administrator shared a detailed review process for audit policies that often remain untouched for years after initial deployment. The 580-line policy was rebuilt using the Kubernetes Threat Matrix from RedGuard as the primary reference. The author highlights recurring issues such as outdated exceptions, missing coverage for new components, and legacy comments that obscure actual security intent. The resulting checklist focuses on principles rather than cluster-specific findings to help other teams perform effective policy audits. Key recommendations address rule completeness, exception management, and periodic full-scale reviews instead of incremental patching. The approach aims to restore audit policies as active security controls rather than accumulated technical debt.
Avoiding a Leaky Kubernetes Audit Policy: Real-World Configuration Breakdown
Kubernetes Audit Policy is typically configured once during cluster setup and then left untouched for years while accumulating exceptions for new components. Over time the policy stops functioning as a security control and instead becomes an archaeological layer of outdated comments such as "# temporary, TODO remove" that date back three years or more. The author recently reviewed their own 580-line configuration file that had been assembled from multiple sources. Primary reference was the Kubernetes Threat Matrix, which explains why many rules are designed to detect security-relevant actions rather than simply reduce log noise. Examples include targeted monitoring of RBAC modifications and deletion of events. The article emphasizes the need for periodic full reviews instead of incremental patching to maintain effective detection coverage.
CryptoPro Develops CryptoPro-Browser with Russian Cryptography for FSB Compliance
CryptoPro is creating its own browser called CryptoPro-Browser as part of the CryptoPro CSP 6.0 cryptographic information protection system. The product will include built-in cryptographic tools, support for the company's plugin, and TLS connections using Russian cryptographic algorithms. The development follows Google's removal of the CryptoPro extension from the Chrome Web Store in February 2025, which left new users without an easy installation method. The project has been coordinated with the FSB of Russia and targets scenarios requiring compliance with Russian information security regulations. CryptoPro plans to incorporate experience from its earlier Chromium-Gost project started in 2017, while also recommending Yandex Browser as an alternative. Analysts estimate the development cost at several tens of millions of rubles, with the main focus on corporate customers needing certificate management and specialized support.