Habrโ€ขJuly 21, 2026โ€ข๐Ÿ‡ท๐Ÿ‡บTranslated from Russian

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

Habrโ€ขPolicy & Regulation

Bank of Russia Publishes Methodological Recommendations No. 3-MR on AI Security for Financial Market Participants

The Bank of Russia has released methodological recommendations No. 3-MR dated 16 June 2026, providing detailed guidance on ensuring information security during the development and use of artificial intelligence systems in the financial sector. The document builds on the earlier Code of Ethics for AI in finance and integrates with existing risk management, operational resilience, and data protection frameworks already familiar to credit institutions and other market participants. It introduces standardized terminology for AI-specific threats such as hallucinations, data drift, and poisoned datasets while outlining six risk categories and a four-stage AI system lifecycle model. Organizations are advised to apply threat modeling based on FSTEC methodology, implement proportional controls across data preparation, development, training, and operation phases, and maintain human oversight for high-risk automated processes. Special attention is given to supply chain risks involving third-party vendors and open-source components, requiring due diligence, provenance tracking, and contractual safeguards aligned with existing outsourcing standards. The recommendations remain non-binding yet signal clear regulatory expectations that are likely to influence future compliance checks and audits.

AntiMalwareโ€ขPolicy & Regulation

Aladdin Obtains New FSB Certificate for CryptoFlash Encrypted USB Drive Valid Until 2029

Aladdin has received a new FSB Russia certificate for its Aladdin CryptoFlash hardware-encrypted USB drive. The certificate number ะกะค/124-5574 confirms compliance with cryptographic protection requirements for classes KS1 and KS2 and remains valid until 16 July 2029. The device now supports additional Russian Linux distributions including RED OS 7.3 and 8, Alt 8 SP Workstation, Alt Workstation 10, and the OS of the Moscow Electronic School. Read and write speeds have been increased to 11 MB/s while the graphical interface received improvements. The product uses the Magma encryption algorithm in hardware and operates as a clientless solution that requires no additional drivers or software. The previous certificate remains active until December 2028, allowing both versions of the device to be used in parallel for storing and transferring official and confidential information marked DSP.

AntiMalwareโ€ขPolicy & Regulation

Microsoft Tightens Corporate Windows Activation with TPM-Bound KMS Servers

Microsoft is strengthening its corporate Windows licensing controls by introducing new requirements for KMS servers used in volume activation. The changes will bind KMS hosts to TPM hardware attestation, preventing cloned or fake servers from issuing licenses to unlicensed devices. Warnings will begin appearing in Windows Server 2025 in August 2026, with mandatory enforcement planned for the next LTSC release. Existing KMS systems will continue operating normally until the new rules take effect. The update targets enterprise environments with on-premises KMS infrastructure and does not affect individual consumer devices or common non-KMS activation bypass methods. Administrators can already verify TPM support on physical servers using the Get-TpmSupportedFeature command.

Habrโ€ขPolicy & Regulation

Russia's Article 10.1 on Personal Data Dissemination: Apparent and Real Contradictions in Federal Law 152-FZ

Part II of the analysis examines how the rushed redrafting of Article 10.1 between the first and second readings created serious interpretive problems in Federal Law 152-FZ. The core issues include undefined terms such as 'disclosure', conflicting definitions of 'access', 'provision' and 'dissemination' between 152-FZ and 149-FZ, and the removal of the legal basis for processing publicly available data while retaining the consent mechanism that was meant to control it. Courts have consistently held that mere openness of data does not constitute a valid processing ground, forcing subsequent operators to find their own basis under Article 6. The article highlights that the mechanism for subjects to set conditions and prohibitions was preserved, yet the underlying legal foundation that would make those rules effective was eliminated. Two possible readings of the special consent are explored, with judicial practice leaning toward the narrower interpretation that leaves conditions and prohibitions as mere additional restrictions rather than a source of authorization.