Skip to content
System hardening
ASD ISMISM-1624

ASD ISM 1624 Protect PowerShell script block logs

What it says

PowerShell script block logs are protected by Protected Event Logging functionality.

Quoted as published. Everything else on this page is written by Control Stack.

What it means

In plain English

PowerShell logs are safeguarded by secure event logging that ensures their protection.

PowerShell is a tool often used to automate tasks on computers. If someone with bad intentions gets access to your system, they could use PowerShell to cause harm without you knowing. Protecting PowerShell logs ensures that any activity is recorded and cannot be tampered with, helping to detect and prevent misuse.

Why it matters

If PowerShell script block logs are not protected with Protected Event Logging, attackers can tamper with or hide executed scripts, delaying detection and enabling compromise.

How to implement

  1. IT team should enable Protected Event Logging for PowerShell: They need to configure the computers so that all PowerShell activities are securely logged.

    This can be done by adjusting settings in Windows Group Policy to ensure logs are encrypted and stored safely.

  2. System administrators should review PowerShell log settings regularly: They must check that logging is enabled and that the logs are being stored correctly.

    These checks can be scheduled monthly by going into the system's event viewer and reviewing the configuration settings.

  3. Security officers should provide training for staff on recognising suspicious PowerShell activity: They should organise a workshop or session to go over what PowerShell is and why certain activities need observation.

    Use examples of common scripts and explain the importance of reporting anything unusual.

  4. Management should ensure there's a policy for responding to PowerShell log alerts: Document procedures for what to do when suspicious activities are detected in the logs.

    This should include who to notify and what information needs to be gathered to verify the issue.

  5. Procurement should verify that new software includes features compatible with Protected Event Logging: When buying new software or IT services, ensure they are compatible with secure logging practices.

    Include this requirement in procurement checklists and contracts.

Keep it running

Confirm Protected Event Logging is enabled and uses the correct certificate; routinely validate that PowerShell Script Block Logging events are being recorded and are not writable by users.

Evidence and audit

  1. Check 1 of 5What an auditor asks for

    Ask for

    The Group Policy settings documentation: Request a printout or screenshot showing how Protected Event Logging is configured for PowerShell.

    Look at

    Settings that indicate logs are encrypted.

    Good evidence

    Shows clear configurations where the log settings are enabled and set to secure storage areas.

  2. Check 2 of 5What an auditor asks for

    Ask for

    A recent audit of PowerShell log reviews: Request the report from the latest review of PowerShell logs.

    Look at

    The date and findings to ensure reviews are happening regularly and are thorough.

    Good evidence

    Includes a review within the last month showing identified and actioned items.

  3. Check 3 of 5What an auditor asks for

    Ask for

    Training attendance records for PowerShell security courses: Request the sign-in sheets or electronic records for staff training sessions.

    Look at

    High participation numbers and updated content that includes PowerShell-specific topics.

    Good evidence

    Shows recent training with a majority of relevant staff in attendance.

  4. Check 4 of 5What an auditor asks for

    Ask for

    The incident response policy that includes PowerShell: Require a copy of the procedures for handling detected PowerShell misuse.

    Look at

    Clear steps and team responsibilities if unusual activity is logged.

    Good evidence

    Provides a detailed, easy-to-follow plan with assigned roles.

  5. Check 5 of 5What an auditor asks for

    Ask for

    Contract details with software providers: Request terms of purchase that specify secure logging compliance for PowerShell.

    Look at

    Clauses that require compatibility with Protected Event Logging.

    Good evidence

    Includes explicit requirements in the procurement documents.

Mappings

Closest match in ASD Essential Eight: E8-AH-ML2.13, Protect event logs from unauthorised changes or deletion, which this control covers in full and more.

Essential Eight

ASD Essential Eight: 5 mappings

Mappings show how controls relate across frameworks. They do not imply full equivalence or certification.