CSCv7|8.8

Title

Enable Command-line Audit Logging

Description

Enable command-line audit logging for command shells, such as Microsoft Powershell and Bash.

Reference Item Details

Category: Malware Defenses

Audit Items

View all Reference Audit Items

NamePluginAudit Name
18.8.3.1 (L1) Ensure 'Include command line in process creation events' is set to 'Enabled'WindowsCIS Azure Compute Microsoft Windows Server 2019 v1.0.0 L1 MS
18.8.3.1 (L1) Ensure 'Include command line in process creation events' is set to 'Enabled'WindowsCIS Azure Compute Microsoft Windows Server 2019 v1.0.0 L1 DC
18.8.3.1 Ensure 'Include command line in process creation events' is set to 'Enabled'WindowsCIS Azure Compute Microsoft Windows Server 2022 v1.0.0 L1 DC
18.8.3.1 Ensure 'Include command line in process creation events' is set to 'Enabled'WindowsCIS Azure Compute Microsoft Windows Server 2022 v1.0.0 L1 MS
18.9.100.1 (L1) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Azure Compute Microsoft Windows Server 2019 v1.0.0 L1 MS
18.9.100.1 (L1) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Azure Compute Microsoft Windows Server 2019 v1.0.0 L1 DC
18.9.100.1 (L1) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2008 R2 Member Server Level 1 v3.3.1
18.9.100.1 (L1) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2008 Domain Controller Level 1 v3.3.1
18.9.100.1 (L1) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2008 Member Server Level 1 v3.3.1
18.9.100.1 (L1) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2008 R2 Domain Controller Level 1 v3.3.1
18.10.86.1 (L1) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 10 EMS Gateway v3.0.0 L1
18.10.86.2 (L1) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 10 EMS Gateway v3.0.0 L1
18.10.87.1 (L1) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Windows Server 2012 DC L1 v3.0.0
18.10.87.1 (L1) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Windows Server 2012 MS L1 v3.0.0
18.10.87.1 (L1) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Windows Server 2012 R2 DC L1 v3.0.0
18.10.87.1 (L1) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Windows Server 2012 R2 MS L1 v3.0.0
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2025 v1.0.0 L2 DC
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Enterprise v4.0.0 L2 BL
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2019 v4.0.0 L2 MS
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Enterprise v4.0.0 L2 BL NG
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Enterprise v4.0.0 L2 NG
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2022 v4.0.0 L2 MS
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 11 Stand-alone v4.0.0 L2 BL
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Stand-alone v4.0.0 L2 BL
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Stand-alone v4.0.0 L2 BL NG
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Stand-alone v4.0.0 L2 NG
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2022 Stand-alone v1.0.0 L2 MS
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2019 Stand-alone v3.0.0 L2 MS
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2016 v4.0.0 L2 DC
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2016 v4.0.0 L2 MS
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 11 Enterprise v4.0.0 L2
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2019 v4.0.0 L2 DC
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2025 v1.0.0 L2 MS
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 11 Stand-alone v4.0.0 L2
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Enterprise v4.0.0 L2
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows Server 2022 v4.0.0 L2 DC
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 11 Enterprise v4.0.0 L2 BitLocker
18.10.87.1 (L2) Ensure 'Turn on PowerShell Script Block Logging' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Stand-alone v4.0.0 L2
18.10.87.2 (L2) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Enterprise v4.0.0 L2 NG
18.10.87.2 (L2) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 11 Stand-alone v4.0.0 L2 BL
18.10.87.2 (L2) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Enterprise v4.0.0 L2 BL NG
18.10.87.2 (L2) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 11 Enterprise v4.0.0 L2 BitLocker
18.10.87.2 (L2) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 11 Stand-alone v4.0.0 L2
18.10.87.2 (L2) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Stand-alone v4.0.0 L2
18.10.87.2 (L2) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Stand-alone v4.0.0 L2 BL
18.10.87.2 (L2) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Stand-alone v4.0.0 L2 NG
18.10.87.2 (L2) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Enterprise v4.0.0 L2
18.10.87.2 (L2) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 11 Enterprise v4.0.0 L2
18.10.87.2 (L2) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Enterprise v4.0.0 L2 BL
18.10.87.2 (L2) Ensure 'Turn on PowerShell Transcription' is set to 'Enabled'WindowsCIS Microsoft Windows 10 Stand-alone v4.0.0 L2 BL NG