Microsoft Windows Server 2022

Windows Server 2022 command line data must be included in process creation events

STIG ID: WN22-CC-000090 |   SRG: SRG-OS-000042-GPOS-00020 |   Severity: Medium |   CCI: CCI-000135 |   Vulnerability ID: V-254341

Description

Maintaining an audit trail of system activity logs can help identify configuration errors, troubleshoot service disruptions, and analyze compromises that have occurred, as well as detect attacks. Audit logs are necessary to provide a trail of evidence in case the system or network is compromised. Collecting this data is essential for analyzing the security of information assets and detecting signs of suspicious and unexpected behavior.Enabling "Include command line data for process creation events" will record the command line information with the process creation events in the log. This can provide additional detail when malware has run on a system.

Check

C-57826r848837_chk

If the following registry value does not exist or is not configured as specified, this is a finding:Registry Hive: HKEY_LOCAL_MACHINE Registry Path: \SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\Audit\Value Name: ProcessCreationIncludeCmdLine_EnabledValue Type: REG_DWORDValue: 0x00000001 (1)

Fix

F-57777r848838_fix

Configure the policy value for Computer Configuration >> Administrative Templates >> System >> Audit Process Creation >> Include command line in process creation events to "Enabled".