[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248268

 
 

909

 
 

195051

 
 

282

Paid content will be excluded from the download.


Download | Alert*
OVAL

'Turn on PowerShell Script Block Logging' for Computer Configuration

ID: oval:org.secpod.oval:def:36469Date: (C)2016-08-05   (M)2022-12-02
Class: COMPLIANCEFamily: windows




This policy setting enables logging of all PowerShell script input to the Microsoft-Windows-PowerShell/Operational event log. If you enable this policy setting, Windows PowerShell will log the processing of commands, script blocks, functions, and scripts - whether invoked interactively, or through automation. If you disable this policy setting, logging of PowerShell script input is disabled. If you enable the Script Block Invocation Logging, PowerShell additionally logs events when invocation of a command, script block, function, or script starts or stops. Enabling Invocation Logging generates a high volume of event logs. Note: This policy setting exists under both Computer Configuration and User Configuration in the Group Policy Editor. The Computer Configuration policy setting takes precedence over the User Configuration policy setting. Counter Measure: Configure this setting depending on your organization's requirements. Potential Impact: PowerShell script input logging is disabled. Fix: (1) GPO: User Configuration\Administrative Templates\Windows Components\Windows PowerShell\Turn on PowerShell Script Block Logging (2) REG: HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging!EnableScriptBlockLogging (3) WMI: ###

Platform:
Microsoft Windows 10
Reference:
CCE-41994-5
CCE    1
CCE-41994-5

© SecPod Technologies